Agent skill

Takt

by nrslib in nrslib/takt

TAKT ワークフローエンジン。Agent Team を使ったマルチエージェントオーケストレーション。ワークフロー YAML(steps / initialstep)に従ってマルチエージェントを実行する。

MITAuto-check passedAgent Workflows

Install Takt

skills CLI
$ npx skills add nrslib/takt --skill takt -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install nrslib/takt takt --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/nrslib/takt.git skills-src && mkdir -p .claude/skills && cp -r skills-src/builtins/skill .claude/skills/takt && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
takt
GitHub stars
1.4k
Token cost
~1.9k tokens
SKILL.md length
622 words
Files
3 (incl. references)
Skills in repo
2
Repo updated
First seen
Licence
MIT

At a glance

TAKT ワークフローエンジン。Agent Team を使ったマルチエージェントオーケストレーション。ワークフロー YAML(steps / initialstep)に従ってマルチエージェントを実行する。

  • Works in 2 steps: ~/.claude/skills/takt/references/engine.m… → ~/.claude/skills/takt/references/yaml-sch…
  • Agent Workflows work in your project
  • SKILL.md covers 引数の解析, 事前準備: リファレンスの読み込み, あなたの役割: Team Lead and 手順(この順序で厳密に実行せよ), plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Takt is an agent skill from nrslib/takt. TAKT ワークフローエンジン。Agent Team を使ったマルチエージェントオーケストレーション。ワークフロー YAML(steps / initialstep)に従ってマルチエージェントを実行する。

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/engine.md` and `references/yaml-schema.md`).

It sits in Agent Workflows. The repository describes itself as: TAKT Agent Koordination Topology - Define how AI agents coordinate, where humans intervene, and what gets recorded — in YAML. The licence is MIT.

When your agent uses it

  • Agent Workflows work in your project

Example prompts

  • “/takt”

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. ~/.claude/skills/takt/references/engine.md - プロンプト構築、レポート管理、ループ検出の詳細
  2. ~/.claude/skills/takt/references/yaml-schema.md - ワークフロー YAML の構造定義

What it can do on your machine

Read from SKILL.md and the folder at commit 69e1a74. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Takt loads about 1.9k tokens when it runs, and up to ~11k if it reads all its reference files. Until then it costs about 27 tokens; SKILL.md has 622 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~27
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~11k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from nrslib/takt at commit 69e1a74, republished under its MIT licence (© nrslib). 622 words, ~1,886 tokens.

Download SKILL.mdSave it as .claude/skills/takt/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
takt
description
TAKT ワークフローエンジン。Agent Team を使ったマルチエージェントオーケストレーション。ワークフロー YAML(steps / initial_step)に従ってマルチエージェントを実行する。
user-invocable
true

TAKT Workflow Engine

引数の解析

$ARGUMENTS を以下のように解析する:

/takt {workflow} [permission] {task...}
  • 第1トークン: ワークフロー名または YAML ファイルパス(必須)
  • 第2トークン: 権限モード(任意)。以下のキーワードの場合は権限モードとして解釈する:
    • --permit-full — 全権限付与(mode: "bypassPermissions")
    • --permit-edit — 編集許可(mode: "acceptEdits")
    • 上記以外 → タスク内容の一部として扱う
  • 残りのトークン: タスク内容(省略時は AskUserQuestion でユーザーに入力を求める)
  • 権限モード省略時のデフォルト: "default"(権限確認あり)

例:

  • /takt coding FizzBuzzを作って → coding ワークフロー、default 権限
  • /takt coding --permit-full FizzBuzzを作って → coding ワークフロー、bypassPermissions
  • /takt /path/to/custom.yaml 実装して → カスタムYAML、default 権限

事前準備: リファレンスの読み込み

手順を開始する前に、以下の2ファイルを Read tool で読み込む:

  1. ~/.claude/skills/takt/references/engine.md - プロンプト構築、レポート管理、ループ検出の詳細
  2. ~/.claude/skills/takt/references/yaml-schema.md - ワークフロー YAML の構造定義

あなたの役割: Team Lead

あなたは Team Lead(オーケストレーター) である。 ワークフロー YAML に定義された状態遷移に従って Agent Team を率いる。

禁止事項
  • 自分で作業するな — コーディング、レビュー、設計、テスト等は全てチームメイトに委任する
  • タスクを自分で分析して1つの Task にまとめるな — step を1つずつ順番に実行せよ
  • step をスキップするな — 必ず initial_step から開始し、Rule 評価で決まった次の step に進む
  • "yolo" をワークフロー名と誤解するな — "yolo" は YOLO(You Only Live Once)の俗語で「無謀・適当・いい加減」という意味。「yolo ではレビューして」= 「適当にやらずにちゃんとレビューして」という意味であり、ワークフロー作成の指示ではない
あなたの仕事は4つだけ
  1. ワークフロー YAML を読んで遷移を理解する
  2. 各 step のプロンプトを構築する(references/engine.md 参照)
  3. Task tool でチームメイトを起動して作業を委任する
  4. チームメイトの出力から Rule 評価を行い、次の step を決定する

重要: ユーザーが明示的に指示するまで git commit を実行してはならない。実装完了 ≠ コミット許可。

ツールの使い分け(重要)
やること使うツール説明
チーム作成TeamCreate tool最初に1回だけ呼ぶ
チーム解散TeamDelete tool最後に1回だけ呼ぶ
チームメイト起動Task tool (team_name 付き)step ごとに呼ぶ。結果は同期的に返る

TeamCreate / TeamDelete でチームメイトを個別に起動することはできない。 チームメイトの起動は必ず Task tool を使う。 Task tool は同期的に結果を返す。 TaskOutput やポーリングは不要。呼べば結果が返ってくる。

手順(この順序で厳密に実行せよ)

手順 1: ワークフロー解決と読み込み

引数の第1トークンからワークフロー YAML ファイルを特定して Read で読む。

第1トークンがない場合(ワークフロー名未指定): → ユーザーに「ワークフロー名を指定してください。例: /takt coding タスク内容」と伝えて終了する。

ワークフロー YAML の検索順序:

  1. .yaml / .yml で終わる、または / を含む → ファイルパスとして直接 Read
  2. 名前解決:
    • ~/.takt/workflows/{name}.yaml (ユーザーカスタム、優先)
    • ~/.claude/skills/takt/workflows/{name}.yaml (Skill 同梱ビルトイン)
  3. 見つからない場合: 上記ディレクトリを Glob で列挙し、AskUserQuestion で選択させる

YAML から以下を抽出する(→ references/yaml-schema.md 参照):

  • name, max_steps, initial_step, steps 配列
  • workflow_config(runtime.prepare などの process 準備。provider / model / options は runtime.yaml)
  • セクションマップ: personas, policies, instructions, output_contracts, knowledge
手順 2: セクションリソースの事前読み込み

ワークフロー YAML のセクションマップ(personas:, policies:, instructions:, output_contracts:, knowledge:)から全ファイルパスを収集する。 パスは ワークフロー YAML ファイルのディレクトリからの相対パス で解決する。

例: ワークフローが ~/.claude/skills/takt/workflows/default.yaml にあり、personas: に coder: ../facets/personas/coder.md がある場合 → 絶対パスは ~/.claude/skills/takt/facets/personas/coder.md

ファセット本文に {{include:<kind>/<name>}} がある場合は、同じ言語の facets/partials/<kind>/<name>.md を Read で取得し、参照先の include も再帰的に展開してからプロンプトへ結合する。 参照先が存在しない場合、または include が循環する場合はエラーとして扱い、別言語の partial へフォールバックしない。

重複を除いて Read で全て読み込む。読み込んだ内容はチームメイトへのプロンプト構築に使う。

手順 3: Agent Team 作成

今すぐ TeamCreate tool を呼べ:

TeamCreate tool を呼ぶ:
  team_name: "takt"
  description: "TAKT {workflow_name} ワークフロー"
手順 4: 初期化

initial_step(なければ steps の先頭)の名前を確認し、steps から該当する step 定義を取得する。 以下の変数を初期化する:

  • iteration = 1
  • current_step = 上記 initial の step 定義
  • previous_response = ""
  • permission_mode = コマンドで解析された権限モード("bypassPermissions" / "acceptEdits" / "default")
  • step_history = [](遷移履歴。Loop Monitor 用)

実行ディレクトリ: いずれかの step に report フィールドがある場合、.takt/runs/{YYYYMMDD-HHmmss}-{slug}/ を作成し、以下を配置する。

  • reports/(レポート出力)
  • context/knowledge/(Knowledge スナップショット)
  • context/policy/(Policy スナップショット)
  • context/previous_responses/(Previous Response 履歴 + latest.md)
  • logs/(実行ログ)
  • meta.json(run メタデータ)

レポート出力先パスを report_dir 変数(.takt/runs/{slug}/reports)として保持する。

次に 手順 5 に進む。

手順 5: チームメイト起動

iteration が max_steps を超えていたら → 手順 8(ABORT: イテレーション上限)に進む。

current_step のプロンプトを構築する(→ references/engine.md のプロンプト構築を参照)。

プロンプト構築の要素:

  1. ペルソナ: persona: キー → personas: セクション → .md ファイル内容
  2. ポリシー: policy: キー → policies: セクション → .md ファイル内容(複数可)
  3. 実行コンテキスト: cwd, ワークフロー名, step 名, イテレーション情報
  4. ナレッジ: knowledge: キー → knowledge: セクション → .md ファイル内容
  5. インストラクション: instruction: キー → instructions: セクション → .md ファイル内容(テンプレート変数展開済み)
  6. タスク/前回出力/レポート指示/タグ指示: 自動注入

通常 step の場合(parallel フィールドなし):

Task tool を1つ呼ぶ。Task tool は同期的に結果を返す。待機やポーリングは不要。

Task tool を呼ぶ:
  prompt: <構築したプロンプト全文>
  description: "{step_name} - {workflow_name}"
  subagent_type: "general-purpose"
  team_name: "takt"
  name: "{step の name}"
  mode: permission_mode

Task tool の戻り値がチームメイトの出力。手順 5a に進む。

parallel step の場合:

1つのメッセージで、parallel 配列の各サブステップに対して Task tool を並列に呼ぶ。 全ての Task tool が結果を返したら 手順 5a に進む。

// サブステップの数だけ Task tool を同時に呼ぶ(例: 2つの場合)
Task tool を呼ぶ(1つ目):
  prompt: <サブステップ1用プロンプト>
  description: "{サブステップ1名} - {workflow_name}"
  subagent_type: "general-purpose"
  team_name: "takt"
  name: "{サブステップ1の name}"
  mode: permission_mode

Task tool を呼ぶ(2つ目):
  prompt: <サブステップ2用プロンプト>
  description: "{サブステップ2名} - {workflow_name}"
  subagent_type: "general-purpose"
  team_name: "takt"
  name: "{サブステップ2の name}"
  mode: permission_mode
Show full SKILL.md (218 more words)Show less
手順 5a: レポート抽出と Loop Monitor

レポート抽出(current_step に report フィールドがある場合のみ): チームメイト出力から ```markdown ブロックを抽出し、Write tool で {report_dir}/{ファイル名} に保存する。 詳細は references/engine.md の「レポートの抽出と保存」を参照。

Loop Monitor チェック(ワークフローに loop_monitors がある場合のみ): step_history に current_step の名前を追加する。 遷移履歴が loop_monitor の cycle パターンに threshold 回以上マッチした場合、judge チームメイトを起動して遷移先をオーバーライドする。 詳細は references/engine.md の「Loop Monitors」を参照。

手順 6: Rule 評価

Task tool から返ってきたチームメイトの出力から matched_rule を決定する。

通常 step:

  1. rules を YAML 記述順に評価する。
  2. when(...) と all(...) / any(...) は workflow state とサブステップ結果から決定的に評価する。
  3. 最初の意味ラベル condition に到達した場合だけ、重複を除いた意味ラベル候補から一度だけ選択する。
  4. 選択したラベルと guard を使って以後も YAML 順に評価し、最初に true となった rule を選択する。
  5. どの rule も成立しない、または意味ラベル選択が不正なら rule_no_match として ABORT する。

parallel step:

  1. 各サブステップの Task tool 出力に対して、サブステップの rules で条件マッチを判定
  2. マッチした condition 文字列を記録
  3. 親 step の rules で aggregate 評価:
    • all("X"): 全サブステップが "X" にマッチしたら true
    • any("X"): いずれかのサブステップが "X" にマッチしたら true
    • all("X", "Y"): サブステップ1が "X"、サブステップ2が "Y" にマッチしたら true
  4. 親 rules を上から順に評価し、最初に true になった rule を選択

matched_rule が決まったら 手順 7 に進む。 どの rule にもマッチしなかったら → 手順 8(ABORT: ルール不一致) に進む。

手順 7: 次の step を決定

matched_rule の next を確認する:

  • next が "COMPLETE" → 手順 8(COMPLETE) に進む
  • next が "ABORT" → 手順 8(ABORT) に進む
  • next が step 名 → 以下を実行して 手順 5 に戻る:
    1. previous_response = 直前のチームメイト出力
    2. current_step = next で指定された step を steps(互換: steps)配列から取得
    3. iteration を +1 する
    4. 手順 5 に戻る
手順 8: 終了
  1. TeamDelete tool を呼ぶ:
TeamDelete tool を呼ぶ
  1. ユーザーに結果を報告する:
    • COMPLETE: 最後のチームメイト出力のサマリーを表示
    • ABORT: 失敗理由を表示
    • イテレーション上限: 強制終了を通知

詳細リファレンス

ファイル内容
references/engine.mdプロンプト構築、レポート管理、ループ検出の詳細
references/yaml-schema.mdワークフロー YAML の構造定義とフィールド説明

© nrslib, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in builtins/skill of nrslib/takt.

  • SKILL.md
  • references/engine.md
  • references/yaml-schema.md

Open the folder on GitHubat commit 69e1a74

Compare with similar skills

Takt next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Takt compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Takt this skillnrslib/takt1.4k—~1.9kAutomated safety check: PassMIT
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0
Hook Development for Claude Code Pluginsanthropics/claude-plugins-official38k10 repos~4.1kAutomated safety check: NotesApache-2.0
Using Superpowersfarm-fe/farm5.6k36 repos~1.4kAutomated safety check: PassMIT
Executing Plans Inlineobra/superpowers297k2 repos~5.1kAutomated safety check: PassMIT
Skill CreatorAzure/azqr79689 repos~8.2kAutomated safety check: PassApache-2.0

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 63 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • Hook Development for Claude Code Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.

    38k GitHub starsUsed in 10 repos~4.1k tokens
    Agent WorkflowsAuto-check: notes
  • Using Superpowers

    farm-fe/farm

    A skill your agent uses when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions

    5.6k GitHub starsUsed in 36 repos~1.4k tokens
    Agent WorkflowsAuto-check passed
  • Executing Plans Inline

    obra/superpowers

    Has the agent carry out an implementation plan itself, task by task in the current session, keeping a ledger, proving each step with a test and ending with one whole-branch review.

    297k GitHub starsUsed in 2 repos~5.1k tokens
    Agent WorkflowsAuto-check passed
  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    796 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    38k GitHub starsUsed in 7 repos~2.8k tokens
    Agent WorkflowsAuto-check passed

More from nrslib/takt

  • Takt

    nrslib/takt

    TAKT ワークフローエンジン。codex exec でサブエージェントを起動し、ワークフロー YAML(steps / initialstep)に従って マルチエージェントオーケストレーションを実行する。

    1.4k GitHub stars~1.7k tokensUpdated today
    Auto-check passed

Categories

Questions about Takt

What does Takt do?

TAKT ワークフローエンジン。Agent Team を使ったマルチエージェントオーケストレーション。ワークフロー YAML(steps / initialstep)に従ってマルチエージェントを実行する。. Takt is an agent skill from nrslib/takt.

When should I use Takt?

Takt fits situations like: agent Workflows work in your project.

How do I install Takt in Claude Code?

Run `npx skills add nrslib/takt --skill takt -a claude-code`. Or copy the skill folder (builtins/skill in nrslib/takt) into .claude/skills/takt in your project. Claude Code loads it when a task matches its description.

How do I install Takt in Codex?

Run `npx skills add nrslib/takt --skill takt -a codex`. Or copy the skill folder (builtins/skill in nrslib/takt) into .agents/skills/takt in your project. Codex loads it when a task matches its description.

Can I use Takt in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add nrslib/takt --skill takt -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/takt, .gemini/skills/takt, .github/skills/takt and .opencode/skills/takt in your project.

What does Takt need to run?

SKILL.md names no scripts, command-line tools or credentials: Takt is instructions for the agent only.

Does Takt access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Takt safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Takt use?

Takt is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Takt use?

About 1.9k tokens (SKILL.md is roughly 7.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 8.9k tokens, read only when the agent opens those files.

What are the alternatives to Takt?

Skills that share tags, products or a category with Takt: MCP Server Builder (anthropics/skills, 180k stars), Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars), Using Superpowers (farm-fe/farm, 5.6k stars) and Executing Plans Inline (obra/superpowers, 297k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Takt?

nrslib (a GitHub user) maintains it in nrslib/takt, which has 1,403 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 11, 2026.

Source: nrslib/takt on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.