Install SpecStory CLI
Install or update the SpecStory CLI so it can wrapclaude and archive the session output.
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 Claude Code with auto-save
Start Claude Code through SpecStory to collect a Markdown transcript in.specstory/history/.
/init, /clear, and slash commands. SpecStory records both sides of the chat plus terminal output generated by ! commands.
Sync existing Claude Code sessions
Forgot to launch withspecstory run? Convert prior sessions with specstory sync.
.specstory/history/ alongside timestamps and command metadata.
Command reference
Use the wrapper exactly as you would the native CLI while taking advantage of additional flags.Turn transcripts into documentation
SpecStory focuses on local Markdown output so you can share conversations using existing workflows:- Commit
.specstory/history/to version control for review alongside code changes. - Send Markdown files directly to teammates or attach them to design docs.
- Publish excerpts in knowledge bases or documentation portals.
Best practices
- Create
CLAUDE.md: Seed the assistant with project docs once, and re-use those instructions automatically. - Keep sessions focused: Use
/clearbetween tasks so transcripts stay tight and portable. - Commit your transcripts: Include
.specstory/history/in pull requests to explain why edits shipped. - Annotate exports: Because the transcripts are plain Markdown, you can add context before sharing or committing them.
Troubleshooting
claudecommand missing: Runclaude --versionoutside SpecStory to verify installing Anthropic’s CLI.- No Markdown output: Make sure you start
specstory run claudeinside a writable project folder. specstory syncfinds nothing: Claude Code must have an existing session database in the current directory.- Need help? Reach out at support@specstory.com or open an issue on GitHub.