Borrowing it
Nothing to install: this file belongs to jahales/mcp-zoekt. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/jahales/mcp-zoekt/main/.github/agents/copilot-instructions.mdgit clone --depth 1 https://github.com/jahales/mcp-zoektWrote 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/agents/jahales/mcp-zoekt/copilot-instructions)<a href="https://agentmods.dev/agents/jahales/mcp-zoekt/copilot-instructions"><img src="https://agentmods.dev/badge/agents/jahales/mcp-zoekt/copilot-instructions/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/agents/jahales/mcp-zoekt/copilot-instructions"><img src="https://agentmods.dev/badge/agents/jahales/mcp-zoekt/copilot-instructions.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.00000 | $0.00851 |
| Opus 5 | $0.00000 | $0.00426 |
| Sonnet 5 | $0.00000 | $0.00170 |
| Haiku 4.5 | $0.00000 | $0.00085 |
Grade A, and why
copilot-instructions scanned grade A with 1 finding 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 9d 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
- TypeScript 5.x, Node.js 18+ + Vitest 2.x (projects feature), @modelcontextprotocol/sdk (test client), node:child_process (subprocess spawning) (002-e2e-integration-tests) How it starts
The opening of the file, as written. The whole thing — 47 lines — stays where its author put it; the contents beside it link to each section on GitHub.
code-search Development Guidelines
Auto-generated from all feature plans. Last updated: 2026-02-13
Active Technologies
-
TypeScript 5.x, Node.js 18+ + Vitest 2.x (projects feature), @modelcontextprotocol/sdk (test client), node:child_process (subprocess spawning) (002-e2e-integration-tests)
-
N/A (tests use embedded fixture files) (002-e2e-integration-tests)
-
TypeScript 5.x with strict mode + @modelcontextprotocol/sdk ^1.0.0, zod ^3.0.0, pino ^8.0.0 (003-zoekt-mcp-tools)
-
N/A (stateless server; Zoekt manages index storage) (003-zoekt-mcp-tools)
-
TypeScript 5.x with strict mode + @modelcontextprotocol/sdk, Zod (validation), Pino (logging) (004-pagination-logic)
-
N/A (stateless pagination via cursor encoding) (004-pagination-logic)
-
TypeScript 5.5+ with strict mode, ES2022 target +
@modelcontextprotocol/sdk^1.25.2,zod^3.23.0,pino^9.0.0 (005-zoekt-list-api) -
N/A (stateless HTTP client to Zoekt backend) (005-zoekt-list-api)
-
POSIX shell (BusyBox/Alpine) + zoekt-mirror-github, zoekt-git-index (already in
zoekt:localimage) (006-continuous-reindex) -
Docker volume (
zoekt-data) — shared between sync and webserver containers (006-continuous-reindex) -
TypeScript 5.x, strict mode, ES2022 target +
@modelcontextprotocol/sdk^1.25.2,pino^9.0.0,zod^3.23.0 (007-enhance-logging) -
N/A — this feature is purely about log output, not persistence (007-enhance-logging)
-
TypeScript 5.x (ES2022 target, NodeNext modules, strict mode) +
@modelcontextprotocol/sdk ^1.25.2,pino ^9.0.0,zod ^3.23.0(008-workingtree-multi-org) -
Zoekt index files on Docker volumes (
/data/index), no database (008-workingtree-multi-org) -
TypeScript 5.x, Node.js 18+ +
@modelcontextprotocol/sdk,zod,pino(logging) (001-zoekt-mcp-infra)
Project Structure
src/
tests/
Commands
npm test; npm run lint
Code Style
TypeScript 5.x, Node.js 18+: Follow standard conventions
Recent Changes
- 008-workingtree-multi-org: Added TypeScript 5.x (ES2022 target, NodeNext modules, strict mode) +
@modelcontextprotocol/sdk ^1.25.2,pino ^9.0.0,zod ^3.23.0 - 007-enhance-logging: Added TypeScript 5.x, strict mode, ES2022 target +
@modelcontextprotocol/sdk^1.25.2,pino^9.0.0,zod^3.23.0 - 006-continuous-reindex: Added POSIX shell (BusyBox/Alpine) + zoekt-mirror-github, zoekt-git-index (already in
zoekt:localimage) - 005-zoekt-list-api: Added TypeScript 5.5+ with strict mode, ES2022 target +
@modelcontextprotocol/sdk^1.25.2,zod^3.23.0,pino^9.0.0
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.
- 9d ago First seen · 47 lines · 0 tokens per session scan A e248ecc2249f
copilot-instructions is an agent published in the GitHub repository jahales/mcp-zoekt (5 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 851 tokens. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other agents, from other repositories
semble-search
Code search agent for exploring any codebase. Use for finding code by intent, locating implementations, understanding how something works, or discovering related code. Prefer over runshellcommand/readfile for any semantic or exploratory question.
semble-search
Code search agent for exploring any codebase. Use for finding code by intent, locating implementations, understanding how something works, or discovering related code. Prefer over Bash/Read for any semantic or exploratory question.
semble-search
Code search agent for exploring any codebase. Use for finding code by intent, locating implementations, understanding how something works, or discovering related code. Prefer over shell/read tools for any semantic or exploratory question.
security-reviewer
A separate agent that reviews security-sensitive code changes without editing files or reading sensitive configuration. It focuses on authentication, permissions, payments, deletion, and handling of outside input.
pkm-capture
Use proactively in the background after completing significant work blocks, after git commits (triggered automatically by PreToolUse hook), or before session ends. Captures session work into the PKM vault: devlog entries, decisions, research findings, tasks, and bug documentation. Conservative — most exchanges produce…
vault-explorer
Use proactively when researching what the vault knows about a topic, before creating new notes, or when exploring existing knowledge and connections. Run in foreground — results inform the caller's next steps. Examples: Context: User asks about a topic before creating new content. user: "What does the vault already…