Every command, flag, and subcommand. Start typing to filter — hit / from anywhere.
| --reset-policy | Replace policy.yaml with the default template. |
| --reset-soul | Reset the SOUL.md persona. |
$ foreman init
| --resume | Continue a partially-finished setup. |
| --reset | Start the wizard over from scratch. |
$ foreman setup --resume
| --no-onboarding | Skip the first-run onboarding screen. |
| --skip-setup | Boot straight to the gateway with defaults. |
$ foreman start --skip-setup
| -s, --source <id> | Source identifier (default: mcp-client). |
$ foreman mcp-stdio --source claude-code
| --name <id> | Identifier to register the wrapped agent under. |
| -- <command> | The agent command to launch. |
$ foreman wrap --name my-agent -- my-agent-binary start
| --json | Emit machine-readable JSON. |
$ foreman doctor --json
No flags.
$ foreman migrate-config
| -n, --limit <N> | Max results (default: 50). |
| --json | Emit JSON. |
$ foreman log search "read_file env" -n 100
| -n, --limit <N> | How many (default: 20). |
| -f, --follow | Stream new requests live. |
| --session <id> | Filter to one session. |
| --json | Emit JSON. |
$ foreman log tail --follow
| --json | Emit JSON. |
$ foreman log show 4827
| --json | Emit JSON. |
$ foreman policy show
No flags.
$ foreman policy edit
| --yes | Skip the confirmation prompt. |
$ foreman policy reset --yes
No flags.
$ foreman agent list
| --type <registryId> | Agent type from the registry. |
| --config-path <path> | Path to the agent's config. |
| --skip-config | Don't write agent config. |
| --auto-install | Install the agent if missing. |
| --key-out <path> | Write the agent's key to a file. |
$ foreman agent add hermes --type hermes --auto-install
No flags.
$ foreman agent show hermes
No flags.
$ foreman agent remove hermes
No flags.
$ foreman agent regenerate-key hermes
| unblock <name> | Lift the block. |
$ foreman agent block openclaw
| enable <name> | Re-enable. |
$ foreman agent disable hermes
| distrust <name> | Mark as untrusted. |
$ foreman agent trust claude-code
No flags.
$ foreman agent update hermes
| --json | Emit JSON. |
$ foreman secrets list
| --value <string> | Value (prompts if omitted). |
$ foreman secrets add ANTHROPIC_API_KEY
| --reveal | Show the plaintext. |
| --yes-i-want-to-see-it | Confirm reveal. |
| --json | Emit JSON. |
$ foreman secrets show ANTHROPIC_API_KEY --reveal
| --yes | Skip confirmation. |
$ foreman secrets remove OLD_KEY --yes
| --value <string> | New value. |
$ foreman secrets rotate API_KEY
No flags.
$ foreman secrets project
| status · enable · disable | Toggle and inspect. |
| login · logout · switch | Provider auth & selection. |
| budget · usage · costs | Spend controls. |
| verify | LLM-based prompt-injection detection. |
$ foreman llm switch anthropic
No flags.
$ foreman claude-login
No flags.
$ foreman codex-login
| test | Send a test notification. |
| config | Edit notify.yaml. |
| mute · unmute · silence | Quiet hours. |
$ foreman notify test
No flags.
$ foreman chat
| -a <agent> | Target agent. |
| -m <text> | Message body. |
$ foreman write -a hermes -m "pause"
| daily · weekly · monthly | Reporting window. |
$ foreman report weekly
| list · show <id> · resolve <id> | Inspect and resolve. |
$ foreman delegations list
| list · show <id> · cancel <id> | Inspect and cancel. |
$ foreman flow show f_12a
| list · info <id> · install <id> · uninstall <id> | Manage providers. |
$ foreman provider install ollama
| list · info <id> · validate · update · search <query> | Browse the catalog. |
$ foreman registry search telegram
| show · edit · push | Inspect and update. |
$ foreman identity edit
| install <agent> · uninstall <agent> · list | Manage hooks. |
$ foreman hook install hermes
No flags.
$ foreman completion zsh > _foreman