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 blakecyze/kanso --skill kanso-contextgit clone --depth 1 https://github.com/blakecyze/kansoWrote 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/blakecyze/kanso/kanso-context)<a href="https://agentmods.dev/skills/blakecyze/kanso/kanso-context"><img src="https://agentmods.dev/badge/skills/blakecyze/kanso/kanso-context/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/blakecyze/kanso/kanso-context"><img src="https://agentmods.dev/badge/skills/blakecyze/kanso/kanso-context.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.00058 | $0.02909 |
| Opus 5 | $0.00029 | $0.01455 |
| Sonnet 5 | $0.00012 | $0.00582 |
| Haiku 4.5 | $0.00006 | $0.00291 |
Grade A, and why
kanso-context 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 8d 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 — 270 lines — stays where its author put it; the contents beside it link to each section on GitHub.
kanso-context
Curates agent context files to improve AI-agent reliability on this codebase. Primary target is AGENTS.md (cross-tool standard). CLAUDE.md is only updated when guidance is genuinely Claude-specific.
The principles from kanso-principles apply. This skill is biased toward deletion.
The governing evidence
This skill's design is pinned to the empirical record as of 2026:
- Vercel benchmark: a lean ~8KB AGENTS.md with a compressed docs index hit 100% on agent evaluations. Skills-only context hit 53%. Skills with explicit invocation instructions hit 79%.
- ETH Zurich AGENTbench: LLM-generated context files reduced success rates by 0.5-2% and inflated cost by over 20%. Developer-written context files added 4%.
- Real-world prevalence study (2,303 files): only 14.5% of context files include security or performance guidance. This is the largest systematic gap.
- Median effective length: ~485 words for Claude Code, ~150 lines ceiling for AGENTS.md. Longer files degrade agent performance.
Three practical implications:
- This skill does not generate context from scratch. It prunes, curates, flags gaps, and asks the user to fill them. Generation without the user's input is the failure mode the research warns against.
- Less is more. The default action on any file over 150 lines is to propose deletions.
- Security and performance guidance is the universal gap. Flag it if missing and relevant.
Modes
$ARGUMENTS selects the mode:
audit(default) — review existing context files, produce a findings report. No edits.prune— act on audit findings to remove stale, redundant, or noisy content. Edits with approval.init— bootstrap a minimal AGENTS.md for a repo that doesn't have one. Interactive; asks the user for inputs.sync— compare context files against recent PRs (last 20-30 merged) to find drift: instructions that no longer match how the code actually works.
If no argument is given, default to audit.
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.
- 8d ago First seen · 270 lines · 58 tokens per session scan A 225ba9dcd746
kanso-context is a skill published in the GitHub repository blakecyze/kanso (3 stars, last pushed 5d ago), licensed MIT. It adds 58 tokens to every session and 2,909 once invoked, about $0.0003 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-31.
Other skills, from other repositories
auto-loop
TDD-based autonomous development loop with checkpoint recovery and observability changelog.
hook-template
Generate hook script from template. Use when adding a new hook, wiring a PreToolUse/PostToolUse/Stop/Notification hook, or scaffolding hook config for settings.json.
skill-check
Validate skill/command file format and structure. Use after creating or editing a skill, before committing skill changes, or when a skill fails to load or trigger.
agent-check
Validate custom agent file format and structure. Use after creating or editing an agent, before committing agent changes, or when an agent fails to load.
session-relay
Continue real repository work between Claude Code, Codex CLI, and Grok Build with a privacy-bounded, drift-aware handoff packet. Use for cross-vendor takeover, context-limit checkpoints, multi-hop Claude→Codex→Grok relays, or receiving an existing Director packet. Use native resume commands for same-CLI history; never…
skill-template
Generate custom skill/command from template. Use when creating a new skill or slash command from scratch, or scaffolding a skill file with correct frontmatter.