npx claudepluginhub roeia1/sagaSAGA - Structured Autonomous Goal Achievement: epic/story workflow with autonomous execution
Share bugs, ideas, or general feedback.
Structured Autonomous Goal Achievement - Transform epic ideas into shipped code through structured planning, autonomous execution, and continuous journaling.
A complete development lifecycle from collaborative planning through story breakdown and rigorous implementation. Plans become stories. Workers execute autonomously. Everything is documented.
flowchart LR
A[📝 Epic] -->|VISION| B[📋 Stories]
B -->|BREAKDOWN| C[⚡ Implement]
C -->|TDD| D((✅))
A -.- A1[epic.json]
B -.- B1[story.json]
C -.- C1[journal.md]
Option 1: From GitHub (Latest)
# Add the marketplace
/plugin marketplace add Roeia1/saga
# Install latest version
/plugin install saga@saga-core
Option 2: Specific Version
# Install a specific version
/plugin install saga@saga-core@1.0.0
Option 3: Interactive
# Browse and install via menu
/plugin
# Select "Browse Plugins" → find saga → install
See CHANGELOG.md for version history.
# Navigate to your project
cd your-project
# Start Claude Code
claude
# Initialize SAGA
> /init
This creates the .saga/ directory structure:
.saga/
├── epics/ # Epic definitions (JSON)
├── stories/ # Story definitions, tasks, and journals
├── archive/ # Completed story archives
└── worktrees/ # Git worktrees for story isolation (gitignored)
# 1. Plan your work (collaborative discussion → stories)
> /plan user authentication with OAuth
# 2. Implement a story autonomously
> /execute-story login-flow
# 3. If blocked, resolve and continue
> /resolve-blocker login-flow
> /execute-story login-flow
| Phase | Focus | Output |
|---|---|---|
| Planning | WHAT + HOW | Collaborative discussion → stories (standalone or epic-based) |
| Story Execution | DO the work | Tested, documented, reviewed code |
Tell Claude what you want to build in natural language:
> /plan real-time notifications for order updates
Claude will:
Output: Stories in .saga/stories/ (and optionally .saga/epics/ for multi-story plans)
Stories are executed autonomously using the /execute-story command:
> /execute-story websocket-setup
The orchestrator spawns worker Claude instances that complete tasks incrementally. Workers exit with:
/resolve-blocker to unblock)Tests are written before implementation. After test creation, they can only be modified with explicit user approval. This isn't optional—it's enforced.
Workers document progress throughout execution:
Output: journal.md alongside each story
Work on multiple stories simultaneously:
.saga/worktrees/
├── websocket-setup/ # Full project checkout
├── event-handlers/ # Full project checkout
└── ui-components/ # Full project checkout
Each worktree is isolated. Commit, push, and test independently.
No manual status updates. Status is derived from filesystem and git state: