Skip to content

Setup Health Check

The /catalyst-dev:setup-catalyst skill validates your full Catalyst environment and automatically fixes what it can. Use it for new installs, after upgrades, or when something isn’t working.

In Claude Code:

/catalyst-dev:setup-catalyst

The skill runs the diagnostic script, fixes auto-fixable issues, then verifies the fixes.

If you need to run the diagnostic script directly (for troubleshooting without Claude Code):

Terminal window
bash plugins/dev/scripts/check-setup.sh

Or if you installed via the plugin marketplace:

Terminal window
bash ~/.claude/plugins/cache/catalyst/catalyst-dev/*/scripts/check-setup.sh

Required CLIs (Git, jq, sqlite3, gh, humanlayer, linearis) and optional tools (agent-browser, sentry-cli, bun, direnv).

The ~/catalyst/ directory structure: database files, worktree root (wt/), event logs (events/).

Whether ~/catalyst/catalyst.db exists, has all tables, is on the correct schema migration, and has WAL mode enabled.

Whether .catalyst/config.json exists in the current directory with the required fields: projectKey, ticketPrefix, teamKey, and stateMap.

Whether ~/.config/catalyst/config-{projectKey}.json exists and has API tokens configured.

Whether OTel Docker containers are running and reachable. This is entirely optional — Catalyst works without observability. If not configured, the check notes it and points to the claude-code-otel repo to set it up. Automatically detects remapped ports from Docker when configured.

Whether the orch-monitor web dashboard is running. If not, shows the command to start it via catalyst-monitor.sh start. The monitor is optional — it provides a real-time web UI for watching orchestrators and workers but isn’t required for Catalyst to function.

Whether direnv is installed, library functions (profiles.sh, otel.sh) exist, profile .env files are present, and the current project has a valid .envrc.

Whether thoughts/ is initialized with the required subdirectories and linked to a HumanLayer profile.

Whether the project has a CLAUDE.md with the Catalyst workflow snippet.

The skill automatically fixes these without asking:

IssueFix
Missing ~/catalyst/ directoriesCreates wt/, events/, history/
Missing or incomplete databaseRuns catalyst-db.sh init
WAL mode not setPRAGMA journal_mode=WAL
Missing thoughts/shared/ subdirectoriesCreates research/, plans/, handoffs/, prs/, reports/

These need your input — the skill tells you exactly what to do:

IssueWhat to do
Missing CLI toolsInstall commands are shown (e.g., brew install jq)
Missing API tokensAdd to ~/.config/catalyst/config-{projectKey}.json
No project configRun setup-catalyst.sh or create .catalyst/config.json manually
direnv not installedbrew install direnv + shell hook setup
OTel not configured (optional)See claude-code-otel

When running the script directly:

  • 0 — All checks passed (warnings are OK)
  • N > 0 — N failures found (things that need fixing)