| name | intent-to-workflow |
| disable-model-invocation | true |
| description | Human-invoked meta-skill for turning a broad intention into staged local artifacts: intake, clarification, terminology, PRD, issues, workflow, tracker, prompts, and final execution handoff. Use only when the user explicitly invokes $intent-to-workflow or asks to scaffold this PRD-to-issues-to-workflow process with human gates.
|
Intent To Workflow
Plan a future execution workflow. Do not execute that workflow.
The deterministic gate is itw:
itw init <id>
itw status <id>
itw get <id>
itw advance <id>
itw setup status
First run itw setup status; if itw is missing, use the installed skill path:
<skill-dir>/scripts/itw setup status on Unix or
& '<skill-dir>\scripts\itw.ps1' setup status on Windows. If the setup gate
fails, stop and ask the human to run <skill-dir>/scripts/setup on Unix or
& '<skill-dir>\scripts\setup.ps1' on Windows. The setup script installs the
global itw command and the Codex itw-* agent types together. It writes live
runtime config under ~/.codex/; do not run it unless the human asks for that
side effect.
Use itw for workflow state and phase boundaries after setup passes. Never
hand-roll workflow state. Stop on launcher failure.
Operating Rules
- Human-invoked only. Do not activate implicitly.
$intent-to-workflow requires an explicit initial intention for first use in
a repo. The hook scaffolds .itw/<id>/; then edit .itw/<id>/intake with the
raw initial intention before running itw get <id>.
- Empty invocation resumes an existing repo workflow with
itw get <id>.
intake is raw extensionless text captured from the initial intention. Edit
it once from the user's actual prompt/context; after that, do not rewrite it.
Put interpretation and corrections in clarification.md.
terminology.md is the local language model for actors, roles, canonical
terms, relationships, and ambiguities. Keep it current when clarification
changes understanding; do not update it mechanically after every answer.
itw status <id> is compact human status.
itw get <id> is the agent-facing phase prompt and recovery surface.
- Run
itw get <id> at phase boundaries: initial phase entry, same-session
reinvocation, context compaction/resume, after any interruption, before
asking the human to run itw advance <id>, or whenever the root, stage,
expected artifacts, language state, or current instructions are uncertain.
- During one continuous interview in the same active phase and root, do not
rerun
itw get before every micro-question. If you just read or wrote the
relevant phase artifacts and state is clear, keep the conversation moving.
- English is the default state language. If
intake is clearly not English,
run itw set-language <id> <language-code> before continuing, then follow
the refreshed itw get <id> prompt.
en is the native artifact language. fr is structurally localized for
clarification.md, terminology.md, and prd.md: human-facing prose and
Markdown headings/body in those artifacts use French.
- Other supported language codes are instruction-only until localized templates
exist: write human-facing prose in that language inside artifact sections, but
keep English Markdown headings, file names, commands, code identifiers,
required machine field labels, and canonical product/technical terms.
issues.md, workflow.md, tracker.md, and prompts/*.md keep their
established English structure and machine-facing labels.
- In
terminology.md, canonical product/technical terms may be English, but
definitions, relationships, ambiguities, and aliases to avoid follow the
workflow language.
- Work only inside the current phase.
- End each phase by saying the phase is complete and asking the human to run
itw advance <id>.
- Never run
itw advance yourself unless the user explicitly overrides the
human-gate contract.
- Keep planning artifacts under
.itw/<id>/.
- Never edit
.itw/<id>/.itw-state.json; it is internal CLI state.
tracker.md tracks the future execution workflow, not this planning process.
- Do not write artifacts outside the workflow root from this skill.
Phase Map
clarification
prd
prd_review
issues
issues_review
workflow
workflow_review
workflow_ready
Owned Prompt Workflow
Do not invoke companion skills for the phase workflow. itw get and
itw advance inject the current phase prompt plus only the current phase
reference from packaged resources.
Packaged references live under src/intent_to_workflow/references/:
grill.md
prd.md
prd_review.md
issues.md
issues_review.md
tdd.md
workflow_types.md
For the optional Codex UserPromptSubmit hook and installation notes, read
references/hook.md.
Codex subagent config layers for the generated workflow live in
src/intent_to_workflow/agents/codex/itw-*.toml. The role declarations are
documented in src/intent_to_workflow/agents/codex/config.example.toml; they
map agent_type names to those config layers with
agents.<name>.config_file. Treat this directory as the public source of truth;
any files under ~/.codex/agents/ are live install copies.