add-bead
無料Capture free-text work as a tracked Beads issue. Use when the user runs /add-bead or wants to quickly file a Beads issue.
日本語の概要は準備中です。原文の説明を表示しています。
Run the full Forge pipeline unattended: each phase is reviewed by a fresh evaluator subagent, the findings feed back, and the run advances itself. Use when the user runs /forgemaster-auto or wants a feature built end to end without approval gates.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Same four phases as /forgemaster — research → plan → implement → ship — but every phase
reviews its own output with a fresh evaluator subagent, feeds the findings back, revises, and
advances itself. No AskUserQuestion, no approval gates in the happy path.
Use it for work you want run while you are away. Use /forgemaster when you want to steer — a gate
you would have used to correct course is exactly what this command removes.
See .claude/workflows/forge-auto.md for the full loop, and .claude/workflows/forge.md for the
phases themselves.
/forgemaster-auto <description> # free text → run the whole pipeline unattended
/forgemaster-auto <BEADS-ID> # e.g. agent-forge-harness-f25 → that issue is the work
/forgemaster-auto <JIRA-KEY> # e.g. PROJ-1234 → mirror into Beads, then run
/forgemaster-auto <slug> # resume an existing run unattended from its first
# incomplete phase
/forgemaster-auto <input> --worktree # build in a fresh worktree (recommended when other
# runs are in flight)
/forgemaster-auto <input> --max-revisions <n> # revision budget per phase (default 2)
/forgemaster-auto <input> --smith <name> # record the run as built by a configured smith
Runs are concurrent — starting one does not disturb another. bun run forge:runs lists them.
bd ready >/dev/null # if this errors, run `bd dolt start` and retry
Do not proceed without Beads. An unattended run with no issue tracking leaves nothing to read afterwards.
Then resolve the input exactly as /forgemaster Step 0 does (existing Beads id → use it; JIRA key
→ mirror into Beads with --external-ref jira-<KEY>; free text → derive a kebab-case <slug>).
Do not ask the user to confirm the slug — state it and continue.
Free text: create the run's task now. Every review round is filed against a Beads issue, and
research is reviewed before the plan phase creates any. So when the input is free text, create one
task for the run and claim it (bd create --type task --title "<title>" --priority <p>, then
bd update <id> --claim). From then on this is a run started from that task: it is the --bead of
the research, plan and implement writes, the plan phase adds its checkpoint tasks under it
(--parent <id>, not a second feature), and the ship step closes it.
If the input names an existing run, resume it at its first incomplete phase.
If any other run is in flight, or --worktree was passed, build in a fresh one:
bun run worktree create feat/<slug>
Use its path as <checkout> below. With no separate worktree, <checkout> is the top level of the
checkout you are in (git rev-parse --show-toplevel), and --checkout may be left out: the phase
gate then uses the checkout it runs in. Two runs sharing a checkout will interleave commits. A
quality-gate result belongs to a run only through that run's correlation, not through its checkout;
--checkout is where the phase gate writes that correlation.
Judge complexity the same way /forgemaster does (see its table), but do not ask — pick and
say what you picked.
For each phase in order, run the loop in .claude/workflows/forge-auto.md:
bun run forge:phase-gate <phase> --slug <slug> — non-zero means the previous phase never
finished; halt, do not work around it..claude/skills/forge-<phase>/SKILL.md end to end.bun run forge:phase-gate <phase> --slug <slug> --write --mode auto --checkout <checkout> --bead <id>:
the skill's own --write line, with --mode auto --checkout added. <id> is the issue that
skill names for its phase (.claude/workflows/forge.md, Which bead a phase names). The first
time you have them, add --feature "<title>" (the run's title, a text) and --epic <id> (the
feature or epic that groups the run, an issue id)..claude/agents/evaluator.md) on the phase's exit
artifact — a different agent from the one that built it, at a tier ≥ the builder's
(.claude/protocols/model-tier-policy.md). Have it file its verdict with
bun run forge:verdict --correlation <pointer> --review <phase>-<round> … per
.claude/protocols/evaluation-verdict.md; the command prints the file's full path as
data.file. The pointer is data.correlation.pointer from step 3 when the run names its bead
(--bead); otherwise bun run forge:correlate --bead <TASK-ID> --run <slug> prints one. (The
one write that names no bead is the research write of a run started from a feature or an epic:
<TASK-ID> is then that issue's id, and the plan write moves the run to its first task.) When
the run builds in another checkout (step 3's --checkout), give that same --checkout <dir> to
forge:correlate and to forge:verdict: the correlation and the verdict live there.bun run forge:review --slug <slug> --phase <phase> --verdict <data.file printed by forge:verdict> --tier <tier>
# <tier>: the evaluator's rank (master, journeyman or apprentice; human for a person)
# add --max-revisions <n> when the caller passed it
Record the printed comment on the phase's Beads issue (bd comments add <id> "<comment>").fileFollowUps is
true, then start the next phase.Never advance a phase that has no recorded review, and never edit the verdict to get a better one.
--smith <name>: add it to both forge:phase-gate calls of every phase (steps 1 and 3). A name
that is not configured is refused; the write records the smith as the run's executor, which is the
builder the evaluator's rank is compared against. It does not change the model of the session
running this command, nor of the evaluator subagents it spawns. When a phase is handed to a spawned
CLI, it is the name to give forge:exec --smith (.claude/workflows/forge.md, --smith).
After ship records complete:
reports/<slug>-ship.md and the draft PR exist. The PR body must pass
bun run pr:check <body> (template in .claude/skills/pr-description/).git push succeeds.--ledger), the follow-ups filed, and
the PR link.reset --hard, never push --force, never delete work to get moving./forgemaster-mini is far cheaper.bun run forge:runs (what is in flight), bun run forge:review --slug <slug> --ledger (every round), bun run dashboard → Forge run.--mode auto can be continued under gates at any
time with /forgemaster <slug>.まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Capture free-text work as a tracked Beads issue. Use when the user runs /add-bead or wants to quickly file a Beads issue.
日本語の概要は準備中です。原文の説明を表示しています。
Register a new sub-repo in the knowledge base.
日本語の概要は準備中です。原文の説明を表示しています。
Add focused Bun unit tests for mission-critical behavior and edge cases — not blanket coverage.
日本語の概要は準備中です。原文の説明を表示しています。
Answer questions about the codebase from knowledge files. Use when the user runs /ask or asks a domain/knowledge question about the repos.
日本語の概要は準備中です。原文の説明を表示しています。
Meta-skill for creating Agent Forge skills under .claude/skills/ with SKILL.md, optional references/ and scripts/, and Bun scaffolds. Use when the user wants to add or author a skill, scaffold a new skill folder, or align skill docs with harness conventions (JSON script output, Beads for tasks).
日本語の概要は準備中です。原文の説明を表示しています。
Choose Beads issue priority (P0–P4, numeric, or named) from urgency, impact, and risk when creating or triaging work.
日本語の概要は準備中です。原文の説明を表示しています。