一键导入
af
Agent Farm CLI quick reference. Use when running af commands to check correct syntax, subcommands, and flags. Prevents guessing at command names.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Agent Farm CLI quick reference. Use when running af commands to check correct syntax, subcommands, and flags. Prevents guessing at command names.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Codev project management CLI quick reference. Use when running codev commands to check correct syntax for init, adopt, update, and doctor.
AI consultation CLI quick reference. Use when running consult commands to check syntax for general queries, protocol reviews, and stats across Gemini, Codex, and Claude.
AI image generation CLI using Gemini. Use when generating images, checking syntax for resolution, aspect ratio, and reference image options.
Protocol orchestrator CLI quick reference. Use when running porch commands to check correct syntax for status, run, done, approve, next, and pending.
基于 SOC 职业分类
| name | af |
| description | Agent Farm CLI quick reference. Use when running af commands to check correct syntax, subcommands, and flags. Prevents guessing at command names. |
| disable-model-invocation | false |
af tower start # Start Tower on port 4100
af tower stop # Stop Tower
af tower log # Tail Tower logs
af tower status # Check if Tower is running
There is NO af tower restart — use af tower stop && af tower start.
af dash start # Start architect dashboard for current project
af dash stop # Stop dashboard for current project
af dash open # Open dashboard in browser
af spawn 3 --protocol spir # Spawn builder for SPIR project
af spawn 3 --protocol spir --soft # Spawn builder (soft mode)
af spawn 3 --protocol bugfix # Spawn builder for a bugfix
af spawn 3 --resume # Resume builder in existing worktree
af status # Check all builder status
af cleanup --project 3 # Clean up builder worktree (safe)
af cleanup --project 3 -f # Force cleanup
When a builder's Claude process dies but the worktree and porch state survive,
use --resume to restart it without recreating the worktree:
af spawn 3 --resume
This reuses the existing .builders/3 worktree, creates a fresh terminal
session registered with the Tower (so it appears in the dashboard), and lets
porch pick up from whatever phase the builder was in. Works with all spawn
modes: positional issue number, --task, --protocol, --worktree.
af util # Open utility shell
af open file.ts # Open file in annotation viewer
af ports list # List port allocations
af send <builder> "msg" # Send message to a builder
Edit af-config.json at project root to customize shell commands.
{
"shell": {
"architect": "claude",
"builder": "claude",
"shell": "bash"
}
}
Before af spawn, commit all local changes. Builders work in git worktrees
branched from HEAD — uncommitted files (specs, plans, codev updates) are invisible
to the builder. The spawn command will refuse if the worktree is dirty (override
with --force).
codev tower command — Tower is managed via af towerrestart subcommand — stop then startaf start for Tower — use af tower start or af dash start