Skip to content

Repository files navigation

Group 6 (1)

Intent is the new source code

Turn your AI development conversations into searchable, shareable knowledge.

Never lose a brilliant solution, code snippet, or architectural decision again. SpecStory captures, indexes, and makes searchable every interaction you have with AI coding assistants across all your projects and tools.

Install SpecStory ──▶   Installs Active Users Sessions Saved

Contribute to OSS ──▶  CLI Open Source Lore: forge skills from your sessions

Connect with us ───▶  X LinkedIn Slack Discord YouTube

How It Works

AI Coding Tools              Local First                  Cloud Platform
─────────────────           ─────────────                ─────────────────
                                                          (Login Required)
Cursor IDE         ┐
Copilot IDE        │
Claude Code CLI    │
Cursor CLI         │
Codex CLI          ├──────►  .specstory/history/  ──────►  cloud.specstory.com
Droid CLI          │          (Auto-Saved Locally)        (Search, Ask & Share)
DeepSeek TUI       │
Antigravity CLI    │
Muse Code          │
Pi                 │
Qwen Code          ┘

Workflow

  1. Capture - SpecStory CLI and IDE extensions save every AI interaction locally to .specstory/history/
  2. Sync (Optional) - Sync your local sessions to SpecStory Cloud for safekeeping and team sharing
  3. Search - Find conversations across all projects locally, or across multiple computers and team members in SpecStory Cloud
  4. Chat (Optional) - Ask questions across your sessions in SpecStory Cloud to revisit decisions, understand past work, and find solutions
  5. Share - Export and share specific solutions with your team
  6. Resume - Resume sessions locally between different agents, and between multiple computers and team members with SpecStory Cloud
  7. Process - Run /lore to mine your history into reusable, evidence-backed agent skills

Supported Development Tools

SpecStory integrates seamlessly with your favorite AI coding tools, automatically saving all conversations locally to .specstory/history/ in your project. Everything is local-first - your data stays on your machine unless you choose to sync to SpecStory Cloud.

Installation

Supported Agent Agent Type Min Version SpecStory Product Source Code Installation
Cursor AI IDE v0.43.6+ Cursor Extension Closed Search "SpecStory" in Extensions (Cmd/Ctrl+Shift+X) → Install
GitHub Copilot IDE v1.300.0+ VSC Copilot Extension Closed Search "SpecStory" in Extensions (Cmd/Ctrl+Shift+X) → Install
Claude Code CLI v1.0.27+ SpecStory CLI Open brew tap specstoryai/tap
brew install specstory
Codex CLI CLI v0.42.0+ SpecStory CLI Open brew tap specstoryai/tap
brew install specstory
Cursor CLI CLI v2025.09.18+ SpecStory CLI Open brew tap specstoryai/tap
brew install specstory
Droid CLI CLI v0.56.3+ SpecStory CLI Open brew tap specstoryai/tap
brew install specstory
Gemini CLI CLI 0.15.1+ SpecStory CLI Open brew tap specstoryai/tap
brew install specstory
DeepSeek TUI CLI 0.8.39+ SpecStory CLI Open brew tap specstoryai/tap
brew install specstory
Antigravity CLI CLI v1.1.5+ SpecStory CLI Open brew tap specstoryai/tap
brew install specstory
Muse Code CLI 0.1.0+ SpecStory CLI Open brew tap specstoryai/tap
brew install specstory
Qwen Code CLI 0.23.4+ SpecStory CLI Open brew tap specstoryai/tap
brew install specstory
Pi CLI 0.85.1+ SpecStory CLI Open brew tap specstoryai/tap
brew install specstory
Any Agent Skills Skill Node 22.5+ Lore 📜 Open npx skills add specstoryai/getspecstory --skill lore

Tip

Don't see the agent you need listed here? The SpecStory CLI is open source and it's easy to contribute new agent providers.

Note

For Cursor users: Install from within Cursor, not from the Visual Studio Marketplace website. Learn why

Terminal Coding Agents

One installation works with all terminal coding agents - Claude Code, Cursor CLI, Codex, Droid, DeepSeek, Antigravity CLI, Qwen Code, and Pi:

# Check which agents are installed
specstory check

# Launch your preferred agent with session auto-save
specstory run claude       # Launch Claude Code
specstory run cursor       # Launch Cursor CLI
specstory run codex        # Launch Codex CLI
specstory run droid        # Launch Droid CLI
specstory run deepseek     # Launch DeepSeek TUI
specstory run antigravity  # Launch Antigravity CLI
specstory run muse         # Launch Muse Code
specstory run qwen         # Launch Qwen Code
specstory run pi           # Launch Pi
specstory run              # Launch the default agent (Claude Code)

# Render all prior agent coding sessions in the project as markdown
specstory sync

All sessions automatically save to .specstory/history/ in your current project.

Tip

The SpecStory CLI acts as a wrapper that enhances any of these terminal agents with automatic session saving. You only need the respective agent installed (e.g., Claude Code) for SpecStory to work with it.

Learn much more about the SpecStory CLI.

SpecStory Cloud ☁️

SpecStory Cloud transforms your local AI conversations into a powerful, centralized knowledge system.

The Problem We Solve

  • Lost Context: Critical decisions and solutions scattered across machines and projects
  • No Global Search: Finding that perfect solution from last month is impossible
  • Fragile Sharing: Passing around Markdown files doesn't scale

The Solution

SpecStory Cloud creates your personal AI coding knowledge base:

  • 🎯 Explicit Opt-In: Nothing syncs to SpecStory Cloud without an optional sign-up and login first
  • 🔍 Search Everywhere: Full-text search across all your projects from all your computers.
  • 💬 Chat with Your History: Ask questions across your sessions to revisit decisions, understand past work, and find solutions.
  • 📚 Organized by Project: Automatic categorization by repository and time
  • 🚀 API Access: Programmatic sync and search for automation
  • 👥 Team Features: Share knowledge across your organization with SpecStory Cloud for Teams

Get Started with SpecStory Cloud →

How to Sync to Cloud

Method One-Time Setup Live Sessions Past Sessions
SpecStory CLI specstory login Auto-pushed when using specstory run while logged in Use specstory sync to push existing local sessions
Cursor Extension Command Palette → "SpecStory: Open Cloud Sync Configuration" Configure auto-sync in settings Use sync command from Command Palette
VSCode Extension Command Palette → "SpecStory: Open Cloud Sync Configuration" Configure auto-sync in settings Use sync command from Command Palette

Important

Local-First & Private by Default: All sessions are saved locally to .specstory/history/. Nothing is ever sent to the cloud unless you explicitly login with. Even after logging in, you can control what gets synced.

Lore 📜

Lore turns the sessions SpecStory saves into agent skills forged from how you actually work. Your sessions are your lore.

The Problem We Solve

  • Repeated Yourself Again: You re-explain the same workflows, conventions, and fixes to your agent every session
  • Skills From Guesswork: Hand-written agent skills describe how you think you work, not how you demonstrably do

The Solution

Lore mines your .specstory/history into evidence - what you actually ran, what worked, and the judgment you apply without noticing - and forges the skills you approve into every agent on your machine.

Install:

npx skills add specstoryai/getspecstory --skill lore

Then invoke it - /lore in Claude Code, $lore in Codex, or just ask ("mine my lore") in Gemini CLI and others:

/lore

Get Started with Lore →

Documentation & Support

Reviews & Feedback

Love SpecStory? Help others discover their AI coding memory upgrade by leaving a review! 🧠

Star History

Star History Chart


Made with ❤️ by SpecStory

About

Install our local first extensions for your favorite AI IDE or Terminal Agent. Process your histories into reusable skills with Lore. Sync your conversations to the cloud. File issues and requests.

Topics

Resources

Code of conduct

Contributing

Stars

1.3k stars

Watchers

12 watching

Forks

Releases

Packages

Contributors

Languages