By hieutrtr
Execute autonomous BMAD workflows like product-brief and prd-create via ralph-loop to automate SDLC phases, using templatized prompts populated from project context. Monitor phased status as tables, cancel active loops, view integrated docs, and autosave Claude sessions on stop.
npx claudepluginhub hieutrtr/ralphmad --plugin ralphmadFull BMAD agile workflow with role-based agents (PO, Architect, SM, Dev, QA) and interactive approval gates
Autonomous development loop with fresh context per iteration, Hat-lite builder/verifier system, task sets, and persistent memories
Next level skills for power users — advanced prompting techniques, agent management, and more.
Autonomous coding using the Ralph Wiggum technique - simple loops, persistent memory, one task at a time
AI-supervised issue tracker for coding workflows. Manage tasks, discover work, and maintain context with simple CLI commands.
Complete collection of battle-tested Claude Code configs from an Anthropic hackathon winner - agents, skills, hooks, and rules evolved over 10+ months of intensive daily use
Share bugs, ideas, or general feedback.
RalphMAD is a Claude Code plugin that combines the Ralph Loop self-referential AI loop technique with BMAD structured SDLC workflows. It provides templatized, project-agnostic workflow automation — install once, use with any BMAD-enabled project.
Open Claude Code in your project directory and install the BMM + TEA modules:
# Interactive (recommended — follow the prompts, select bmm and tea modules, pick claude-code as tool)
npx bmad-method install
# Or non-interactive
npx bmad-method install --modules bmm tea --tools claude-code --yes
This creates the _bmad/ directory with workflows, agents, and config. After installation, run /bmad-help inside Claude Code to verify everything is set up.
From your project directory:
# One-liner (clones and installs automatically)
curl -sL https://raw.githubusercontent.com/hieutrtr/ralphmad/main/install.sh | bash
# Or clone first, then install
git clone https://github.com/hieutrtr/ralphmad.git /tmp/ralphmad
/tmp/ralphmad/install.sh .
This installs RalphMAD as commands in .claude/commands/ and registers the stop hook in .claude/settings.json. Works with both Claude Code CLI and Claude Code on claude.ai (cloud sessions).
To uninstall:
/tmp/ralphmad/install.sh --uninstall .
From your terminal (non-interactive):
claude plugin marketplace add hieutrtr/ralphmad
claude plugin install ralphmad@ralphmad
Or from inside a Claude Code session:
/plugin marketplace add hieutrtr/ralphmad
/plugin install ralphmad
For local development:
claude plugin marketplace add ./ralphmad
claude plugin install ralphmad@ralphmad --scope local
Note: Plugins are not currently supported in Claude Code cloud sessions (claude.ai). Use Option A for cloud compatibility.
Create docs/product-concept.md describing your product idea.
See plugins/templates/product-concept-template.md for a starter template.
/ralphmad-status
/ralphmad-loop product-brief
If using the plugin installation (Option B), prefix commands with
ralphmad:(e.g.,/ralphmad:ralphmad-status).
User invokes: /ralphmad-loop product-brief
→ Reads workflow registry (ralphmad-config.yaml)
→ Reads project config (_bmad/bmm/config.yaml)
→ Checks prerequisites (scans for required artifacts)
→ Reads template (01-product-brief.tpl.md)
→ Populates {{placeholders}} with project context
→ Activates ralph-loop mechanism
→ Claude executes BMAD workflow autonomously
→ Loop continues until completion promise detected
| Phase | Workflow | Command | Description |
|---|---|---|---|
| 1 | Product Brief | product-brief | Create product brief from concept |
| 2 | PRD | prd-create | Create PRD from product brief |
| 2 | UX Design | ux-design | Create UX design specification |
| 3 | Architecture | architecture | Create architecture decisions |
| 3 | Epics & Stories | epics-stories | Create epics and user stories |
| 3 | Test Design | test-design | Create test design with risk assessment |
| 3 | Test Framework | testarch-framework | Set up test framework |
| 3 | CI/CD | testarch-ci | Set up CI/CD pipeline |
| 4 | Sprint Planning | sprint-planning | Generate sprint status tracking |
| 4 | Epic Test Design | testarch-test-design-epic | Test design for specific epic |
| 4 | Epic Dev | epic-dev | Implement all stories in an epic |
| 4 | Correct Course | correct-course | Manage sprint changes |
| Command (installed) | Command (plugin) | Description |
|---|---|---|
/ralphmad-loop WORKFLOW [--max-iterations N] | /ralphmad:ralphmad-loop ... | Run a workflow |
/ralphmad-status | /ralphmad:ralphmad-status | Show workflow status |
/ralphmad-cancel | /ralphmad:ralphmad-cancel | Cancel active loop |
/ralphmad-help | /ralphmad:help | Plugin documentation |
Templates use {{placeholder}} syntax and are populated at runtime from:
_bmad/bmm/config.yaml) — project name, artifact paths_bmad-output/) — context from previous workflowsralphmad-config.yaml) — promises, personas, prerequisitesThis means the same templates work with any BMAD-enabled project.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claim