Agent Skills › jegly/Box › query-wikipedia

query-wikipedia

GitHub

根据主题查询维基百科摘要,支持多语言并自动提取核心实体。

skills/built-in/query-wikipedia/SKILL.md jegly/Box

触发场景

用户询问特定人物、事件或主题的百科信息 需要获取多语言的维基百科内容摘要

安装

npx skills add jegly/Box --skill query-wikipedia -g -y
更多选项

非标准路径

npx skills add https://github.com/jegly/Box/tree/main/skills/built-in/query-wikipedia -g -y

不安装直接使用

npx skills use jegly/Box@query-wikipedia

指定 Agent (Claude Code)

npx skills add jegly/Box --skill query-wikipedia -a claude-code -g -y

安装 repo 全部 skill

npx skills add jegly/Box --all -g -y

预览 repo 内 skill

npx skills add jegly/Box --list

SKILL.md

Frontmatter
{
    "name": "query-wikipedia",
    "description": "Query summary from Wikipedia for a given topic."
}

Query Wiki

Instructions

Call the run_js tool using index.html and a JSON string for data with the following fields:

  • topic: Required. Extract ONLY the primary entity, person, or event (e.g., "2026 Oscars", "Albert Einstein"). You MUST REMOVE all specific question details, action words, or conversational text (e.g., do NOT include words like "winner", "best picture", "who won", "history of"). Search for the broad subject so the tool can return the main article.
  • lang: Required. The 2-letter language code. This code MUST match the language of the keywords you provided in the topic field. Use standard codes, e.g., "en" (English), "es" (Spanish), "zh" (Chinese), "fr" (French), "de" (German), "ja" (Japanese), "ko" (Korean), "it" (Italian), "pt" (Portuguese), "ru" (Russian), "ar" (Arabic), "hi" (Hindi).

Constraints:

  • Provide a concise summary (1-3 complete sentences) to conserve context. Always ensure your response ends with a finished sentence. your response MUST BE written in the SAME language as the user's original prompt.
  • For recurring events or time-sensitive facts, query the specific iteration (e.g., "2026 Oscars"). If the user omits the year, default to the current year.
  • If the exact answer to the user's question is not found in the extract, briefly state this, then proactively offer a related piece of information that was found in the text.

版本历史

  • 7897895 当前 2026-07-24 17:00

同 Skill 集合

skills/built-in/calculate-hash/SKILL.md
skills/built-in/interactive-map/SKILL.md
skills/built-in/kitchen-adventure/SKILL.md
skills/built-in/mood-tracker/SKILL.md
skills/built-in/translator/SKILL.md
skills/featured/mood-music/SKILL.md
skills/featured/restaurant-roulette/SKILL.md
skills/built-in/send-email/SKILL.md
skills/featured/virtual-piano/SKILL.md
skills/built-in/qr-code/SKILL.md
skills/built-in/text-spinner/SKILL.md

元信息

文件数
0
版本
950c7c5
Hash
327744b0
收录时间
2026-07-24 17:00

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-07 01:44
浙ICP备14020137号-1