feat: /work skill with Codex delegation mode#580
Open
mvanhorn wants to merge 1 commit intogarrytan:mainfrom
Open
feat: /work skill with Codex delegation mode#580mvanhorn wants to merge 1 commit intogarrytan:mainfrom
mvanhorn wants to merge 1 commit intogarrytan:mainfrom
Conversation
Adds /work, a plan-to-implementation orchestrator that bridges the gap between plan approval and code review. Three execution modes: standard (Claude implements), codex (Codex writes code via codex exec -s workspace-write, Claude orchestrates), and hybrid (try Codex, fall back to Claude after 3 consecutive failures). Reads plan artifacts from /plan-eng-review, /plan-ceo-review, and /plan-design-review. Decomposes plans into tasks with dependency graphs. Persists build logs to reviews.jsonl for /ship dashboard integration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/work, a new skill that bridges the gap between plan approval and code reviewcodex exec -s workspace-write, Claude orchestrates), hybrid (try Codex, fall back to Claude)Video Demo
Why this matters
gstack's sprint cycle is Think > Plan > Build > Review > Test > Ship > Reflect. The Build step is missing. Users drop out of gstack after plan approval and implement manually.
Codex delegation is the differentiator. gstack already uses
codex exec -s read-onlyin 6 skills for reviews. This extends that toworkspace-writefor implementation. The workflow: Claude reads the plan, writes a focused prompt per task, pipes it to Codex, reviews the diff, runs tests, commits. On failure, falls back to Claude.Token economics: Codex uses 3-4x fewer tokens per task. For users hitting Claude's billing ceiling, this means 3-4x more features per cycle.
How it connects
Changes
work/SKILL.md.tmpl(303 lines) - new skill template with three execution modeswork/SKILL.md(632 lines) - generated output from templateNo changes to gen-skill-docs.ts needed. The template auto-discovery in
scripts/discover-skills.tspicks up new*/SKILL.md.tmplfiles automatically.Testing
bun run gen:skill-docs --dry-runshows FRESH for work/SKILL.mdbun testpasses (1 pre-existing failure in test-2, unrelated to this PR, fails on clean main too){{PREAMBLE}},{{BASE_BRANCH_DETECT}}, self-contained bash blocksThis contribution was developed with AI assistance (Claude Code).