Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By anis-marrouchiv1.1.0MIT
Recursive Language Model Agent for PRD-driven development with iterative loops
You run one by typing its /name in Claude Code.
1 caution to review before installing
A command runs shell commands (! syntax) when you invoke it
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Recursive Agent Loop Framework - A Claude Code plugin for PRD-driven autonomous development inspired by Recursive Language Models.
Ralf executes user stories iteratively, managing the full development lifecycle from requirements to implementation using recursive self-invocation for complex task decomposition.
Clone and copy to your Claude Code plugins directory:
git clone https://github.com/anis-marrouchi/ralf.git
mkdir -p ~/.claude/plugins/marketplaces/local
cp -r ralf ~/.claude/plugins/marketplaces/local/
Restart Claude Code and check that Ralf commands are available:
claude
# Then type /prd to see if the command is recognized
# 1. Create a PRD
/prd Add user authentication to the app
# 2. Convert to executable format
/prd-to-json tasks/prd-user-auth.md
# 3. Initialize hooks (optional)
/init-hooks
# 4. Start autonomous execution
/ralf
# 5. Monitor progress
/ralf-status
| Command | Description |
|---|---|
/prd | Generate a Product Requirements Document |
/prd-to-json | Convert PRD markdown to .ralf/prd.json |
/ralf | Start autonomous execution |
/ralf-status | Check current progress |
/cancel-ralf | Stop the active loop |
/init-hooks | Initialize lifecycle hooks with boilerplate |
/generate-pin | Generate codebase index for context |
/prd Add user authentication to the app
Ralf asks clarifying questions and generates a structured PRD in tasks/prd-feature-name.md.
/prd-to-json tasks/prd-user-auth.md
Creates .ralf/prd.json with properly ordered user stories.
/init-hooks
Creates .ralf/hooks/ with lifecycle hook boilerplate for GitHub/GitLab integration.
/ralf
The orchestrator will:
.ralf/prd.jsonon_task_start hookstory-executor agenton_task_completed or on_task_blocked hookevaluator agent (every N iterations).ralf/prd.json and .ralf/progress.txt/ralf-status
/cancel-ralf
All Ralf artifacts are stored in the .ralf/ folder:
.ralf/
├── .gitignore # Excludes runtime artifacts
├── prd.json # PRD with user stories (tracked)
├── progress.txt # Progress log (tracked)
├── config.json # Project config (tracked, optional)
├── state.json # Loop state (gitignored)
├── metrics.jsonl # Metrics log (gitignored)
├── archive/ # Archived previous runs
└── hooks/
├── on-task-start.sh
├── on-task-completed.sh
└── on-task-blocked.sh
{
"project": "MyApp",
"branchName": "ralf/feature-name",
"description": "Feature description",
"settings": {
"tddRequired": true,
"executionMode": "sequential",
"evaluatorEnabled": true,
"maxRetries": 3
},
"userStories": [
{
"id": "US-001",
"title": "Story title",
"description": "As a user, I want...",
"acceptanceCriteria": ["Criterion 1", "Typecheck passes"],
"priority": 1,
"passes": false,
"targetFiles": ["src/auth.ts"],
"specReference": "FR-1",
"metrics": {
"startedAt": null,
"completedAt": null,
"durationMs": null,
"tokensConsumed": null,
"attempts": []
}
}
]
}
Hooks integrate with external issue trackers. Each receives JSON context via stdin.
| Hook | Trigger | Use Case |
|---|---|---|
on_task_start | Before story execution | Add "in-progress" label |
on_task_completed | After story passes | Close issue, add summary |
on_task_blocked | After max retries | Add "blocked" label |
Example hook:
#!/bin/bash
CONTEXT=$(cat)
STORY_ID=$(echo "$CONTEXT" | jq -r '.storyId')
echo "[on_task_start] $STORY_ID"
# GitHub integration
# gh issue edit "$STORY_ID" --add-label "in-progress"
Generated from the plugin's indexed repository (anis-marrouchi/ralf) — no native marketplace selected
npx claudepluginhub p/anis-marrouchi-ralfBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground