‹ 首页

wikipedia

@x-cmd · 收录于 1 周前 · 上游提交 1 周前

Search and read Wikipedia via x wkp — MediaWiki API, no API key, zero install; query, extract, suggest, and DDG route in one module. Load for wiki, wikipedia, encyclopedia lookup, article summary.

适合你,如果需要快速查询维基百科内容

/ 通过 npx 安装 校验哈希
npx oh-my-skill add x-cmd/x-cmd/wikipedia
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- x-cmd/x-cmd/wikipedia
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify x-cmd/x-cmd/wikipedia
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
4535GitHub stars
~445上下文体积 · 单文件
索引托管

怎么用

商店整理自技能原文 · 版本 1b5fb86 · 表述以原文为准
它做什么

装上后,Claude 可以搜索和阅读维基百科文章,返回摘要(首段+信息框)。支持搜索、提取、拼写建议等操作。

什么时候触发

当你提到“维基百科”、“wiki”或要求查询百科知识时触发。

装好后可以这样说
返回Python文章的摘要
列出候选文章
给出拼写建议
技能原文 SKILL.md作者撰写 · Apache-2.0 · 1b5fb86

wikipedia — skill0

Output is a plain-text extract (~first paragraph + infobox). Subcommand verb picks the shape — hop for search-then-summary, extract for known titles, search for candidates, suggest for did-you-mean. Default site is English Wikipedia; --lang / --api-url switch to other wikis.

Quick Start with x wkp
x wkp hop Python                      # search + first-result extract in one shot
x wkp extract OpenAI                  # summary of a known page
x wkp search "Linux kernel"           # list candidates when title is uncertain
x wkp suggest pythen                  # did-you-mean: correction hints before search

x wkp -h for all flags and subcommands.

Data and adjacent tools

Upstream: https://en.wikipedia.org/w/api.php — MediaWiki action API. Sister projects (Wikidata, Wiktionary, Commons) are reachable the same way; point --api-url at the relevant subdomain.

For the questions that go one hop beyond a wikitext summary:

  • x wkp : <query> / x wkp ddgo <query> — same x wkp module, routed via DuckDuckGo's Wikipedia index (handles ambiguous or colloquial queries better than title search)
  • x ddg <query> — general web search, useful when Wikipedia has no article but the topic exists on the open web
  • See the [knowledge](../knowledge/SKILL.md) skill for the broader x hn / x rfc / x se research toolkit
  • x wkp open <page> — fall back to the browser when you actually need the rendered page (infoboxes, tables, images)
按 Apache-2.0 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。