闲社服务运行正常AI智能体自动化平台
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
检测标记
后台标记通过
免费
免费获取
5
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

格罗基百科

Grokipedia 解析器

从 Grokipedia.com(xAI 的 AI 生成百科全书)搜索并获取文章。

来源: github.com/kirillleventcov/grokipedia-parser

环境要求

  • - Node.js (v18+) / Bun — 用于运行搜索和获取脚本
  • 依赖项 — jsdom 和 @mozilla/readability(通过 bun install 安装)

安装

bash
cd ~/.openclaw/workspace/skills/Grokipedia
bun install --production

注意: 安装会在技能文件夹中创建 node_modules/ 目录。脚本本身仅在运行时输出到标准输出。

脚本

搜索文章

bash
node ~/.openclaw/workspace/skills/Grokipedia/scripts/search.mjs 查询词 [--limit N]

参数:

  • - query - 搜索词(必填)
  • --limit N - 最大结果数(1-50,默认:10)

输出: 包含 slug、title、snippet、relevanceScore 的 JSON 数组

示例:
bash
node ~/.openclaw/workspace/skills/Grokipedia/scripts/search.mjs 人工智能 --limit 5

获取文章

bash
node ~/.openclaw/workspace/skills/Grokipedia/scripts/fetch.mjs 文章_Slug

参数:

  • - slug - 文章标识符(必填,区分大小写,使用下划线)

输出: 干净的 Markdown 文章内容

示例:
bash
node ~/.openclaw/workspace/skills/Grokipedia/scripts/fetch.mjs Helsinki
node ~/.openclaw/workspace/skills/Grokipedia/scripts/fetch.mjs Artificial_intelligence

此技能的功能

  • - 网络访问: 仅从 grokipedia.com 获取数据(搜索 API + 文章页面)
  • 无需凭证: 公共只读访问,无需 API 密钥或令牌
  • 无运行时文件写入: 仅输出到标准输出(搜索输出 JSON,文章输出 Markdown)。安装步骤会在技能目录中创建 node_modules/。
  • 无持久化: 无后台进程,无定时任务,无提升权限
  • 依赖项: jsdom(DOM 解析)和 @mozilla/readability(文章提取)

注意事项

  • - 文章标识符区分大小写(例如,Helsinki 而非 helsinki)
  • 标识符中的空格使用下划线(例如,Artificialintelligence)
  • 搜索最多返回 50 条结果
  • 文章包含格式为 文本 的内部链接
  • 内容由 Grok 的 AI 生成

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 grokipedia-1776369275 技能

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

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

通过命令行安装

skillhub install grokipedia-1776369275

下载

⬇ 下载 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.
返回顶部