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 gosha70/code-copilot-team --skill wiki-first-querygit clone --depth 1 https://github.com/gosha70/code-copilot-teamWrote 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/gosha70/code-copilot-team/wiki-first-query)<a href="https://agentmods.dev/skills/gosha70/code-copilot-team/wiki-first-query"><img src="https://agentmods.dev/badge/skills/gosha70/code-copilot-team/wiki-first-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/gosha70/code-copilot-team/wiki-first-query"><img src="https://agentmods.dev/badge/skills/gosha70/code-copilot-team/wiki-first-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.00037 | $0.00663 |
| Opus 5.5 | $0.00015 | $0.00265 |
| Sonnet 5.5 | $0.00007 | $0.00133 |
| Haiku 4.5 | $0.00004 | $0.00066 |
Grade A, and why
wiki-first-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 20d 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.
How it starts
The opening of the file, as written. The whole thing — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Wiki-First Query Convention
This project maintains a curated knowledge layer at
knowledge/wiki/. It is the canonical home for durable project
knowledge — concepts, workflows, incidents, decisions, playbooks,
glossary entries, and known open questions. Every page is cited
back to a raw source.
The convention
When you start work on a topic that touches this project's domain (SDD workflow, peer review, adapter generation, agent safety, shape-up cycles, etc.), consult the wiki first:
- Read
knowledge/wiki/index.md(repo-relative path) to find pages relevant to your topic. - Follow the links into
concepts/,workflows/,incidents/,decisions/,playbooks/, orglossary/as relevant. - Treat what you find there as the project's current best understanding. Each page lists its sources in frontmatter; if you need deeper detail, follow those citations.
Only after consulting the wiki should you fall back to raw sources (specs, issues, PRs, code) for the same topic. The wiki exists so that you do not re-discover the same context every session.
These are direct file reads. The convention never runs wiki query
or wiki find: those are engine operations that call a configured
backend (a model, with its cost) and belong to a separate, deliberate
workflow (./scripts/wiki query "<question>"), not to reading the
wiki first.
When the wiki is silent or stale
If the wiki has nothing on the topic, or what it has is clearly out of date with the current code:
- Do the raw research yourself.
- If what you learn is reusable beyond this session, propose
a promotion by following the procedure in
knowledge/wiki/workflows/promote-lesson-to-wiki.md(repo-relative path). - Do not silently fix wiki content as a side effect of other work — wiki edits are intentional, single-purpose changes.
In Claude Code, the /promote-lesson <description> slash command
runs the promotion workflow on your behalf. Other adapters can
follow the workflow document directly. Its final lint runs
wiki-studio 0.9.0 through ./scripts/wiki lint from a CCT checkout
(bash scripts/setup-wiki.sh installs it); a plugin-only install
provides the package itself and checks the version before linting.
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.
- 20d ago Changed · +9 lines 545cb992ed17
- 2mo ago First seen · 59 lines · 37 tokens per session scan A 03354410fbbc
wiki-first-query is a skill published in the GitHub repository gosha70/code-copilot-team (10 stars, last pushed today), licensed MIT. It adds 37 tokens to every session and 663 once invoked, about $0.0001 per session on Opus 5.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.
wiki-first-query compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| wiki-first-querygosha70/code-copilot-team | Skill | 10 | today | MIT | A | 37 | Claude Code |
| rosettatjboudreaux/rosetta | Skill | 5 | 4mo ago | MIT | A | 137 | Claude Code |
| pact-recalljonathanmr22/pact | Skill | 16 | 5mo ago | MIT | A | 16 | Claude Code |
| agent-v3-memory-specialistruvnet/ruflo | Skill | 83k | today | MIT | A | 25 | Claude Code |
| agent-deckasheshgoplani/agent-deck | Skill | 1.3k | today | MIT | A | 281 | Claude Code, Codex |
| moai-foundation-contextmodu-ai/moai-adk | Skill | 1.3k | today | Apache-2.0 | A | 41 | Claude Code |
| agent-deckasheshgoplani/agent-deck | Skill | 1.3k | today | MIT | A | 63 | Claude Code, Codex |