6.0 KiB
6.0 KiB
Command Reference
This document mirrors src/index.ts command registration and is the canonical CLI reference.
Last sync: 2026-06-14.
Quick examples
fable-agent run "Review API security risks"
fable-agent session start "ship launch plan"
fable-agent skills list --tag security
fable-agent pai status
fable-agent fable5 stack "refactor module" --enable-plinius
fable-agent fusion run "summarize RFC" --openrouter
fable-agent plinius godmode "improve explanation quality"
Top-level commands
fable-agent <command> [subcommand] [options]
| Command | Primary purpose |
|---|---|
run |
Execute full agent loop |
session |
Session lifecycle |
skills |
Skill registry ops |
state |
Knowledge state / stats view |
pai |
PAI/bridge operations |
status |
Runtime surface summary |
workflow |
Load workflow JSON |
benchmark |
Run/view benchmark metrics |
cost |
Cost/usage reporting |
exa |
Exa search utilities |
demo |
Demo mode |
learned |
Summaries of learned material |
familiar |
Note capture and health graph |
pai-pi |
PI integration mode |
daemon |
Long-running mode queue/monitor |
fable5 |
Upgraded execution stack |
fusion |
Multi-panel execution |
generate |
Media generation |
plinius |
Fable 5 diagnostics and upgrade tools |
Command matrix
run
run <task>- Options:
-l, --loop <n>: feedback loop iterations-w, --workflow <id>: workflow definition ID-s, --skill <id>: explicit skill override-c, --compound <n>: compound run count
session
session start <task>session resume <id>session listsession inspect <id>
skills
skills list-t, --tag <tag>
skills create <name>-s, --steps <steps>-t, --tags <tags>
skills inspect <id>skills evolve <id>skills syncskills sharpen
state
state-t, --tag <tag>--stats
status
status- Displays command availability, env bootstrap, and runtime wiring summary.
pai
pai statuspai telos-s, --section <name>
pai proxy <prompt>-m, --model <id>(defaultfi-groq)-t, --temperature <n>-s, --system <text>
pai syncpai dream-c, --cycle <n>--dry-run
pai cert-t, --task <text>-l, --loop <n>--skip-proxy-check
pai bridgepai memorypai packspai reportpai run <goal>
workflow
workflow <file>
benchmark
benchmark run-b, --benchmark <id>
benchmark trend-b, --benchmark <id>
benchmark list
cost
cost report-h, --hours <n>
exa
exa search <query>-n, --num-results <n>-t, --type <type>: keyword|neural|auto--include-domains <domains>
exa company <name>exa sync
demo
demo-q, --query <q>
learned
learned-v, --verbose
familiar
familiar capture <note>-s, --source <src>
familiar processfamiliar graphfamiliar healthfamiliar briefing
pai-pi
pai-pi statuspai-pi skillspai-pi run <goal>-l, --loop <n>
daemon
daemon start-d, --detach
daemon stopdaemon statusdaemon queue <goal>-p, --priority <n>-t, --tags <tags>
fable5
fable5 statusfable5 route <task>-d, --domain <domain>
fable5 modelsfable5 verify <task>fable5 goal <text>-i, --iterations <n>-s, --min-score <n>
fable5 worktree <action> [name]fable5 state <project>--add-fact <text>--add-rule <text>--add-failure <text>--add-lesson <text>--import
fable5 workflow <pattern> <task>-s, --subtasks <list>-n, --max-iterations <n>-p, --panel <slug>--category <name>--intensity <level>
fable5 compound <lesson>--skill <name>
fable5 chain <task>--stages <list>
fable5 meta <task>--stages <list>
fable5 teams <task>--workers <list>
fable5 stack <task>-p, --project <name>--enable-worktrees--enable-vision--enable-workflows--enable-fusion--enable-plinius
fable5 rpc-p, --port <n>
fusion
fusion run <task>-p, --panel <slug>-j, --judge <model>--openrouter
fusion panels
generate
generate image <prompt>-m, --model <id>(defaultfal-ai/nano-banana-pro)--aspect <ratio>-r, --reference <url>
generate video <source>-m, --model <id>(defaultalibaba/happy-horse/image-to-video)-p, --prompt <text>-d, --duration <n>--720p
plinius
plinius godmode <task>-p, --panel <slug>-m, --mode <mode>--proxy-v, --verbose
plinius ultra <task>-o, --output <text>
plinius parseltongue <input>-c, --category <category>-i, --intensity <level>
plinius autotune <domain>-s, --scores <list>
plinius stm <text>-m, --modules <list>--max-length <n>
plinius refusal <output>-m, --model <id>-t, --task <text>
plinius observatory-p, --provider <name>-m, --model <name>-t, --tag <tag>-l, --limit <n>
plinius liberation--min-success <n>
plinius transparency <task>-m, --model <id>--save
Env and runtime references
- Env bootstrap command:
loadEnv(). - Env precedence: existing process env >
.envvalues. - Files loaded from project root:
.env.env.<NODE_ENV>.env.local
- Proxy-sensitive commands:
pai proxy,pai cert,plinius godmode --proxy.
Parity checklist
Before merging command-layer changes, verify:
COMMANDS.mdincludes each.command(...)addition/removal fromsrc/index.ts.- New or changed flags are listed in this file.
CONFIG.mdincludes matching bootstrap/env/proxy updates when startup behavior changes.- A smoke command confirms the command parses in the shell:
node dist/index.js <command> --help(or equivalent).