code-task-generator

code-task-generator is a skill for Claude Code, Codex from mikeyobrien/ralph-orchestrator. It costs 40 tokens per session (1,381 once invoked), scanned A, original, MIT.

A generator for structured code-task files from a plain description or a PDD implementation plan. PDD is a written plan that breaks an implementation into steps.

In plain words
What is it for?
Use it to create one task at a time from a plan or generate tasks from a description, with files saved in the project's task directory.
Why use it?
It turns rough plans into consistent tasks with clear acceptance checks and built-in test requirements.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/mikeyobrien/ralph-orchestrator/code-task-generator
Any agent
npx skills add mikeyobrien/ralph-orchestrator --skill code-task-generator
Clone the repo
git clone --depth 1 https://github.com/mikeyobrien/ralph-orchestrator

Made for: Claude Code, Codex.

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 code-task-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/mikeyobrien/ralph-orchestrator/code-task-generator.svg)](https://agentmods.dev/skills/mikeyobrien/ralph-orchestrator/code-task-generator)
Your own site
<a href="https://agentmods.dev/skills/mikeyobrien/ralph-orchestrator/code-task-generator"><img src="https://agentmods.dev/badge/skills/mikeyobrien/ralph-orchestrator/code-task-generator.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,381 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00040 $0.01381
Opus 5 $0.00020 $0.00691
Sonnet 5 $0.00008 $0.00276
Haiku 4.5 $0.00004 $0.00138

Measured 4d ago against content hash 302fa6a5a346, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

code-task-generator 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 4d 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/skills/code-task-generator/SKILL.md · 161 lines

How it starts

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

Code Task Generator

Overview

Generate structured code task files from rough descriptions or PDD implementation plans. Auto-detects input type and creates properly formatted .code-task.md files. For PDD plans, processes one step at a time to allow learning between steps.

Important Notes

These rules apply across ALL steps:

  • User approval required: Present the task breakdown plan and get explicit approval before generating any files.
  • Tests are integrated: Include unit test requirements in each task's acceptance criteria. Never create separate "add tests" tasks.
  • PDD mode references: Always include the design document path as required reading. Only include research docs if directly relevant to the specific task.

Parameters

  • input (required): Task description, file path, or PDD plan path
  • step_number (optional, PDD only): Specific step to process. Auto-determines next uncompleted step if omitted.
  • output_dir (optional, default: .ralph/tasks/): Output directory for code task files
  • task_name (optional, description mode only): Override auto-generated task name

Constraints:

  • You MUST ask for all required parameters upfront in a single prompt
  • You MUST support input as: direct text, file path, directory path (looks for plan.md), or URL

Steps

1. Detect Input Mode

Check if input is a file with PDD plan structure (checklist + numbered steps). Set mode to "pdd" or "description" and inform the user.

2. Analyze Input

  • PDD mode: Parse the plan, extract steps and checklist status, determine target step (from step_number or first uncompleted)
  • Description mode: Identify core functionality, technical requirements, complexity level (Low/Medium/High), and technology domain

3. Structure Requirements

  • PDD mode: Extract the target step's title, description, demo requirements, constraints, and integration notes with previous steps. Identify relevant research documents.
  • Description mode: Identify functional requirements, infer technical constraints and dependencies.

Read the full file on GitHub · 161 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. 4d ago First seen · 161 lines · 40 tokens per session scan A 302fa6a5a346

Subscribe to this mod's changes

code-task-generator is a skill published in the GitHub repository mikeyobrien/ralph-orchestrator (3,121 stars, last pushed yesterday), licensed MIT. It adds 40 tokens to every session and 1,381 once invoked, about $0.0002 per session on Opus 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.