Skip to Content
GuidesCLI Reference

CLI Reference

Every Shep command, grouped by what it does. Run shep <command> --help for the latest flag list — this page covers the core surface.

Daemon

CommandDescription
shepFirst-run setup, then start the daemon and open the dashboard.
shep startStart the background daemon. Add --port to override 4050.
shep stopStop the daemon.
shep restartStop and start.
shep statusPrint daemon status, port, and metrics.
shep uiOpen the dashboard (daemon must be running).
shep start --port 4051 shep status shep stop

Features

The most-used family of commands. shep feat for create, list, inspect, and clean up.

shep feat new "<description>" [flags]

Create a new feature. Without flags, Shep uses your default workflow from shep settings.

shep feat new "add a /health endpoint that returns uptime and version" --push --pr shep feat new "redesign the payment system" --no-fast --pr shep feat new "fix navbar logo alignment" --allow-all

Common flags:

FlagEffect
--pushPush the branch when implementation completes.
--prOpen a draft PR (implies --push).
--no-prSkip the PR even if your default opens one.
--fast / --no-fastSkip or use the spec-driven pipeline. Default: --fast.
--allow-prdAuto-approve the PRD gate (only meaningful in --no-fast).
--allow-planAuto-approve the plan gate (only meaningful in --no-fast).
--allow-mergeAuto-merge the PR after CI passes.
--allow-allEnable every automation.
--model <id>Override the agent’s model for this feature.
--attach <path>Attach a reference file to the prompt. Repeatable.
--repo <path>Run against a different local repo without cd.
--remote <url>Clone a remote repo and run there.
--parent <fid>Create as a child of an existing feature.
--no-rebaseDon’t rebase the worktree branch onto the latest base before working.
--inject-skillsAuto-inject discovered Claude Code skills into the agent prompt.
--pendingCreate the feature in a pending state, don’t start the agent yet.

Lifecycle commands

shep feat ls # list features in current repo shep feat show <id> # full detail shep feat logs <id> # tail logs shep feat resume <id> # resume paused / blocked feature shep feat approve <id> # approve current gate (PRD / plan / merge) shep feat reject <id> --feedback "..." # reject and request changes shep feat review <id> # open the review view shep feat archive <id> # hide feature without deleting shep feat unarchive <id> # restore archived feature shep feat del <id> # delete feature and remove worktree shep feat adopt <branch> # adopt an existing branch as a Shep feature

<id> can be the feature ID (feat_abc123) or its slug (add-health-endpoint).

Agents

shep agent controls the AI agent processes that implement features.

CommandDescription
shep agent lsList agent runs (active and completed).
shep agent show <id>Detail for one agent run.
shep agent logs <id>Stream raw agent output.
shep agent stop <id>Stop a running agent immediately.
shep agent approve <id>Approve a pending agent action (per-task approval).
shep agent reject <id>Reject a pending agent action.
shep agent delete <id>Delete an agent run record.

To stop a feature’s agent without remembering the agent ID, use shep feat show <id> to find the agent ID, or stop from the dashboard.

Repos

CommandDescription
shep repo lsList repos Shep is tracking.
shep repo show <id>Detail for one repo (path, active features).

Settings

shep settings # interactive wizard shep settings show # print all current settings shep settings init # re-run first-time setup shep settings agent # configure AI agent (Claude / Cursor / Gemini) shep settings ide # configure default IDE shep settings workflow # configure workflow defaults (push, PR, etc.) shep settings model # configure default model per agent shep settings language # configure dashboard language

shep settings workflow is the most useful — set your defaults once and stop typing the same flags every time.

Tools

CommandDescription
shep tools listList the tools Shep needs and whether they’re installed.
shep installInstall missing dependencies (gh, etc.).
shep ide-openOpen the current repo in your configured IDE.

Other

CommandDescription
shep runRun the configured agent directly without the feature pipeline.
shep versionPrint the installed Shep version.
shep upgradeUpgrade Shep to the latest published version.
shep reviewReview changes Shep has made across all features.

Experimental commands

A few command families are hidden behind the Agent Collaboration & Supervision feature flag — shep supervisor, shep intake, shep agent message, shep agent questions. They don’t appear in shep --help until the flag is on. See Experimental Features for what they do and how to enable them.

Tips

  • Run shep <command> --help for the latest, authoritative flag list.
  • Tab-completion works in zsh and bash if you’ve sourced the completion scripts.
  • Most commands accept feature slugs in place of IDs — easier to read in scripts.
  • shep status is the fastest way to confirm the daemon is up.