Skip to content

CLI Overview

[view as markdown]

The fp CLI is the primary interface for agent-native issue tracking. All commands work locally and are designed to be used by both humans and AI agents.

CommandDescription
fp initRegister the project, scaffold .fp/, and prompt to add agent-specific instructions
fp init --agent claudeSame as fp init, and write FP_CLAUDE.md / ensure CLAUDE.md @-includes it
fp init --agent standardSame as fp init, and write FP_AGENTS.md / ensure AGENTS.md @-includes it
fp init --agent codexAlias for --agent standard
fp init --agent skipSame as fp init; explicit choice to add no extra agent files
fp agent setup claudeAdd/refresh FP_CLAUDE.md and the CLAUDE.md include in an already-initialized project
fp agent setup standardAdd/refresh FP_AGENTS.md and the AGENTS.md include in an already-initialized project
fp agent setup codexAlias for fp agent setup standard
CommandDescription
fp guide planPrint the planning skill primer
fp guide implementPrint the implementation skill primer
fp guide brainstormPrint the brainstorm-authoring primer (alias: bs)
fp guide extensionPrint the extension-authoring primer (aliases: extensions, ext)
fp guide <skill> --references <name>Print companion reference material (e.g. fp guide brainstorm --references mermaid)
CommandDescription
fp issue create --title "..."Create a new issue
fp issue create --title "..." --parent IDCreate a sub-issue
fp issue create --title "..." --property labels=frontend,backendCreate with extension fields
fp issue listList all issues
fp issue list --status todoFilter by status
fp issue show IDShow issue details and comments
fp issue update --status STATUS IDUpdate issue status
fp issue update --property labels=frontend IDUpdate extension fields
CommandDescription
fp treeView the full issue hierarchy
fp context IDLoad full issue context (for agents)
fp comment ID "message"Add a comment to an issue
fp comment update COMMENT_ID "text"Edit an existing comment (alias edit)
fp comment delete COMMENT_IDSoft-delete a comment

See Brainstorms for the full guide.

CommandDescription
fp bs create <file.md> [--title "..."] [--format json]Create a brainstorm from a markdown file
fp bs list [--deleted] [--format json]List brainstorms
fp bs show ID [--with-comments] [--resolved] [--version N] [--desktop]Dump brainstorm markdown to stdout
fp bs open IDOpen a brainstorm in the Mac desktop app
fp bs update ID <file.md> [--title "..."]Update with new markdown (creates a new version)
fp bs delete IDSoft-delete a brainstorm
fp bs versions ID [--format json]List version history
fp bs comments ID [--format json]List comments on a brainstorm
fp bs comments add ID "text"Add a comment (prints a ::comment-ref{} snippet)
fp bs comments resolve ID COMMENT_IDResolve a comment thread
fp bs comments delete ID COMMENT_IDSoft-delete a comment

fp brainstorm and fp bs are interchangeable; fp bs comments also accepts the alias fp bs comment. Short ID prefixes are accepted anywhere an ID is required.

Issues have three statuses:

StatusMeaning
todoPlanned, not yet started
in-progressActively being worked on
doneCompleted

Issues support priority levels: low, medium, high, critical.

Terminal window
fp issue create --title "Fix critical bug" --priority high

Every command supports --help:

Terminal window
fp --help
fp issue --help
fp issue create --help