Agent Skillsopen-gitagent/opengap › wiki-query

wiki-query

GitHub

通过检索和综合Wiki内容回答用户问题,支持多源信息整合、引用标注及置信度评估。若发现有价值的未收录知识,可询问用户后自动归档为新页面并更新索引,实现知识库的持续积累与闭环。

examples/llm-wiki/skills/wiki-query/SKILL.md open-gitagent/opengap

Trigger Scenarios

用户询问知识库相关问题 需要基于现有文档进行事实核查或对比分析

Install

npx skills add open-gitagent/opengap --skill wiki-query -g -y
More Options

Non-standard path

npx skills add https://github.com/open-gitagent/opengap/tree/main/examples/llm-wiki/skills/wiki-query -g -y

Use without installing

npx skills use open-gitagent/opengap@wiki-query

指定 Agent (Claude Code)

npx skills add open-gitagent/opengap --skill wiki-query -a claude-code -g -y

安装 repo 全部 skill

npx skills add open-gitagent/opengap --all -g -y

预览 repo 内 skill

npx skills add open-gitagent/opengap --list

SKILL.md

Frontmatter
{
    "name": "wiki-query",
    "description": "Query the wiki to answer questions. Searches wiki pages, synthesizes answers with citations, and optionally files valuable answers back as new wiki pages. Use when the user asks a question about the knowledge base.",
    "allowed-tools": "Read Write Edit Glob Grep"
}

Wiki Query

Answer questions by searching and synthesizing from the wiki.

Workflow

Step 1: Search the wiki

  1. Read memory/wiki/index.md to find relevant pages
  2. Use Grep to search for specific terms across memory/wiki/
  3. Read the most relevant pages (usually 3-10)

Step 2: Synthesize an answer

  • Combine information from multiple wiki pages
  • Cite sources: reference both wiki pages and the underlying raw documents
  • Note confidence level — distinguish well-sourced claims from inferences
  • Flag if the wiki has gaps on this topic

Step 3: Present the answer

Format depends on the question:

  • Factual question — direct answer with citations
  • Comparison — markdown table comparing entities/concepts
  • Overview — structured summary with sections
  • Analysis — synthesis with explicit reasoning chain

Step 4: File back (if valuable)

If the answer represents a useful synthesis that doesn't exist as a wiki page:

  1. Ask the user: "This answer synthesizes information that isn't captured in the wiki yet. Should I file it as a new page?"
  2. If yes: create a new wiki page in memory/wiki/
  3. Update memory/wiki/index.md
  4. Append to memory/log.md:
    ## [YYYY-MM-DD] query-filed | Page Title
    - Question: [original question]
    - Pages referenced: [list]
    - New page: memory/wiki/page-name.md
    

Key Insight

Good answers should not disappear into chat history. A comparison you asked for, an analysis, a connection you discovered — these are valuable wiki content. Filing them back means your explorations compound in the knowledge base just like ingested sources do.

Version History

  • d7a8e2e Current 2026-07-25 08:13

Same Skill Collection

examples/full/skills/document-review/SKILL.md
examples/full/skills/regulatory-analysis/SKILL.md
examples/gitagent-helper/skills/create-agent/SKILL.md
examples/gitagent-helper/skills/export-agent/SKILL.md
examples/gitagent-helper/skills/get-started/SKILL.md
examples/gitagent-helper/skills/manage-skills/SKILL.md
examples/gitagent-helper/skills/run-agent/SKILL.md
examples/jason-my-claw-is-the-law-deebee-4567b4/skills/compute-ladder/SKILL.md
examples/jason-my-claw-is-the-law-deebee-4567b4/skills/narco-check/SKILL.md
examples/jason-my-claw-is-the-law-deebee-4567b4/skills/packet-factory/SKILL.md
examples/llm-wiki/skills/wiki-ingest/SKILL.md
examples/llm-wiki/skills/wiki-lint/SKILL.md
examples/lyzr-agent/skills/research/SKILL.md
examples/nvidia-deep-researcher/skills/knowledge-retrieval/SKILL.md
examples/nvidia-deep-researcher/skills/paper-search/SKILL.md
examples/nvidia-deep-researcher/skills/web-search/SKILL.md
examples/standard/skills/code-review/SKILL.md

Metadata

Files
0
Version
d7a8e2e
Hash
a36232a7
Indexed
2026-07-25 08:13

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-22 01:29
浙ICP备14020137号-1 $mapa de visitantes$