wiki-query

A tool for searching a project wiki, which is a collection of internal documentation, and combining relevant pages into an answer with sources.

In plain words
What is it for?
It helps answer questions about the knowledge base, compare or summarize documented information, identify gaps, and optionally save useful new answers as wiki pages.
Why use it?
It reduces the time spent finding information across wiki pages and makes clear which statements are supported by existing documents and which are uncertain.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/open-gitagent/opengap/wiki-query
Any agent
npx skills add open-gitagent/opengap --skill wiki-query
Clone the repo
git clone --depth 1 https://github.com/open-gitagent/opengap

Made for: Claude Code, Codex.

Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 436 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00043 $0.00436
Opus 5 $0.00022 $0.00218
Sonnet 5 $0.00009 $0.00087
Haiku 4.5 $0.00004 $0.00044

Measured 3d ago against content hash a36232a746c2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

wiki-query scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

examples/llm-wiki/skills/wiki-query/SKILL.md · 47 lines

What it actually says

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.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 47 lines · 43 tokens per session scan A a36232a746c2

Subscribe to this mod's changes

wiki-query is a skill published in the GitHub repository open-gitagent/opengap (2,921 stars, last pushed 2mo ago), licensed MIT. It adds 43 tokens to every session and 436 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

a0-create-agent

Create a new Agent Zero agent profile (subordinate). Covers where profiles live (user / plugin-distributed / project-scoped), the agent.yaml schema, the prompt inheritance & override model, and optional profile-specific tools and extensions. Use for any "create/add/new agent profile" request.

agent0ai/agent-zero · 63 tokens

skill-packager

Authors Agent Skills v1.0 packages (SKILL.md plus references/scripts), runs packageskill to produce a standards-compliant zip, and uses installskill to add skills from HTTPS, registry, workspace, or an uploaded archive. Use when the user wants to turn documentation, workflows, or code into a portable skill, export a…

vixues/LeAgent · 87 tokens

document-processor

Guidance for processing documents, extracting content, and transforming structured information. Use when the user asks to process, parse, extract, or transform document content such as PDFs, Word files, or spreadsheets.

vixues/LeAgent · 44 tokens

workflow-helper

Guidance for creating, managing and executing workflow automations that chain multiple tools and agents together. Use when the user asks about building, listing, running or composing workflows and automated task pipelines.

vixues/LeAgent · 41 tokens

attendance-signin-sheet

Generate printable attendance / 签到表 spreadsheets from name lists. Use when the user asks for 签到表, attendance sheet, meeting sign-in table, or similar printable roster tables (not full payroll attendance scoring unless asked).

vixues/LeAgent · 51 tokens

data-analyzer

Guidance for analyzing structured data, generating statistics and producing data-driven insights. Use when the user asks to analyze data, compute statistics, find patterns, or generate analytical reports.

vixues/LeAgent · 39 tokens