Code Task Generator
mikeyobrien/ralph-orchestrator
Generates structured .code-task.md files from descriptions or PDD implementation plans.
Generate a structured implementation plan from an evidence draft.
$ npx skills add alibaba/atrex-kernel-agent --skill gen-plan -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install alibaba/atrex-kernel-agent gen-plan --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/alibaba/atrex-kernel-agent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/gen-plan .claude/skills/gen-plan && rm -rf skills-srcUse ~/.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/
Install the "gen-plan" agent skill from https://github.com/alibaba/atrex-kernel-agent/tree/main/skills/gen-plan into .claude/skills/gen-plan/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gen-plan", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/alibaba/atrex-kernel-agent/tree/main/skills/gen-planType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add alibaba/atrex-kernel-agent --skill gen-plan -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install alibaba/atrex-kernel-agent gen-plan --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/alibaba/atrex-kernel-agent.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/gen-plan .agents/skills/gen-plan && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "gen-plan" agent skill from https://github.com/alibaba/atrex-kernel-agent/tree/main/skills/gen-plan into .agents/skills/gen-plan/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gen-plan", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add alibaba/atrex-kernel-agent --skill gen-plan -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install alibaba/atrex-kernel-agent gen-plan --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/alibaba/atrex-kernel-agent.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/gen-plan .cursor/skills/gen-plan && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "gen-plan" agent skill from https://github.com/alibaba/atrex-kernel-agent/tree/main/skills/gen-plan into .cursor/skills/gen-plan/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gen-plan", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/alibaba/atrex-kernel-agent.git --path skills/gen-plan--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add alibaba/atrex-kernel-agent --skill gen-plan -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install alibaba/atrex-kernel-agent gen-plan --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/alibaba/atrex-kernel-agent.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/gen-plan .gemini/skills/gen-plan && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "gen-plan" agent skill from https://github.com/alibaba/atrex-kernel-agent/tree/main/skills/gen-plan into .gemini/skills/gen-plan/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gen-plan", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install alibaba/atrex-kernel-agent gen-planInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add alibaba/atrex-kernel-agent --skill gen-plan -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/alibaba/atrex-kernel-agent.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/gen-plan .github/skills/gen-plan && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "gen-plan" agent skill from https://github.com/alibaba/atrex-kernel-agent/tree/main/skills/gen-plan into .github/skills/gen-plan/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gen-plan", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add alibaba/atrex-kernel-agent --skill gen-plan -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install alibaba/atrex-kernel-agent gen-plan --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/alibaba/atrex-kernel-agent.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/gen-plan .opencode/skills/gen-plan && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "gen-plan" agent skill from https://github.com/alibaba/atrex-kernel-agent/tree/main/skills/gen-plan into .opencode/skills/gen-plan/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gen-plan", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
gen-planGenerate a structured implementation plan from an evidence draft.
Gen Plan is an agent skill from alibaba/atrex-kernel-agent. Generate a structured implementation plan from an evidence draft. Validate paths, obtain configured independent Codex and Qoder reviews, synthesize available advice against repository evidence, preserve the draft, and produce testable acceptance criteria and validation steps.
Its SKILL.md is about 3.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 10 other files, including scripts (for example `scripts/ask-codex.sh`, `scripts/ask-qoder.sh` and `scripts/ask-reviewers.sh`).
It sits in Agent Workflows, covering Planning and User stories. The repository describes itself as: An end-to-end agent project for GPU kernel implementation, analysis, profiling, and iterative optimization. It helps an agent turn PyTorch logic or an existing kernel into a… The licence is MIT.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 3d27c1e. It shows what the files ask for, not the result of running them.
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.
Ships 5 files in scripts/ (Shell and Python), which the agent can run.
Shell commands in SKILL.md call:
bashFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Gen Plan loads about 3.4k tokens when it runs. Until then it costs about 71 tokens; SKILL.md has 1,757 words of instructions outside code blocks.
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.
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); the scripts in this folder are not scanned.
The full file from alibaba/atrex-kernel-agent at commit 3d27c1e, republished under its MIT licence (© alibaba). 1,757 words, ~3,422 tokens.
.claude/skills/gen-plan/SKILL.md (or your agent's skills folder). This skill also uses 8 other files; get the full folder from GitHub.This repository-native skill is adapted from the gen-plan flow in PolyArch Humanize. It turns an
episode draft into a complete implementation plan without modifying source code or starting the
implementation.
--input <path>: required draft document.--output <path>: required new plan document.--direct: generate a one-shot plan without asking questions.--discussion: ask for decisions that materially change the plan. This is the default when no
mode is supplied.--direct and --discussion are mutually exclusive.
Python supplies ATREX_EPISODE_MODE (default: full). Fast/full plans must contain exactly
one coherent optimization category. Goal plans may cover multiple evidence-backed directions,
including interacting algorithm, layout, and kernel changes; validate the combined result.
The campaign selects the mode and reviewer configuration. Both reviewers default off
for V1, fast episodes, and full episodes. Enable the desired reviewer with the
stage-specific --v1-ask-*, --fast-episode-ask-*, or --full-episode-ask-* flag.
When invoking the shell helpers outside a campaign, explicitly set
ATREX_PLAN_REVIEW_CODEX_ENABLED=1 or ATREX_PLAN_REVIEW_QODER_ENABLED=1 to enable
that reviewer; otherwise it stays disabled.
ask_codex and ask_qoder consultations are read-only. They are non-persistent by
default; an explicitly configured long Codex or Qoder reviewer session remains read-only and
campaign-private. Give every enabled reviewer the same candidate proposal and bounded evidence
packet, isolate both from the project, and disable Qoder tools.Execute these phases sequentially.
From the campaign workspace, run:
bash skills/gen-plan/scripts/validate-gen-plan-io.sh \
--input <input> --output <output> <mode>Stop on a nonzero exit. The script reports the resolved input, output, template, and mode. It never creates the output file.
Read the draft and quickly inspect the workspace README, goal, current kernel, prior memory, and any paths named by the draft. Reject only a draft that is clearly unrelated to this repository. Be lenient with informal drafts and mixed languages.
Build an evidence-to-action chain:
Before consulting either reviewer, populate
skills/gen-plan/templates/candidate-proposal-template.md in automatically removed process scratch.
This frozen candidate proposal is not the final plan. It must state the selected evidence-to-action
chain, the episode mode and permitted optimization categories, target paths and symbols, the expected mechanism, scope
constraints, rejected directions, validation and falsification conditions, and unresolved
assumptions. Do not persist the candidate proposal in the campaign workspace.
Check the draft for unclear scope, contradictions, missing dependencies, infeasible changes, and quantitative targets. Treat numeric performance targets as trends unless the draft explicitly marks them as hard acceptance thresholds.
In direct mode, make conservative assumptions and record unresolved material choices under
Pending Decisions; do not pause for questions. In discussion mode, ask only questions whose
answers materially change scope, correctness, or acceptance.
The campaign independently configures Codex and Qoder for fast and full episodes. It probes a
reviewer only when that reviewer is first enabled for the current episode mode, then caches the
availability decision in private runtime state. A reviewer disabled by configuration or by its
availability probe must not be retried; retain the helper's disabled status and recorded reason.
Campaign restarts reuse cached availability decisions.
After completing the initial analysis, freeze one evidence packet and use the bundled review helper
before finalizing the plan direction. Give every enabled reviewer the candidate proposal, original
draft, and the same small set of directly relevant text files, normally README.md, kernel.py,
the latest canonical memory entry, and source or profile summaries cited by the draft. The candidate
is the primary review target; the draft and context are evidence for testing its claims. Never
include credentials, raw secrets, unrelated files, or large binary profile artifacts.
bash skills/gen-plan/scripts/ask-reviewers.sh \
--input <input> \
--proposal <temporary-candidate-proposal> \
--context README.md \
--context kernel.py--proposal is required and must name the non-empty frozen candidate proposal in process scratch.
Add other --context arguments only when they materially affect the plan. The helper starts the
enabled external reviewers concurrently so neither can see or anchor on the other's response.
When proposal, draft, and context would exceed Qoder's five-attachment limit, the helper folds all
context files into one labeled temporary bundle and gives that identical bundle to every enabled
reviewer. Do not manually remove evidence or issue a second full review call. For an eligible
transient failure, the helper retries only the failed reviewer once; it does not rerun a successful
reviewer and does not retry quota, authentication, timeout, disabled, or missing-CLI failures.
Enabled external reviewer processes always use maximum reasoning effort; episode/session settings,
reviewer effort environment variables, and legacy --reasoning-effort arguments cannot lower it.
By default each external review is ephemeral. --long-reviewer-session codex or
--long-reviewer-session qoder resumes one campaign-private, read-only reviewer thread across
episodes while continuing to send the complete current candidate proposal, draft, and bounded
context on every call. Long Claude reviewer sessions are not implemented and fail explicitly.
Session state lives under .atrex_long_horizon/ and must never enter a candidate commit. Because
qodercli only resolves resumable sessions within the current working directory's project, a
persistent Qoder reviewer runs from a dedicated directory alongside its state file, which also keeps
it isolated from the candidate project.
Each review returns its backend-specific summary marker followed by the same five assessment
sections:
CODEX_SUMMARY or QODER_SUMMARYRISKSMISSING_REQUIREMENTSDIRECTION_RECOMMENDATIONSVALIDATION_RECOMMENDATIONSQUESTIONS_OR_ASSUMPTIONSIf the current episode backend is Codex or Qoder and its matching
ATREX_PLAN_REVIEW_*_ENABLED value is not 0, first review the frozen candidate proposal and retain
that backend's review in the current session using the same sections. Only then run the helper; it
skips the matching nested process and obtains any other enabled backend's independent review. Mark
the retained review status current_codex_session or current_qoder_session. Do not revise it after
seeing the external review; resolve new information only during synthesis. If the matching reviewer
is disabled, do not create an in-session substitute review; let the helper record disabled.
After the helper's selective retry, if an enabled reviewer is unavailable, times out, or fails, do
not fabricate its advice or rerun the successful reviewer. In direct mode, continue with the
available review and conservative analysis, recording each status and failure reason. If every
enabled reviewer fails, continue using only the primary analysis and label the result as unreviewed.
In discussion mode, ask whether to retry only the failed reviewer or continue with partial or no
independent review. A reviewer explicitly marked disabled is not a failure and must not trigger a
retry question. If every reviewer is disabled, continue with primary analysis and label the plan as
intentionally unreviewed.
Compare all available reviews only after the helper has completed. When both are enabled, treat agreement as a useful confidence signal, not proof, and resolve disagreement from the original draft and repository evidence rather than by majority vote. Evaluate every recommendation as follows:
Record how the frozen candidate changed after review. Every material correction must identify the reviewer and supporting evidence; if the candidate remains unchanged, state why the reviews did not justify a change.
Available reviewers are advisory, not authoritative. The final plan must remain a superset of the human draft and must still contain exactly one optimization category in fast/full mode.
Use skills/gen-plan/templates/gen-plan-template.md as the output schema. Replace every placeholder
with concrete content. The plan must include:
AC-N form, each with positive and negative tests;Use milestones, phases, and steps rather than time estimates. Refer to code by path and symbol, not
by line range. Plan terminology such as AC-N, Milestone, and Phase belongs in the plan only and
must not be prescribed as implementation naming.
Before writing, verify that the plan:
Write the complete plan to the validated output path, then read it back and fix any remaining placeholder, inconsistency, or missing draft content. Report the output path, optimization category, both consultation statuses, adopted-suggestion count, acceptance-criteria count, and pending-decision count.
| Exit code | Meaning |
|---|---|
| 0 | Validation passed |
| 1 | Input file not found |
| 2 | Input file is empty |
| 3 | Output directory does not exist |
| 4 | Output path already exists |
| 5 | Output directory is not writable |
| 6 | Invalid arguments |
| 7 | Plan template is missing |
| Exit code | Meaning |
|---|---|
| 0 | Consultation completed, or nested invocation intentionally skipped for the matching backend |
| 1 | Draft, candidate proposal, or context input is invalid |
| 2 | Helper arguments or environment configuration are invalid |
| 3 | Reviewer response is missing one or more required review sections |
| 124 | Reviewer consultation timed out |
| 127 | Reviewer CLI could not be found or started |
ask-reviewers.sh reports the exit status of each child consultation in its structured output and
returns successfully once both attempts finish, allowing direct mode to retain a surviving review.
© alibaba, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 8 other files (scripts) in skills/gen-plan of alibaba/atrex-kernel-agent.
Open the folder on GitHubat commit 3d27c1e
Gen Plan 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Gen Plan this skillalibaba/atrex-kernel-agent | 161 | — | ~3.4k | Automated safety check: Pass | MIT | |
| Code Task Generatormikeyobrien/ralph-orchestrator | 3.2k | — | ~1.6k | Automated safety check: Pass | MIT | |
| Autospec Tasksariel-frischer/autospec | 144 | — | ~2.5k | Automated safety check: Pass | MIT | |
| Notion Spec To Implementationrongxinzy/RongxinAI | 154 | 2 repos | ~2.2k | Automated safety check: Pass | AGPL-3.0 | |
| Factory Queuetikalk/adlc-team-skills | 141 | — | ~1.3k | Automated safety check: Pass | MIT | |
| App Buildermicrosoft/power-platform-skills | 972 | — | ~13k | Automated safety check: Notes | MIT |
mikeyobrien/ralph-orchestrator
Generates structured .code-task.md files from descriptions or PDD implementation plans.
ariel-frischer/autospec
Generate YAML task breakdown from implementation plan. An agent skill from ariel-frischer/autospec.
rongxinzy/RongxinAI
Turns product or tech specs into concrete Notion tasks that Claude code can implement.
tikalk/adlc-team-skills
A skill your agent uses when managing mission brief intake — triage, AI-assisted advisory scoring, gating label stamping, and milestones or epics generation (plan mode).
microsoft/power-platform-skills
Builds and edits a model-driven Power Apps app from a natural-language intent — tables, columns, relationships, adaptive forms with sub-grids, views, Choice-column charts, business rules, business…
HybridAIOne/hybridclaw
Break features into implementation plans, acceptance criteria, and sequenced tasks.
alibaba/atrex-kernel-agent
Mine a per-kernel optimization trace — a git repository capturing successive versions of one kernel being optimized — into structured, gate-validated optimization-experience records for the GPU…
alibaba/atrex-kernel-agent
Mine AI coding-agent session transcripts into structured, gate-validated GPU-kernel optimization records for the wiki.
alibaba/atrex-kernel-agent
Choose and run ACU-only, adaptive PPU in-kernel timeline, or optional bounded joint analysis for a PPU kernel.
alibaba/atrex-kernel-agent
Let AKA autonomously add, run, inspect, and revise intra-kernel timeline probes for standalone CUDA/inline PTX or CuTe DSL when ordinary benchmark, NSYS, or NCU evidence cannot answer a specific…
alibaba/atrex-kernel-agent
Learn the target framework from enabled knowledge tools and implement a baseline GPU kernel.
alibaba/atrex-kernel-agent
Run the evidence loop of one long-horizon GPU kernel optimization episode.
Generate a structured implementation plan from an evidence draft. Gen Plan is an agent skill from alibaba/atrex-kernel-agent. Generate a structured implementation plan from an evidence draft.
Gen Plan fits situations like: tasks that involve Planning; tasks that involve User stories.
Run `npx skills add alibaba/atrex-kernel-agent --skill gen-plan -a claude-code`. Or copy the skill folder (skills/gen-plan in alibaba/atrex-kernel-agent) into .claude/skills/gen-plan in your project. Claude Code loads it when a task matches its description.
Run `npx skills add alibaba/atrex-kernel-agent --skill gen-plan -a codex`. Or copy the skill folder (skills/gen-plan in alibaba/atrex-kernel-agent) into .agents/skills/gen-plan in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add alibaba/atrex-kernel-agent --skill gen-plan -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gen-plan, .gemini/skills/gen-plan, .github/skills/gen-plan and .opencode/skills/gen-plan in your project.
Going by SKILL.md and its folder, Gen Plan needs a shell and Python for the scripts in its folder and the command-line tools its instructions call (bash). Our summary lists: Python 3; A Bash shell.
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.
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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Gen Plan is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.4k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Gen Plan: Code Task Generator (mikeyobrien/ralph-orchestrator, 3.2k stars), Autospec Tasks (ariel-frischer/autospec, 144 stars), Notion Spec To Implementation (rongxinzy/RongxinAI, 154 stars) and Factory Queue (tikalk/adlc-team-skills, 141 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
alibaba (a GitHub organization) maintains it in alibaba/atrex-kernel-agent, which has 161 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on September 29, 2026.
Source: alibaba/atrex-kernel-agent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.