Agent skill

Codd Greenfield

by yohey-w in yohey-w/codd-dev

Run the CoDD greenfield autopilot: a requirements document in, a working system out, unattended.

MITAuto-check passedDevelopment

Install Codd Greenfield

skills CLI
$ npx skills add yohey-w/codd-dev --skill codd-greenfield -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install yohey-w/codd-dev codd-greenfield --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/yohey-w/codd-dev.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/codd-greenfield .claude/skills/codd-greenfield && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
codd-greenfield
GitHub stars
115
Token cost
~2.2k tokens
SKILL.md length
873 words
Files
1
Skills in repo
11
Repo updated
First seen
Licence
MIT

At a glance

Run the CoDD greenfield autopilot: a requirements document in, a working system out, unattended.

  • Works in 3 steps: Missing requirements file. No file at… → Ambiguous project name / language.… → Destructive re-init. The directory…
  • The user wants to build a NEW system from a requirements doc (greenfield
  • SKILL.md covers When to Use, Decision Tree, Canonical Flow (preferred) and Stage-by-Stage Fallback…, plus 7 more sections
  • Calls python

What it does

Codd Greenfield is an agent skill from yohey-w/codd-dev. Run the CoDD greenfield autopilot: a requirements document in, a working system out, unattended. Use when the user wants to build a NEW system from a requirements doc ("greenfield", "build from requirements", "要件定義から自動構築", "write requirements and walk away") or to resume/inspect an interrupted autopilot run. Greenfield generation, NOT brownfield modification (use codd-evolve), NOT pure bug fix (use codd fix).

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering PRD writing and Debugging. The repository describes itself as: CoDD: Coherence-Driven Development — Claude Code plugin for cross-artifact change impact analysis. The licence is MIT.

When your agent uses it

  • The user wants to build a NEW system from a requirements doc (greenfield
  • Build from requirements
  • Write requirements and walk away)
  • Resume/inspect an interrupted autopilot run

Example prompts

  • “greenfield”
  • “build from requirements”
  • “要件定義から自動構築”
  • “/codd-greenfield”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Missing requirements file. No file at the given (or default) path.
  2. Ambiguous project name / language. Project is not initialized and the
  3. Destructive re-init. The directory already contains source files or a

What it can do on your machine

Read from SKILL.md and the folder at commit 41b5f87. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Codd Greenfield loads about 2.2k tokens when it runs. Until then it costs about 107 tokens; SKILL.md has 873 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~107
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from yohey-w/codd-dev at commit 41b5f87, republished under its MIT licence (© yohey-w). 873 words, ~2,244 tokens.

Download SKILL.mdSave it as .claude/skills/codd-greenfield/SKILL.md (or your agent's skills folder).
name
codd-greenfield
description
Run the CoDD greenfield autopilot: a requirements document in, a working system out, unattended. Use when the user wants to build a NEW system from a requirements doc ("greenfield", "build from requirements", "要件定義から自動構築", "write requirements and walk away") or to resume/inspect an interrupted autopilot run. Greenfield generation, NOT brownfield modification (use codd-evolve), NOT pure bug fix (use codd fix).

CoDD Greenfield — Unattended Autopilot

Take a requirements document and build the entire system: init → elicit → plan → generate → implement → verify (auto-repair) → propagate → check, with every gate auto-approved. The user writes requirements and walks away; this skill drives codd greenfield and watches the result.

Works identically whether this skill is installed for Claude Code (~/.claude/skills/) or Codex CLI (~/.agents/skills/): the skill only runs codd commands, and the AI CLI that CoDD itself invokes per stage comes from the project's codd.yaml ai_command — never from this skill.

When to Use

  • The user has (or is about to write) a requirements document and wants a system built from it without supervising each stage
  • Trigger phrases:
    • "Build this from the requirements doc"
    • "Greenfield this project"
    • "要件定義から自動構築して"
    • "Write requirements, walk away — make it happen"
    • "Resume the greenfield run" / "What happened to the autopilot?"
  • The project is empty or freshly initialized (no meaningful source yet)

Do NOT use this for:

  • Evolving an existing CoDD project — use codd-evolve
  • Pure bug fix on an existing system — use codd fix / codd fix [PHENOMENON]
  • Reverse-engineering an undocumented codebase — use codd extract / codd brownfield

Decision Tree

1. Does a requirements file exist?
   ├─ yes → continue
   └─ no  → STOP-AND-ASK gate 1: ask the user for the path, or offer to
            draft docs/requirements/requirements.md from their description
            (they approve the draft before the autopilot starts)

2. Is the project already codd-initialized (codd/codd.yaml or .codd/codd.yaml)?
   ├─ no  → need --project-name and --language for codd init
   │        ambiguous? → STOP-AND-ASK gate 2
   └─ yes → does .codd/greenfield_session.yaml exist with a non-success result?
            ├─ yes → this is a RESUME: codd greenfield --resume
            └─ no  → fresh run; if source files already exist that a fresh
                     run could overwrite → STOP-AND-ASK gate 3

3. Run the canonical flow (below). Walk away.

Canonical Flow (preferred)

One command. Prefer this over stage-by-stage unless recovering:

bash
codd greenfield --requirements docs/requirements/requirements.md \
    [--project-name NAME --language LANG] \
    [--ntfy-topic TOPIC] [--max-repair-attempts 10]
  • All gates are auto-approved (elicit findings applied, derived tasks and implementation steps approved, repair runs in automatic mode).
  • --ntfy-topic posts progress notifications — notify-only, never blocking.
  • --dry-run first when the user wants to preview the plan without spending AI calls.
  • Checkpoints land in .codd/greenfield_session.yaml after every unit (every wave, every implement task), so interruption is cheap.
  • Exit 0 = success and codd check passed. Non-zero = a stage failed; the report names the failed stage and the resume command.

Stage-by-Stage Fallback (partial / recovery runs)

Use only when the one-command form is unsuitable: re-running a single failed stage, splicing into CI, or debugging. The CLI sequence is the exact equivalent of the autopilot (also available as a heavily-commented script at examples/greenfield_autopilot.sh in the CoDD repository):

bash
codd init NAME --language LANG --requirements FILE --auto-approve  # skip if initialized
codd elicit && codd elicit apply findings.md                       # advisory
codd plan --init --force
codd generate --all-waves --force
codd implement list-tasks --format json                            # then per task T:
codd implement plan  --task T                                      #   advisory
codd implement steps --task T --approve --all                      #   advisory
codd implement run   --task T                                      #   blocking
codd verify --auto-repair --max-attempts 10 --repair-mode automatic
codd propagate --verify && codd propagate --commit                 # advisory
codd check                                                         # final gate
Resume and session inspection
bash
codd greenfield --resume          # re-runs the first incomplete stage,
                                  # skipping units already marked done
cat .codd/greenfield_session.yaml # per-stage / per-unit status, failed_stage,
                                  # failed_unit, error

Stages are idempotent (generate skips existing files, implement re-runs are safe), so resuming is always safe.

Stop-and-Ask Gates

Ask the user only when one of these fires. Everything else is auto-approved — that is the point of the autopilot.

  1. Missing requirements file. No file at the given (or default) path. Ask for the path or offer to draft one from the user's description.
  2. Ambiguous project name / language. Project is not initialized and the user gave neither. Ask once: "Project name and primary language?"
  3. Destructive re-init. The directory already contains source files or a CoDD config that a fresh run could overwrite, and the session file does not indicate a resumable run. Confirm before proceeding (or steer to codd greenfield --resume / codd-evolve as appropriate).

Do not ask the user about: which lexicons to pick, whether to apply elicit findings, task or step approval, repair proposals, wave order, or commit messages for propagate. The autopilot auto-approves all of these.

While the Autopilot Runs

Do not interrupt the autopilot mid-run. Do not kill the process, do not run additional codd commands in the same project, and do not edit the generated files while it is running — concurrent mutation corrupts the run. To observe progress, inspect the checkpoint file (read-only):

bash
cat .codd/greenfield_session.yaml

If the user wants progress pings, prefer --ntfy-topic over polling. If the run looks stuck, let the stage time out and fail; then report the failed stage from the session file and offer codd greenfield --resume.

Show full SKILL.md (310 more words)Show less

Failure Handling

  1. Read .codd/greenfield_session.yaml: result.failed_stage, result.failed_unit, result.error.
  2. The result report also prints an inspect command for the failed stage (e.g. codd generate --wave 2, codd implement run --task T) — run it for detail only if needed.
  3. Transient failure (AI timeout, network): codd greenfield --resume.
  4. Structural failure (requirements contradiction, unrepairable verify red): surface the error verbatim to the user; suggest fixing the requirements doc and resuming. Do not loop resume more than 2 times on the same error.

Report

Greenfield autopilot: SUCCESS
  requirements: docs/requirements/requirements.md
  stages: init ✅  elicit ✅  plan ✅ (3 waves)  generate ✅
          implement ✅ (5 tasks)  verify ✅ (red 0)  propagate ⚠ (advisory)
          check ✅
  resume file: .codd/greenfield_session.yaml

On failure, name the failed stage/unit, the error, and the resume command.

Absolute Constraints

  1. Never interrupt a running autopilot — inspect the session file instead.
  2. Never hand-edit generated files mid-run. After the run, changes go through codd-evolve / codd fix, not direct edits.
  3. Never re-init over an existing project without gate-3 confirmation.
  4. Never report success without codd check passing (the autopilot's own exit code already encodes this — trust it, don't re-judge).
  5. Never commit without user approval. The autopilot builds; the user reviews and commits.

Guardrails

  • Use the codd command, not python -m codd.cli
  • Run from the project root
  • Prefer codd greenfield over the stage-by-stage fallback; the fallback is for recovery and CI splicing, not the default path
  • One requirements doc per run; if the user has several, they import into the same project (codd init --requirements accepts one file; further docs go to docs/requirements/ before running)

Why This Skill Exists

CoDD's greenfield philosophy is "write only functional requirements and constraints — the system builds itself." codd greenfield is that philosophy as one command. This skill is the conversational front: it picks the right entry (fresh run / resume / dry-run), enforces the three stop-and-ask gates, and keeps humans from babysitting a pipeline that was designed to run unattended. The CLI remains the engine; the skill decides when to start it and how to read what it left behind.

© yohey-w, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/codd-greenfield of yohey-w/codd-dev.

Open the folder on GitHubat commit 41b5f87

Compare with similar skills

Codd Greenfield next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Codd Greenfield compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Codd Greenfield this skillyohey-w/codd-dev115—~2.2kAutomated safety check: PassMIT
Plan Interviewpskoett/pskoett-ai-skills315—~2.5kAutomated safety check: PassNone
Panel Reviewstacklok/mecatl254—~5.8kAutomated safety check: PassApache-2.0
Plan Interviewpskoett/pskoett-ai-skills315—~3.7kAutomated safety check: PassNone
Orchestrix GuideLeoYeAI/openclaw-master-skills2.2k—~4kAutomated safety check: PassMIT
Grilling Ideasopsmill/infrahub534—~3.8kAutomated safety check: PassApache-2.0

Similar skills

  • Plan Interview

    pskoett/pskoett-ai-skills

    Ensures alignment between user and Codex during feature/spec planning through a structured interview process.

    315 GitHub stars~2.5k tokensUpdated 5 days ago
    DevelopmentAuto-check passed
  • Panel Review

    stacklok/mecatl

    Review completed non-trivial code across four independent axes: Spec, Standards, Test adequacy, and installed Domain specialists.

    254 GitHub stars~5.8k tokensUpdated today
    DevelopmentAuto-check passed
  • Plan Interview

    pskoett/pskoett-ai-skills

    Ensures alignment between user and Claude during feature/spec planning through a structured interview process.

    315 GitHub stars~3.7k tokensUpdated 5 days ago
    DevelopmentAuto-check passed
  • Orchestrix Guide

    LeoYeAI/openclaw-master-skills

    Orchestrix multi-agent workflow guide for OpenClaw. An agent skill from LeoYeAI/openclaw-master-skills.

    2.2k GitHub stars~4k tokensUpdated 2 mo ago
    Agent WorkflowsAuto-check passed
  • Grilling Ideas

    opsmill/infrahub

    Stress-tests a fuzzy or vague feature idea before any PRD, spec, or ticket is written.

    534 GitHub stars~3.8k tokensUpdated today
    Product & Project ManagementAuto-check passed
  • Plan To Tickets

    AnastasiyaW/codex-claude-code-config

    A skill your agent uses when a large plan, PRD, feature, refactor, research plan, or multi-step coding task must be split into small ready-for-agent tickets with acceptance criteria, verification…

    154 GitHub stars~683 tokensUpdated yesterday
    Product & Project ManagementAuto-check passed

More from yohey-w/codd-dev

All 11 skills in this repo
  • Codd Generate

    yohey-w/codd-dev

    Generate CoDD design documents for a greenfield project one wave at a time.

    115 GitHub stars~1.5k tokensUpdated 26 days ago
    Auto-check passed
  • Codd Init

    yohey-w/codd-dev

    Initialize CoDD in a project and establish the first scan and validation baseline.

    115 GitHub stars~1.1k tokensUpdated 26 days ago
    Auto-check passed
  • Codd Propagate

    yohey-w/codd-dev

    Reverse-propagate source code changes back to affected CoDD design documents.

    115 GitHub stars~1.4k tokensUpdated 26 days ago
    Auto-check passed
  • Codd Restore

    yohey-w/codd-dev

    Reconstruct CoDD design documents from extracted code facts for a brownfield project.

    115 GitHub stars~1.3k tokensUpdated 26 days ago
    Auto-check passed
  • Codd Impact

    yohey-w/codd-dev

    Analyze the downstream impact of changed requirements, design docs, code, or tests in a CoDD project.

    115 GitHub stars~1.5k tokensUpdated 26 days ago
    Auto-check: warnings
  • Codd Scan

    yohey-w/codd-dev

    Refresh a CoDD project's dependency graph from document frontmatter and source code.

    115 GitHub stars~1.4k tokensUpdated 26 days ago
    Auto-check passed

Categories

Questions about Codd Greenfield

What does Codd Greenfield do?

Run the CoDD greenfield autopilot: a requirements document in, a working system out, unattended. Codd Greenfield is an agent skill from yohey-w/codd-dev. Run the CoDD greenfield autopilot: a requirements document in, a working system out, unattended.

When should I use Codd Greenfield?

Codd Greenfield fits situations like: the user wants to build a NEW system from a requirements doc (greenfield; build from requirements; write requirements and walk away); resume/inspect an interrupted autopilot run.

How do I install Codd Greenfield in Claude Code?

Run `npx skills add yohey-w/codd-dev --skill codd-greenfield -a claude-code`. Or copy the skill folder (skills/codd-greenfield in yohey-w/codd-dev) into .claude/skills/codd-greenfield in your project. Claude Code loads it when a task matches its description.

How do I install Codd Greenfield in Codex?

Run `npx skills add yohey-w/codd-dev --skill codd-greenfield -a codex`. Or copy the skill folder (skills/codd-greenfield in yohey-w/codd-dev) into .agents/skills/codd-greenfield in your project. Codex loads it when a task matches its description.

Can I use Codd Greenfield in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add yohey-w/codd-dev --skill codd-greenfield -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/codd-greenfield, .gemini/skills/codd-greenfield, .github/skills/codd-greenfield and .opencode/skills/codd-greenfield in your project.

What does Codd Greenfield need to run?

Going by SKILL.md and its folder, Codd Greenfield needs the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Codd Greenfield access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Codd Greenfield safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Codd Greenfield use?

Codd Greenfield is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Codd Greenfield use?

About 2.2k tokens (SKILL.md is roughly 9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Codd Greenfield?

Skills that share tags, products or a category with Codd Greenfield: Plan Interview (pskoett/pskoett-ai-skills, 315 stars), Panel Review (stacklok/mecatl, 254 stars), Plan Interview (pskoett/pskoett-ai-skills, 315 stars) and Orchestrix Guide (LeoYeAI/openclaw-master-skills, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Codd Greenfield?

yohey-w (a GitHub user) maintains it in yohey-w/codd-dev, which has 115 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on September 14, 2026.

Source: yohey-w/codd-dev on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.