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.
npx skills add eliransu/digital-brain --skill wiki-querygit clone --depth 1 https://github.com/eliransu/digital-brainWrote 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.
[](https://agentmods.dev/skills/eliransu/digital-brain/wiki-query)<a href="https://agentmods.dev/skills/eliransu/digital-brain/wiki-query"><img src="https://agentmods.dev/badge/skills/eliransu/digital-brain/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.
<a href="https://agentmods.dev/skills/eliransu/digital-brain/wiki-query"><img src="https://agentmods.dev/badge/skills/eliransu/digital-brain/wiki-query.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00089 | $0.01257 |
| Opus 5.5 | $0.00036 | $0.00503 |
| Sonnet 5.5 | $0.00018 | $0.00251 |
| Haiku 4.5 | $0.00009 | $0.00126 |
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 3mo 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.
This is a copy
97% identical to wiki-query — 33 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.
How it starts
The opening of the file, as written. The whole thing — 174 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.
- Read
wiki/hot.md. If it answers the question, respond immediately. - If not, read
wiki/index.md. Scan descriptions for the answer. - If found in index summary, respond and do not open any pages.
- If not found, say "Not in quick cache. Run as standard query?"
Do not open individual wiki pages in quick mode.
Standard Query Workflow
- Read
wiki/hot.mdfirst. It may already have the answer or directly relevant context. - Read
wiki/index.mdto find the most relevant pages (scan for titles and descriptions). - Read those pages. Follow wikilinks to depth-2 for key entities. No deeper.
- Synthesize the answer in chat. Cite sources with wikilinks:
(Source: [[Page Name]]). - Offer to file the answer: "This analysis seems worth keeping. Should I save it as
wiki/synthesis/answer-name.md?" - If the question reveals a gap: say "I don't have enough on X. Want to find a source?"
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.
- 3mo ago First seen · 174 lines · 89 tokens per session scan A 333907d615ce
wiki-query is a skill published in the GitHub repository eliransu/digital-brain (1 stars, last pushed 6mo ago), licensed MIT. It adds 89 tokens to every session and 1,257 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 97% identical to wiki-query, differing in 33 lines, and is treated as a copy.
wiki-query compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| wiki-queryeliransu/digital-brain | Skill | 1 | 6mo ago | MIT | A | 89 | Claude Code |
| llm-wikipraneybehl/llm-wiki-plugin | Skill | 127 | 1mo ago | MIT | A | 143 | Claude Code |
| llm-wikizosmaai/pi-llm-wiki | Skill | 634 | 6d ago | MIT | A | 52 | Claude Code |
| brain-rebuildjessepinkman9900/claude-second-brain | Skill | 187 | 2d ago | MIT | A | 74 | Claude Code |
| brain-searchjessepinkman9900/claude-second-brain | Skill | 187 | 2d ago | MIT | A | 63 | Claude Code |
| migrateguhcostan/claude-mega-brain | Skill | 128 | 3d ago | MIT | A | 147 | Claude Code |
| ingestguhcostan/claude-mega-brain | Skill | 128 | 3d ago | MIT | A | 108 | Claude Code |