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 agentmods add instructions/rtk-ai/rtk/copilot-instructionsgit clone --depth 1 https://github.com/rtk-ai/rtkWhat 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 | $0.00846 | $0.00846 |
| Opus 5 | $0.00423 | $0.00423 |
| Sonnet 5 | $0.00169 | $0.00169 |
| Haiku 4.5 | $0.00085 | $0.00085 |
Grade A, and why
rtk copilot-instructions.md 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 3d 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 — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Copilot Instructions for rtk
rtk (Rust Token Killer) is a CLI proxy that filters and compresses command outputs before they reach an LLM context, cutting 60-90% of bash output. It wraps common tools (git, cargo, grep, pnpm, go, etc.) and outputs condensed summaries instead of raw output. Percentages measure bash output, not billed tokens; RTK ships no tokenizer (src/core/tracking.rs estimates bytes / 4).
Using rtk in this session
Always prefix commands with rtk when running shell commands — this reduces token consumption for every operation you perform.
# Instead of: Use:
git status rtk git status
git log -10 rtk git log -10
cargo test rtk cargo test
cargo clippy --all-targets rtk cargo clippy --all-targets
grep -r "pattern" src/ rtk grep -r "pattern" src/
rtk meta-commands (always use these directly, no prefix needed):
rtk gain # Show token savings analytics
rtk gain --history # Full command history with per-command savings
rtk discover # Scan session history for missed rtk opportunities
rtk proxy <cmd> # Run a command raw (no filtering) but still track it
Verify rtk is installed before starting:
rtk --version # Should print: rtk X.Y.Z
rtk gain # Should show a dashboard (not "command not found")
Name collision:
rtk gainfailing means you havereachingforthejack/rtk(Rust Type Kit) installed instead. Runwhich rtkto check.
Build, Test & Lint
cargo build # Development build
cargo test # All tests
cargo test test_name # Single test
cargo test module::tests:: # Module tests
cargo test -- --nocapture # With stdout
# Pre-commit gate (must all pass before any PR)
cargo fmt --all --check && cargo clippy --all-targets && cargo test
bash scripts/test-all.sh # Smoke tests (requires installed binary)
PRs target the develop branch, not main. All commits require a DCO sign-off (git commit -s).
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.
- 3d ago First seen · 67 lines · 846 tokens per session scan A 429f1be86808
rtk copilot-instructions.md is an instructions file published in the GitHub repository rtk-ai/rtk (78,131 stars, last pushed yesterday), licensed Apache-2.0. It adds 846 tokens to every session, about $0.0042 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-08-30.
Other instructions, from other repositories
intuitive-flow CLAUDE.md
Instructions for MiaoDX/intuitive-flow, covering claude guide and claude-specific notes.
AmbyKit AGENTS.md
Instructions for ambystechcom/AmbyKit, covering agents.md — ambykit, what ambykit is, golden rules, project structure and build & test.
repo-ready CLAUDE.md
Instructions for shidesheng0218/repo-ready, covering claude.md, stack, commands and rules.
ai-auto-work CLAUDE.md
Claude Code instructions for chaohong-ai/ai-auto-work, covering gamemaker - ai native 游戏创作平台, 项目简介, ai 工作目录约定 and 按需加载(不默认装载).
better-codebase CLAUDE.md
Claude Code instructions for NicolasYusim/better-codebase: Read and follow AGENTS.md when developing this repository.
catalyst AGENTS.md
AGENTS.md instructions for coalesce-labs/catalyst, covering agents.md, what this repository is, agent philosophy, build & test and key principles.