/sudus:existing-projectfrom sudus
Brings an existing codebase under Sudus, reconciles drifted specs, or resumes pending supersessions. Reads code first, writes a cited recon report, and prepares one commitment through the shared spec-phase tail.
Ships in sudus. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
start/existing-project was invoked. Follow the nodes in order.
stateRun sudus wake. Done: tonext. Resolvable or Waiting with an open commitment: fits. Exit 3 naming a pending successor: pending. Exit 3 naming this skill because the project is not initialized: legacy. A verdict with no open range: hasspec.
tonextStop and switch to /next-feature; this work is a later commitment.
fitsDoes the request belong to the open commitment? Yes: continue. No: midway.
continueReturn to the work loop under AGENTS.md.
midwayA commitment is open. The developer chooses: finish it (finish) or supersede it (supersede). State both and what each changes.
finishCapture the request: sudus item --backlog --slug <slug> --from <REQ> --body "<what>", or --next-feature when it would change Agreed text and the developer asked for it or a real bug needs it; never capture an edge case or a ceremony step. Return to the work loop.
supersedeRun sudus supersede <successor-slug> --quote "<the developer's words>". It writes the developer-quoted Consequential decision and the superseded record: old range closed with a transition id and intended slug; open escalations, unresolved findings and unfixed defects carried. It does not move Current: and cannot name a start that does not exist. Then pending.
pendingA pending successor: resume the transition. Everything below prepares the successor; its later start points back to the superseded record. Continue at readspec.
legacyIs this a Cairn 1.x project? .cairn/evidence/, .cairn/reviews/ or .cairn/escalations/ present, or docs/commitments/: migrate. None of them: init.
migrateSudus 2 reads no 1.x record; the specification is what carries over, and the 1.x records stay in Git history. Tell the developer what will be removed and what stays, and wait for ok. Then, in one commit: remove the 1.x record directories with git rm -r: .cairn/evidence, .cairn/reviews, .cairn/escalations, .cairn/stops, .cairn/queue, .cairn/policy, .cairn/mechanisms, docs/decisions, docs/commitments and docs/audit, keeping .cairn/backlog/ and the 1.x directory of items waiting for the next spec phase until carry has read them, and copying each 1.x mechanism's command and inputs into docs/recon.md for declare. Convert the specification in place until sudus lint docs/spec is clean, changing no requirement's words: every block gets its own Status: line from its file's 1.x status; each multi-line Falsifier: is joined into one line; every Agreed block gets a Mechanism: line naming the mechanism that will observe it, declared later in the tail; a 1.x Agreed <date> by deference <slug> becomes Agreed <date> with the 1.x slug quoted in the block's rationale; each file gets a Prefix: header and docs/spec/overview.md gets the spec map; a reference to an identifier that no longer exists is removed. Then init.
initAsk the developer, in conversation, which Git remote holds the authority records or whether the project is local-only. Then run sudus init --remote <name>|--local-only --quote "<their words>". Decisions are attested (the developer's words as you quote them, with the harness and the Git author); do not ask about signing, which a developer who wants it turns on later with signing_key in the settings file. Settings that exist without refs are adopted only with --adopt <digest> after the developer has confirmed that digest with you; refs without settings refuse and name the repair. Then hasspec, or carry when migrate ran.
carryFor each 1.x item file without a Promoted to: line: sudus item --backlog --slug <the file name> --from <its Surfaced from: identifier> --body "<its text>", or --next-feature for an item from the directory of items waiting for the next spec phase. Then git rm -r both directories and commit. Then hasspec.
hasspecDoes docs/spec/overview.md exist? Yes, Path B: readspec. No, Path A: recon.
readspecPath B: read the glossary, keystone, domains, roadmap, sudus decisions and the items first. Then recon.
reconRecon before questions: manifests, entry points, data, tests, CI, scripts, non-spec docs and recent history. Path B covers every commit since the newest Agreed date.
reportWrite docs/recon.md: every claim as Exists, Documented, Contradicted or Unverified with a citation; carry unresolved earlier findings.
correctsPresent it; the developer corrects the reading.
askOne open question: a feature to add, or a defect to fix?
radiusTrace and cite the blast radius: modules, tests and spec sections. Path A: pathA. Path B: pathB.
pathAGlossary from code identifiers; Observed specs inside the radius; one-line map rows outside it. Then confirm.
pathBVerify every spec section inside the radius. Then verdict.
verdictPer section: Holds or Still Observed: confirm. Drifted: drift. Missing: missing.
driftRaise both sides with citations; the developer rules.
ruleWhich side is wrong? Spec: specwrong. Code: codewrong.
specwrongRevise the spec by the developer's ruling before the successor start; no commitment is open, so the text may change now. Then confirm.
codewrongThe spec stands: sudus item --defect --slug <slug> --from <REQ> --body "<what the code does instead>". Then confirm.
missingWrite the missing behavior as Observed. Then confirm.
confirmObserved sections the developer confirms become Draft with falsifiers; the rest remain Observed and are not contract.
roadmapPrepare the roadmap section. A defect commitment names the violated requirement and a mechanism that reproduces it.
tailThe spec-phase tail below; sudus start includes the supersession link when a transition is pending.
falsifiersPropose the falsifiers as one set and name the mechanism that will observe each.
reviewSelf-review for contradictions, falsifiers that would miss their violation, and requirements no mechanism can check. Performed, not recorded.
lintRun sudus lint docs/spec. Findings: falsifiers. Clean: present.
presentPresent by exception. End with: "If this isn't clear, ask me to explain it another way before you decide."
outcomeThe developer asks: explain. Corrects: correct. Confirms or rules: agreed.
explainExplain another way, then present again.
correctApply the corrections, then review again.
agreedSet Status: Agreed <date> on each confirmed block. A ruling instead of a confirmation is a deference decision: sudus decide --consequential --title <t> --rests-on <REQ,...> --wrong-if <t> --body "<the developer's words>".
commitmentWrite the roadmap section with the Agreed requirements, delivery and done-when. Write Current: by hand too, unless this start resumes a pending supersession, when sudus start moves it itself.
declareFor this commitment only: sudus declare <name> --file <path>, reading the mechanism definition as JSON. Show the violating example fails: sudus check <REQ> must record a fail receipt, then sudus review mechanism <REQ> <receipt> binds it. The violating example needs no commit: make it in the working tree, check, bind, then undo it. The receipt's input snapshot keeps the violating bytes, so only the bound mechanism file is committed.
agreementCopy the new-project skill's working agreement, ../new-project/templates/AGENTS.md from this skill's directory, to AGENTS.md for developer authorization. Do not edit it after authorization.
authorizeState what would be bound: the specification, the working agreement and settings, and what changed in them. Ask for ok, changes or a question, and wait. On ok run sudus authorize --quote "<their words>": one record binding the final spec, agreement and settings digests. On changes or a question run sudus authorize instead|ask --quote "<their words>", act on it, and ask again.
startintentRun sudus start <slug>. It verifies the authorization, writes the command intent, and commits the prepared contract, agreement and mechanisms.
startrecThe same command finishes the transaction: workspace snapshot, frozen set and digests, from_superseded when resuming, and exact refspecs on the authority remote when one is configured. If it was interrupted, sudus wake names recover <transaction>; run sudus recover <transaction>.
doneRun sudus wake; it names the first work-loop action. Consequential decisions wait in the queue. Hand over to AGENTS.md.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub eas4ai/sudus --plugin sudus5 skills in this plugin
/install-sudusMake the sudus command available to this agent once, globally, and register the hooks the harness supports. Never initializes or changes a project. Use when sudus is missing, the link is broken, or the developer asks to set Sudus up./new-projectStart new software under Sudus from an empty directory: initialize, ask what it is for, write the keystone, glossary, domains and Draft requirements through four developer gates, then run the shared spec-phase tail to the first work-loop action./next-featureAfter a commitment is Done, take the waiting items or a new request, trace and cite each change's blast radius, revise or add Draft requirements with the developer, and run the shared spec-phase tail to the next start. Runs from Done only./report-sudus-issueReport a defect in Sudus itself to the eas4ai/sudus issue tracker after the developer's ok, then watch the issue and update the plugin when the fix is released. Use when a sudus command crashes or exits with an internal error, refuses something the manual says it accepts, wake keeps naming an action whose predicate already holds, or a sudus message contradicts the manual.Other plugins' skills for the same job