The core loop
Agent OS centers on a simple loop:
- Discover — Extract patterns from your codebase into documented standards
- Inject — Deploy relevant standards when you need them
- Build — Work with your AI tools using those standards
- Refine — Update standards as patterns evolve
Commands
Agent OS provides slash commands for Claude Code:
/discover-standards
Extract tribal knowledge from your codebase. The command walks you through identifying patterns worth documenting, then creates concise standards files.
Learn about discovering standards
/inject-standards
Deploy relevant standards into your current context. Can auto-suggest based on what you're working on, or explicitly inject specific standards.
Learn about injecting standards
/plan-product
Establish foundational product documentation through an interactive conversation. Creates mission, roadmap, and tech stack files.
/shape-spec
Shape specs in plan mode. This command enhances the planning process by walking you through structured questions and saving everything to files that persist beyond the conversation.
When to use what
Setting up a new project
- Run
/plan-productto document your product vision - As patterns emerge, run
/discover-standardsto capture them
Working on an existing codebase
- Run
/discover-standardsto extract existing patterns - Run
/inject-standardsbefore implementation work
Planning a feature
- Enter plan mode
- Run
/shape-specto gather context and create a persistent spec - Approve and execute the plan
Quick implementation
- Run
/inject-standardsto load relevant standards - Proceed with your work
Stay updated on Agent OS
Get notified of major new releases and updates to Agent OS.