bmalph: Instructions file for Claude Code

CLAUDE.md

bmalph CLAUDE.md is an instructions file for Claude Code from LarsCowe/bmalph. It costs 1,360 tokens per session, scanned A, original, MIT.

Instruction notes for bmalph, a command-line tool that combines BMAD-METHOD planning workflows with Ralph's automated implementation loop. They describe its phases, folders, and commands.

In plain words
What is it for?
Use them when setting up bmalph, navigating its generated folders, choosing a platform, or running its planning and implementation commands.
Why use it?
They give an agent the project-specific context needed to work with bmalph without guessing how its planning and implementation parts fit together.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions AGENTS.md; mentions Codex.

This is LarsCowe/bmalph's own configuration. It tells Claude Code how to work on bmalph itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything bmalph configures →

Reuse

Borrowing it

Nothing to install: this file belongs to LarsCowe/bmalph. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/LarsCowe/bmalph/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/LarsCowe/bmalph

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bmalph CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/larscowe/bmalph/claude-md/github.svg)](https://agentmods.dev/instructions/larscowe/bmalph/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/larscowe/bmalph/claude-md"><img src="https://agentmods.dev/badge/instructions/larscowe/bmalph/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bmalph CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/larscowe/bmalph/claude-md"><img src="https://agentmods.dev/badge/instructions/larscowe/bmalph/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,360 This file is loaded in full into every session.
When invoked 1,360 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.01360 $0.01360
Opus 5.5 $0.00544 $0.00544
Sonnet 5.5 $0.00272 $0.00272
Haiku 4.5 $0.00136 $0.00136

Measured 1mo ago against content hash daa2c7af71ea, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bmalph CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 108 lines

How it starts

The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.

bmalph

Integration layer between BMAD-METHOD and Ralph.

What is bmalph?

bmalph bundles and installs two AI development systems:

  • BMAD-METHOD — Planning agents and workflows (Phases 1-3)
  • Ralph — Autonomous implementation loop (Phase 4)

Architecture

Phases 1-3 (Planning): BMAD agents + workflows (interactive, command-driven)
Phase 4 (Implementation): Ralph loop (autonomous, bash-driven)
bmalph: CLI + transition logic

Directory structure after bmalph init

project-root/
├── _bmad/              # BMAD agents, workflows, core, lite workflows
├── .ralph/             # Ralph runtime (loop, libs, specs, logs, drivers)
│   ├── drivers/        # Platform driver scripts (claude-code, codex, opencode, copilot, cursor)
│   ├── lib/            # Shell libraries (circuit breaker, response analysis, etc.)
│   └── templates/      # Prompt, agent, fix plan, review, and ralphrc templates
├── bmalph/             # bmalph state (config.json with platform, state/)
└── <instructions file> # Varies by platform (CLAUDE.md, AGENTS.md, etc.)

The instructions file depends on the configured platform — see src/platform/ for the mapping.

CLI Commands

Command Action
bmalph init Install BMAD + Ralph, configure project
bmalph upgrade Update bundled assets to current version
bmalph doctor Check installation health
bmalph check-updates Check for upstream updates
bmalph status Show project installation status
bmalph implement Transition BMAD artifacts to Ralph format
bmalph run Start Ralph loop with live dashboard
bmalph run --swarm N Run N parallel workers in git worktrees (default: 2, max: 6)
bmalph reset Remove all bmalph files from the project
bmalph watch (deprecated) Use bmalph run instead

Read the full file on GitHub · 108 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 108 lines · 1,360 tokens per session scan A daa2c7af71ea

Subscribe to this mod's changes

bmalph CLAUDE.md is an instructions file published in the GitHub repository LarsCowe/bmalph (405 stars, last pushed 4d ago), licensed MIT. It adds 1,360 tokens to every session, about $0.0054 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories