wiki-query

wiki-query is a skill for Claude Code from CarbeneAI/Forge. It costs 89 tokens per session (1,226 once invoked), scanned A, a copy of wiki-query, MIT.

A tool for answering questions from an Obsidian wiki, a folder of linked notes, using cached information and relevant pages before writing citations and useful answers back into the wiki.

In plain words
What is it for?
Use it to find, explain, summarise, and synthesise information already stored in a wiki.
Why use it?
It reduces the time spent searching scattered notes and helps preserve good answers for future questions.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to find, explain, summarise, and synthesise information already stored in a wiki.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/carbeneai/forge/wiki-query
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.

Any agent
npx skills add CarbeneAI/Forge --skill wiki-query
Clone the repo
git clone --depth 1 https://github.com/CarbeneAI/Forge

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for wiki-query

README.md
[![agentmods](https://agentmods.dev/badge/skills/carbeneai/forge/wiki-query/github.svg)](https://agentmods.dev/skills/carbeneai/forge/wiki-query)
Your own site
<a href="https://agentmods.dev/skills/carbeneai/forge/wiki-query"><img src="https://agentmods.dev/badge/skills/carbeneai/forge/wiki-query/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for wiki-query

Your own site · 80×15
<a href="https://agentmods.dev/skills/carbeneai/forge/wiki-query"><img src="https://agentmods.dev/badge/skills/carbeneai/forge/wiki-query.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,226 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.1 $0.00089 $0.01226
Opus 5 $0.00044 $0.00613
Sonnet 5 $0.00018 $0.00245
Haiku 4.5 $0.00009 $0.00123

Measured 8d ago against content hash 6f0e242485dd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 8d 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.

Origin

This is a copy

100% identical to wiki-query — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/wiki-query/SKILL.md · 165 lines

How it starts

The opening of the file, as written. The whole thing — 165 lines — stays where its author put it; the contents beside it link to each section on GitHub.

wiki-query: Query the Wiki

The wiki has already done the synthesis work. Read strategically, answer precisely, and file good answers back so the knowledge compounds.


Query Modes

Three depths. Choose based on the question complexity.

Mode Trigger Reads Token cost Best for
Quick query quick: ... or simple factual Q hot.md + index.md only ~1,500 "What is X?", date lookups, quick facts
Standard default (no flag) hot.md + index + 3-5 pages ~3,000 Most questions
Deep query deep: ... or "thorough", "comprehensive" Full wiki + optional web ~8,000+ "Compare A vs B across everything", synthesis, gap analysis

Quick Mode

Use when the answer is likely in the hot cache or index summary.

  1. Read wiki/hot.md. If it answers the question, respond immediately.
  2. If not, read wiki/index.md. Scan descriptions for the answer.
  3. If found in index summary, respond and do not open any pages.
  4. If not found, say "Not in quick cache. Run as standard query?"

Do not open individual wiki pages in quick mode.


Standard Query Workflow

  1. Read wiki/hot.md first. It may already have the answer or directly relevant context.
  2. Read wiki/index.md to find the most relevant pages (scan for titles and descriptions).
  3. Read those pages. Follow wikilinks to depth-2 for key entities. No deeper.
  4. Synthesize the answer in chat. Cite sources with wikilinks: (Source: [[Page Name]]).
  5. Offer to file the answer: "This analysis seems worth keeping. Should I save it as wiki/questions/answer-name.md?"
  6. If the question reveals a gap: say "I don't have enough on X. Want to find a source?"

Deep Mode

Use for synthesis questions, comparisons, or "tell me everything about X."

  1. Read wiki/hot.md and wiki/index.md.
  2. Identify all relevant sections (concepts, entities, sources, comparisons).
  3. Read every relevant page. No skipping.
  4. If wiki coverage is thin, offer to supplement with web search.
  5. Synthesize a comprehensive answer with full citations.
  6. Always file the result back as a wiki page. Deep answers are too valuable to lose.

Read the full file on GitHub · 165 lines

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. 8d ago First seen · 165 lines · 89 tokens per session scan A 6f0e242485dd

Subscribe to this mod's changes

wiki-query is a skill published in the GitHub repository CarbeneAI/Forge (9 stars, last pushed 1mo ago), licensed MIT. It adds 89 tokens to every session and 1,226 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to wiki-query, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

knowledge-management

../../../governance/knowledge-management/SKILL.md.

jaskaranhundal/usap-skills · 0 tokens

analyzing-memory-forensics-with-lime-and-volatility

Performs Linux memory acquisition using LiME (Linux Memory Extractor) kernel module and analysis with Volatility 3 framework. Extracts process lists, network connections, bash history, loaded kernel modules, and injected code from Linux memory images. Use when performing incident response on compromised Linux systems.

mukul975/Anthropic-Cybersecurity-Skills · 71 tokens

obsidian-bases

Explain, draft, and validate Obsidian Bases .base files with filters, formulas, properties, summaries, and table, card, or list views. Use for Obsidian Bases, database-like vault views, dynamic tables, reading lists, task trackers, filters, formulas, summaries, and .base file edits.

AgriciDaniel/claude-obsidian · 69 tokens

wiki-retrieve

Build and query a vault-local contextual BM25 retrieval index with optional multilingual Nomic cosine reranking; use for retrieve, hybrid retrieval, BM25, rerank, contextual retrieval, chunk search, vault search, semantic search, find relevant passages, or retrieval diagnostics. Derived caches stay under .vault-meta…

AgriciDaniel/claude-obsidian · 81 tokens

commonly

You are a member of a Commonly workspace — a shared space where humans and AI agents from any origin collaborate in pods (chat rooms with memory). Use this whenever you are connected to Commonly via the commonly MCP tools: to read what's happening, post, remember things across sessions, react, DM other agents, and…

Team-Commonly/commonly · 0 tokens

daily-briefing

Proactive daily briefing that fires on a recurring schedule, pulls recent memory and workspace context, composes a structured summary (action items, progress, radar, next steps), and delivers it to all active channels. Enable with a time like "set up my daily briefing at 9am". Disable, reschedule, or check status at…

vellum-ai/vellum-assistant · 75 tokens