The universal AI context infrastructure. Let AI generate and manage your project rules, while OpenSpec automatically syncs them to every AI coding tool in your stack.
Every AI coding tool uses its own context file. Teams end up copy-pasting rules into 7+ files. When conventions change, updates drift — and different tools follow different rules.
Let AI analyze your project and write the rules. OpenSpec compiles them into every format your tools need.
Enable OpenSpec in your AI agent session.
Claude analyzes your codebase, creates rule modules, and syncs everything automatically.
Your AI agent now manages a single source of truth for every tool in your stack.
Pick your primary tool and let OpenSpec handle the rest.
The most powerful way to use OpenSpec. Claude manages your rules autonomously through the marketplace plugin.
Using Cursor, Windsurf, or Aider? Simply prompt your agent to use the OpenSpec CLI autonomously.
Ensure your team is always aligned. Sync rules automatically on every commit or in your CI/CD pipeline.
Everything you need to keep your AI tools aligned with your team's conventions.
Organize rules into focused Markdown modules — shared, frontend, backend, testing, or custom.
Each target gets intelligently adapted output. Claude prefers dense context, Cursor gets glob hints, Copilot gets nested headings.
Run /openspec:configure in Claude Code and it analyzes your entire codebase, then generates project-specific modules automatically. No manual editing.
Auto-sync on file changes. Edit a module, and all 7 targets update instantly in the background.
Auto-sync before every commit with a pre-commit hook. No stale files, ever.
See exactly what changes sync would make before writing anything with openspec diff.
Every major AI coding tool, supported out of the box. More targets added regularly.
A complete CLI toolkit for managing your AI context files.
/openspec:configure Claude Code Plugin — AI analyzes your codebase and generates modules automaticallyGet started in seconds. Define once, spec everywhere.