Install SpecStory CLI
Install the SpecStory CLI once to wrap Codex and manage your transcripts.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 Codex CLI with auto-save
Launch Codex through SpecStory to capture a Markdown history in.specstory/history/
.
Sync older Codex sessions
If you used Codex before installing SpecStory, retroactively export existing sessions..specstory/history/
with timestamps and metadata for easy sharing.
Best practices
- Segment workstreams: Use Codex CLI’s commands to start fresh sessions per task so transcripts stay focused.
- Document custom tooling: Add notes about bespoke scripts or workflows to the Markdown files for teammate handoff.
- Archive transcripts: Commit
.specstory/history/
alongside your code to preserve design intent.
Troubleshooting
codex
command missing: Confirm installation by runningcodex --version
outside SpecStory.- No Markdown output: Run inside a project directory that contains
.specstory/
and allows writing. - Sync returns nothing: Ensure Codex has existing session logs in the current workspace.
- Need assistance? Contact support@specstory.com or open a ticket on GitHub.