A small collection of Codex skills for planning, architecture, and GitHub PR workflows.
Planning / architecture
architecture-docs-creator: Produces anARCHITECTURE.mdbefore implementation, capturing current structure and design intent.update-architecture-docs: RefreshesARCHITECTURE.mdafter implementation so docs match the code.execplan-create: Turns a PRD/RFC/brief into a concrete step-by-step ExecPlan that is ready to execute.execplan-improve: Reads an existing ExecPlan, deeply analyzes every referenced file and code path, then rewrites the plan with concrete, code-grounded improvements.implement-execplan: Executes a pending ExecPlan from the.agentfolder, step by step.find-bug-generic: Finds one highest-risk concrete defect and writes a focused ExecPlan under.agent/potential-bugs/.refactor-something: Scans a repo and proposes a consolidation refactor that reduces surface area, then produces an ExecPlan for that change.find-entangled-flows: Scans a codebase to find the single most meaningful entanglement where domain logic and infrastructure are coupled, then writes an ExecPlan to extract it.bead-creator: Scans a repo and creates 3–5 Beads issues (viabr) to seed a backlog, optionally focused on reliability/features/perf/security/docs/etc.
GitHub PR workflows
find-good-prs: Find high-value, low-risk PRs ready to merge (currently targeted atopenclaw/openclaw).find-good-issues: Find duplicate issues and hard + high-priority + high-severity issues worth triaging (openclaw/openclaw).find-contributor-prs: Find open PRs from top contributing authors, ordered by contributor rank (currently targeted atopenclaw/openclaw).
Each skill lives in its own folder and is documented in its SKILL.md.
- Run
architecture-docs-creatorto establish a baselineARCHITECTURE.md. - Use
execplan-createfor planned work,refactor-somethingfor a focused consolidation refactor, orfind-entangled-flowsto find the worst domain/infrastructure coupling. - Run
execplan-improveto audit and strengthen the plan before executing. - Run
implement-execplanto carry out the plan. - Finish with
update-architecture-docsto sync docs with the final code.
This repo also ships a simple orchestrator script that chains skills in a fresh worktree:
find-bug-genericexecplan-improveexecplan-improve(second pass)implement-execplan
cd ~/.codex/useful-codex-skills
./publish.sh find-bug-generic
./publish.sh --link-allRun this inside any target repository:
~/.codex/useful-codex-skills/scripts/install-find-bug-wrapper.shThis creates a local ./find-bug wrapper and adds find-bug to .git/info/exclude so it stays untracked.
From repo root:
./find-bug "look deeply into how we manage dependencies"The script creates a new worktree from origin/main, runs the four stages above, keeps the worktree for inspection, and prints run_id, worktree_dir, done_plan_path, and final_commit.
MIT