Skip to content

CLI Overview

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 initInitialize .fp/ in your project
fp setup claudeConfigure Claude Code integration
CommandDescription
fp issue create --title "..."Create a new issue
fp issue create --title "..." --parent IDCreate a sub-issue
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 assign ID --rev COMMITAttach commit(s) to an issue
fp issue diff IDShow diff for issue’s commit range
fp issue files IDShow files changed in commit range
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
CommandDescription
fp agent whoamiShow current agent identity

Issues have three statuses:

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

VCS refs are captured on status transitions:

  • Base commit — captured when moving to in-progress
  • Tip commit — captured when moving to done

This enables fp issue diff and fp issue files to show exactly what changed.

Issues support priority levels: low, medium, high.

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