shmakk 1.1.0 → 1.2.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 (450) hide show
  1. package/README.md +16 -1
  2. package/package.json +6 -3
  3. package/scripts/import-skills.js +536 -0
  4. package/scripts/install-skills.js +64 -0
  5. package/skills/ai-elements.md +482 -0
  6. package/skills/architecture.md +151 -0
  7. package/skills/backend-adapter-aws-lambda.md +204 -0
  8. package/skills/backend-adapter-express.md +177 -0
  9. package/skills/backend-adapter-fastify.md +222 -0
  10. package/skills/backend-adapter-fetch.md +200 -0
  11. package/skills/backend-api-docs.md +22 -0
  12. package/skills/backend-aspire.md +232 -0
  13. package/skills/backend-aspnet-core.md +62 -0
  14. package/skills/backend-build-chatgpt-app.md +321 -0
  15. package/skills/backend-build-mcp-app.md +393 -0
  16. package/skills/backend-build-mcp-server.md +222 -0
  17. package/skills/backend-build-mcpb.md +200 -0
  18. package/skills/backend-building-ai-agent-on-cloudflare.md +401 -0
  19. package/skills/backend-caching.md +206 -0
  20. package/skills/backend-chatgpt-app-submission.md +157 -0
  21. package/skills/backend-chatgpt-apps.md +321 -0
  22. package/skills/backend-client-setup.md +318 -0
  23. package/skills/backend-containerize-aspnet-framework.md +455 -0
  24. package/skills/backend-create-spring-boot-java-project.md +164 -0
  25. package/skills/backend-create-spring-boot-kotlin-project.md +148 -0
  26. package/skills/backend-csharp-async.md +50 -0
  27. package/skills/backend-csharp-docs.md +63 -0
  28. package/skills/backend-csharp-mcp-server-generator.md +60 -0
  29. package/skills/backend-dotenv.md +201 -0
  30. package/skills/backend-dotenvx.md +119 -0
  31. package/skills/backend-env-vars.md +259 -0
  32. package/skills/backend-error-handling.md +254 -0
  33. package/skills/backend-fastapi.md +437 -0
  34. package/skills/backend-go-mcp-server-generator.md +335 -0
  35. package/skills/backend-java-mcp-server-generator.md +757 -0
  36. package/skills/backend-kotlin-mcp-server-generator.md +450 -0
  37. package/skills/backend-middlewares.md +243 -0
  38. package/skills/backend-multi-stage-dockerfile.md +47 -0
  39. package/skills/backend-nestjs.md +192 -0
  40. package/skills/backend-next-forge.md +375 -0
  41. package/skills/backend-nextjs.md +746 -0
  42. package/skills/backend-openapi-to-application-code.md +113 -0
  43. package/skills/backend-php-mcp-server-generator.md +523 -0
  44. package/skills/backend-python-mcp-server-generator.md +106 -0
  45. package/skills/backend-routing-middleware.md +251 -0
  46. package/skills/backend-ruby-mcp-server-generator.md +661 -0
  47. package/skills/backend-rust-mcp-server-generator.md +578 -0
  48. package/skills/backend-semantic-kernel.md +57 -0
  49. package/skills/backend-server-setup.md +379 -0
  50. package/skills/backend-server-side-calls.md +250 -0
  51. package/skills/backend-subscriptions.md +407 -0
  52. package/skills/backend-swift-mcp-server-generator.md +670 -0
  53. package/skills/backend-trpc-router.md +152 -0
  54. package/skills/backend-typescript-mcp-server-generator.md +91 -0
  55. package/skills/backend-validators.md +229 -0
  56. package/skills/backend.md +76 -0
  57. package/skills/backup.md +165 -0
  58. package/skills/budget.md +140 -0
  59. package/skills/business-gtm-0-to-1-launch.md +322 -0
  60. package/skills/business-gtm-operating-cadence.md +421 -0
  61. package/skills/business-gtm-positioning-strategy.md +439 -0
  62. package/skills/business-gtm-product-led-growth.md +340 -0
  63. package/skills/calendar.md +95 -0
  64. package/skills/code-review.md +130 -0
  65. package/skills/compliance.md +168 -0
  66. package/skills/contracts.md +130 -0
  67. package/skills/daily-job-run.md +46 -0
  68. package/skills/daily-webdesign.md +187 -0
  69. package/skills/database-bigquery-pipeline-audit.md +130 -0
  70. package/skills/database-cosmosdb-datamodeling.md +1046 -0
  71. package/skills/database-durable-objects.md +187 -0
  72. package/skills/database-ef-core.md +76 -0
  73. package/skills/database-fabric-lakehouse.md +107 -0
  74. package/skills/database-neon-postgres-egress-optimizer.md +213 -0
  75. package/skills/database-neon-postgres.md +218 -0
  76. package/skills/database-postgresql-code-review.md +213 -0
  77. package/skills/database-postgresql-optimization.md +405 -0
  78. package/skills/database-sql-code-review.md +302 -0
  79. package/skills/database-sql-optimization.md +297 -0
  80. package/skills/dependency-audit.md +165 -0
  81. package/skills/design-kami-landing.md +234 -0
  82. package/skills/design.md +221 -0
  83. package/skills/dev-acquire-codebase-knowledge.md +175 -0
  84. package/skills/dev-add-educational-comments.md +129 -0
  85. package/skills/dev-add-model-descriptions.md +74 -0
  86. package/skills/dev-adr-review.md +56 -0
  87. package/skills/dev-boost-prompt.md +26 -0
  88. package/skills/dev-build-run-debug.md +130 -0
  89. package/skills/dev-chunk.md +49 -0
  90. package/skills/dev-claude-md-improver.md +180 -0
  91. package/skills/dev-code-exemplars-blueprint-generator.md +127 -0
  92. package/skills/dev-code-tour.md +434 -0
  93. package/skills/dev-comment-code-generate-a-tutorial.md +27 -0
  94. package/skills/dev-commit.md +81 -0
  95. package/skills/dev-context-map.md +53 -0
  96. package/skills/dev-conventional-commit.md +73 -0
  97. package/skills/dev-create-architectural-decision-record.md +98 -0
  98. package/skills/dev-create-draft-pr.md +17 -0
  99. package/skills/dev-create-pr.md +17 -0
  100. package/skills/dev-create-readme.md +22 -0
  101. package/skills/dev-csharp-mstest.md +479 -0
  102. package/skills/dev-csharp-nunit.md +72 -0
  103. package/skills/dev-csharp-tunit.md +101 -0
  104. package/skills/dev-csharp-xunit.md +69 -0
  105. package/skills/dev-debug-failing-test.md +90 -0
  106. package/skills/dev-diff-analyze.md +32 -0
  107. package/skills/dev-diffs.md +24 -0
  108. package/skills/dev-dotnet-best-practices.md +86 -0
  109. package/skills/dev-dotnet-design-pattern-review.md +43 -0
  110. package/skills/dev-dotnet-timezone.md +110 -0
  111. package/skills/dev-dotnet-upgrade.md +117 -0
  112. package/skills/dev-doublecheck.md +278 -0
  113. package/skills/dev-explain-error.md +15 -0
  114. package/skills/dev-finding-discovery.md +164 -0
  115. package/skills/dev-fix-finding.md +111 -0
  116. package/skills/dev-full-file-edit.md +25 -0
  117. package/skills/dev-git-commit.md +125 -0
  118. package/skills/dev-git-flow-branch-creator.md +293 -0
  119. package/skills/dev-git-workflow.md +46 -0
  120. package/skills/dev-github-automation.md +64 -0
  121. package/skills/dev-github-code-review.md +1140 -0
  122. package/skills/dev-github-issues.md +202 -0
  123. package/skills/dev-gpt-5-4-prompting.md +55 -0
  124. package/skills/dev-investigation-mode.md +277 -0
  125. package/skills/dev-java-add-graalvm-native-image-support.md +450 -0
  126. package/skills/dev-java-docs.md +24 -0
  127. package/skills/dev-java-refactoring-extract-method.md +105 -0
  128. package/skills/dev-java-refactoring-remove-parameter.md +85 -0
  129. package/skills/dev-merge.md +73 -0
  130. package/skills/dev-migrate-create.md +36 -0
  131. package/skills/dev-migrate-validate.md +36 -0
  132. package/skills/dev-my-issues.md +9 -0
  133. package/skills/dev-my-pull-requests.md +15 -0
  134. package/skills/dev-planning-oracle-to-postgres-migration-integration-testing.md +45 -0
  135. package/skills/dev-playwright-generate-test.md +18 -0
  136. package/skills/dev-playwright.md +148 -0
  137. package/skills/dev-prompt-builder.md +142 -0
  138. package/skills/dev-pytest-coverage.md +29 -0
  139. package/skills/dev-python-manager-discovery.md +330 -0
  140. package/skills/dev-python-pypi-package-builder.md +445 -0
  141. package/skills/dev-readme-blueprint-generator.md +79 -0
  142. package/skills/dev-refactor-method-complexity-reduce.md +99 -0
  143. package/skills/dev-refactor-plan.md +66 -0
  144. package/skills/dev-refactor.md +646 -0
  145. package/skills/dev-review-and-refactor.md +16 -0
  146. package/skills/dev-reviewing-oracle-to-postgres-migration.md +68 -0
  147. package/skills/dev-ruff-recursive-fix.md +201 -0
  148. package/skills/dev-run-e2e-tests.md +126 -0
  149. package/skills/dev-run-pre-commit-checks.md +133 -0
  150. package/skills/dev-run-smoke-tests.md +127 -0
  151. package/skills/dev-scaffolding-oracle-to-postgres-migration-test-project.md +55 -0
  152. package/skills/dev-spring-boot-testing.md +190 -0
  153. package/skills/dev-sync-upstream.md +32 -0
  154. package/skills/dev-sync.md +74 -0
  155. package/skills/dev-tdd-workflow.md +23 -0
  156. package/skills/dev-terraform-azurerm-set-diff-analyzer.md +49 -0
  157. package/skills/dev-test-driven-development.md +372 -0
  158. package/skills/dev-test-gaps.md +18 -0
  159. package/skills/dev-test-triage.md +55 -0
  160. package/skills/dev-typer.md +267 -0
  161. package/skills/dev-typescript-setup.md +25 -0
  162. package/skills/dev-unified-diff-edit.md +16 -0
  163. package/skills/dev-unit-test-vue-pinia.md +198 -0
  164. package/skills/dev-using-git-worktrees.md +216 -0
  165. package/skills/dev-validation.md +99 -0
  166. package/skills/dev-verification.md +168 -0
  167. package/skills/dev-webapp-testing.md +134 -0
  168. package/skills/dev-write-coding-standards-from-file.md +317 -0
  169. package/skills/dev-write-tests.md +16 -0
  170. package/skills/devops-appinsights-instrumentation.md +49 -0
  171. package/skills/devops-az-cost-optimize.md +306 -0
  172. package/skills/devops-chronicle.md +154 -0
  173. package/skills/devops-deployments-cicd.md +331 -0
  174. package/skills/devops-devops-rollout-plan.md +118 -0
  175. package/skills/devops-geistdocs.md +276 -0
  176. package/skills/devops-observability.md +774 -0
  177. package/skills/devops-observe-metrics.md +35 -0
  178. package/skills/devops-observe-trace.md +30 -0
  179. package/skills/devops-phoenix-cli.md +163 -0
  180. package/skills/devops-phoenix-tracing.md +140 -0
  181. package/skills/devops-publish-to-pages.md +108 -0
  182. package/skills/devops-telemetry.md +87 -0
  183. package/skills/devops-update-avm-modules-in-bicep.md +61 -0
  184. package/skills/devops.md +81 -0
  185. package/skills/diagrams-canvas.md +204 -0
  186. package/skills/diagrams-draw-io-diagram-generator.md +463 -0
  187. package/skills/diagrams-excalidraw-diagram-generator.md +614 -0
  188. package/skills/diagrams-graphify.md +1277 -0
  189. package/skills/docs-bear-notes.md +108 -0
  190. package/skills/docs-create-llms.md +211 -0
  191. package/skills/docs-doc-gen.md +20 -0
  192. package/skills/docs-documentation-writer.md +46 -0
  193. package/skills/docs-llm-config.md +33 -0
  194. package/skills/docs-mkdocs-translations.md +109 -0
  195. package/skills/docs-obsidian-vault-maintainer.md +14 -0
  196. package/skills/docs-obsidian.md +82 -0
  197. package/skills/docs-prose.md +324 -0
  198. package/skills/docs-update-llms.md +217 -0
  199. package/skills/docs-update-markdown-file-index.md +77 -0
  200. package/skills/docs-wiki-maintainer.md +20 -0
  201. package/skills/documents.md +120 -0
  202. package/skills/email.md +113 -0
  203. package/skills/expenses.md +140 -0
  204. package/skills/file-ops.md +149 -0
  205. package/skills/files-convert-plaintext-to-md.md +363 -0
  206. package/skills/files-doc.md +81 -0
  207. package/skills/files-docx.md +594 -0
  208. package/skills/files-markdown-to-html.md +917 -0
  209. package/skills/files-nano-pdf.md +39 -0
  210. package/skills/files-pdf.md +315 -0
  211. package/skills/files-pdftk-server.md +163 -0
  212. package/skills/files-pptx-html-fidelity-audit.md +255 -0
  213. package/skills/files-pptx.md +231 -0
  214. package/skills/files-xlsx.md +301 -0
  215. package/skills/find-jobs.md +78 -0
  216. package/skills/format-conversion.md +157 -0
  217. package/skills/frontend-ai-elements.md +483 -0
  218. package/skills/frontend-ai-gateway.md +563 -0
  219. package/skills/frontend-ai-generation-persistence.md +242 -0
  220. package/skills/frontend-ai-sdk.md +799 -0
  221. package/skills/frontend-ai-visibility.md +127 -0
  222. package/skills/frontend-angular-developer.md +130 -0
  223. package/skills/frontend-aspnet-minimal-api-openapi.md +42 -0
  224. package/skills/frontend-bencium-innovative-ux-designer.md +719 -0
  225. package/skills/frontend-chat-sdk.md +666 -0
  226. package/skills/frontend-chrome-devtools.md +98 -0
  227. package/skills/frontend-frontend-app-builder.md +186 -0
  228. package/skills/frontend-frontend-design.md +43 -0
  229. package/skills/frontend-frontend-testing-debugging.md +143 -0
  230. package/skills/frontend-gsap-framer-scroll-animation.md +152 -0
  231. package/skills/frontend-internal-linking.md +109 -0
  232. package/skills/frontend-json-render.md +335 -0
  233. package/skills/frontend-keyword-clustering.md +118 -0
  234. package/skills/frontend-next-intl-add-language.md +20 -0
  235. package/skills/frontend-on-page-seo.md +112 -0
  236. package/skills/frontend-premium-frontend-ui.md +114 -0
  237. package/skills/frontend-react-best-practices.md +143 -0
  238. package/skills/frontend-schema-markup.md +160 -0
  239. package/skills/frontend-seo-audit.md +110 -0
  240. package/skills/frontend-swr.md +215 -0
  241. package/skills/frontend-technical-seo.md +162 -0
  242. package/skills/frontend-use-dom.md +418 -0
  243. package/skills/frontend-web-coder.md +564 -0
  244. package/skills/frontend-web-design-reviewer.md +369 -0
  245. package/skills/frontend-web-perf.md +202 -0
  246. package/skills/frontend.md +125 -0
  247. package/skills/general-adapter-standalone.md +199 -0
  248. package/skills/general-auth.md +356 -0
  249. package/skills/general-containerize-aspnetcore.md +393 -0
  250. package/skills/general-create-technical-spike.md +231 -0
  251. package/skills/general-cron-jobs.md +72 -0
  252. package/skills/general-ddd-aggregate.md +52 -0
  253. package/skills/general-ddd-context.md +46 -0
  254. package/skills/general-ddd-validate.md +51 -0
  255. package/skills/general-dependency-check.md +26 -0
  256. package/skills/general-email-marketing.md +86 -0
  257. package/skills/general-healthcheck.md +246 -0
  258. package/skills/general-import-infrastructure-as-code.md +368 -0
  259. package/skills/general-init.md +49 -0
  260. package/skills/general-java-junit.md +64 -0
  261. package/skills/general-java-springboot.md +66 -0
  262. package/skills/general-javascript-typescript-jest.md +45 -0
  263. package/skills/general-kotlin-springboot.md +71 -0
  264. package/skills/general-make-repo-contribution.md +91 -0
  265. package/skills/general-market-research.md +78 -0
  266. package/skills/general-marketplace.md +468 -0
  267. package/skills/general-model-recommendation.md +673 -0
  268. package/skills/general-payments.md +352 -0
  269. package/skills/general-quality-playbook.md +480 -0
  270. package/skills/general-run-integration-tests.md +113 -0
  271. package/skills/general-superjson.md +274 -0
  272. package/skills/general-swiftpm-macos.md +51 -0
  273. package/skills/general-threat-model.md +61 -0
  274. package/skills/invoices.md +167 -0
  275. package/skills/licenses.md +159 -0
  276. package/skills/logs.md +156 -0
  277. package/skills/marketing.md +139 -0
  278. package/skills/media-image-manipulation-image-magick.md +253 -0
  279. package/skills/media-imagegen.md +357 -0
  280. package/skills/media-openai-whisper-api.md +63 -0
  281. package/skills/media-openai-whisper.md +39 -0
  282. package/skills/media-peekaboo.md +191 -0
  283. package/skills/media-screenshot.md +268 -0
  284. package/skills/media-speech.md +145 -0
  285. package/skills/media-transcribe.md +82 -0
  286. package/skills/media-video-frames.md +47 -0
  287. package/skills/mobile-android-emulator-qa.md +81 -0
  288. package/skills/mobile-android-performance.md +280 -0
  289. package/skills/mobile-building-mcp-server-on-cloudflare.md +267 -0
  290. package/skills/mobile-building-native-ui.md +322 -0
  291. package/skills/mobile-expo-api-routes.md +369 -0
  292. package/skills/mobile-expo-cicd-workflows.md +92 -0
  293. package/skills/mobile-expo-deployment.md +191 -0
  294. package/skills/mobile-expo-dev-client.md +165 -0
  295. package/skills/mobile-expo-module.md +177 -0
  296. package/skills/mobile-expo-tailwind-setup.md +481 -0
  297. package/skills/mobile-expo-ui-jetpack-compose.md +41 -0
  298. package/skills/mobile-expo-ui-swift-ui.md +40 -0
  299. package/skills/mobile-ios-app-intents.md +78 -0
  300. package/skills/mobile-ios-debugger-agent.md +52 -0
  301. package/skills/mobile-ios-ettrace-performance.md +198 -0
  302. package/skills/mobile-ios-memgraph-leaks.md +77 -0
  303. package/skills/mobile-native-data-fetching.md +508 -0
  304. package/skills/mobile-packaging-notarization.md +48 -0
  305. package/skills/mobile-react-native-architecture.md +672 -0
  306. package/skills/mobile-react-native-mobile-design.md +438 -0
  307. package/skills/mobile-signing-entitlements.md +59 -0
  308. package/skills/mobile-swiftui-liquid-glass.md +91 -0
  309. package/skills/mobile-swiftui-patterns.md +210 -0
  310. package/skills/mobile-swiftui-performance-audit.md +108 -0
  311. package/skills/mobile-swiftui-ui-patterns.md +97 -0
  312. package/skills/mobile-swiftui-view-refactor.md +204 -0
  313. package/skills/mobile-upgrading-expo.md +134 -0
  314. package/skills/mobile.md +183 -0
  315. package/skills/notes.md +106 -0
  316. package/skills/planning-adr-create.md +62 -0
  317. package/skills/planning-adr-index.md +67 -0
  318. package/skills/planning-architecture-blueprint-generator.md +323 -0
  319. package/skills/planning-brainstorming.md +165 -0
  320. package/skills/planning-breakdown-epic-arch.md +67 -0
  321. package/skills/planning-breakdown-epic-pm.md +59 -0
  322. package/skills/planning-breakdown-feature-implementation.md +129 -0
  323. package/skills/planning-breakdown-feature-prd.md +62 -0
  324. package/skills/planning-breakdown-plan.md +510 -0
  325. package/skills/planning-breakdown-test.md +366 -0
  326. package/skills/planning-cloud-design-patterns.md +63 -0
  327. package/skills/planning-content-brief.md +128 -0
  328. package/skills/planning-content-strategy.md +138 -0
  329. package/skills/planning-content-translation.md +143 -0
  330. package/skills/planning-create-github-action-workflow-specification.md +277 -0
  331. package/skills/planning-create-github-issues-feature-from-implementation-plan.md +29 -0
  332. package/skills/planning-create-github-issues-for-unmet-specification-requirements.md +36 -0
  333. package/skills/planning-create-github-pull-request-from-specification.md +25 -0
  334. package/skills/planning-create-implementation-plan.md +158 -0
  335. package/skills/planning-create-specification.md +128 -0
  336. package/skills/planning-first-ask.md +31 -0
  337. package/skills/planning-folder-structure-blueprint-generator.md +406 -0
  338. package/skills/planning-gen-specs-as-issues.md +166 -0
  339. package/skills/planning-generate-snapshot.md +144 -0
  340. package/skills/planning-generate-status-report.md +336 -0
  341. package/skills/planning-metric-pack-designer.md +27 -0
  342. package/skills/planning-pm-spec.md +53 -0
  343. package/skills/planning-prd.md +144 -0
  344. package/skills/planning-project-assessment.md +182 -0
  345. package/skills/planning-project-setup-info-local.md +128 -0
  346. package/skills/planning-project-workflow-analysis-blueprint-generator.md +294 -0
  347. package/skills/planning-service-oriented-architecture.md +248 -0
  348. package/skills/planning-spec-to-backlog.md +544 -0
  349. package/skills/planning-technology-stack-blueprint-generator.md +243 -0
  350. package/skills/planning-update-implementation-plan.md +158 -0
  351. package/skills/planning-update-specification.md +128 -0
  352. package/skills/planning-what-context-needed.md +40 -0
  353. package/skills/planning-writing-plans.md +153 -0
  354. package/skills/prepare-application.md +81 -0
  355. package/skills/productivity-apple-notes.md +78 -0
  356. package/skills/productivity-apple-reminders.md +119 -0
  357. package/skills/productivity-capture-tasks-from-meeting-notes.md +680 -0
  358. package/skills/productivity-daily-prep.md +156 -0
  359. package/skills/productivity-email-drafter.md +101 -0
  360. package/skills/productivity-hr-onboarding.md +53 -0
  361. package/skills/productivity-things-mac.md +87 -0
  362. package/skills/productivity-update.md +169 -0
  363. package/skills/reminders.md +109 -0
  364. package/skills/research-dossier-collect.md +71 -0
  365. package/skills/research-kg-extract.md +37 -0
  366. package/skills/research-openai-docs.md +89 -0
  367. package/skills/research-research-add-items.md +31 -0
  368. package/skills/research-research-report.md +94 -0
  369. package/skills/research-research-synthesize.md +63 -0
  370. package/skills/research-summarize.md +88 -0
  371. package/skills/research-transformers-js.md +635 -0
  372. package/skills/research.md +119 -0
  373. package/skills/security-ai-prompt-engineering-safety-review.md +231 -0
  374. package/skills/security-attack-path-analysis.md +182 -0
  375. package/skills/security-gdpr-compliant.md +284 -0
  376. package/skills/security-mcp-security-audit.md +279 -0
  377. package/skills/security-pii-detect.md +31 -0
  378. package/skills/security-secret-scanning.md +243 -0
  379. package/skills/security-security-best-practices.md +87 -0
  380. package/skills/security-security-ownership-map.md +207 -0
  381. package/skills/security-security-review.md +169 -0
  382. package/skills/security-security-scan.md +138 -0
  383. package/skills/security-security-threat-model.md +82 -0
  384. package/skills/security-threat-model-analyst.md +76 -0
  385. package/skills/sysmon.md +181 -0
  386. package/skills/system-arch-linux-triage.md +32 -0
  387. package/skills/system-centos-linux-triage.md +32 -0
  388. package/skills/system-debian-linux-triage.md +32 -0
  389. package/skills/system-fedora-linux-triage.md +32 -0
  390. package/skills/system-geofeed-tuner.md +865 -0
  391. package/skills/system-iot-anomalies.md +15 -0
  392. package/skills/system-iot-firmware.md +16 -0
  393. package/skills/system-iot-fleet.md +14 -0
  394. package/skills/system-iot-register.md +19 -0
  395. package/skills/system-iot-witness-verify.md +15 -0
  396. package/skills/system-tmux.md +171 -0
  397. package/skills/system-window-management.md +228 -0
  398. package/skills/task-management.md +90 -0
  399. package/skills/tasks.md +102 -0
  400. package/skills/test-coverage.md +188 -0
  401. package/skills/ux-ui.md +128 -0
  402. package/skills/web.md +186 -0
  403. package/skills/workflow-act-on-feedback.md +15 -0
  404. package/skills/workflow-automate-this.md +245 -0
  405. package/skills/workflow-autoresearch.md +276 -0
  406. package/skills/workflow-coding-agent.md +317 -0
  407. package/skills/workflow-deep-research.md +44 -0
  408. package/skills/workflow-dispatching-parallel-agents.md +183 -0
  409. package/skills/workflow-eval-driven-dev.md +148 -0
  410. package/skills/workflow-executing-plans.md +71 -0
  411. package/skills/workflow-mentoring-juniors.md +311 -0
  412. package/skills/workflow-receiving-code-review.md +214 -0
  413. package/skills/workflow-repo-story-time.md +155 -0
  414. package/skills/workflow-requesting-code-review.md +104 -0
  415. package/skills/workflow-session-report.md +43 -0
  416. package/skills/workflow-structured-autonomy-generate.md +126 -0
  417. package/skills/workflow-subagent-driven-development.md +280 -0
  418. package/skills/writing.md +106 -0
  419. package/src/agent.js +0 -0
  420. package/src/browser.js +297 -0
  421. package/src/cli.js +25 -4
  422. package/src/code-reviewer.js +119 -0
  423. package/src/completions.js +1 -1
  424. package/src/control.js +222 -30
  425. package/src/coordinator.js +303 -0
  426. package/src/correction.js +29 -8
  427. package/src/edit-tracker.js +21 -0
  428. package/src/edit-viewer.js +414 -0
  429. package/src/endpoints.js +64 -15
  430. package/src/index.js +45 -11
  431. package/src/llm.js +86 -2
  432. package/src/mcp-client.js +416 -0
  433. package/src/memory.js +182 -0
  434. package/src/planner.js +216 -0
  435. package/src/rules.js +90 -0
  436. package/src/self-commands.js +757 -0
  437. package/src/services/voice.js +10 -7
  438. package/src/session-search.js +427 -0
  439. package/src/session.js +487 -99
  440. package/src/shmakk-server.js +91 -0
  441. package/src/skills.js +410 -3
  442. package/src/subagent.js +4 -1
  443. package/src/system-prompt.js +13 -5
  444. package/src/task-file.js +114 -0
  445. package/src/taskClassifier.js +246 -0
  446. package/src/team.js +752 -0
  447. package/src/tools.js +142 -21
  448. package/src/web.js +35 -5
  449. package/src/workflows.js +261 -0
  450. package/src/workspace-index.js +25 -6
@@ -0,0 +1,357 @@
1
+ ---
2
+ name: "imagegen"
3
+ description: "Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output should be a bitmap asset rather than repo-native code or vector. Do not use when the task is better handled by editing existing SVG/vector/code-native assets, extending an established icon or logo system, or building the visual directly in HTML/CSS/canvas."
4
+ category: media
5
+ ---
6
+
7
+ # Image Generation Skill
8
+
9
+ Generates or edits images for the current project (for example website assets, game assets, UI mockups, product mockups, wireframes, logo design, photorealistic images, or infographics).
10
+
11
+ ## Top-level modes and rules
12
+
13
+ This skill has exactly two top-level modes:
14
+
15
+ - **Default built-in tool mode (preferred):** built-in `image_gen` tool for normal image generation, editing, and simple transparent-image requests. Does not require `OPENAI_API_KEY`.
16
+ - **Fallback CLI mode:** `scripts/image_gen.py` CLI. Use when the user explicitly asks for the CLI/API/model path, or after the user explicitly confirms a true model-native transparency fallback with `gpt-image-1.5`. Requires `OPENAI_API_KEY`.
17
+
18
+ Within CLI fallback, the CLI exposes three subcommands:
19
+
20
+ - `generate`
21
+ - `edit`
22
+ - `generate-batch`
23
+
24
+ Rules:
25
+ - Use the built-in `image_gen` tool by default for normal image generation and editing requests.
26
+ - Do not switch to CLI fallback for ordinary quality, size, or file-path control.
27
+ - If the user explicitly asks for a transparent image/background, stay on built-in `image_gen` first: prompt for a flat removable chroma-key background, then remove it locally with the installed helper at `$CODEX_HOME/skills/.system/imagegen/scripts/remove_chroma_key.py`.
28
+ - Never silently switch from built-in `image_gen` or CLI `gpt-image-2` to CLI `gpt-image-1.5`. Treat this as a model/path downgrade and ask the user before doing it, unless the user has already explicitly requested `gpt-image-1.5`, `scripts/image_gen.py`, or CLI fallback.
29
+ - If a transparent request appears too complex for clean chroma-key removal, asks for true/native transparency, or local removal fails validation, explain that true transparency requires CLI `gpt-image-1.5 --background transparent --output-format png` because `gpt-image-2` does not support `background=transparent`, then ask whether to proceed. Run the CLI fallback only after the user confirms.
30
+ - The word `batch` by itself does not mean CLI fallback. If the user asks for many assets or says to batch-generate assets without explicitly asking for CLI/API/model controls, stay on the built-in path and issue one built-in call per requested asset or variant.
31
+ - If the built-in tool fails or is unavailable, tell the user the CLI fallback exists and that it requires `OPENAI_API_KEY`. Proceed only if the user explicitly asks for that fallback.
32
+ - If the user explicitly asks for CLI mode, use the bundled `scripts/image_gen.py` workflow. Do not create one-off SDK runners.
33
+ - Never modify `scripts/image_gen.py`. If something is missing, ask the user before doing anything else.
34
+
35
+ Built-in save-path policy:
36
+ - In built-in tool mode, Codex saves generated images under `$CODEX_HOME/*` by default.
37
+ - Do not describe or rely on OS temp as the default built-in destination.
38
+ - Do not describe or rely on a destination-path argument (if any) on the built-in `image_gen` tool. If a specific location is needed, generate first and then move or copy the selected output from `$CODEX_HOME/generated_images/...`.
39
+ - Save-path precedence in built-in mode:
40
+ 1. If the user names a destination, move or copy the selected output there.
41
+ 2. If the image is meant for the current project, move or copy the final selected image into the workspace before finishing.
42
+ 3. If the image is only for preview or brainstorming, render it inline; the underlying file can remain at the default `$CODEX_HOME/*` path.
43
+ - Never leave a project-referenced asset only at the default `$CODEX_HOME/*` path.
44
+ - Do not overwrite an existing asset unless the user explicitly asked for replacement; otherwise create a sibling versioned filename such as `hero-v2.png` or `item-icon-edited.png`.
45
+
46
+ Shared prompt guidance for both modes lives in `references/prompting.md` and `references/sample-prompts.md`.
47
+
48
+ Fallback-only docs/resources for CLI mode:
49
+ - `references/cli.md`
50
+ - `references/image-api.md`
51
+ - `references/codex-network.md`
52
+ - `scripts/image_gen.py`
53
+
54
+ Local post-processing helper:
55
+ - `$CODEX_HOME/skills/.system/imagegen/scripts/remove_chroma_key.py`: removes a flat chroma-key background from a generated image and writes a PNG/WebP with alpha. Prefer auto-key sampling, soft matte, and despill for antialiased edges.
56
+
57
+ ## When to use
58
+ - Generate a new image (concept art, product shot, cover, website hero)
59
+ - Generate a new image using one or more reference images for style, composition, or mood
60
+ - Edit an existing image (inpainting, lighting or weather transformations, background replacement, object removal, compositing, transparent background)
61
+ - Produce many assets or variants for one task
62
+
63
+ ## When not to use
64
+ - Extending or matching an existing SVG/vector icon set, logo system, or illustration library inside the repo
65
+ - Creating simple shapes, diagrams, wireframes, or icons that are better produced directly in SVG, HTML/CSS, or canvas
66
+ - Making a small project-local asset edit when the source file already exists in an editable native format
67
+ - Any task where the user clearly wants deterministic code-native output instead of a generated bitmap
68
+
69
+ ## Decision tree
70
+
71
+ Think about two separate questions:
72
+
73
+ 1. **Intent:** is this a new image or an edit of an existing image?
74
+ 2. **Execution strategy:** is this one asset or many assets/variants?
75
+
76
+ Intent:
77
+ - If the user wants to modify an existing image while preserving parts of it, treat the request as **edit**.
78
+ - If the user provides images only as references for style, composition, mood, or subject guidance, treat the request as **generate**.
79
+ - If the user provides no images, treat the request as **generate**.
80
+
81
+ Built-in edit semantics:
82
+ - Built-in edit mode is for images already visible in the conversation context, such as attached images or images generated earlier in the thread.
83
+ - If the user wants to edit a local image file with the built-in tool, first load it with built-in `view_image` tool so the image is visible in the conversation context, then proceed with the built-in edit flow.
84
+ - Do not promise arbitrary filesystem-path editing through the built-in tool.
85
+ - If a local file still needs direct file-path control, masks, or other explicit CLI-only parameters, use the explicit CLI fallback only when the user asks for it.
86
+ - For edits, preserve invariants aggressively and save non-destructively by default.
87
+
88
+ Execution strategy:
89
+ - In the built-in default path, produce many assets or variants by issuing one `image_gen` call per requested asset or variant.
90
+ - In the CLI fallback path, use the CLI `generate-batch` subcommand only when the user explicitly chose CLI mode and needs many prompts/assets.
91
+ - For many distinct assets, do not use `n` as a substitute for separate prompts. `n` is for variants of one prompt; distinct assets need distinct built-in calls or distinct CLI `generate-batch` jobs.
92
+
93
+ Assume the user wants a new image unless they clearly ask to change an existing one.
94
+
95
+ ## Workflow
96
+ 1. Decide the top-level mode: built-in by default, including simple transparent-output requests; fallback CLI only if explicitly requested or after the user explicitly confirms a transparent-output fallback.
97
+ 2. Decide the intent: `generate` or `edit`.
98
+ 3. Decide whether the output is preview-only or meant to be consumed by the current project.
99
+ 4. Decide the execution strategy: single asset vs repeated built-in calls vs CLI `generate-batch`.
100
+ 5. Collect inputs up front: prompt(s), exact text (verbatim), constraints/avoid list, and any input images.
101
+ 6. For every input image, label its role explicitly:
102
+ - reference image
103
+ - edit target
104
+ - supporting insert/style/compositing input
105
+ 7. If the edit target is only on the local filesystem and you are staying on the built-in path, inspect it with `view_image` first so the image is available in conversation context.
106
+ 8. If the user asked for a photo, illustration, sprite, product image, banner, or other explicitly raster-style asset, use `image_gen` rather than substituting SVG/HTML/CSS placeholders. If the request is for an icon, logo, or UI graphic that should match existing repo-native SVG/vector/code assets, prefer editing those directly instead.
107
+ 9. Augment the prompt based on specificity:
108
+ - If the user's prompt is already specific and detailed, normalize it into a clear spec without adding creative requirements.
109
+ - If the user's prompt is generic, add tasteful augmentation only when it materially improves output quality.
110
+ 10. Use the built-in `image_gen` tool by default.
111
+ 11. For transparent-output requests, follow the transparent image guidance below: generate with built-in `image_gen` on a flat chroma-key background, copy the selected output into the workspace or `tmp/imagegen/`, run the installed `$CODEX_HOME/skills/.system/imagegen/scripts/remove_chroma_key.py` helper, and validate the alpha result before using it. If this path looks unsuitable or fails, ask before switching to CLI `gpt-image-1.5`.
112
+ 12. Inspect outputs and validate: subject, style, composition, text accuracy, and invariants/avoid items.
113
+ 13. Iterate with a single targeted change, then re-check.
114
+ 14. For preview-only work, render the image inline; the underlying file may remain at the default `$CODEX_HOME/generated_images/...` path.
115
+ 15. For project-bound work, move or copy the selected artifact into the workspace and update any consuming code or references. Never leave a project-referenced asset only at the default `$CODEX_HOME/generated_images/...` path.
116
+ 16. For batches or multi-asset requests, persist every requested deliverable final in the workspace unless the user explicitly asked to keep outputs preview-only. Discarded variants do not need to be kept unless requested.
117
+ 17. If the user explicitly chooses or confirms the CLI fallback, then use the fallback-only docs for model, quality, size, `input_fidelity`, masks, output format, output paths, and network setup.
118
+ 18. Always report the final saved path(s) for any workspace-bound asset(s), plus the final prompt or prompt set and whether the built-in tool or fallback CLI mode was used.
119
+
120
+ ## Transparent image requests
121
+
122
+ Transparent-image requests still use built-in `image_gen` first. Because the built-in tool does not expose a true transparent-background control, create a removable chroma-key source image and then convert the key color to alpha locally.
123
+
124
+ Default sequence:
125
+ 1. Use built-in `image_gen` to generate the requested subject on a perfectly flat solid chroma-key background.
126
+ 2. Choose a key color that is unlikely to appear in the subject: default `#00ff00`, use `#ff00ff` for green subjects, and avoid `#0000ff` for blue subjects.
127
+ 3. After generation, move or copy the selected source image from `$CODEX_HOME/generated_images/...` into the workspace or `tmp/imagegen/`.
128
+ 4. Run the installed helper path, not a project-relative script path:
129
+ ```bash
130
+ python "${CODEX_HOME:-$HOME/.codex}/skills/.system/imagegen/scripts/remove_chroma_key.py" \
131
+ --input <source> \
132
+ --out <final.png> \
133
+ --auto-key border \
134
+ --soft-matte \
135
+ --transparent-threshold 12 \
136
+ --opaque-threshold 220 \
137
+ --despill
138
+ ```
139
+ 5. Validate that the output has an alpha channel, transparent corners, plausible subject coverage, and no obvious key-color fringe. If a thin fringe remains, retry once with `--edge-contract 1`; use `--edge-feather 0.25` only when the edge is visibly stair-stepped and the subject is not shiny or reflective.
140
+ 6. Save the final alpha PNG/WebP in the project if the asset is project-bound. Never leave a project-referenced transparent asset only under `$CODEX_HOME/*`.
141
+
142
+ Prompt transparent requests like this:
143
+
144
+ ```text
145
+ Create the requested subject on a perfectly flat solid #00ff00 chroma-key background for background removal.
146
+ The background must be one uniform color with no shadows, gradients, texture, reflections, floor plane, or lighting variation.
147
+ Keep the subject fully separated from the background with crisp edges and generous padding.
148
+ Do not use #00ff00 anywhere in the subject.
149
+ No cast shadow, no contact shadow, no reflection, no watermark, and no text unless explicitly requested.
150
+ ```
151
+
152
+ Do not automatically use CLI `gpt-image-1.5 --background transparent --output-format png` instead of chroma keying. Ask the user first when the user asks for true/native transparency, when local removal fails validation, or when the requested image is complex: hair, fur, feathers, smoke, glass, liquids, translucent materials, reflective objects, soft shadows, realistic product grounding, or subject colors that conflict with all practical key colors.
153
+
154
+ Use a concise confirmation like:
155
+
156
+ ```text
157
+ This likely needs true native transparency. The default built-in path uses a chroma-key background plus local removal, but true transparency requires the CLI fallback with gpt-image-1.5 because gpt-image-2 does not support background=transparent. It also requires OPENAI_API_KEY. Should I proceed with that CLI fallback?
158
+ ```
159
+
160
+ ## Prompt augmentation
161
+
162
+ Reformat user prompts into a structured, production-oriented spec. Make the user's goal clearer and more actionable, but do not blindly add detail.
163
+
164
+ Treat this as prompt-shaping guidance, not a closed schema. Use only the lines that help, and add a short extra labeled line when it materially improves clarity.
165
+
166
+ ### Specificity policy
167
+
168
+ Use the user's prompt specificity to decide how much augmentation is appropriate:
169
+
170
+ - If the prompt is already specific and detailed, preserve that specificity and only normalize/structure it.
171
+ - If the prompt is generic, you may add tasteful augmentation when it will materially improve the result.
172
+
173
+ Allowed augmentations:
174
+ - composition or framing hints
175
+ - polish level or intended-use hints
176
+ - practical layout guidance
177
+ - reasonable scene concreteness that supports the stated request
178
+
179
+ Not allowed augmentations:
180
+ - extra characters or objects that are not implied by the request
181
+ - brand names, slogans, palettes, or narrative beats that are not implied
182
+ - arbitrary side-specific placement unless the surrounding layout supports it
183
+
184
+ ## Use-case taxonomy (exact slugs)
185
+
186
+ Classify each request into one of these buckets and keep the slug consistent across prompts and references.
187
+
188
+ Generate:
189
+ - photorealistic-natural — candid/editorial lifestyle scenes with real texture and natural lighting.
190
+ - product-mockup — product/packaging shots, catalog imagery, merch concepts.
191
+ - ui-mockup — app/web interface mockups and wireframes; specify the desired fidelity.
192
+ - infographic-diagram — diagrams/infographics with structured layout and text.
193
+ - scientific-educational — classroom explainers, scientific diagrams, and learning visuals with required labels and accuracy constraints.
194
+ - ads-marketing — campaign concepts and ad creatives with audience, brand position, scene, and exact tagline/copy.
195
+ - productivity-visual — slide, chart, workflow, and data-heavy business visuals.
196
+ - logo-brand — logo/mark exploration, vector-friendly.
197
+ - illustration-story — comics, children’s book art, narrative scenes.
198
+ - stylized-concept — style-driven concept art, 3D/stylized renders.
199
+ - historical-scene — period-accurate/world-knowledge scenes.
200
+
201
+ Edit:
202
+ - text-localization — translate/replace in-image text, preserve layout.
203
+ - identity-preserve — try-on, person-in-scene; lock face/body/pose.
204
+ - precise-object-edit — remove/replace a specific element (including interior swaps).
205
+ - lighting-weather — time-of-day/season/atmosphere changes only.
206
+ - background-extraction — transparent background / clean cutout. Use built-in `image_gen` with chroma-key removal first for simple opaque subjects; ask before using CLI true transparency for complex subjects.
207
+ - style-transfer — apply reference style while changing subject/scene.
208
+ - compositing — multi-image insert/merge with matched lighting/perspective.
209
+ - sketch-to-render — drawing/line art to photoreal render.
210
+
211
+ ## Shared prompt schema
212
+
213
+ Use the following labeled spec as shared prompt scaffolding for both top-level modes:
214
+
215
+ ```text
216
+ Use case: <taxonomy slug>
217
+ Asset type: <where the asset will be used>
218
+ Primary request: <user's main prompt>
219
+ Input images: <Image 1: role; Image 2: role> (optional)
220
+ Scene/backdrop: <environment>
221
+ Subject: <main subject>
222
+ Style/medium: <photo/illustration/3D/etc>
223
+ Composition/framing: <wide/close/top-down; placement>
224
+ Lighting/mood: <lighting + mood>
225
+ Color palette: <palette notes>
226
+ Materials/textures: <surface details>
227
+ Text (verbatim): "<exact text>"
228
+ Constraints: <must keep/must avoid>
229
+ Avoid: <negative constraints>
230
+ ```
231
+
232
+ Notes:
233
+ - `Asset type` and `Input images` are prompt scaffolding, not dedicated CLI flags.
234
+ - `Scene/backdrop` refers to the visual setting. It is not the same as the fallback CLI `background` parameter, which controls output transparency behavior.
235
+ - Fallback-only execution notes such as `Quality:`, `Input fidelity:`, masks, output format, and output paths belong in the CLI path only. Do not treat them as built-in `image_gen` tool arguments.
236
+
237
+ Augmentation rules:
238
+ - Keep it short.
239
+ - Add only the details needed to improve the prompt materially.
240
+ - For edits, explicitly list invariants (`change only X; keep Y unchanged`).
241
+ - If any critical detail is missing and blocks success, ask a question; otherwise proceed.
242
+
243
+ ## Examples
244
+
245
+ ### Generation example (hero image)
246
+ ```text
247
+ Use case: product-mockup
248
+ Asset type: landing page hero
249
+ Primary request: a minimal hero image of a ceramic coffee mug
250
+ Style/medium: clean product photography
251
+ Composition/framing: wide composition with usable negative space for page copy if needed
252
+ Lighting/mood: soft studio lighting
253
+ Constraints: no logos, no text, no watermark
254
+ ```
255
+
256
+ ### Edit example (invariants)
257
+ ```text
258
+ Use case: precise-object-edit
259
+ Asset type: product photo background replacement
260
+ Primary request: replace only the background with a warm sunset gradient
261
+ Constraints: change only the background; keep the product and its edges unchanged; no text; no watermark
262
+ ```
263
+
264
+ ## Prompting best practices
265
+ - Structure prompt as scene/backdrop -> subject -> details -> constraints.
266
+ - Include intended use (ad, UI mock, infographic) to set the mode and polish level.
267
+ - Use camera/composition language for photorealism.
268
+ - Only use SVG/vector stand-ins when the user explicitly asked for vector output or a non-image placeholder.
269
+ - Quote exact text and specify typography + placement.
270
+ - For tricky words, spell them letter-by-letter and require verbatim rendering.
271
+ - For multi-image inputs, reference images by index and describe how they should be used.
272
+ - For edits, repeat invariants every iteration to reduce drift.
273
+ - Iterate with single-change follow-ups.
274
+ - If the prompt is generic, add only the extra detail that will materially help.
275
+ - If the prompt is already detailed, normalize it instead of expanding it.
276
+ - For CLI fallback only, see `references/cli.md` and `references/image-api.md` for model, `quality`, `input_fidelity`, masks, output format, and output-path guidance.
277
+ - For transparent images, use the built-in-first chroma-key workflow unless the request is complex enough to need true CLI transparency; ask before switching to CLI `gpt-image-1.5`.
278
+
279
+ More principles shared by both modes: `references/prompting.md`.
280
+ Copy/paste specs shared by both modes: `references/sample-prompts.md`.
281
+
282
+ ## Guidance by asset type
283
+ Asset-type templates (website assets, game assets, wireframes, logo) are consolidated in `references/sample-prompts.md`.
284
+
285
+ ## gpt-image-2 guidance for CLI fallback
286
+
287
+ The fallback CLI defaults to `gpt-image-2`.
288
+
289
+ - Use `gpt-image-2` for new CLI/API workflows unless the request needs true model-native transparent output.
290
+ - If a transparent request may need CLI fallback, ask before using `gpt-image-1.5` unless the user already explicitly requested `gpt-image-1.5`, `scripts/image_gen.py`, or CLI fallback. Explain that the built-in chroma-key path is the default, but true transparency requires `gpt-image-1.5` because `gpt-image-2` does not support `background=transparent`.
291
+ - `gpt-image-2` always uses high fidelity for image inputs; do not set `input_fidelity` with this model.
292
+ - `gpt-image-2` supports `quality` values `low`, `medium`, `high`, and `auto`.
293
+ - Use `quality low` for fast drafts, thumbnails, and quick iterations. Use `medium`, `high`, or `auto` for final assets, dense text, diagrams, identity-sensitive edits, or high-resolution outputs.
294
+ - Square images are typically fastest to generate. Use `1024x1024` for fast square drafts.
295
+ - If the user asks for 4K-style output, use `3840x2160` for landscape or `2160x3840` for portrait.
296
+ - `gpt-image-2` size may be `auto` or `WIDTHxHEIGHT` if all constraints hold: max edge `<= 3840px`, both edges multiples of `16px`, long-to-short ratio `<= 3:1`, total pixels between `655,360` and `8,294,400`.
297
+
298
+ Popular `gpt-image-2` sizes:
299
+ - `1024x1024` square
300
+ - `1536x1024` landscape
301
+ - `1024x1536` portrait
302
+ - `2048x2048` 2K square
303
+ - `2048x1152` 2K landscape
304
+ - `3840x2160` 4K landscape
305
+ - `2160x3840` 4K portrait
306
+ - `auto`
307
+
308
+ ## Fallback CLI mode only
309
+
310
+ ### Temp and output conventions
311
+ These conventions apply only to the CLI fallback. They do not describe built-in `image_gen` output behavior.
312
+ - Use `tmp/imagegen/` for intermediate files (for example JSONL batches); delete them when done.
313
+ - Write final artifacts under `output/imagegen/`.
314
+ - Use `--out` or `--out-dir` to control output paths; keep filenames stable and descriptive.
315
+
316
+ ### Dependencies
317
+ Prefer `uv` for dependency management in this repo.
318
+
319
+ Required Python package:
320
+ ```bash
321
+ uv pip install openai
322
+ ```
323
+
324
+ Required for local chroma-key removal and optional downscaling:
325
+ ```bash
326
+ uv pip install pillow
327
+ ```
328
+
329
+ Portability note:
330
+ - If you are using the installed skill outside this repo, install dependencies into that environment with its package manager.
331
+ - In uv-managed environments, `uv pip install ...` remains the preferred path.
332
+
333
+ ### Environment
334
+ - `OPENAI_API_KEY` must be set for live API calls.
335
+ - Do not ask the user for `OPENAI_API_KEY` when using the built-in `image_gen` tool.
336
+ - Never ask the user to paste the full key in chat. Ask them to set it locally and confirm when ready.
337
+
338
+ If the key is missing, give the user these steps:
339
+ 1. Create an API key in the OpenAI platform UI: https://platform.openai.com/api-keys
340
+ 2. Set `OPENAI_API_KEY` as an environment variable in their system.
341
+ 3. Offer to guide them through setting the environment variable for their OS/shell if needed.
342
+
343
+ If installation is not possible in this environment, tell the user which dependency is missing and how to install it into their active environment.
344
+
345
+ ### Script-mode notes
346
+ - CLI commands + examples: `references/cli.md`
347
+ - API parameter quick reference: `references/image-api.md`
348
+ - Network approvals / sandbox settings for CLI mode: `references/codex-network.md`
349
+
350
+ ## Reference map
351
+ - `references/prompting.md`: shared prompting principles for both modes.
352
+ - `references/sample-prompts.md`: shared copy/paste prompt recipes for both modes.
353
+ - `references/cli.md`: fallback-only CLI usage via `scripts/image_gen.py`.
354
+ - `references/image-api.md`: fallback-only API/CLI parameter reference.
355
+ - `references/codex-network.md`: fallback-only network/sandbox troubleshooting for CLI mode.
356
+ - `scripts/image_gen.py`: fallback-only CLI implementation. Do not load or use it unless the user explicitly chooses CLI mode or explicitly confirms a transparent request's true CLI transparency fallback.
357
+ - `$CODEX_HOME/skills/.system/imagegen/scripts/remove_chroma_key.py`: local post-processing helper for built-in transparent-image requests.
@@ -0,0 +1,63 @@
1
+ ---
2
+ name: openai-whisper-api
3
+ description: Transcribe audio via OpenAI Audio Transcriptions API (Whisper).
4
+ homepage: https://platform.openai.com/docs/guides/speech-to-text
5
+ metadata:
6
+ {
7
+ "openclaw":
8
+ {
9
+ "emoji": "🌐",
10
+ "requires": { "bins": ["curl"], "env": ["OPENAI_API_KEY"] },
11
+ "primaryEnv": "OPENAI_API_KEY",
12
+ "install":
13
+ [
14
+ {
15
+ "id": "brew",
16
+ "kind": "brew",
17
+ "formula": "curl",
18
+ "bins": ["curl"],
19
+ "label": "Install curl (brew)",
20
+ },
21
+ ],
22
+ },
23
+ }
24
+ category: media
25
+ ---
26
+
27
+ # OpenAI Whisper API (curl)
28
+
29
+ Transcribe an audio file via OpenAI’s `/v1/audio/transcriptions` endpoint. Set `OPENAI_BASE_URL` to use an OpenAI-compatible proxy or local gateway.
30
+
31
+ ## Quick start
32
+
33
+ ```bash
34
+ {baseDir}/scripts/transcribe.sh /path/to/audio.m4a
35
+ ```
36
+
37
+ Defaults:
38
+
39
+ - Model: `whisper-1`
40
+ - Output: `<input>.txt`
41
+
42
+ ## Useful flags
43
+
44
+ ```bash
45
+ {baseDir}/scripts/transcribe.sh /path/to/audio.ogg --model whisper-1 --out /tmp/transcript.txt
46
+ {baseDir}/scripts/transcribe.sh /path/to/audio.m4a --language en
47
+ {baseDir}/scripts/transcribe.sh /path/to/audio.m4a --prompt "Speaker names: Peter, Daniel"
48
+ {baseDir}/scripts/transcribe.sh /path/to/audio.m4a --json --out /tmp/transcript.json
49
+ ```
50
+
51
+ ## API key
52
+
53
+ Set `OPENAI_API_KEY`, or configure it in the active OpenClaw config file (`$OPENCLAW_CONFIG_PATH`, default `~/.openclaw/openclaw.json`). Optionally set `OPENAI_BASE_URL` (for example `http://127.0.0.1:51805/v1`) to use an OpenAI-compatible proxy or local gateway:
54
+
55
+ ```json5
56
+ {
57
+ skills: {
58
+ "openai-whisper-api": {
59
+ apiKey: "OPENAI_KEY_HERE",
60
+ },
61
+ },
62
+ }
63
+ ```
@@ -0,0 +1,39 @@
1
+ ---
2
+ name: openai-whisper
3
+ description: Local speech-to-text with the Whisper CLI (no API key).
4
+ homepage: https://openai.com/research/whisper
5
+ metadata:
6
+ {
7
+ "openclaw":
8
+ {
9
+ "emoji": "🎤",
10
+ "requires": { "bins": ["whisper"] },
11
+ "install":
12
+ [
13
+ {
14
+ "id": "brew",
15
+ "kind": "brew",
16
+ "formula": "openai-whisper",
17
+ "bins": ["whisper"],
18
+ "label": "Install OpenAI Whisper (brew)",
19
+ },
20
+ ],
21
+ },
22
+ }
23
+ category: media
24
+ ---
25
+
26
+ # Whisper (CLI)
27
+
28
+ Use `whisper` to transcribe audio locally.
29
+
30
+ Quick start
31
+
32
+ - `whisper /path/audio.mp3 --model medium --output_format txt --output_dir .`
33
+ - `whisper /path/audio.m4a --task translate --output_format srt`
34
+
35
+ Notes
36
+
37
+ - Models download to `~/.cache/whisper` on first run.
38
+ - `--model` defaults to `turbo` on this install.
39
+ - Use smaller models for speed, larger for accuracy.
@@ -0,0 +1,191 @@
1
+ ---
2
+ name: peekaboo
3
+ description: Capture and automate macOS UI with the Peekaboo CLI.
4
+ homepage: https://peekaboo.boo
5
+ metadata:
6
+ {
7
+ "openclaw":
8
+ {
9
+ "emoji": "👀",
10
+ "os": ["darwin"],
11
+ "requires": { "bins": ["peekaboo"] },
12
+ "install":
13
+ [
14
+ {
15
+ "id": "brew",
16
+ "kind": "brew",
17
+ "formula": "steipete/tap/peekaboo",
18
+ "bins": ["peekaboo"],
19
+ "label": "Install Peekaboo (brew)",
20
+ },
21
+ ],
22
+ },
23
+ }
24
+ category: media
25
+ ---
26
+
27
+ # Peekaboo
28
+
29
+ Peekaboo is a full macOS UI automation CLI: capture/inspect screens, target UI
30
+ elements, drive input, and manage apps/windows/menus. Commands share a snapshot
31
+ cache and support `--json`/`-j` for scripting. Run `peekaboo` or
32
+ `peekaboo <cmd> --help` for flags; `peekaboo --version` prints build metadata.
33
+ Tip: run via `polter peekaboo` to ensure fresh builds.
34
+
35
+ ## Features (all CLI capabilities, excluding agent/MCP)
36
+
37
+ Core
38
+
39
+ - `bridge`: inspect Peekaboo Bridge host connectivity
40
+ - `capture`: live capture or video ingest + frame extraction
41
+ - `clean`: prune snapshot cache and temp files
42
+ - `config`: init/show/edit/validate, providers, models, credentials
43
+ - `image`: capture screenshots (screen/window/menu bar regions)
44
+ - `learn`: print the full agent guide + tool catalog
45
+ - `list`: apps, windows, screens, menubar, permissions
46
+ - `permissions`: check Screen Recording/Accessibility status
47
+ - `run`: execute `.peekaboo.json` scripts
48
+ - `sleep`: pause execution for a duration
49
+ - `tools`: list available tools with filtering/display options
50
+
51
+ Interaction
52
+
53
+ - `click`: target by ID/query/coords with smart waits
54
+ - `drag`: drag & drop across elements/coords/Dock
55
+ - `hotkey`: modifier combos like `cmd,shift,t`
56
+ - `move`: cursor positioning with optional smoothing
57
+ - `paste`: set clipboard -> paste -> restore
58
+ - `press`: special-key sequences with repeats
59
+ - `scroll`: directional scrolling (targeted + smooth)
60
+ - `swipe`: gesture-style drags between targets
61
+ - `type`: text + control keys (`--clear`, delays)
62
+
63
+ System
64
+
65
+ - `app`: launch/quit/relaunch/hide/unhide/switch/list apps
66
+ - `clipboard`: read/write clipboard (text/images/files)
67
+ - `dialog`: click/input/file/dismiss/list system dialogs
68
+ - `dock`: launch/right-click/hide/show/list Dock items
69
+ - `menu`: click/list application menus + menu extras
70
+ - `menubar`: list/click status bar items
71
+ - `open`: enhanced `open` with app targeting + JSON payloads
72
+ - `space`: list/switch/move-window (Spaces)
73
+ - `visualizer`: exercise Peekaboo visual feedback animations
74
+ - `window`: close/minimize/maximize/move/resize/focus/list
75
+
76
+ Vision
77
+
78
+ - `see`: annotated UI maps, snapshot IDs, optional analysis
79
+
80
+ Global runtime flags
81
+
82
+ - `--json`/`-j`, `--verbose`/`-v`, `--log-level <level>`
83
+ - `--no-remote`, `--bridge-socket <path>`
84
+
85
+ ## Quickstart (happy path)
86
+
87
+ ```bash
88
+ peekaboo permissions
89
+ peekaboo list apps --json
90
+ peekaboo see --annotate --path /tmp/peekaboo-see.png
91
+ peekaboo click --on B1
92
+ peekaboo type "Hello" --return
93
+ ```
94
+
95
+ ## Common targeting parameters (most interaction commands)
96
+
97
+ - App/window: `--app`, `--pid`, `--window-title`, `--window-id`, `--window-index`
98
+ - Snapshot targeting: `--snapshot` (ID from `see`; defaults to latest)
99
+ - Element/coords: `--on`/`--id` (element ID), `--coords x,y`
100
+ - Focus control: `--no-auto-focus`, `--space-switch`, `--bring-to-current-space`,
101
+ `--focus-timeout-seconds`, `--focus-retry-count`
102
+
103
+ ## Common capture parameters
104
+
105
+ - Output: `--path`, `--format png|jpg`, `--retina`
106
+ - Targeting: `--mode screen|window|frontmost`, `--screen-index`,
107
+ `--window-title`, `--window-id`
108
+ - Analysis: `--analyze "prompt"`, `--annotate`
109
+ - Capture engine: `--capture-engine auto|classic|cg|modern|sckit`
110
+
111
+ ## Common motion/typing parameters
112
+
113
+ - Timing: `--duration` (drag/swipe), `--steps`, `--delay` (type/scroll/press)
114
+ - Human-ish movement: `--profile human|linear`, `--wpm` (typing)
115
+ - Scroll: `--direction up|down|left|right`, `--amount <ticks>`, `--smooth`
116
+
117
+ ## Examples
118
+
119
+ ### See -> click -> type (most reliable flow)
120
+
121
+ ```bash
122
+ peekaboo see --app Safari --window-title "Login" --annotate --path /tmp/see.png
123
+ peekaboo click --on B3 --app Safari
124
+ peekaboo type "user@example.com" --app Safari
125
+ peekaboo press tab --count 1 --app Safari
126
+ peekaboo type "supersecret" --app Safari --return
127
+ ```
128
+
129
+ ### Target by window id
130
+
131
+ ```bash
132
+ peekaboo list windows --app "Visual Studio Code" --json
133
+ peekaboo click --window-id 12345 --coords 120,160
134
+ peekaboo type "Hello from Peekaboo" --window-id 12345
135
+ ```
136
+
137
+ ### Capture screenshots + analyze
138
+
139
+ ```bash
140
+ peekaboo image --mode screen --screen-index 0 --retina --path /tmp/screen.png
141
+ peekaboo image --app Safari --window-title "Dashboard" --analyze "Summarize KPIs"
142
+ peekaboo see --mode screen --screen-index 0 --analyze "Summarize the dashboard"
143
+ ```
144
+
145
+ ### Live capture (motion-aware)
146
+
147
+ ```bash
148
+ peekaboo capture live --mode region --region 100,100,800,600 --duration 30 \
149
+ --active-fps 8 --idle-fps 2 --highlight-changes --path /tmp/capture
150
+ ```
151
+
152
+ ### App + window management
153
+
154
+ ```bash
155
+ peekaboo app launch "Safari" --open https://example.com
156
+ peekaboo window focus --app Safari --window-title "Example"
157
+ peekaboo window set-bounds --app Safari --x 50 --y 50 --width 1200 --height 800
158
+ peekaboo app quit --app Safari
159
+ ```
160
+
161
+ ### Menus, menubar, dock
162
+
163
+ ```bash
164
+ peekaboo menu click --app Safari --item "New Window"
165
+ peekaboo menu click --app TextEdit --path "Format > Font > Show Fonts"
166
+ peekaboo menu click-extra --title "WiFi"
167
+ peekaboo dock launch Safari
168
+ peekaboo menubar list --json
169
+ ```
170
+
171
+ ### Mouse + gesture input
172
+
173
+ ```bash
174
+ peekaboo move 500,300 --smooth
175
+ peekaboo drag --from B1 --to T2
176
+ peekaboo swipe --from-coords 100,500 --to-coords 100,200 --duration 800
177
+ peekaboo scroll --direction down --amount 6 --smooth
178
+ ```
179
+
180
+ ### Keyboard input
181
+
182
+ ```bash
183
+ peekaboo hotkey --keys "cmd,shift,t"
184
+ peekaboo press escape
185
+ peekaboo type "Line 1\nLine 2" --delay 10
186
+ ```
187
+
188
+ Notes
189
+
190
+ - Requires Screen Recording + Accessibility permissions.
191
+ - Use `peekaboo see --annotate` to identify targets before clicking.