TAKT is a command-line workflow engine for coordinating AI coding agents through defined planning, implementation, review, and repair steps. Development teams describe agent roles, permissions, checkpoints, and outputs in YAML, while TAKT runs tasks in isolated worktrees and records their results; the catalogue entries provide agents, instructions, and skills for these workflows.
Borrowing it
Nothing to install: this file belongs to nrslib/takt. 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/nrslib/takt/main/CLAUDE.mdgit clone --depth 1 https://github.com/nrslib/taktWrote 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/nrslib/takt/claude-md)<a href="https://agentmods.dev/instructions/nrslib/takt/claude-md"><img src="https://agentmods.dev/badge/instructions/nrslib/takt/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/nrslib/takt/claude-md"><img src="https://agentmods.dev/badge/instructions/nrslib/takt/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.03770 | $0.03770 |
| Opus 5.5 | $0.01508 | $0.01508 |
| Sonnet 5.5 | $0.00754 | $0.00754 |
| Haiku 4.5 | $0.00377 | $0.00377 |
Grade A, and why
takt CLAUDE.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 6d 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 — 146 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
This file is not user-facing documentation. It exists for Claude Code to read while working in the repository — it does not substitute for the real docs under
docs/orREADME.md. Content being recorded here NEVER implies "we don't need to write this up for users." Anything users should see must still be added toREADME.md/docs/**separately.
Project Overview
TAKT (TAKT Agent Koordination Topology) is a multi-agent orchestration CLI. It runs AI agents through YAML-defined workflows with rule-based routing, parallel review, dynamic task decomposition, and worktree-isolated execution. This repository dogfoods TAKT for its own review and development.
Development Commands
| Command | Notes |
|---|---|
npm run build |
tsc (+ opencode-probe tsconfig) plus copies of src/shared/prompts/{en,ja}/**/*.md, src/shared/i18n/*.yaml, and src/core/runtime/presets/*.sh into dist/. Skipping any copy breaks runtime resolution. |
npm run watch |
TypeScript incremental build (no asset copy). |
npm run lint |
ESLint on src/. no-explicit-any is error; unused vars must be prefixed _. |
npm test |
Fast unit gate: type-contracts tsc, the test type-check (tsconfig.tests.json), then an adaptive number of unit shards launched concurrently (capped at 8 from availableParallelism() in scripts/run-npm-test.mjs, each shard --maxWorkers=1). Excludes integration tests; the output names the follow-up command. |
npm run test:it |
Light integration gate for real filesystem, bounded storage, and multi-component contracts. Run after implementation. |
npm run test:it:heavy |
Full heavy integration gate for real child processes, Git, complete engines, integration/regression/performance suites, and serial groups. Local execution uses one worker; PR CI shards across isolated runners. |
npm test -- src/__tests__/<file>.test.ts |
Route a single file to the correct unit, light-IT, heavy-parallel-IT, or heavy-serial-IT runner. For an added or changed IT, also run releaseVerificationWiring.test.ts by itself. Always target-run an added or changed heavy IT before handoff. |
npm test -- -t "<pattern>" |
Run unit tests whose name matches <pattern>. |
npm run test:opencode-probe |
Deterministic OpenCode probe smoke gate (11 cases, no API cost). Standalone; not part of routine gates or check:release. |
npm run test:e2e:mock |
Full mock-provider E2E suite (parallel shards). Single spec: TAKT_E2E_PROVIDER=mock npx vitest run --config vitest.config.e2e.mock.ts e2e/specs/<file>.e2e.ts — without that env var the specs run against the real provider (provider: claude in e2e/fixtures/config.e2e.yaml) and cost API credits. |
npm run test:e2e:provider:{claude,claude-sdk,codex,opencode,cursor} |
E2E against a real provider (slow, costs API credits). |
npm run check:release |
Full pre-release gate: sync:nix-deps (rewrites package-lock.json / flake.nix with npm 10.9.4, reinstalls; needs Nix) + build + test:global-install (packs, installs globally with npm 10.9.4 and 11.16.0, fails on empty dirs, runs global-install-smoke.mjs) + test:managed-install (runs takt install for every managed provider against the real npm registry and checks ready + load; deepseek-harness is skipped on unsupported platforms) + lint + adaptive local unit + light IT + heavy IT + e2e. The main pull-request CI workflow runs the unit gate separately in 8 isolated shard jobs; local check:release does not run that CI matrix. |
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.
- 6d ago Changed · +66 tokens per session a94c5795c9f6
- 11d ago Changed · +39 tokens per session 9c5f1d9bdf60
- 13d ago Changed · +80 tokens per session 92e295c2f575
- 22d ago Changed · +51 tokens per session ce617f1aa95f
- 24d ago Changed · +22 tokens per session 609a67a2ee85
- 1mo ago First seen · 146 lines · 3,512 tokens per session scan A 755ecdcc9911
takt CLAUDE.md is an instructions file published in the GitHub repository nrslib/takt (1,421 stars, last pushed today), licensed MIT. It adds 3,770 tokens to every session, about $0.0151 per session on Opus 5.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
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).
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.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
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 copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
deno copilot-instructions.md
Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.