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,243 @@
1
+ # How to Use Skill Quality Analyzer
2
+
3
+ ## Basic Usage
4
+
5
+ ### Single Skill Analysis
6
+
7
+ ```
8
+ "Analyze the quality of my aws-solution-architect skill"
9
+ "Check the quality score for ~/.codex/skills/code-review/"
10
+ "Generate a quality report for the prompt-factory skill"
11
+ ```
12
+
13
+ **What Codex will do**:
14
+ 1. Read the skill's SKILL.md file
15
+ 2. Evaluate across 6 dimensions
16
+ 3. Calculate overall score (0-100)
17
+ 4. List issues and recommendations
18
+
19
+ ### Detailed Report
20
+
21
+ ```
22
+ "Give me a detailed quality analysis of skill-debugger with specific recommendations"
23
+ "Analyze ~/.codex/skills/content-researcher/ and tell me what needs improvement"
24
+ ```
25
+
26
+ **Output includes**:
27
+ - Overall score and quality level
28
+ - Dimension-by-dimension scores
29
+ - Critical issues (severity-ranked)
30
+ - Prioritized improvement recommendations
31
+ - Comparison with Codex best practices
32
+
33
+ ## Advanced Usage
34
+
35
+ ### Batch Analysis
36
+
37
+ ```
38
+ "Analyze all skills in ~/.codex/skills/ and rank them by quality"
39
+ "Compare quality scores across all my custom skills"
40
+ "Which of my skills need the most improvement?"
41
+ ```
42
+
43
+ ### Comparative Analysis
44
+
45
+ ```
46
+ "Compare my code-review skill against Codex's official examples"
47
+ "How does my skill-tester compare to best practices?"
48
+ "Show me the quality difference between my top 3 and bottom 3 skills"
49
+ ```
50
+
51
+ ### Before Distribution
52
+
53
+ ```
54
+ "I want to share my financial-analyzer skill. Is it ready?"
55
+ "Run quality checks before I package this skill"
56
+ "What should I fix before publishing to the skill marketplace?"
57
+ ```
58
+
59
+ ## Understanding the Output
60
+
61
+ ### Overall Score
62
+
63
+ | Score | Quality Level | Meaning |
64
+ |-------|---------------|---------|
65
+ | 90-100 | Excellent | Ready for production, can be shared as example |
66
+ | 80-89 | Good | Minor improvements, safe to deploy |
67
+ | 70-79 | Acceptable | Address key issues before wide distribution |
68
+ | 60-69 | Needs Work | Significant improvements required |
69
+ | <60 | Poor | Major refactoring needed |
70
+
71
+ ### Six Dimensions Explained
72
+
73
+ **1. Clarity (20%)**
74
+ - Is the skill's purpose clear?
75
+ - Are capabilities well-defined?
76
+ - Is usage unambiguous?
77
+
78
+ **Example Issue**: "Description uses vague words like 'helps' and 'various'"
79
+ **Recommendation**: "Replace vague words with specific capabilities"
80
+
81
+ **2. Structure (20%)**
82
+ - Valid YAML frontmatter?
83
+ - Required sections present?
84
+ - Proper formatting?
85
+
86
+ **Example Issue**: "Skill name not in kebab-case format"
87
+ **Recommendation**: "Change name to kebab-case (e.g., skill-quality-analyzer)"
88
+
89
+ **3. Examples (15%)**
90
+ - Good usage examples?
91
+ - Sample input data?
92
+ - Expected output shown?
93
+
94
+ **Example Issue**: "Missing sample_input.json file"
95
+ **Recommendation**: "Add sample_input.json showing example input data"
96
+
97
+ **4. Trigger Detection (15%)**
98
+ - Clear when to invoke?
99
+ - Specific keywords?
100
+ - No overlap with other skills?
101
+
102
+ **Example Issue**: "Description doesn't clearly state use case"
103
+ **Recommendation**: "Add use case to description (e.g., 'for analyzing...' or 'when you need...')"
104
+
105
+ **5. Best Practices (15%)**
106
+ - Follows Codex guidelines?
107
+ - README and HOW_TO_USE present?
108
+ - No backup files or __pycache__?
109
+
110
+ **Example Issue**: "Found 3 backup files (should be removed)"
111
+ **Recommendation**: "Remove all backup files (.backup, .bak, .old)"
112
+
113
+ **6. Maintainability (15%)**
114
+ - Clean file structure?
115
+ - Version information?
116
+ - Well-commented code?
117
+
118
+ **Example Issue**: "No version information found"
119
+ **Recommendation**: "Add version number to README.md or SKILL.md"
120
+
121
+ ## Real-World Examples
122
+
123
+ ### Example 1: Quick Health Check
124
+
125
+ **User**: "Is my code-review skill good enough to share?"
126
+
127
+ **Codex**:
128
+ ```
129
+ Analyzing ~/.codex/skills/code-review/...
130
+
131
+ Overall Score: 87 (Good)
132
+
133
+ ✅ Strengths:
134
+ - Excellent clarity (95) - Very clear purpose
135
+ - Strong structure (90) - All sections present
136
+ - Good examples (85) - Rich usage examples
137
+
138
+ ⚠️ Areas for Improvement:
139
+ - Missing sample_input.json (affects Examples score)
140
+ - No version information (affects Maintainability)
141
+
142
+ Recommendation: Safe to share, but add sample_input.json and version info for best quality.
143
+ ```
144
+
145
+ ### Example 2: Identify Weaknesses
146
+
147
+ **User**: "Why is my skill-tester score only 65?"
148
+
149
+ **Codex**:
150
+ ```
151
+ Quality Analysis: skill-tester (65 - Needs Work)
152
+
153
+ Critical Issues:
154
+ 1. [CLARITY] Description too brief (< 20 chars) - Score: 55
155
+ 2. [STRUCTURE] Missing required sections: Input Requirements, Output Formats - Score: 60
156
+ 3. [EXAMPLES] No usage examples found - Score: 40
157
+
158
+ High Priority Recommendations:
159
+ 1. Expand description to 50-100 characters with clear use case
160
+ 2. Add Input Requirements and Output Formats sections
161
+ 3. Add 3-5 concrete usage examples
162
+
163
+ Fix these 3 issues to reach 80+ (Good quality).
164
+ ```
165
+
166
+ ### Example 3: Batch Comparison
167
+
168
+ **User**: "Compare quality of all my skills"
169
+
170
+ **Codex**:
171
+ ```
172
+ Quality Analysis (5 skills):
173
+
174
+ Excellent (90+):
175
+ - prompt-factory: 94
176
+ - aws-solution-architect: 92
177
+
178
+ Good (80-89):
179
+ - code-review: 87
180
+ - content-researcher: 82
181
+
182
+ Needs Work (60-69):
183
+ - skill-tester: 65
184
+
185
+ Recommendation: Focus improvement effort on skill-tester.
186
+ Common issues across all skills: Missing version information (4/5 skills).
187
+ ```
188
+
189
+ ## Integration with Your Workflow
190
+
191
+ ### Before Commit
192
+
193
+ ```bash
194
+ # In your skill development workflow
195
+ 1. Create/modify skill
196
+ 2. Ask Codex: "Analyze quality of this skill"
197
+ 3. Fix critical issues (score < 80)
198
+ 4. Commit when score ≥ 80
199
+ ```
200
+
201
+ ### CI/CD Integration
202
+
203
+ You can integrate quality checks into your workflow:
204
+
205
+ ```
206
+ # Pre-commit hook idea
207
+ "Check if any modified skills dropped below 80 quality score"
208
+ ```
209
+
210
+ ### Continuous Improvement
211
+
212
+ ```
213
+ # Monthly quality review
214
+ "Analyze all my skills and identify trends"
215
+ "Which quality dimensions need attention across my skills?"
216
+ ```
217
+
218
+ ## Tips for High Quality Scores
219
+
220
+ 1. **Start with Templates**: Use Skill Factory templates (already high quality)
221
+ 2. **Be Specific**: Avoid vague words (helps, various, many)
222
+ 3. **Show Examples**: Include 3-5 concrete usage examples
223
+ 4. **Add Sample Data**: Include sample_input.json and expected_output.json
224
+ 5. **Clean Up**: Remove backup files and __pycache__ before analysis
225
+ 6. **Document Everything**: README, HOW_TO_USE, clear sections
226
+ 7. **Version Your Skills**: Add version info for maintainability
227
+ 8. **Follow Conventions**: Use kebab-case names, proper YAML
228
+ 9. **Target 80+**: Good quality threshold
229
+ 10. **Iterate**: Analyze → Fix → Re-analyze
230
+
231
+ ## Troubleshooting
232
+
233
+ **Q: "Codex isn't using this skill when I ask about quality"**
234
+ A: Try being more explicit: "Use the skill-quality-analyzer skill to analyze..."
235
+
236
+ **Q: "The score seems too harsh"**
237
+ A: Quality analyzer uses strict Codex standards. Score of 70+ is acceptable.
238
+
239
+ **Q: "Can I customize the scoring weights?"**
240
+ A: Not currently. Weights are based on Codex best practices (Clarity and Structure are most important at 20% each).
241
+
242
+ **Q: "How do I improve my Trigger Detection score?"**
243
+ A: Add clear "When to Use" section and mention specific use cases in the description.
@@ -0,0 +1,61 @@
1
+ # Skill Quality Analyzer
2
+
3
+ 6-dimension quality analysis system for Codex skills, inspired by CodeDNA.
4
+
5
+ ## Quick Install
6
+
7
+ ```bash
8
+ # User-level (all projects)
9
+ cp -r skill-quality-analyzer ~/.codex/skills/
10
+
11
+ # Project-level (current project only)
12
+ cp -r skill-quality-analyzer .codex/skills/
13
+ ```
14
+
15
+ ## Usage
16
+
17
+ Once installed, Codex will automatically use this skill when you ask about skill quality:
18
+
19
+ ```
20
+ "Analyze the quality of my code-review skill"
21
+ "What's the quality score for the aws-solution-architect skill?"
22
+ "Generate a quality report for all my custom skills"
23
+ ```
24
+
25
+ ## What This Skill Does
26
+
27
+ Evaluates skills across **6 dimensions** (inspired by CodeDNA):
28
+
29
+ 1. **Clarity** (20%) - How clear is the purpose and usage?
30
+ 2. **Structure** (20%) - Proper YAML, sections, formatting?
31
+ 3. **Examples** (15%) - Good usage examples and sample data?
32
+ 4. **Trigger Detection** (15%) - Clear when to invoke?
33
+ 5. **Best Practices** (15%) - Follows Codex guidelines?
34
+ 6. **Maintainability** (15%) - Easy to update and maintain?
35
+
36
+ ## Output
37
+
38
+ - Overall score (0-100)
39
+ - Dimension-by-dimension breakdown
40
+ - Critical issues list
41
+ - Prioritized improvement recommendations
42
+ - Quality level: Excellent (90+), Good (80-89), Acceptable (70-79), Needs Work (60-69), Poor (<60)
43
+
44
+ ## Files
45
+
46
+ - `SKILL.md` - Main skill definition (read this first)
47
+ - `README.md` - This file
48
+ - `HOW_TO_USE.md` - Detailed usage examples
49
+ - `sample_input.json` - Example skill to analyze
50
+ - `expected_output.json` - Example quality report
51
+
52
+ ## No Python Required
53
+
54
+ This skill is **documentation-driven**. Codex uses the SKILL.md instructions to analyze skills without needing Python implementation. Python modules can be added later if needed for automation.
55
+
56
+ ## Related Skills
57
+
58
+ - `skill-debugger` - Debug why skills aren't triggering
59
+ - `skill-tester` - Test skill functionality (TDD)
60
+ - `skill-doc-generator` - Auto-generate documentation
61
+ - `skill-template-generator` - Quick skill scaffolding (installed)
@@ -0,0 +1,247 @@
1
+ ---
2
+ name: skill-quality-analyzer
3
+ description: Analyzes Codex skill quality with 6-dimension scoring system similar to CodeDNA, providing actionable improvement recommendations
4
+ ---
5
+
6
+ # Skill Quality Analyzer
7
+
8
+ Comprehensive quality analysis system for Codex skills using a 6-dimension scoring framework inspired by CodeDNA. Identifies quality issues, provides improvement recommendations, and generates detailed quality reports.
9
+
10
+ ## Agent Workflow
11
+
12
+ To perform a high-quality analysis, follow this **Hybrid Workflow**:
13
+
14
+ 1. **Run Static Analysis**: Execute `python3 analyzer.py --skill-path [TARGET_SKILL_PATH]` to get objective metrics for the **target skill**.
15
+ 2. **Read Target Skill Content**: Use `view_file` to read the `SKILL.md` and `HOW_TO_USE.md` of the **skill you are analyzing** (the target skill). *Do not read this analyzer skill's own files.*
16
+ 3. **Synthesize Report**: Combine the script's findings (hard metrics) with your manual review of the **target skill's content** (soft metrics) to generate the final report.
17
+ * *Script says*: "Description too short." -> *You check*: "Is it just short, or is it actual nonsense?"
18
+ * *Script says*: "100/100 score." -> *You check*: "Format is perfect, but does the logic make sense?"
19
+
20
+ ## Capabilities
21
+
22
+ - **6-Dimension Quality Scoring**: Evaluates skills across Clarity, Structure, Examples, Trigger Detection, Best Practices, and Maintainability (0-100 scale)
23
+ - **Automated Issue Detection**: Identifies common problems like missing examples, unclear descriptions, poor structure, and missing trigger words
24
+ - **Improvement Recommendations**: Provides specific, actionable suggestions for each quality dimension
25
+ - **Comparative Analysis**: Compares skills against best practices from official Antigravity examples
26
+ - **Quality Report Generation**: Creates detailed markdown reports with scores, issues, and recommendations
27
+ - **Batch Analysis**: Analyzes multiple skills at once for consistency checking
28
+
29
+ ## Input Requirements
30
+
31
+ **Single Skill Analysis**:
32
+ - Skill folder path (e.g., `~/.codex/skills/my-skill/`)
33
+ - Or SKILL.md file path directly
34
+
35
+ **Batch Analysis**:
36
+ - Directory containing multiple skills
37
+ - Or list of skill paths
38
+
39
+ **Data Requirements**:
40
+ - Valid SKILL.md file with YAML frontmatter
41
+ - Optional: Python files, README.md, HOW_TO_USE.md
42
+
43
+ ## Output Formats
44
+
45
+ **Quality Score Card** (JSON):
46
+ ```json
47
+ {
48
+ "overall_score": 85,
49
+ "dimensions": {
50
+ "clarity": {"score": 90, "weight": 20},
51
+ "structure": {"score": 85, "weight": 20},
52
+ "examples": {"score": 80, "weight": 15},
53
+ "trigger_detection": {"score": 90, "weight": 15},
54
+ "best_practices": {"score": 80, "weight": 15},
55
+ "maintainability": {"score": 85, "weight": 15}
56
+ },
57
+ "issues": ["Missing usage examples", "No sample inputs"],
58
+ "recommendations": ["Add 3-5 concrete usage examples", "Include sample_input.json"]
59
+ }
60
+ ```
61
+
62
+ **Quality Report** (Markdown):
63
+ - Executive summary with overall score
64
+ - Dimension-by-dimension breakdown
65
+ - Critical issues list (severity-ranked)
66
+ - Improvement recommendations (prioritized)
67
+ - Comparison with best practices
68
+ - Before/After improvement potential
69
+
70
+ ## Six Quality Dimensions
71
+
72
+ ### 1. Clarity (20%)
73
+ - **What it measures**: How clearly the skill's purpose, capabilities, and usage are communicated
74
+ - **Key indicators**:
75
+ - Description specificity (not vague)
76
+ - Clear capability statements
77
+ - Unambiguous usage instructions
78
+ - No jargon without explanation
79
+ - **Scoring**:
80
+ - 90-100: Crystal clear, no ambiguity
81
+ - 70-89: Mostly clear, minor improvements needed
82
+ - 50-69: Some confusion possible
83
+ - <50: Unclear purpose or usage
84
+
85
+ ### 2. Structure (20%)
86
+ - **What it measures**: Organizational quality and consistency with Anthropic standards
87
+ - **Key indicators**:
88
+ - Valid YAML frontmatter (name in kebab-case, concise description)
89
+ - Required sections present (Capabilities, Input/Output, How to Use)
90
+ - Logical section ordering
91
+ - Proper markdown formatting
92
+ - **Scoring**:
93
+ - 90-100: Perfect structure, all sections present
94
+ - 70-89: Minor structural issues
95
+ - 50-69: Missing key sections
96
+ - <50: Severely malformed
97
+
98
+ ### 3. Examples (15%)
99
+ - **What it measures**: Quality and quantity of usage examples
100
+ - **Key indicators**:
101
+ - 3-5 concrete usage examples
102
+ - sample_input.json present
103
+ - expected_output.json present
104
+ - Examples cover major use cases
105
+ - **Scoring**:
106
+ - 90-100: Rich examples with sample data
107
+ - 70-89: Good examples, missing sample files
108
+ - 50-69: Minimal examples
109
+ - <50: No examples or sample data
110
+
111
+ ### 4. Trigger Detection (15%)
112
+ - **What it measures**: How easily Codex can determine when to invoke this skill
113
+ - **Key indicators**:
114
+ - Clear "When to use" section
115
+ - Specific trigger keywords identified
116
+ - Description mentions use cases
117
+ - No overlap with existing skills
118
+ - **Scoring**:
119
+ - 90-100: Crystal clear triggers
120
+ - 70-89: Mostly clear when to use
121
+ - 50-69: Ambiguous triggering conditions
122
+ - <50: No clear triggers
123
+
124
+ ### 5. Best Practices (15%)
125
+ - **What it measures**: Adherence to Codex skill development standards
126
+ - **Key indicators**:
127
+ - Follows Codex naming conventions
128
+ - Proper Python structure (if applicable)
129
+ - README.md and HOW_TO_USE.md present
130
+ - No backup files or __pycache__
131
+ - Proper file organization
132
+ - **Scoring**:
133
+ - 90-100: Exemplary adherence
134
+ - 70-89: Minor deviations
135
+ - 50-69: Several best practice violations
136
+ - <50: Major violations
137
+
138
+ ### 6. Maintainability (15%)
139
+ - **What it measures**: How easy it is to update and maintain the skill
140
+ - **Key indicators**:
141
+ - Clear code comments (if Python files)
142
+ - Modular design
143
+ - No hard-coded values
144
+ - Version information present
145
+ - Clean file structure (no clutter)
146
+ - **Scoring**:
147
+ - 90-100: Highly maintainable
148
+ - 70-89: Generally maintainable
149
+ - 50-69: Some maintenance challenges
150
+ - <50: Difficult to maintain
151
+
152
+ ## How to Use
153
+
154
+ **Basic Analysis**:
155
+ ```
156
+ "Analyze the quality of my skill-creator skill"
157
+ "What's the quality score for ~/.codex/skills/code-review/"
158
+ "Run quality analysis on the aws-solution-architect skill"
159
+ ```
160
+
161
+ **Detailed Report**:
162
+ ```
163
+ "Generate a detailed quality report for skill-debugger"
164
+ "Analyze ~/.codex/skills/prompt-factory/ and create improvement recommendations"
165
+ ```
166
+
167
+ **Batch Analysis**:
168
+ ```
169
+ "Analyze all skills in ~/.codex/skills/ and rank them by quality"
170
+ "Compare quality scores across all my custom skills"
171
+ ```
172
+
173
+ **Comparative Analysis**:
174
+ ```
175
+ "Compare my code-review skill against Antigravity's best practices"
176
+ "How does skill-tester compare to official skills in quality?"
177
+ ```
178
+
179
+ ## Scripts
180
+
181
+ - `analyzer.py`: Core 6-dimension quality analysis engine
182
+ - Usage: `python3 analyzer.py --skill-path /path/to/skill`
183
+ - `validator.py`: YAML frontmatter and structure validation (merged into analyzer.py)
184
+ - `best_practices_checker.py`: Checks adherence to Codex standards (merged into analyzer.py)
185
+
186
+ ## Best Practices
187
+
188
+ 1. **Run Before Distribution**: Always analyze skills before sharing or installing
189
+ 2. **Target 80+ Score**: Aim for overall scores of 80 or higher for production skills
190
+ 3. **Fix Critical Issues First**: Address issues flagged as "Critical" or "High" severity
191
+ 4. **Iterate**: Re-analyze after improvements to track progress
192
+ 5. **Batch Analysis for Consistency**: Use batch mode to ensure consistent quality across all your skills
193
+ 6. **Compare Against Examples**: Use comparative analysis to learn from official skills
194
+
195
+ ## Integration with Quality Systems
196
+
197
+ **Agent-KB Integration**:
198
+ - Automatically records quality patterns from high-scoring skills
199
+ - Learns common issues from low-scoring skills
200
+ - Suggests improvements based on historical data
201
+
202
+ **CodeDNA Alignment**:
203
+ - Uses similar 6-dimension framework
204
+ - Consistent scoring methodology
205
+ - Shares best practices database
206
+
207
+ **CI/CD Integration**:
208
+ - Can be used in pre-commit hooks
209
+ - Quality gates for skill deployment
210
+ - Automated quality regression testing
211
+
212
+ ## Limitations
213
+
214
+ - **Static Analysis Only**: Does not test skill execution or effectiveness
215
+ - **No Runtime Testing**: Cannot verify if Python code works correctly
216
+ - **Pattern-Based**: Relies on known patterns and best practices
217
+ - **English-Focused**: May not handle non-English skills as effectively
218
+ - **No Context Understanding**: Cannot judge if a skill's purpose is valuable
219
+ - **File-Based**: Requires access to skill files (cannot analyze from description alone)
220
+
221
+ ## When NOT to Use This Skill
222
+
223
+ - **Testing Functional Correctness**: Use skill-tester instead
224
+ - **Runtime Debugging**: Use skill-debugger for execution issues
225
+ - **Documentation Generation**: Use skill-doc-generator for creating docs
226
+ - **Initial Skill Creation**: Use skill-creator or templates first, then analyze
227
+
228
+ ## Quality Thresholds
229
+
230
+ | Score Range | Quality Level | Action |
231
+ |-------------|---------------|--------|
232
+ | 90-100 | Excellent | Ready for production, share as example |
233
+ | 80-89 | Good | Minor improvements, safe to deploy |
234
+ | 70-79 | Acceptable | Address key issues before wide distribution |
235
+ | 60-69 | Needs Work | Significant improvements required |
236
+ | <60 | Poor | Major refactoring needed |
237
+
238
+ ## Comparison with CodeDNA
239
+
240
+ | Dimension | CodeDNA (Code) | Skill Quality Analyzer (Skills) |
241
+ |-----------|----------------|----------------------------------|
242
+ | Clarity | Comments & naming | Description & documentation |
243
+ | Structure | Code organization | Section organization & YAML |
244
+ | Examples | Test coverage | Usage examples & sample data |
245
+ | Patterns | Design patterns | Trigger detection |
246
+ | Standards | Coding standards | Codex best practices |
247
+ | Maintenance | Cyclomatic complexity | File cleanliness & modularity |