wiki-first-query

wiki-first-query is a skill for Claude Code from gosha70/code-copilot-team. It costs 37 tokens per session (663 once invoked), scanned A, original, MIT.

A project rule for consulting the internal wiki before searching the project's raw specifications, issues, or code. The wiki is a maintained collection of project knowledge and links back to its sources.

In plain words
What is it for?
It helps research project concepts, workflows, decisions, incidents, playbooks, and glossary entries before starting related work.
Why use it?
It gives developers the project's current shared context first, reducing repeated investigation and conflicting interpretations.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the cct plugin — 24 skills shipped together

Good fit It helps research project concepts, workflows, decisions, incidents, playbooks, and glossary entries before starting related work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gosha70/code-copilot-team/wiki-first-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 gosha70/code-copilot-team --skill wiki-first-query
Clone the repo
git clone --depth 1 https://github.com/gosha70/code-copilot-team

Made for: Claude Code.

Or install cct, the plugin that ships this one along with the rest of its 24 skills.

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-first-query

README.md
[![agentmods](https://agentmods.dev/badge/skills/gosha70/code-copilot-team/wiki-first-query/github.svg)](https://agentmods.dev/skills/gosha70/code-copilot-team/wiki-first-query)
Your own site
<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.

agentmods 80×15 button for wiki-first-query

Your own site · 80×15
<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>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 663 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 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.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

Measured 20d ago against content hash 545cb992ed17, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

adapters/claude-code/plugin/skills/wiki-first-query/SKILL.md · 68 lines

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:

  1. Read knowledge/wiki/index.md (repo-relative path) to find pages relevant to your topic.
  2. Follow the links into concepts/, workflows/, incidents/, decisions/, playbooks/, or glossary/ as relevant.
  3. 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:

  1. Do the raw research yourself.
  2. 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).
  3. 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.

Read the full file on GitHub · 68 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. 20d ago Changed · +9 lines 545cb992ed17
  2. 2mo ago First seen · 59 lines · 37 tokens per session scan A 03354410fbbc

Subscribe to this mod's changes

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.

Related

wiki-first-query compared with skills from other repositories

wiki-first-query next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wiki-first-querygosha70/code-copilot-teamSkill10todayMITA37Claude Code
rosettatjboudreaux/rosettaSkill54mo agoMITA137Claude Code
pact-recalljonathanmr22/pactSkill165mo agoMITA16Claude Code
agent-v3-memory-specialistruvnet/rufloSkill83ktodayMITA25Claude Code
agent-deckasheshgoplani/agent-deckSkill1.3ktodayMITA281Claude Code, Codex
moai-foundation-contextmodu-ai/moai-adkSkill1.3ktodayApache-2.0A41Claude Code
agent-deckasheshgoplani/agent-deckSkill1.3ktodayMITA63Claude Code, Codex