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 project linkLink the local project to a remote project and write .fp/remote.toml
fp project sync [issue-id]Synchronize local issues with the linked remote project
fp project clone [project-id]Clone a remote fp project locally
fp project remoteShow the effective remote project identity and its sources
fp project remote stampWrite .fp/remote.toml for an already-linked project
fp project unlinkRemove the local link; remote data is not deleted

Use these commands to link local fp data to a remote project. For CI and cloud agents, follow Cloud Agents to use the REST API without a local fp store. Local fp usage does not require FP_REMOTE or FP_TOKEN.

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