oh-my-codex-cli 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) hide show
  1. package/.agent/skills/agent-kb/HOW_TO_USE.md +428 -0
  2. package/.agent/skills/agent-kb/README.md +46 -0
  3. package/.agent/skills/agent-kb/SKILL.md +128 -0
  4. package/.agent/skills/agent-kb/references/intelligent-analysis-explained.md +333 -0
  5. package/.agent/skills/agent-kb/references/query-optimization.md +225 -0
  6. package/.agent/skills/aireview/SKILL.md +704 -0
  7. package/.agent/skills/analyze/SKILL.md +81 -0
  8. package/.agent/skills/architect-planner/HOW_TO_USE.md +238 -0
  9. package/.agent/skills/architect-planner/README.md +41 -0
  10. package/.agent/skills/architect-planner/SKILL.md +539 -0
  11. package/.agent/skills/auto-mbti/SKILL.md +291 -0
  12. package/.agent/skills/autopilot/SKILL.md +222 -0
  13. package/.agent/skills/backend-patterns/SKILL.md +602 -0
  14. package/.agent/skills/bdd-generator/README.md +78 -0
  15. package/.agent/skills/bdd-generator/SKILL.md +436 -0
  16. package/.agent/skills/brainstorming/HOW_TO_USE.md +289 -0
  17. package/.agent/skills/brainstorming/README.md +41 -0
  18. package/.agent/skills/brainstorming/SKILL.md +165 -0
  19. package/.agent/skills/build-fix/SKILL.md +190 -0
  20. package/.agent/skills/cancel/SKILL.md +658 -0
  21. package/.agent/skills/checkpoint/SKILL.md +94 -0
  22. package/.agent/skills/code-review/SKILL.md +273 -0
  23. package/.agent/skills/coding-standards/SKILL.md +535 -0
  24. package/.agent/skills/conductor/SKILL.md +128 -0
  25. package/.agent/skills/conductor/commands/conductor/implement.toml +358 -0
  26. package/.agent/skills/conductor/commands/conductor/newTrack.toml +142 -0
  27. package/.agent/skills/conductor/commands/conductor/revert.toml +123 -0
  28. package/.agent/skills/conductor/commands/conductor/setup.toml +429 -0
  29. package/.agent/skills/conductor/commands/conductor/status.toml +57 -0
  30. package/.agent/skills/conductor/scripts/install.sh +89 -0
  31. package/.agent/skills/conductor/templates/code_styleguides/csharp.md +115 -0
  32. package/.agent/skills/conductor/templates/code_styleguides/dart.md +238 -0
  33. package/.agent/skills/conductor/templates/code_styleguides/general.md +23 -0
  34. package/.agent/skills/conductor/templates/code_styleguides/go.md +48 -0
  35. package/.agent/skills/conductor/templates/code_styleguides/html-css.md +49 -0
  36. package/.agent/skills/conductor/templates/code_styleguides/javascript.md +51 -0
  37. package/.agent/skills/conductor/templates/code_styleguides/python.md +37 -0
  38. package/.agent/skills/conductor/templates/code_styleguides/typescript.md +43 -0
  39. package/.agent/skills/conductor/templates/rules/README.md +23 -0
  40. package/.agent/skills/conductor/templates/rules/agents.md +49 -0
  41. package/.agent/skills/conductor/templates/rules/coding-style.md +70 -0
  42. package/.agent/skills/conductor/templates/rules/dev.md +20 -0
  43. package/.agent/skills/conductor/templates/rules/git-workflow.md +45 -0
  44. package/.agent/skills/conductor/templates/rules/hooks.md +6 -0
  45. package/.agent/skills/conductor/templates/rules/patterns.md +55 -0
  46. package/.agent/skills/conductor/templates/rules/performance.md +47 -0
  47. package/.agent/skills/conductor/templates/rules/research.md +26 -0
  48. package/.agent/skills/conductor/templates/rules/review.md +22 -0
  49. package/.agent/skills/conductor/templates/rules/security.md +36 -0
  50. package/.agent/skills/conductor/templates/rules/testing.md +30 -0
  51. package/.agent/skills/conductor/templates/workflow.md +333 -0
  52. package/.agent/skills/consensus/HOW_TO_USE.md +191 -0
  53. package/.agent/skills/consensus/README.md +41 -0
  54. package/.agent/skills/consensus/SKILL.md +317 -0
  55. package/.agent/skills/content-research-writer/SKILL.md +537 -0
  56. package/.agent/skills/debug-analysis/SKILL.md +331 -0
  57. package/.agent/skills/deepinit/SKILL.md +347 -0
  58. package/.agent/skills/deepsearch/SKILL.md +56 -0
  59. package/.agent/skills/doctor/SKILL.md +158 -0
  60. package/.agent/skills/drawio/EXAMPLES.md +382 -0
  61. package/.agent/skills/drawio/QUICK_START.md +237 -0
  62. package/.agent/skills/drawio/README.md +315 -0
  63. package/.agent/skills/drawio/SETUP_GUIDE.md +254 -0
  64. package/.agent/skills/drawio/SKILL.md +1176 -0
  65. package/.agent/skills/e2e/SKILL.md +396 -0
  66. package/.agent/skills/ecomode/SKILL.md +160 -0
  67. package/.agent/skills/electron-driver/SKILL.md +144 -0
  68. package/.agent/skills/electron-driver/scripts/driver-template.js +71 -0
  69. package/.agent/skills/eval/SKILL.md +140 -0
  70. package/.agent/skills/eval-harness/SKILL.md +242 -0
  71. package/.agent/skills/evolve/SKILL.md +213 -0
  72. package/.agent/skills/frontend-design/SKILL.md +42 -0
  73. package/.agent/skills/frontend-patterns/SKILL.md +646 -0
  74. package/.agent/skills/frontend-ui-ux/SKILL.md +70 -0
  75. package/.agent/skills/git-master/SKILL.md +75 -0
  76. package/.agent/skills/help/SKILL.md +89 -0
  77. package/.agent/skills/iterative-retrieval/SKILL.md +217 -0
  78. package/.agent/skills/local-skills-setup/SKILL.md +483 -0
  79. package/.agent/skills/log-analyzer/SKILL.md +187 -0
  80. package/.agent/skills/mcp-setup/SKILL.md +226 -0
  81. package/.agent/skills/multi-model-research/HOW_TO_USE.md +614 -0
  82. package/.agent/skills/multi-model-research/README.md +233 -0
  83. package/.agent/skills/multi-model-research/SKILL.md +541 -0
  84. package/.agent/skills/multi-model-research/references/troubleshooting.md +415 -0
  85. package/.agent/skills/note/SKILL.md +80 -0
  86. package/.agent/skills/omc-setup/SKILL.md +219 -0
  87. package/.agent/skills/orchestrate/SKILL.md +620 -0
  88. package/.agent/skills/patent-workflow/IMPLEMENTATION_SUMMARY.md +500 -0
  89. package/.agent/skills/patent-workflow/README.md +455 -0
  90. package/.agent/skills/patent-workflow/SKILL.md +1036 -0
  91. package/.agent/skills/patent-workflow/tools/irr_checker.py +260 -0
  92. package/.agent/skills/patent-workflow/tools/sample_terminology.json +49 -0
  93. package/.agent/skills/patent-workflow/tools/term_checker.py +355 -0
  94. package/.agent/skills/pattern-recognition/SKILL.md +792 -0
  95. package/.agent/skills/pipeline/SKILL.md +448 -0
  96. package/.agent/skills/plan/SKILL.md +309 -0
  97. package/.agent/skills/planning-methodology/SKILL.md +370 -0
  98. package/.agent/skills/planning-with-files/SKILL.md +210 -0
  99. package/.agent/skills/planning-with-files/examples.md +202 -0
  100. package/.agent/skills/planning-with-files/reference.md +218 -0
  101. package/.agent/skills/planning-with-files/scripts/check-complete.ps1 +42 -0
  102. package/.agent/skills/planning-with-files/scripts/check-complete.sh +44 -0
  103. package/.agent/skills/planning-with-files/scripts/init-session.ps1 +120 -0
  104. package/.agent/skills/planning-with-files/scripts/init-session.sh +120 -0
  105. package/.agent/skills/planning-with-files/scripts/session-catchup.py +208 -0
  106. package/.agent/skills/planning-with-files/templates/findings.md +95 -0
  107. package/.agent/skills/planning-with-files/templates/progress.md +114 -0
  108. package/.agent/skills/planning-with-files/templates/task_plan.md +132 -0
  109. package/.agent/skills/project-analyze/CLAUDE.md +18 -0
  110. package/.agent/skills/project-analyze/HOW_TO_USE.md +145 -0
  111. package/.agent/skills/project-analyze/README.md +42 -0
  112. package/.agent/skills/project-analyze/SKILL.md +289 -0
  113. package/.agent/skills/project-analyze/SKILL.md.backup +287 -0
  114. package/.agent/skills/project-analyze/SKILL.md.backup_20260105_093646 +287 -0
  115. package/.agent/skills/project-analyze/assets/analysis-report-template.md +433 -0
  116. package/.agent/skills/project-analyze/references/analysis-patterns.md +422 -0
  117. package/.agent/skills/project-analyze/references/projectmind-explained.md +535 -0
  118. package/.agent/skills/project-session-manager/SKILL.md +428 -0
  119. package/.agent/skills/project-session-manager/lib/config.sh +86 -0
  120. package/.agent/skills/project-session-manager/lib/parse.sh +121 -0
  121. package/.agent/skills/project-session-manager/lib/session.sh +132 -0
  122. package/.agent/skills/project-session-manager/lib/tmux.sh +103 -0
  123. package/.agent/skills/project-session-manager/lib/worktree.sh +171 -0
  124. package/.agent/skills/project-session-manager/psm.sh +629 -0
  125. package/.agent/skills/project-session-manager/templates/feature.md +56 -0
  126. package/.agent/skills/project-session-manager/templates/issue-fix.md +57 -0
  127. package/.agent/skills/project-session-manager/templates/pr-review.md +65 -0
  128. package/.agent/skills/project-session-manager/templates/projects.json +19 -0
  129. package/.agent/skills/quality-check/HOW_TO_USE.md +171 -0
  130. package/.agent/skills/quality-check/README.md +50 -0
  131. package/.agent/skills/quality-check/SKILL.md +240 -0
  132. package/.agent/skills/quality-check/SKILL.md.backup +238 -0
  133. package/.agent/skills/quality-check/SKILL.md.backup_20260105_093646 +238 -0
  134. package/.agent/skills/quality-check/assets/quality-report-template.md +437 -0
  135. package/.agent/skills/quality-check/references/refactoring-patterns.md +550 -0
  136. package/.agent/skills/quality-check/references/scoring-criteria.md +454 -0
  137. package/.agent/skills/quality-validation/SKILL.md +519 -0
  138. package/.agent/skills/quality-validation/SKILL.md.backup +573 -0
  139. package/.agent/skills/quality-validation/SKILL.md.backup_20260105_093646 +573 -0
  140. package/.agent/skills/ralph/SKILL.md +236 -0
  141. package/.agent/skills/ralph-init/SKILL.md +78 -0
  142. package/.agent/skills/ralplan/SKILL.md +58 -0
  143. package/.agent/skills/refactor-clean/SKILL.md +49 -0
  144. package/.agent/skills/release/SKILL.md +84 -0
  145. package/.agent/skills/research/SKILL.md +526 -0
  146. package/.agent/skills/research-methodology/SKILL.md +268 -0
  147. package/.agent/skills/review/SKILL.md +53 -0
  148. package/.agent/skills/security-review/SKILL.md +509 -0
  149. package/.agent/skills/security-review/cloud-infrastructure-security.md +361 -0
  150. package/.agent/skills/setup-pm/SKILL.md +102 -0
  151. package/.agent/skills/skill/SKILL.md +424 -0
  152. package/.agent/skills/skill-create/SKILL.md +209 -0
  153. package/.agent/skills/skill-debugger/HOW_TO_USE.md +244 -0
  154. package/.agent/skills/skill-debugger/README.md +44 -0
  155. package/.agent/skills/skill-debugger/SKILL.md +326 -0
  156. package/.agent/skills/skill-debugger/diagnostic_checklist.md +115 -0
  157. package/.agent/skills/skill-development/SKILL.md +661 -0
  158. package/.agent/skills/skill-development/references/skill-creator-original.md +209 -0
  159. package/.agent/skills/skill-doc-generator/README.md +37 -0
  160. package/.agent/skills/skill-doc-generator/SKILL.md +331 -0
  161. package/.agent/skills/skill-quality-analyzer/HOW_TO_USE.md +243 -0
  162. package/.agent/skills/skill-quality-analyzer/README.md +61 -0
  163. package/.agent/skills/skill-quality-analyzer/SKILL.md +247 -0
  164. package/.agent/skills/skill-quality-analyzer/analyzer.py +209 -0
  165. package/.agent/skills/skill-quality-analyzer/expected_output.json +81 -0
  166. package/.agent/skills/skill-quality-analyzer/sample_input.json +9 -0
  167. package/.agent/skills/skill-tester/README.md +46 -0
  168. package/.agent/skills/skill-tester/SKILL.md +345 -0
  169. package/.agent/skills/start-dev/SKILL.md +701 -0
  170. package/.agent/skills/swarm/SKILL.md +691 -0
  171. package/.agent/skills/task-kb-lookup/SKILL.md +211 -0
  172. package/.agent/skills/task-kb-record/SKILL.md +417 -0
  173. package/.agent/skills/tdd/SKILL.md +446 -0
  174. package/.agent/skills/tdd-generator/DEMO.md +516 -0
  175. package/.agent/skills/tdd-generator/README.md +89 -0
  176. package/.agent/skills/tdd-generator/SKILL.md +278 -0
  177. package/.agent/skills/tdd-workflow/SKILL.md +424 -0
  178. package/.agent/skills/test-coverage/SKILL.md +48 -0
  179. package/.agent/skills/thinkdeep/HOW_TO_USE.md +183 -0
  180. package/.agent/skills/thinkdeep/README.md +41 -0
  181. package/.agent/skills/thinkdeep/SKILL.md +343 -0
  182. package/.agent/skills/ui-ux-pro-max/SKILL.md +228 -0
  183. package/.agent/skills/ui-ux-pro-max/data/charts.csv +26 -0
  184. package/.agent/skills/ui-ux-pro-max/data/colors.csv +97 -0
  185. package/.agent/skills/ui-ux-pro-max/data/landing.csv +31 -0
  186. package/.agent/skills/ui-ux-pro-max/data/products.csv +97 -0
  187. package/.agent/skills/ui-ux-pro-max/data/prompts.csv +24 -0
  188. package/.agent/skills/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
  189. package/.agent/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
  190. package/.agent/skills/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
  191. package/.agent/skills/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
  192. package/.agent/skills/ui-ux-pro-max/data/stacks/react.csv +54 -0
  193. package/.agent/skills/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
  194. package/.agent/skills/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
  195. package/.agent/skills/ui-ux-pro-max/data/stacks/vue.csv +50 -0
  196. package/.agent/skills/ui-ux-pro-max/data/styles.csv +59 -0
  197. package/.agent/skills/ui-ux-pro-max/data/typography.csv +58 -0
  198. package/.agent/skills/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
  199. package/.agent/skills/ui-ux-pro-max/scripts/core.py +236 -0
  200. package/.agent/skills/ui-ux-pro-max/scripts/search.py +61 -0
  201. package/.agent/skills/ultrapilot/SKILL.md +647 -0
  202. package/.agent/skills/ultraqa/SKILL.md +152 -0
  203. package/.agent/skills/ultrawork/SKILL.md +123 -0
  204. package/.agent/skills/update-codemaps/SKILL.md +38 -0
  205. package/.agent/skills/update-docs/SKILL.md +52 -0
  206. package/.agent/skills/verification-loop/SKILL.md +140 -0
  207. package/.agent/skills/verify/SKILL.md +80 -0
  208. package/.agent/skills/writer-memory/SKILL.md +459 -0
  209. package/.agent/skills/writer-memory/lib/character-tracker.ts +338 -0
  210. package/.agent/skills/writer-memory/lib/memory-manager.ts +804 -0
  211. package/.agent/skills/writer-memory/lib/relationship-graph.ts +400 -0
  212. package/.agent/skills/writer-memory/lib/scene-organizer.ts +544 -0
  213. package/.agent/skills/writer-memory/lib/synopsis-builder.ts +339 -0
  214. package/.agent/skills/writer-memory/templates/synopsis-template.md +46 -0
  215. package/.governance/skill-lint.allowlist +4 -0
  216. package/.governance/skill-llm.allowlist +4 -0
  217. package/AGENTS.md +59 -0
  218. package/LICENSE +21 -0
  219. package/README.md +169 -0
  220. package/README.zh.md +145 -0
  221. package/bin/omcodex.js +8 -0
  222. package/commands/conductor/implement.toml +358 -0
  223. package/commands/conductor/newTrack.toml +142 -0
  224. package/commands/conductor/revert.toml +123 -0
  225. package/commands/conductor/setup.toml +429 -0
  226. package/commands/conductor/status.toml +57 -0
  227. package/docs/ALIGNMENT.md +40 -0
  228. package/docs/CODEX.md +133 -0
  229. package/docs/NOTIFY.md +81 -0
  230. package/docs/SKILL_GOVERNANCE.md +72 -0
  231. package/docs/SKILL_GOVERNANCE_FRAMEWORK.md +182 -0
  232. package/docs/SKILL_GOVERNANCE_FRAMEWORK.zh.md +170 -0
  233. package/package.json +50 -0
  234. package/prompts/architect.md +105 -0
  235. package/prompts/executor.md +134 -0
  236. package/prompts/planner.md +113 -0
  237. package/scripts/check-skill-governance.sh +84 -0
  238. package/scripts/check-skill-llm-governance.js +302 -0
  239. package/scripts/eval-skills.js +217 -0
  240. package/scripts/generate-catalog-docs.js +95 -0
  241. package/scripts/generate-codex-mcp-config.sh +22 -0
  242. package/scripts/install-codex-force.sh +5 -0
  243. package/scripts/install-codex-incremental.sh +5 -0
  244. package/scripts/install-codex.sh +79 -0
  245. package/scripts/notify-dispatch.js +15 -0
  246. package/scripts/setup-package-manager.js +137 -0
  247. package/src/catalog/generated/public-catalog.json +547 -0
  248. package/src/catalog/manifest.json +542 -0
  249. package/src/catalog/reader.js +43 -0
  250. package/src/catalog/schema.js +79 -0
  251. package/src/cli/doctor.js +62 -0
  252. package/src/cli/index.js +85 -0
  253. package/src/cli/notify.js +127 -0
  254. package/src/cli/route.js +43 -0
  255. package/src/cli/setup.js +155 -0
  256. package/src/cli/team.js +125 -0
  257. package/src/config/generator.js +119 -0
  258. package/src/mcp/memory-server.js +241 -0
  259. package/src/mcp/state-server.js +112 -0
  260. package/src/mcp/trace-server.js +168 -0
  261. package/src/notify/dispatch.js +74 -0
  262. package/src/notify/extensibility/dispatcher.js +113 -0
  263. package/src/notify/extensibility/events.js +15 -0
  264. package/src/notify/extensibility/loader.js +54 -0
  265. package/src/router/skill-router.js +90 -0
  266. package/src/team/auto-advance.js +72 -0
  267. package/src/team/orchestrator.js +82 -0
  268. package/src/team/state-store.js +33 -0
  269. package/src/utils/paths.js +33 -0
  270. package/templates/AGENTS.md +15 -0
  271. package/templates/catalog-manifest.json +542 -0
  272. package/templates/code_styleguides/csharp.md +115 -0
  273. package/templates/code_styleguides/dart.md +238 -0
  274. package/templates/code_styleguides/general.md +23 -0
  275. package/templates/code_styleguides/go.md +48 -0
  276. package/templates/code_styleguides/html-css.md +49 -0
  277. package/templates/code_styleguides/javascript.md +51 -0
  278. package/templates/code_styleguides/python.md +37 -0
  279. package/templates/code_styleguides/typescript.md +43 -0
  280. package/templates/rules/README.md +23 -0
  281. package/templates/rules/agents.md +49 -0
  282. package/templates/rules/coding-style.md +70 -0
  283. package/templates/rules/dev.md +20 -0
  284. package/templates/rules/git-workflow.md +45 -0
  285. package/templates/rules/notify.md +6 -0
  286. package/templates/rules/patterns.md +55 -0
  287. package/templates/rules/performance.md +47 -0
  288. package/templates/rules/research.md +26 -0
  289. package/templates/rules/review.md +22 -0
  290. package/templates/rules/security.md +36 -0
  291. package/templates/rules/testing.md +30 -0
  292. package/templates/workflow.md +333 -0
@@ -0,0 +1,152 @@
1
+ ---
2
+ name: ultraqa
3
+ description: QA cycling workflow - test, verify, fix, repeat until goal met
4
+ ---
5
+
6
+ # UltraQA Skill
7
+
8
+ ## Native Subagent Protocol (Codex)
9
+
10
+ Codex supports native subagents. Delegate with `spawn_agent`, coordinate with `send_input`, collect via `wait`, and clean up with `close_agent`.
11
+
12
+ Execution preference:
13
+ 1. Use native subagents first for independent workstreams (parallel when possible).
14
+ 2. Merge results in main thread and run final verification.
15
+ 3. Fallback only when delegation is blocked: use the `[ANALYST]`/`[ARCHITECT]`/`[EXECUTOR]`/`[REVIEWER]` structure in a single response.
16
+
17
+ Minimal orchestration pattern:
18
+ ```text
19
+ spawn_agent -> send_input (optional) -> wait -> close_agent
20
+ ```
21
+
22
+ > Codex invocation: use `$ultraqa ...` or `ultraqa: ...`
23
+
24
+
25
+ [ULTRAQA ACTIVATED - AUTONOMOUS QA CYCLING]
26
+
27
+ ## Overview
28
+
29
+ You are now in **ULTRAQA** mode - an autonomous QA cycling workflow that runs until your quality goal is met.
30
+
31
+ **Cycle**: qa-tester → architect verification → fix → repeat
32
+
33
+ ## Goal Parsing
34
+
35
+ Parse the goal from arguments. Supported formats:
36
+
37
+ | Invocation | Goal Type | What to Check |
38
+ |------------|-----------|---------------|
39
+ | `$ultraqa --tests` | tests | All test suites pass |
40
+ | `$ultraqa --build` | build | Build succeeds with exit 0 |
41
+ | `$ultraqa --lint` | lint | No lint errors |
42
+ | `$ultraqa --typecheck` | typecheck | No TypeScript errors |
43
+ | `$ultraqa --custom "pattern"` | custom | Custom success pattern in output |
44
+
45
+ If no structured goal provided, interpret the argument as a custom goal.
46
+
47
+ ## Cycle Workflow
48
+
49
+ ### Cycle N (Max 5)
50
+
51
+ 1. **RUN QA**: Execute verification based on goal type
52
+ - `--tests`: Run `npm test` or equivalent
53
+ - `--build`: Run `npm run build` or equivalent
54
+ - `--lint`: Run `npm run lint` or equivalent
55
+ - `--typecheck`: Run `npm run typecheck` or `tsc --noEmit`
56
+ - `--custom`: Run appropriate command and check for pattern
57
+ - `--interactive`: Use qa-tester for interactive CLI/service testing:
58
+ ```
59
+ [QA-TESTER | sonnet] TEST:
60
+ Goal: [describe what to verify]
61
+ Service: [how to start]
62
+ Test cases: [specific scenarios to verify]
63
+ ```
64
+
65
+ 2. **CHECK RESULT**: Did the goal pass?
66
+ - **YES** → Exit with success message
67
+ - **NO** → Continue to step 3
68
+
69
+ 3. **ARCHITECT DIAGNOSIS**: Spawn architect to analyze failure
70
+ ```
71
+ [ARCHITECT | opus] DIAGNOSE FAILURE:
72
+ Goal: [goal type]
73
+ Output: [test/build output]
74
+ Provide root cause and specific fix recommendations.
75
+ ```
76
+
77
+ 4. **FIX ISSUES**: Apply architect's recommendations
78
+ ```
79
+ [EXECUTOR | sonnet] FIX:
80
+ Issue: [architect diagnosis]
81
+ Files: [affected files]
82
+ Apply the fix precisely as recommended.
83
+ ```
84
+
85
+ 5. **REPEAT**: Go back to step 1
86
+
87
+ ## Exit Conditions
88
+
89
+ | Condition | Action |
90
+ |-----------|--------|
91
+ | **Goal Met** | Exit with success: "ULTRAQA COMPLETE: Goal met after N cycles" |
92
+ | **Cycle 5 Reached** | Exit with diagnosis: "ULTRAQA STOPPED: Max cycles. Diagnosis: ..." |
93
+ | **Same Failure 3x** | Exit early: "ULTRAQA STOPPED: Same failure detected 3 times. Root cause: ..." |
94
+ | **Environment Error** | Exit: "ULTRAQA ERROR: [tmux/port/dependency issue]" |
95
+
96
+ ## Observability
97
+
98
+ Output progress each cycle:
99
+ ```
100
+ [ULTRAQA Cycle 1/5] Running tests...
101
+ [ULTRAQA Cycle 1/5] FAILED - 3 tests failing
102
+ [ULTRAQA Cycle 1/5] Architect diagnosing...
103
+ [ULTRAQA Cycle 1/5] Fixing: auth.test.ts - missing mock
104
+ [ULTRAQA Cycle 2/5] Running tests...
105
+ [ULTRAQA Cycle 2/5] PASSED - All 47 tests pass
106
+ [ULTRAQA COMPLETE] Goal met after 2 cycles
107
+ ```
108
+
109
+ ## State Tracking
110
+
111
+ Track state in `.omc/ultraqa-state.json`:
112
+ ```json
113
+ {
114
+ "active": true,
115
+ "goal_type": "tests",
116
+ "goal_pattern": null,
117
+ "cycle": 1,
118
+ "max_cycles": 5,
119
+ "failures": ["3 tests failing: auth.test.ts"],
120
+ "started_at": "2024-01-18T12:00:00Z",
121
+ "session_id": "uuid"
122
+ }
123
+ ```
124
+
125
+ ## Cancellation
126
+
127
+ User can cancel with `$cancel` which clears the state file.
128
+
129
+ ## Important Rules
130
+
131
+ 1. **PARALLEL when possible** - Run diagnosis while preparing potential fixes
132
+ 2. **TRACK failures** - Record each failure to detect patterns
133
+ 3. **EARLY EXIT on pattern** - 3x same failure = stop and surface
134
+ 4. **CLEAR OUTPUT** - User should always know current cycle and status
135
+ 5. **CLEAN UP** - Clear state file on completion or cancellation
136
+
137
+ ## STATE CLEANUP ON COMPLETION
138
+
139
+ **IMPORTANT: Delete state files on completion - do NOT just set `active: false`**
140
+
141
+ When goal is met OR max cycles reached OR exiting early:
142
+
143
+ ```bash
144
+ # Delete ultraqa state file
145
+ rm -f .omc/state/ultraqa-state.json
146
+ ```
147
+
148
+ This ensures clean state for future sessions. Stale state files with `active: false` should not be left behind.
149
+
150
+ ---
151
+
152
+ Begin ULTRAQA cycling now. Parse the goal and start cycle 1.
@@ -0,0 +1,123 @@
1
+ ---
2
+ name: ultrawork
3
+ description: Activate maximum performance mode with parallel agent orchestration for high-throughput task completion
4
+ ---
5
+
6
+ # Ultrawork Skill
7
+
8
+ ## Native Subagent Protocol (Codex)
9
+
10
+ Codex supports native subagents. Delegate with `spawn_agent`, coordinate with `send_input`, collect via `wait`, and clean up with `close_agent`.
11
+
12
+ Execution preference:
13
+ 1. Use native subagents first for independent workstreams (parallel when possible).
14
+ 2. Merge results in main thread and run final verification.
15
+ 3. Fallback only when delegation is blocked: use the `[ANALYST]`/`[ARCHITECT]`/`[EXECUTOR]`/`[REVIEWER]` structure in a single response.
16
+
17
+ Minimal orchestration pattern:
18
+ ```text
19
+ spawn_agent -> send_input (optional) -> wait -> close_agent
20
+ ```
21
+
22
+ > Codex invocation: use `$ultrawork ...` or `ultrawork: ...`
23
+
24
+
25
+ Activates maximum performance mode with parallel agent orchestration.
26
+
27
+ ## When Activated
28
+
29
+ This skill enhances Codex's capabilities by:
30
+
31
+ 1. **Parallel Execution**: Running multiple agents simultaneously for independent tasks
32
+ 2. **Aggressive Delegation**: Routing tasks to specialist agents immediately
33
+ 3. **Background Operations**: Using `run_in_background: true` for long operations
34
+ 4. **Persistence Enforcement**: Never stopping until all tasks are verified complete
35
+ 5. **Smart Model Routing**: Using tiered agents to save tokens
36
+
37
+ ## Smart Model Routing (CRITICAL - SAVE TOKENS)
38
+
39
+ **Choose tier based on task complexity: LOW (haiku) → MEDIUM (sonnet) → HIGH (opus)**
40
+
41
+ ### Available Agents by Tier
42
+
43
+ | Domain | LOW (Haiku) | MEDIUM (Sonnet) | HIGH (Opus) |
44
+ |--------|-------------|-----------------|-------------|
45
+ | **Analysis** | `architect-low` | `architect-medium` | `architect` |
46
+ | **Execution** | `executor-low` | `executor` | `executor-high` |
47
+ | **Search** | `explore` | `explore-medium` | - |
48
+ | **Research** | `researcher-low` | `researcher` | - |
49
+ | **Frontend** | `designer-low` | `designer` | `designer-high` |
50
+ | **Docs** | `writer` | - | - |
51
+ | **Visual** | - | `vision` | - |
52
+ | **Planning** | - | - | `planner`, `critic`, `analyst` |
53
+ | **Testing** | - | `qa-tester` | - |
54
+ | **Security** | `security-reviewer-low` | - | `security-reviewer` |
55
+ | **Build** | `build-fixer-low` | `build-fixer` | - |
56
+ | **TDD** | `tdd-guide-low` | `tdd-guide` | - |
57
+ | **Code Review** | `code-reviewer-low` | - | `code-reviewer` |
58
+
59
+ ### Tier Selection Guide
60
+
61
+ | Task Complexity | Tier | Examples |
62
+ |-----------------|------|----------|
63
+ | Simple lookups | LOW | "What does this function return?", "Find where X is defined" |
64
+ | Standard work | MEDIUM | "Add error handling", "Implement this feature" |
65
+ | Complex analysis | HIGH | "Debug this race condition", "Refactor auth module across 5 files" |
66
+
67
+ ### Routing Examples
68
+
69
+ **CRITICAL: Always pass `model` parameter explicitly - Codex does NOT auto-apply models from agent definitions!**
70
+
71
+ ```
72
+ // Simple question → LOW tier (saves tokens!)
73
+ [ARCHITECT-LOW | haiku] "What does this function return?"
74
+
75
+ // Standard implementation → MEDIUM tier
76
+ [EXECUTOR | sonnet] "Add error handling to login"
77
+
78
+ // Complex refactoring → HIGH tier
79
+ [EXECUTOR-HIGH | opus] "Refactor auth module using JWT across 5 files"
80
+
81
+ // Quick file lookup → LOW tier
82
+ [EXPLORE-LOW | haiku] "Find where UserService is defined"
83
+
84
+ // Thorough search → MEDIUM tier
85
+ [EXPLORE | sonnet] "Find all authentication patterns in the codebase"
86
+ ```
87
+
88
+ ## Background Execution Rules
89
+
90
+ **Run in Background** (set `run_in_background: true`):
91
+ - Package installation: npm install, pip install, cargo build
92
+ - Build processes: npm run build, make, tsc
93
+ - Test suites: npm test, pytest, cargo test
94
+ - Docker operations: docker build, docker pull
95
+
96
+ **Run Blocking** (foreground):
97
+ - Quick status checks: git status, ls, pwd
98
+ - File reads, edits
99
+ - Simple commands
100
+
101
+ ## Verification Checklist
102
+
103
+ Before stopping, verify:
104
+ - [ ] TODO LIST: Zero pending/in_progress tasks
105
+ - [ ] FUNCTIONALITY: All requested features work
106
+ - [ ] TESTS: All tests pass (if applicable)
107
+ - [ ] ERRORS: Zero unaddressed errors
108
+
109
+ **If ANY checkbox is unchecked, CONTINUE WORKING.**
110
+
111
+ ## STATE CLEANUP ON COMPLETION
112
+
113
+ **IMPORTANT: Delete state files on completion - do NOT just set `active: false`**
114
+
115
+ When all verification passes and work is complete:
116
+
117
+ ```bash
118
+ # Delete ultrawork state files
119
+ rm -f .omc/state/ultrawork-state.json
120
+ rm -f ~/.codex/ultrawork-state.json
121
+ ```
122
+
123
+ This ensures clean state for future sessions. Stale state files with `active: false` should not be left behind.
@@ -0,0 +1,38 @@
1
+ ---
2
+ name: update-codemaps
3
+ description: Imported from everything-codex command update-codemaps
4
+ ---
5
+
6
+ # Update Codemaps
7
+
8
+
9
+ ## Native Subagent Protocol (Codex)
10
+
11
+ Codex supports native subagents. Delegate with `spawn_agent`, coordinate with `send_input`, collect via `wait`, and clean up with `close_agent`.
12
+
13
+ Execution preference:
14
+ 1. Use native subagents first for independent workstreams (parallel when possible).
15
+ 2. Merge results in main thread and run final verification.
16
+ 3. Fallback only when delegation is blocked: use the `[ANALYST]`/`[ARCHITECT]`/`[EXECUTOR]`/`[REVIEWER]` structure in a single response.
17
+
18
+ Minimal orchestration pattern:
19
+ ```text
20
+ spawn_agent -> send_input (optional) -> wait -> close_agent
21
+ ```
22
+
23
+ Analyze the codebase structure and update architecture documentation:
24
+
25
+ 1. Scan all source files for imports, exports, and dependencies
26
+ 2. Generate token-lean codemaps in the following format:
27
+ - codemaps/architecture.md - Overall architecture
28
+ - codemaps/backend.md - Backend structure
29
+ - codemaps/frontend.md - Frontend structure
30
+ - codemaps/data.md - Data models and schemas
31
+
32
+ 3. Calculate diff percentage from previous version
33
+ 4. If changes > 30%, request user approval before updating
34
+ 5. Add freshness timestamp to each codemap
35
+ 6. Save reports to .reports/codemap-diff.txt
36
+
37
+ Use TypeScript/Node.js for analysis. Focus on high-level structure, not implementation details.
38
+
@@ -0,0 +1,52 @@
1
+ ---
2
+ name: update-docs
3
+ description: Imported from everything-codex command update-docs
4
+ ---
5
+
6
+ # Update Documentation
7
+
8
+
9
+ ## Native Subagent Protocol (Codex)
10
+
11
+ Codex supports native subagents. Delegate with `spawn_agent`, coordinate with `send_input`, collect via `wait`, and clean up with `close_agent`.
12
+
13
+ Execution preference:
14
+ 1. Use native subagents first for independent workstreams (parallel when possible).
15
+ 2. Merge results in main thread and run final verification.
16
+ 3. Fallback only when delegation is blocked: use the `[ANALYST]`/`[ARCHITECT]`/`[EXECUTOR]`/`[REVIEWER]` structure in a single response.
17
+
18
+ Minimal orchestration pattern:
19
+ ```text
20
+ spawn_agent -> send_input (optional) -> wait -> close_agent
21
+ ```
22
+
23
+ Sync documentation from source-of-truth:
24
+
25
+ 1. Read package.json scripts section
26
+ - Generate scripts reference table
27
+ - Include descriptions from comments
28
+
29
+ 2. Read .env.example
30
+ - Extract all environment variables
31
+ - Document purpose and format
32
+
33
+ 3. Generate docs/CONTRIB.md with:
34
+ - Development workflow
35
+ - Available scripts
36
+ - Environment setup
37
+ - Testing procedures
38
+
39
+ 4. Generate docs/RUNBOOK.md with:
40
+ - Deployment procedures
41
+ - Monitoring and alerts
42
+ - Common issues and fixes
43
+ - Rollback procedures
44
+
45
+ 5. Identify obsolete documentation:
46
+ - Find docs not modified in 90+ days
47
+ - List for manual review
48
+
49
+ 6. Show diff summary
50
+
51
+ Single source of truth: package.json and .env.example
52
+
@@ -0,0 +1,140 @@
1
+ ---
2
+ name: verification-loop
3
+ description: Verification workflow with build/type/lint/test/security checks
4
+ ---
5
+
6
+ # Verification Loop Skill
7
+
8
+
9
+ ## Native Subagent Protocol (Codex)
10
+
11
+ Codex supports native subagents. Delegate with `spawn_agent`, coordinate with `send_input`, collect via `wait`, and clean up with `close_agent`.
12
+
13
+ Execution preference:
14
+ 1. Use native subagents first for independent workstreams (parallel when possible).
15
+ 2. Merge results in main thread and run final verification.
16
+ 3. Fallback only when delegation is blocked: use the `[ANALYST]`/`[ARCHITECT]`/`[EXECUTOR]`/`[REVIEWER]` structure in a single response.
17
+
18
+ Minimal orchestration pattern:
19
+ ```text
20
+ spawn_agent -> send_input (optional) -> wait -> close_agent
21
+ ```
22
+
23
+ A comprehensive verification system for Codex sessions.
24
+
25
+ ## When to Use
26
+
27
+ Invoke this skill:
28
+ - After completing a feature or significant code change
29
+ - Before creating a PR
30
+ - When you want to ensure quality gates pass
31
+ - After refactoring
32
+
33
+ ## Verification Phases
34
+
35
+ ### Phase 1: Build Verification
36
+ ```bash
37
+ # Check if project builds
38
+ npm run build 2>&1 | tail -20
39
+ # OR
40
+ pnpm build 2>&1 | tail -20
41
+ ```
42
+
43
+ If build fails, STOP and fix before continuing.
44
+
45
+ ### Phase 2: Type Check
46
+ ```bash
47
+ # TypeScript projects
48
+ npx tsc --noEmit 2>&1 | head -30
49
+
50
+ # Python projects
51
+ pyright . 2>&1 | head -30
52
+ ```
53
+
54
+ Report all type errors. Fix critical ones before continuing.
55
+
56
+ ### Phase 3: Lint Check
57
+ ```bash
58
+ # JavaScript/TypeScript
59
+ npm run lint 2>&1 | head -30
60
+
61
+ # Python
62
+ ruff check . 2>&1 | head -30
63
+ ```
64
+
65
+ ### Phase 4: Test Suite
66
+ ```bash
67
+ # Run tests with coverage
68
+ npm run test -- --coverage 2>&1 | tail -50
69
+
70
+ # Check coverage threshold
71
+ # Target: 80% minimum
72
+ ```
73
+
74
+ Report:
75
+ - Total tests: X
76
+ - Passed: X
77
+ - Failed: X
78
+ - Coverage: X%
79
+
80
+ ### Phase 5: Security Scan
81
+ ```bash
82
+ # Check for secrets
83
+ grep -rn "sk-" --include="*.ts" --include="*.js" . 2>/dev/null | head -10
84
+ grep -rn "api_key" --include="*.ts" --include="*.js" . 2>/dev/null | head -10
85
+
86
+ # Check for console.log
87
+ grep -rn "console.log" --include="*.ts" --include="*.tsx" src/ 2>/dev/null | head -10
88
+ ```
89
+
90
+ ### Phase 6: Diff Review
91
+ ```bash
92
+ # Show what changed
93
+ git diff --stat
94
+ git diff HEAD~1 --name-only
95
+ ```
96
+
97
+ Review each changed file for:
98
+ - Unintended changes
99
+ - Missing error handling
100
+ - Potential edge cases
101
+
102
+ ## Output Format
103
+
104
+ After running all phases, produce a verification report:
105
+
106
+ ```
107
+ VERIFICATION REPORT
108
+ ==================
109
+
110
+ Build: [PASS/FAIL]
111
+ Types: [PASS/FAIL] (X errors)
112
+ Lint: [PASS/FAIL] (X warnings)
113
+ Tests: [PASS/FAIL] (X/Y passed, Z% coverage)
114
+ Security: [PASS/FAIL] (X issues)
115
+ Diff: [X files changed]
116
+
117
+ Overall: [READY/NOT READY] for PR
118
+
119
+ Issues to Fix:
120
+ 1. ...
121
+ 2. ...
122
+ ```
123
+
124
+ ## Continuous Mode
125
+
126
+ For long sessions, run verification every 15 minutes or after major changes:
127
+
128
+ ```markdown
129
+ Set a mental checkpoint:
130
+ - After completing each function
131
+ - After finishing a component
132
+ - Before moving to next task
133
+
134
+ Run: `$verify`
135
+ ```
136
+
137
+ ## Integration with Hooks
138
+
139
+ This skill complements any available tool hooks but provides deeper verification.
140
+ Hooks catch issues immediately; this skill provides comprehensive review.
@@ -0,0 +1,80 @@
1
+ ---
2
+ name: verify
3
+ description: Imported from everything-codex command verify
4
+ ---
5
+
6
+ # Verification Command
7
+
8
+
9
+ ## Native Subagent Protocol (Codex)
10
+
11
+ Codex supports native subagents. Delegate with `spawn_agent`, coordinate with `send_input`, collect via `wait`, and clean up with `close_agent`.
12
+
13
+ Execution preference:
14
+ 1. Use native subagents first for independent workstreams (parallel when possible).
15
+ 2. Merge results in main thread and run final verification.
16
+ 3. Fallback only when delegation is blocked: use the `[ANALYST]`/`[ARCHITECT]`/`[EXECUTOR]`/`[REVIEWER]` structure in a single response.
17
+
18
+ Minimal orchestration pattern:
19
+ ```text
20
+ spawn_agent -> send_input (optional) -> wait -> close_agent
21
+ ```
22
+
23
+ Run comprehensive verification on current codebase state.
24
+
25
+ ## Instructions
26
+
27
+ Execute verification in this exact order:
28
+
29
+ 1. **Build Check**
30
+ - Run the build command for this project
31
+ - If it fails, report errors and STOP
32
+
33
+ 2. **Type Check**
34
+ - Run TypeScript/type checker
35
+ - Report all errors with file:line
36
+
37
+ 3. **Lint Check**
38
+ - Run linter
39
+ - Report warnings and errors
40
+
41
+ 4. **Test Suite**
42
+ - Run all tests
43
+ - Report pass/fail count
44
+ - Report coverage percentage
45
+
46
+ 5. **Console.log Audit**
47
+ - Search for console.log in source files
48
+ - Report locations
49
+
50
+ 6. **Git Status**
51
+ - Show uncommitted changes
52
+ - Show files modified since last commit
53
+
54
+ ## Output
55
+
56
+ Produce a concise verification report:
57
+
58
+ ```
59
+ VERIFICATION: [PASS/FAIL]
60
+
61
+ Build: [OK/FAIL]
62
+ Types: [OK/X errors]
63
+ Lint: [OK/X issues]
64
+ Tests: [X/Y passed, Z% coverage]
65
+ Secrets: [OK/X found]
66
+ Logs: [OK/X console.logs]
67
+
68
+ Ready for PR: [YES/NO]
69
+ ```
70
+
71
+ If any critical issues, list them with fix suggestions.
72
+
73
+ ## Arguments
74
+
75
+ $ARGUMENTS can be:
76
+ - `quick` - Only build + types
77
+ - `full` - All checks (default)
78
+ - `pre-commit` - Checks relevant for commits
79
+ - `pre-pr` - Full checks plus security scan
80
+