From maestro
Use when setting up dual-harness (Claude Code + Codex) support for a repo, or syncing AGENTS.md after CLAUDE.md changes.
How this skill is triggered — by the user, by Claude, or both
Slash command
/maestro:agents-md-syncThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate or update an `AGENTS.md` file from the project's `CLAUDE.md` for OpenAI Codex compatibility.
Generate or update an AGENTS.md file from the project's CLAUDE.md for OpenAI Codex compatibility.
Scan for instruction files
CLAUDE.md at the project rootCLAUDE.md files (e.g., src/CLAUDE.md, app/CLAUDE.md)CLAUDE.local.md if it exists (but note it won't be committed — flag items that should be in AGENTS.md but come from local-only sources)/setup ($setup in Codex) or to draft AGENTS.md from scratch. Do not invent content.Extract portable content — keep:
Strip Claude-specific content — remove or adapt:
/skill-name) → describe the workflow in prose or note the skill name for $skill-name invocation in Codex.claude/agents/) → translate to Codex TOML agent format notes, or describe as "specialized review workflows"hooks.json): SessionStart, PreToolUse, PostToolUse, UserPromptSubmit, Stop. Claude's additional events (SessionEnd, SubagentStop, PreCompact, Notification) have no Codex equivalent — remove those or note them as manual steps.context: fork, user-invocable, and other Claude frontmatter concepts → removeMap to AGENTS.md structure
# AGENTS.md
## Project Overview
<!-- From CLAUDE.md header / repository purpose -->
## Build & Test
<!-- Extracted quick-start commands -->
## Coding Conventions
<!-- Style rules, patterns, anti-patterns -->
## Architecture
<!-- Directory structure, module relationships, invariants -->
## Development Workflow
<!-- Git conventions, PR process, testing requirements -->
<!-- Describe issue pipeline and track workflow in tool-neutral terms -->
## Red Flags
<!-- Stop-immediately patterns from CLAUDE.md -->
Merge with existing AGENTS.md (if one exists)
Write AGENTS.md to project root (after confirmation)
Remind user about Codex config:
To read CLAUDE.md as a fallback when a directory has no AGENTS.md, add this
top-level key to your global ~/.codex/config.toml (not a [project] table,
and not a project-local file):
project_doc_fallback_filenames = ["CLAUDE.md"]
Note: this is a fallback only — if AGENTS.md exists it always wins and CLAUDE.md is ignored.
npx claudepluginhub owebboy/maestro --plugin maestroGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.