Agent SkillsDenisovAV/flutter_gemma › query-wikipedia

query-wikipedia

GitHub

通过提取主题实体调用工具查询维基百科,返回指定语言的简明摘要。适用于获取人物、事件或事物的百科信息,支持多语言及时间敏感信息的精准检索。

packages/flutter_gemma_agent/assets/skills/query-wikipedia/SKILL.md DenisovAV/flutter_gemma

Trigger Scenarios

用户询问特定人物、事件或事物的背景信息 需要快速获取百科知识摘要

Install

npx skills add DenisovAV/flutter_gemma --skill query-wikipedia -g -y
More Options

Non-standard path

npx skills add https://github.com/DenisovAV/flutter_gemma/tree/main/packages/flutter_gemma_agent/assets/skills/query-wikipedia -g -y

Use without installing

npx skills use DenisovAV/flutter_gemma@query-wikipedia

指定 Agent (Claude Code)

npx skills add DenisovAV/flutter_gemma --skill query-wikipedia -a claude-code -g -y

安装 repo 全部 skill

npx skills add DenisovAV/flutter_gemma --all -g -y

预览 repo 内 skill

npx skills add DenisovAV/flutter_gemma --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.

Version History

  • 451fc69 Current 2026-08-20 14:01

Same Skill Collection

.claude/skills/build-native/SKILL.md
.claude/skills/ci-status/SKILL.md
.claude/skills/release/SKILL.md
.claude/skills/review-pr/SKILL.md
.claude/skills/upgrade-genkit/SKILL.md
packages/flutter_gemma_agent/assets/skills/get-current-time/SKILL.md
packages/flutter_gemma_agent/assets/skills/interactive-map/SKILL.md
packages/flutter_gemma_agent/assets/skills/kitchen-adventure/SKILL.md
packages/flutter_gemma_agent/test/fixtures/skills/interactive-map.SKILL.md
packages/flutter_gemma_agent/test/fixtures/skills/kitchen-adventure.SKILL.md
packages/flutter_gemma_agent/assets/skills/calculate-hash/SKILL.md
packages/flutter_gemma_agent/assets/skills/create-calendar-event/SKILL.md
packages/flutter_gemma_agent/assets/skills/send-email/SKILL.md
packages/flutter_gemma_agent/test/fixtures/skills/calculate-hash.SKILL.md
packages/flutter_gemma_agent/test/fixtures/skills/send-email.SKILL.md
packages/flutter_gemma_agent/assets/skills/qr-code/SKILL.md

Metadata

Files
0
Version
4cb1a16
Hash
327744b0
Indexed
2026-08-20 14:01

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-01 15:53
浙ICP备14020137号-1 $Map of visitor$