返回顶部
G

Grokipedia

Search and fetch articles from Grokipedia.com — xAI's AI-generated encyclopedia (like Wikipedia but written by Grok). Use when asked about topics that might have a Grokipedia article, or when the user explicitly mentions Grokipedia.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.2.0
安全检测
已通过
2,071
下载量
5
收藏
概述
安装方式
版本历史

Grokipedia

# Grokipedia Parser Search and fetch articles from [Grokipedia.com](https://grokipedia.com) — xAI's AI-generated encyclopedia. **Source:** [github.com/kirillleventcov/grokipedia-parser](https://github.com/kirillleventcov/grokipedia-parser) ## Requirements - **Node.js** (v18+) / **Bun** — used to run the search and fetch scripts - **Dependencies** — `jsdom` and `@mozilla/readability` (installed via `bun install`) ## Install ```bash cd ~/.openclaw/workspace/skills/Grokipedia bun install --production ``` > **Note:** Installation creates a `node_modules/` directory in the skill folder. The scripts themselves only output to stdout at runtime. ## Scripts ### Search Articles ```bash node ~/.openclaw/workspace/skills/Grokipedia/scripts/search.mjs "query" [--limit N] ``` **Parameters:** - `query` - Search term (required) - `--limit N` - Max results (1-50, default: 10) **Output:** JSON array with `slug`, `title`, `snippet`, `relevanceScore` **Example:** ```bash node ~/.openclaw/workspace/skills/Grokipedia/scripts/search.mjs "artificial intelligence" --limit 5 ``` ### Fetch Article ```bash node ~/.openclaw/workspace/skills/Grokipedia/scripts/fetch.mjs "Article_Slug" ``` **Parameters:** - `slug` - Article slug (required, case-sensitive, use underscores) **Output:** Clean markdown article content **Example:** ```bash node ~/.openclaw/workspace/skills/Grokipedia/scripts/fetch.mjs "Helsinki" node ~/.openclaw/workspace/skills/Grokipedia/scripts/fetch.mjs "Artificial_intelligence" ``` ## What This Skill Does - **Network access:** Fetches from `grokipedia.com` only (search API + article pages) - **No credentials:** Public read-only access, no API keys or tokens needed - **No runtime file writes:** Only outputs to stdout (JSON for search, markdown for articles). Install step creates `node_modules/` in the skill directory. - **No persistence:** No background processes, no cron, no elevated privileges - **Dependencies:** `jsdom` (DOM parsing) and `@mozilla/readability` (article extraction) ## Notes - Article slugs are case-sensitive (e.g., `Helsinki` not `helsinki`) - Slugs use underscores for spaces (e.g., `Artificial_intelligence`) - Search returns up to 50 results max - Articles contain internal links in format `[text](/page/Slug)` - Content is AI-generated by Grok

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 grokipedia-1776369275 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 grokipedia-1776369275 技能

通过命令行安装

skillhub install grokipedia-1776369275

下载 Zip 包

⬇ 下载 Grokipedia v1.2.0

文件大小: 5.93 KB | 发布时间: 2026-4-17 14:51

v1.2.0 最新 2026-4-17 14:51
- Added support for Bun as an alternative to Node.js for installing and running dependencies.
- Updated install instructions to use bun and clarified that installation creates a node_modules/ directory in the skill folder.
- Adjusted documentation paths to reflect the new skill directory structure under ~/.openclaw/workspace/skills/Grokipedia.
- Clarified that only the install step writes files, and scripts themselves do not write files at runtime.
- Minor cleanup and clarification in requirements and usage notes.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部