跳至主要内容
小龙虾小龙虾AI
🤖

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.

下载1.7k
星标4
版本1.2.0
搜索研究
安全通过
⚙️脚本

技能说明


name: Grokipedia description: 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.

Grokipedia Parser

Search and fetch articles from Grokipedia.com — xAI's AI-generated encyclopedia.

Source: github.com/kirillleventcov/grokipedia-parser

Requirements

  • Node.js (v18+) / Bun — used to run the search and fetch scripts
  • Dependenciesjsdom and @mozilla/readability (installed via bun install)

Install

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

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:

node ~/.openclaw/workspace/skills/Grokipedia/scripts/search.mjs "artificial intelligence" --limit 5

Fetch Article

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:

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

如何使用「Grokipedia」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Grokipedia」技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能