setup
Copy pageDetects the agent CLIs on this machine, installs status tracking hooks for them, and installs the bundled skills. It shows each agent’s current state and asks before it changes anything.
workrex setup [--hooks | --skills]Options
Section titled “Options”| Flag | Description |
|---|---|
--hooks | Set up only the status tracking hooks. |
--skills | Install only the skills. |
Without a flag, setup does both.
What happens
Section titled “What happens”- Detects the installed agent CLIs. If it finds none, it prints a hint and exits.
- Lists each agent’s hook status:
configured,update available,not configuredorerror. For an update, it shows the diff. - Asks
Install or update status tracking hooks?and installs the hooks for each agent that needs them. - Lists the bundled skills (
merge,rebase,worktree,coordinator,open-prandworkrex) and the directory each agent reads skills from, then asks before it copies them.
Setup installs native workrex-status resources that call workrex. Claude
Code hooks are merged into ~/.claude/settings.json, or its configured override,
without removing unrelated integrations. An enabled Claude Code plugin whose
ID starts with workrex-status@ is recognized as a Workrex integration.
Examples
Section titled “Examples”# Set up hooks and skillsworkrex setup
# Update only the status tracking hooksworkrex setup --hooks
# Install only the skillsworkrex setup --skillsSee also
Section titled “See also”- Status tracking for what the hooks report
- Skills for the skill directories and manual installation