Install SpecStory CLI
Grab the CLI or keep it current before launching Cursor CLI through SpecStory.Need Linux or WSL binaries or installing manually? Download the archive that matches your OS and architecture (for example Swap the archive name for the asset you downloaded and repeat when upgrading.
SpecStoryCLI_Linux_x86_64.tar.gz or SpecStoryCLI_Darwin_arm64.zip) from the latest release, make them executable, and move them into your PATH.Run Cursor CLI with auto-save
Capture a session by running Cursor CLI through the SpecStory wrapper..specstory/history/. You keep the normal Cursor CLI flow while gaining reviewable context.
Sync existing Cursor CLI sessions
Cursor CLI captures prior chats locally. Convert them into Markdown after the fact withspecstory sync.
Best practices
- Scope conversations: Use
/clearor start fresh sessions per task to simplify review. - Pair with Editor history: Combine Cursor CLI transcripts with
.specstory/history/from the editor UI for an end-to-end record. - Include transcripts in reviews: Point code reviewers at the relevant Markdown when opening a PR.
Troubleshooting
cursor-agentnot inPATH: Install the Cursor CLI and verify withcursor-agent --help.- No
.specstory/history/files: Ensure you launched from inside a project folder with write permissions. - Sync returns zero sessions: Cursor CLI must have local session files in the working directory.
- Still stuck? Email [email protected] or open an issue on GitHub.