Loading...
Loading...
Autonomous agent for tackling big projects. Create PRDs with user stories, then run them via the CLI. Sessions persist across restarts with pause/resume and real-time monitoring.
npx skill4agent add civitai/civitai ralphralph.mjs create --prd path/to/prd.json --startralph.mjs logs <session-id> --follow.claude/skills/ralph/projects/<project-name>/prd.json{
"description": "Brief description of the feature",
"branchName": "feature/my-feature",
"userStories": [
{
"id": "US001",
"title": "Short descriptive title",
"description": "As a [user], I want [feature] so that [benefit]",
"acceptanceCriteria": [
"Specific testable criterion",
"Typecheck passes"
],
"priority": 1,
"passes": false
}
]
}# Create and start a session
ralph.mjs create --prd path/to/prd.json --start
# List all sessions
ralph.mjs list
# Check session status
ralph.mjs status <session-id>
# Follow logs in real-time
ralph.mjs logs <session-id> --follow# Pause a session
ralph.mjs pause <session-id> --reason "Waiting for API"
# Resume with guidance
ralph.mjs resume <session-id> --guidance "API is ready on port 3000"
# Inject guidance into running session
ralph.mjs inject <session-id> --message "Try using the helper in utils.ts"
# Abort a session
ralph.mjs abort <session-id># Spawn a child session
ralph.mjs spawn <parent-id> --prd child/prd.json --start
# List children of a session
ralph.mjs children <session-id>
# Wait for all children to complete
ralph.mjs wait <session-id>
# View session tree
ralph.mjs tree <session-id>
# Abort parent and all children
ralph.mjs abort <session-id> --cascade| Type | Use Case |
|---|---|
| Implement features, commit code |
| Coordinate multiple sub-Ralphs |
| Browser automation testing |
"type": "orchestrator"ralph.mjs --help