/sudus:install-sudusfrom sudus
Installs the Sudus command globally, registers hooks per harness (Claude Code, Codex, Muse), and links the command shim. Use when sudus is missing or the link is broken.
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: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Global setup only. Nothing here touches a repository: sudus init belongs to the new-project and existing-project skills.
startA harness with no Sudus. Follow the nodes in order.
prereqRun node --version and git --version: Node 24 and Git 2.40 or later. Either missing: missing. Both present: harness.
missingStop and name the missing prerequisite. Do not install it silently.
harnessClaude Code or Codex: cc. Muse: muse. Anything else: other.
ccInstall the Sudus plugin from its marketplace. The plugin registers the hooks in hooks/hooks.json (Claude Code: SessionStart, UserPromptSubmit, Stop). Do not also write hook entries by hand; two registrations run a hook twice. A plugin installed under the former name, cairn, carries the same hooks: remove it, so they do not run twice either. Continue at link.
museInstall the plugin with muse plugins install <plugin root>, then approve its two hooks with muse plugins approve sudus:hook:session-start and muse plugins approve sudus:hook:stop; its manifest registers SessionStart and Stop. Continue at link.
otherInstall the five skills with the skills CLI (npx skills add eas4ai/sudus --skill install-sudus new-project existing-project next-feature report-sudus-issue --global), then run this skill. Register hooks/session-start.sh, hooks/turn.sh and hooks/stop.sh under the harness's own event names where it has them. In Codex, register the stop hook as sh <root>/hooks/stop.sh codex, so it prints the JSON Codex reads at Stop. No hook system: nohooks.
nohooksInstruction-only: the working agreement in AGENTS.md is the enforcement and the agent runs sudus wake itself. Continue at link.
linkInstall the command shim, bin/sudus.sh, at ~/.local/bin/sudus. It runs the newest installed Sudus at run time ($SUDUS_ROOT when set, else the newest Claude Code, Codex or Muse plugin cache entry or the checkout at ~/.local/share/sudus, by version), so a plugin update never strands it. Write it when nothing is there, or when what is there is a symlink to a bin/sudus.mjs or an earlier copy of the shim; never replace any other file. No remote is selected here.
mkdir -p ~/.local/bin
if [ ! -e ~/.local/bin/sudus ] || [ -L ~/.local/bin/sudus ] || grep -q 'sudus command shim' ~/.local/bin/sudus; then
rm -f ~/.local/bin/sudus && cp "<plugin root>/bin/sudus.sh" ~/.local/bin/sudus && chmod +x ~/.local/bin/sudus
fi
pathIs ~/.local/bin on PATH? command -v sudus answers. Yes: help. No: addpath.
addpathTell the developer to add export PATH="$HOME/.local/bin:$PATH" to their shell startup file. No hook edits the shell. Until a new shell, use the absolute path ~/.local/bin/sudus. Then help.
helpRun sudus --help. It prints the command list: project. It does not: broken.
brokenStop and name the failure exactly as observed: link target, PATH or node.
projectIs this an initialized Sudus project? sudus wake exits 0 with a verdict when it is (wake) and 3 with one line naming the skill that continues when it is not (choose).
wakeThe session-start hook prints the verdict and predicate. Hand the developer to the working agreement.
chooseChoose /new-project or /existing-project; the chosen flow runs sudus init. Installation never does.
doneReport where the command is linked, which hooks are registered, and that the five skills are available.
What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/existing-projectBring an existing codebase under Sudus, reconcile a drifted spec, or resume a pending supersession. Reads the code before asking anything, writes a cited recon report, and prepares one commitment through the shared spec-phase tail. Observed is not Agreed./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.npx claudepluginhub eas4ai/sudus --plugin sudusOther plugins' skills for the same job