Sandbox
@xmm/codex-bmad-skills

BMAD skills and workflow state for OpenAI Codex

This repository adds BMAD skill packs to Codex and routes work through `bmad:*` intents. It keeps workflow state in YAML files in your repo so planning, delivery, and review stay visible and repeatable.

47 stars3 forksShellUpdated 4mo ago
Who it's for

Builders who use OpenAI Codex and want structured project state instead of one-off prompts.

What it delivers

You can move Codex through defined phases with saved project context instead of re-explaining the work each time.

What it does

Intent-based routing

Uses `bmad:*` intents such as `bmad:init`, `bmad:status`, `bmad:prd`, `bmad:architecture`, and `bmad:code-review` to guide work.

YAML project state

Stores project settings, workflow progress, and sprint tracking in `bmad/project.yaml`, `bmad/workflow-status.yaml`, and `bmad/sprint-status.yaml`.

Reusable BMAD skill packs

Installs skill folders like `bmad-analyst`, `bmad-architect`, `bmad-developer`, and `bmad-scrum-master` under `skills/`.

Phase-based delivery flow

Organizes work into analysis, planning, solutioning, and implementation with matching outputs in `docs/bmad/` and `docs/stories/`.

Codex install scripts

Provides Unix and Windows installers that copy the skills into the right Codex skill path and validate dependencies first.

How to get it

  1. 1Run
    ./installers/install-codex.sh
  2. 2Run
    ./installers/install-codex.sh --dest "<project>/.agents/skills"
  3. 3Run
    ./installers/install-codex.ps1
    ./installers/install-codex.ps1 -Dest "<project>\.agents\skills"
  4. 4Run
    codex
  5. 5Run
    bmad:init name "My Project" communication language is English documentation language is English
  6. 6Run
    bmad:status
    bmad:next

README

BMAD Skills for OpenAI Codex

License: MIT OpenAI Codex Mentioned in Awesome Codex CLI

BMAD Skills for OpenAI Codex adds a structured, intent-driven workflow to Codex for product discovery, planning, architecture, and implementation.

It installs reusable BMAD skills, introduces bmad:* intents, and keeps project workflow state in explicit YAML files inside your repository.

Original GitHub project: xmm/codex-bmad-skills

What This Project Does

This repository provides:

  • BMAD skills that can be installed into Codex
  • intent-based workflow routing via bmad:*
  • project-local workflow state in bmad/*.yaml
  • a repeatable path from idea to implementation

Use it when you want Codex to guide work through defined phases instead of relying on ad-hoc prompts.

Who This Is For

This project is for:

  • developers using OpenAI Codex as a primary coding assistant
  • teams that want a consistent AI-assisted delivery workflow
  • projects that need explicit planning and traceable workflow state

Quick Start

Requirements

  • yq v4+
  • python3 (or python)

The installers validate both dependencies before install.

Install

Install to the default global path

./installers/install-codex.sh

Install to a custom path (example: project-local)

./installers/install-codex.sh --dest "<project>/.agents/skills"

Windows PowerShell

./installers/install-codex.ps1
./installers/install-codex.ps1 -Dest "<project>\.agents\skills"

Notes:

  • --dest and -Dest are optional
  • the default destination is $HOME/.agents/skills
  • restart Codex after installation so it reloads newly installed skills

Start Codex

codex

Initialize BMAD in a Project

bmad:init name "My Project" communication language is English documentation language is English

Check Current Status

bmad:status
bmad:next

For a guided walkthrough, see Getting Started.

What Gets Created

After initialization, the project contains:

  • bmad/project.yaml - project settings and language preferences
  • bmad/workflow-status.yaml - current workflow phase and progress
  • bmad/sprint-status.yaml - sprint and delivery tracking
  • docs/bmad/ - generated BMAD documents
  • docs/stories/ - implementation stories

How The Workflow Works

BMAD in Codex is organized into four main phases.

1. Analysis

Use this phase to explore the problem space and define direction.

Typical intents:

  • bmad:product-brief
  • bmad:research
  • bmad:brainstorm

Typical outputs:

  • docs/bmad/product-brief.md
  • docs/bmad/research-report.md
  • docs/bmad/brainstorm.md

2. Planning

Use this phase to turn discovery into scoped plans and product documentation.

Typical intents:

  • bmad:prd
  • bmad:tech-spec
  • bmad:prioritize
  • bmad:ux-design

Typical outputs:

  • docs/bmad/prd.md
  • docs/bmad/tech-spec.md
  • docs/bmad/prioritization.md
  • docs/bmad/ux-design.md

Planning rules:

  • level 0-1 projects require tech-spec
  • level 2-4 projects require prd and architecture

3. Solutioning

Use this phase to define architecture and validate readiness before implementation.

Typical intents:

  • bmad:architecture
  • bmad:gate-check

Typical outputs:

  • docs/bmad/architecture.md
  • docs/bmad/gate-check.md

4. Implementation

Use this phase to plan delivery, create stories, build, and review.

Typical intents:

  • bmad:sprint-plan
  • bmad:create-story
  • bmad:dev-story
  • bmad:code-review

Typical outputs:

  • docs/bmad/sprint-plan.md
  • docs/stories/STORY-*.md
  • implemented code and tests in the repository
  • optional docs/bmad/code-review.md

Extension and Innovation

These intents are optional and can be used in any phase:

  • bmad:create-skill
  • bmad:create-workflow
  • bmad:ideate
  • bmad:research-deep
  • bmad:user-flow

Core Intents

Orchestration

  • bmad:init
  • bmad:status
  • bmad:next

Discovery

  • bmad:product-brief
  • bmad:research
  • bmad:brainstorm

Planning

  • bmad:prd
  • bmad:tech-spec
  • bmad:prioritize

Architecture

  • bmad:architecture
  • bmad:gate-check

Delivery

  • bmad:sprint-plan
  • bmad:create-story
  • bmad:dev-story
  • bmad:code-review

UX and Extensions

  • bmad:ux-design
  • bmad:user-flow
  • bmad:ideate
  • bmad:research-deep
  • bmad:create-skill
  • bmad:create-workflow

Repository Layout

.
├── AGENTS.md
├── installers/
├── skills/
│   ├── bmad-orchestrator/
│   ├── bmad-analyst/
│   ├── bmad-product-manager/
│   ├── bmad-architect/
│   ├── bmad-scrum-master/
│   ├── bmad-developer/
│   ├── bmad-ux-designer/
│   ├── bmad-creative-intelligence/
│   ├── bmad-builder/
│   └── bmad-shared/
└── docs/

Key directories:

  • skills/ - the BMAD skills used by Codex
  • installers/ - install scripts for supported environments
  • docs/ - documentation and examples

Current Status

The core Codex workflow is already usable today.

Current implementation focus:

  • Codex-native skill installation
  • intent-based orchestration
  • YAML-backed project workflow state
  • migration-safe preference for project-local skills over global collisions

Learn More

Attribution

The BMAD Method (Breakthrough Method for Agile AI-Driven Development) is created and maintained by the BMAD Code Organization.

This repository is an implementation and adaptation of BMAD for OpenAI Codex. The methodology, core workflow patterns, and BMAD concepts remain the intellectual property of the BMAD Code Organization.

This OpenAI Codex adaptation was initially based on BMAD Method v6 for Claude Code.

Original sources:

License

MIT License. See LICENSE.

Files in the repo

Repository payload10 top-level entries
  • docs
  • installers
  • skills
  • .gitignore
  • AGENTS.md
  • CHANGELOG.md
  • CONTRIBUTING.md
  • LICENSE
  • README.md
  • TODO.md

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More skills

obra/
superpowers

An agentic skills framework & software development methodology that works.

285k
1 add

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

117k
1 add
Vincentwei1021/
anything2explainer

Topic in, narrated explainer video out. A Claude Code / Codex skill that turns any topic into a black-canvas motion-graphics explainer video with TTS voiceover, subtitles and a chapter progress bar. Chinese or English; every frame drawn in code with Remotion.

666

Open-source AI job search: scan job portals, evaluate listings into a structured A-H report with a global 1-5 score, tailor your CV, track applications — runs locally in your AI coding CLI (Claude Code, Codex, OpenCode, Antigravity…)

71k