kungfu-kanban: Instructions file for Claude Code

CLAUDE.md

kungfu-kanban CLAUDE.md is an instructions file for Claude Code from LeahyCC/kungfu-kanban. It costs 1,240 tokens per session, scanned A, original, MIT.

Repository-specific instructions for coding sessions in the Kungfu Kanban project, including versioning, changelogs, releases, and other development rules.

In plain words
What is it for?
Use them when changing Kungfu Kanban so your pull requests follow its release and repository procedures.
Why use it?
They reduce mistakes by making project conventions explicit, especially around version numbers and automatic releases.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions Claude Code.

This is LeahyCC/kungfu-kanban's own configuration. It tells Claude Code how to work on kungfu-kanban itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything kungfu-kanban configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/LeahyCC/kungfu-kanban/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/LeahyCC/kungfu-kanban

Made for: Claude Code.

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 kungfu-kanban CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/leahycc/kungfu-kanban/claude-md/github.svg)](https://agentmods.dev/instructions/leahycc/kungfu-kanban/claude-md)
Your own site
<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.

agentmods 80×15 button for kungfu-kanban CLAUDE.md

Your own site · 80×15
<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>
Per session 1,240 This file is loaded in full into every session.
When invoked 1,240 The same file — it is already loaded in full.
Security scan A 1 finding. 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.01240 $0.01240
Opus 5 $0.00620 $0.00620
Sonnet 5 $0.00248 $0.00248
Haiku 4.5 $0.00124 $0.00124

Measured 12d ago against content hash b2dd30a0ea73, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

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
CLAUDE.md · 74 lines

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.json version (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 to main runs scripts/cut-release.js (the release job in test.yml), which creates the annotated vX.Y.Z tag 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, so scripts/check-release.js still audits PR citations at PR time.
  • The live server runs under launchd (com.kungfu-kanban). Frontend files serve fresh from disk; server-side changes need launchctl kickstart -k gui/$(id -u)/com.kungfu-kanban. A SIGTERM/SIGINT handler in server.js stops any running cards and stamps them error: 'interrupted by server restart' (status review) 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 with Authorization: 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 or POST /api/skill/install.
  • No shell interpolation: subprocesses use execFile with arg arrays. User-visible strings go through esc() client-side; markdown renders only after HTML-escaping.
  • data/ is state, never committed. local/ and .claude/worktrees/ are gitignored legacies/workspaces.
  • Keep main pushed: 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 playwright in the project at hand, then a small require('playwright') script; npx playwright install chromium once per machine if the browser binary is missing. (npx --package playwright node script.js does NOT work — modern npm puts the bin on PATH but sets no NODE_PATH.) lib/runner.js injects 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 into npm 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 postinstall that downloads browsers or binaries, and don't promote a devDependency to a dependency to make it ambient — test.yml deliberately keeps the Chromium download out of the suite job, and a postinstall silently re-adds it to every npm ci on every OS in CI. Prefer on-demand npx.
    • 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_modules into unrelated projects as phantom dependencies.
    • A UI change's test plan shows real-browser evidence (screenshot or playwright check output), not just npm test passing.
    • No AI attribution footers (Co-Authored-By: Claude …, "Generated with Claude Code", or similar) in commit messages or PR bodies.

Read the full file on GitHub · 74 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. 12d ago First seen · 74 lines · 1,240 tokens per session scan A b2dd30a0ea73

Subscribe to this mod's changes

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.

Related

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.

github/spec-kit · 7,126 tokens

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.

vercel/next.js · 7,296 tokens

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.

openai/codex · 5,153 tokens

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).

microsoft/vscode · 6,785 tokens

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.

langchain-ai/langchain · 4,469 tokens

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).

microsoft/vscode · 5,001 tokens