/unit-claim:unit-claimfrom Unit claim
Use before a team AI-DLC Unit is claimed — `/aidlc --claim <unit>`, `aidlc unit claim <unit>`, or picking a Unit at the engine's unit-claim ask. Open the claim dialog (one AskUserQuestion with `metadata.source` "unit-claim:<unit>"; the plugin's mod asks which design stages run and the approval rhythm, with its recommendation above), claim with the chosen rhythm, and skip the left-out stages for that Unit only. Also when the developer wants to answer a Unit's claim dialog again.
Ships in Unit claim. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A team Unit can skip design stages it does not need, and can be claimed with the unit-end rhythm. Under that rhythm
the design stages run with their reviewer rounds and no approval between them. The developer then stops twice: once
at the plan page (Code Generation plan approval) and once at the unit-end page. See the approval-gates plugin. The
developer chooses both for each Unit, before its claim. hooks/claim_guard.py refuses the claim until they have.
The script is python3 "${CLAUDE_PLUGIN_ROOT}/scripts/claim_choice.py" (written claim_choice.py below).
Run claim_choice.py status --unit <unit>.
ask is false: the developer answered the dialog for this claim, and no claim has used that answer yet. Say in one
line which stages run and which rhythm, then claim (§ 3).ask is true: open the dialog (§ 2), even when choice is set. An answer serves the one claim it was given for;
once that claim goes through it is marked used (used), and a later claim of the same Unit, after a release or in
another session, asks the developer again.First make sure an intent is active: aidlc/spaces/<space>/intents/active-intent exists. If it is missing, run
aidlc engine intent switch <intent> before the dialog, so the answer is saved under that intent. (An answer saved
before an intent was active is still found afterwards, once, but don't rely on it.)
One AskUserQuestion call, nothing more:
metadata: {"source": "unit-claim:<unit>"}<unit>?", header Claim, options Yes and No.The plugin's mod (hooks/register.tsx) replaces the placeholder with its own two questions and draws its
recommendation above them. Don't write a recommendation of your own and don't ask anything else first:
aidlc unit claim --help), today unit-end and
per-stage, with no default.After the dialog the mod adds one line, starting unit-claim:. Do what it says:
AskUserQuestion again exactly as before and say nothing else. The mod shows the refusal
and its suggestion above the same questions.Never record an answer yourself: the hook refuses claim_choice.py record from Bash, and writing an answer file.
Claim as the engine asks, with the flags the Unit's answer gives. The mod's unit-claim: line names them, and so does
claim_choice.py status --unit <unit> (claimFlags):
aidlc unit claim <unit> --team "<label>" --rhythm <unit-end|per-stage> --skip-stages <left-out stages>
--skip-stages lists exactly the stages the developer left out, comma-separated (any of functional-design,
nfr-requirements, nfr-design, infrastructure-design). Leave it out when every stage runs. The hook refuses a claim
whose rhythm or left-out stages differ from the answer.
The claim itself skips those stages for this Unit only. Run aidlc engine orchestrate next: the Unit starts at its
first stage that runs, and Unit Progress shows the skipped ones as [S]. The hook refuses
aidlc engine state unit start of a left-out stage.
An engine without --skip-stages (older than 2.11.2-preview.20261026.101; claim_choice.py engine says
skipStages: false): claim with --rhythm alone. Each left-out stage is then skipped when the engine's directive names
it for the Unit:
aidlc engine orchestrate report --stage <slug> --unit <unit> --result skipped --reason "the person asked to skip it at claim"
Then run next. claim_choice.py skips --unit <unit> prints these commands. The reason starts with the engine's
person-asked prefix, so the engine accepts the skip even when the Unit's files for that stage are already written (a
re-claim or --reopen). If the engine still refuses, tell the developer and run the stage.
When the developer wants to change a Unit's answer before it is claimed, run claim_choice.py forget --unit <unit>,
then open the dialog again (§ 2). Only when they ask.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub maksymskuibida/mskuibida-ai-tools --plugin unit-claim