fb CLI reference
The fb command line tool ships with the rawrrr plugin. It holds only the deterministic helpers: anything that can stay judgement lives in the skill, and anything that must not be argued with (guards, routing, who gets asked) is code.
| Command | Purpose |
|---|---|
fb login | Get an agent token with a device-code flow. You approve it in the browser |
fb doctor | Check gh authentication, local checkouts of your code repos and the token's scope |
fb config | Show the current configuration for the token's scope |
fb next [--project] | The next Ready item, plus Inbox items that need triage |
fb route <issue> | The assignee for a ticket and the reason |
fb guard <pr> | Pass or fail with reasons. The skill may not merge without a pass |
fb attachments <issue> | Download a ticket's private context locally for the subagent |
fb comment <issue> --as-bot | Post a reporter-facing reply as the bot, so replies come from one identity |
fb status <issue> <status> | Move the board item, or the labels when there is no board |
fb usage | Report the cost and outcome of a job. Also sends the heartbeat |
Tokens
Agent tokens are created in the dashboard (or by fb login), scoped to a workspace and optionally to projects, and can be revoked at any time. A token reaches only its scope.
Agent API
fb talks to these endpoints with the token: configuration, routing, private attachments, usage and bot comments. They are for the CLI, not for direct use.