Borrowing it
Nothing to install: this file belongs to LeahyCC/kungfu-kanban. 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/LeahyCC/kungfu-kanban/main/CLAUDE.mdgit clone --depth 1 https://github.com/LeahyCC/kungfu-kanbanWrote 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/instructions/leahycc/kungfu-kanban/claude-md)<a href="https://agentmods.dev/instructions/leahycc/kungfu-kanban/claude-md"><img src="https://agentmods.dev/badge/instructions/leahycc/kungfu-kanban/claude-md/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/instructions/leahycc/kungfu-kanban/claude-md"><img src="https://agentmods.dev/badge/instructions/leahycc/kungfu-kanban/claude-md.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.01240 | $0.01240 |
| Opus 5 | $0.00620 | $0.00620 |
| Sonnet 5 | $0.00248 | $0.00248 |
| Haiku 4.5 | $0.00124 | $0.00124 |
Grade A, and why
kungfu-kanban CLAUDE.md 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 12d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- **Verify against the real server**: `TOKEN=$(cat data/auth-token)` then curl How it starts
The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Working on Kungfu Kanban
Conventions for coding sessions in this repo:
- Version + changelog discipline: every meaningful change bumps
package.jsonversion (minor = feature, patch = fix) and describes itself in a dated section —## [X.Y.Z] — YYYY-MM-DD, written that way in the PR, not left under## [Unreleased]. The in-app update check shows users the new version, so keep them honest. If a card's prompt explicitly overrides this (e.g. a batch whose release card owns the version bump), the card prompt wins — three batch agents following this convention against explicit card instructions caused avoidable merge conflicts on 2026-07-20. Releases are automatic since 2026-07-29: merging tomainrunsscripts/cut-release.js(thereleasejob intest.yml), which creates the annotatedvX.Y.Ztag and the GitHub Release from that dated section. One merged PR, one release — no release cards. A PR that bumps no version, or leaves its notes under[Unreleased], releases nothing and stays green; that silence is how 1.8.0 through 1.10.1 slipped out untagged before this existed, soscripts/check-release.jsstill audits PR citations at PR time. - The live server runs under launchd (
com.kungfu-kanban). Frontend files serve fresh from disk; server-side changes needlaunchctl kickstart -k gui/$(id -u)/com.kungfu-kanban. A SIGTERM/SIGINT handler inserver.jsstops any running cards and stamps themerror: 'interrupted by server restart'(statusreview) before exiting, so a restart is safe even with cards in flight — but it still kills whatever those agents were mid-doing, so avoid restarting mid-run when you can wait. A hard kill (SIGKILL, crash) skips the handler;lib/store.js's boot sweep applies the same error marker as a fallback. - Verify against the real server:
TOKEN=$(cat data/auth-token)then curl withAuthorization: Bearer $TOKEN. The token gate reads per-request. - The kungfu-todo skill is generated by
lib/skill.js— edit the template there, never the installed copy; reinstall via ⚙ Settings orPOST /api/skill/install. - No shell interpolation: subprocesses use
execFilewith arg arrays. User-visible strings go throughesc()client-side; markdown renders only after HTML-escaping. data/is state, never committed.local/and.claude/worktrees/are gitignored legacies/workspaces.- Keep
mainpushed: agent worktrees base on the default branch; a stale origin causes avoidable PR conflicts. - Every bug fix ships with the regression test that would have caught it.
- UI changes are verified in a real browser, not by code review alone.
Prove the change in headless Chromium before calling it done. Quick visual
proof from any directory:
npx playwright screenshot <url> out.png. Scripted checks (clicks / console errors / computed styles):npm i --no-save playwrightin the project at hand, then a smallrequire('playwright')script;npx playwright install chromiumonce per machine if the browser binary is missing. (npx --package playwright node script.jsdoes NOT work — modern npm puts the bin on PATH but sets no NODE_PATH.)lib/runner.jsinjects this convention into every card prompt and the Sensei withholds approval of UI diffs with no browser evidence. Playwright is deliberately not a dependency of this app — the npx and browser caches are per-machine, so nothing is baked intonpm install(see PR protocol below for why). - PR protocol — for every PR from a coding agent or human contributor.
Lessons from PR #128 (2026-08-03), a vibe-coded PR that was right in spirit
but needed rework on all four points:
- Date the changelog section in the PR itself (
## [X.Y.Z] — YYYY-MM-DD, per the version discipline above). Notes left under[Unreleased]merge green but release nothing — the bumped version slips out untagged, the exact 1.8.0–1.10.1 failure the auto-release exists to prevent. - No install-time weight. Nothing in
postinstallthat downloads browsers or binaries, and don't promote a devDependency to a dependency to make it ambient —test.ymldeliberately keeps the Chromium download out of thesuitejob, and a postinstall silently re-adds it to everynpm cion every OS in CI. Prefer on-demandnpx. - No global env or resolution changes to serve one use case (NODE_PATH,
PATH, module paths injected into every spawned agent) — that leaks this
repo's
node_modulesinto unrelated projects as phantom dependencies. - A UI change's test plan shows real-browser evidence (screenshot or
playwright check output), not just
npm testpassing. - No AI attribution footers (
Co-Authored-By: Claude …, "Generated with Claude Code", or similar) in commit messages or PR bodies.
- Date the changelog section in the PR itself (
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.
- 12d ago First seen · 74 lines · 1,240 tokens per session scan A b2dd30a0ea73
kungfu-kanban CLAUDE.md is an instructions file published in the GitHub repository LeahyCC/kungfu-kanban (5 stars, last pushed today), licensed MIT. It adds 1,240 tokens to every session, about $0.0062 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).