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 zhaixin244-wq/fnw --skill wiki-querygit clone --depth 1 https://github.com/zhaixin244-wq/fnwWrote 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/zhaixin244-wq/fnw/wiki-query)<a href="https://agentmods.dev/skills/zhaixin244-wq/fnw/wiki-query"><img src="https://agentmods.dev/badge/skills/zhaixin244-wq/fnw/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/zhaixin244-wq/fnw/wiki-query"><img src="https://agentmods.dev/badge/skills/zhaixin244-wq/fnw/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.01226 |
| Opus 5 | $0.00044 | $0.00613 |
| Sonnet 5 | $0.00018 | $0.00245 |
| Haiku 4.5 | $0.00009 | $0.00123 |
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 7d 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.
Copies of this mod
2 near-identical copies found in the catalogue:
- wiki-query — 100% identical, 0 lines differ
- wiki-query — 97% identical, 33 lines differ
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.
- 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/questions/answer-name.md?" - 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."
- Read
wiki/hot.mdandwiki/index.md. - Identify all relevant sections (concepts, entities, sources, comparisons).
- Read every relevant page. No skipping.
- If wiki coverage is thin, offer to supplement with web search.
- Synthesize a comprehensive answer with full citations.
- Always file the result back as a wiki page. Deep answers are too valuable to lose.
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.
- 7d ago First seen · 165 lines · 89 tokens per session scan A 6f0e242485dd
wiki-query is a skill published in the GitHub repository zhaixin244-wq/fnw (29 stars, last pushed 3mo 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. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
media-ingest
Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.
mem0-oss-to-platform
Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…
Cortex
Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…
memory
Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.
ha-data-stores
Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…
establishing-project-context
Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling. Routine small tasks stay on the fast path.