Agent Skill
2/7/2026factory
Supervisor that loads the global factory recipe and runs each part via the $sub skill.
M
maryrosecook
0GitHub Stars
1Views
npx skills add maryrosecook/.codex
SKILL.md
| Name | factory |
| Description | Supervisor that loads the global factory recipe and runs each part via the $sub skill. |
name: factory description: Supervisor that loads the global factory recipe and runs each part with the corresponding skill
Factory
Purpose
Run a global "software factory" recipe that orchestrates other skills by calling other skills and uses a shared context file.
Inputs
- The user's request (bug report, or feature request).
- Global recipe:
~/.codex/factory/recipes/default.yaml. - Shared context file:
factory/context.md(repo-relative).
Workflow
- Ensure repo workspace
- If
factory/does not exist in the repo root, create it. - Ensure
.gitignorecontainsfactory/. If missing, append it.
- Initialize shared context
- Create or clear
factory/context.mdat the start of a run. - Write a short header with the current date/time and a one-line summary of the request.
- Read the global recipe
- Load
~/.codex/factory/recipes/default.yaml. - Parse the ordered
partslist.
- Summarize the request
- Extract a short intent summary (bug vs feature vs general).
- Capture any user-provided focus (e.g. "pay particular attention to CSS").
- Append this summary to
factory/context.md.
- Run every relevant part in order
- For every recipe part that is relevant to the task, invoke the corresponding skill.
- The prompt must include:
- The target skill invocation (e.g.
$review). - The part's base prompt from the recipe.
- Any request-specific emphasis from the user.
- A reminder to append a short summary and any actionable notes to
factory/context.md.
- The target skill invocation (e.g.
Example skill invocation:
"$review check this branch against ~/.codex/docs/style-guide.md. pay particular attention to CSS. append a concise summary and actionable notes to factory/context.md"
- Capture and summarize results in
factory/context.md
- After each skill run, summarize results in 1-3 sentences.
- If a part reports blockers, stop and ask the user how to proceed.
Output format
- Short "Recipe" line listing parts executed.
- One short summary per part result.
Skills Info
Original Name:factoryAuthor:maryrosecook
Download