cue-ai 0.9.3 → 0.10.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 (717) hide show
  1. package/CHANGELOG.md +59 -0
  2. package/README.md +322 -346
  3. package/dist/cue.js +13046 -7369
  4. package/get.sh +37 -20
  5. package/install.sh +45 -34
  6. package/package.json +3 -3
  7. package/plugins/cue/.claude-plugin/plugin.json +19 -0
  8. package/profiles/SCHEMA.md +43 -1
  9. package/profiles/_types.ts +46 -4
  10. package/profiles/aws/profile.yaml +54 -0
  11. package/profiles/backend/profile.yaml +13 -3
  12. package/profiles/claude-ads/profile.yaml +151 -0
  13. package/profiles/commerce/profile.yaml +5 -1
  14. package/profiles/core/profile.yaml +54 -27
  15. package/profiles/creativity/profile.yaml +1 -0
  16. package/profiles/full/profile.yaml +7 -1
  17. package/profiles/google-ads/profile.yaml +5 -0
  18. package/profiles/gstack/profile.yaml +3 -1
  19. package/profiles/headroom/README.md +38 -0
  20. package/profiles/headroom/profile.yaml +45 -0
  21. package/profiles/hostinger/profile.yaml +1 -0
  22. package/profiles/legal/profile.yaml +48 -0
  23. package/profiles/marketing/profile.yaml +1 -0
  24. package/profiles/medusa-vite/profile.yaml +1 -34
  25. package/profiles/ops/profile.yaml +11 -3
  26. package/profiles/postizz/profile.yaml +4 -0
  27. package/profiles/readme-writer/profile.yaml +2 -1
  28. package/profiles/research/profile.yaml +1 -0
  29. package/profiles/ros2/profile.yaml +31 -0
  30. package/profiles/schema.json +76 -4
  31. package/profiles/seo/profile.yaml +14 -0
  32. package/profiles/supercomputer/profile.yaml +1 -0
  33. package/profiles/video/profile.yaml +1 -0
  34. package/resources/mcps/configs/claude.sanitized.json +32 -0
  35. package/resources/mcps/configs/codex.sanitized.json +12 -0
  36. package/resources/skills/skills/browser/agent-browser/SKILL.md +6 -1
  37. package/resources/skills/skills/browser/lightpanda/SKILL.md +1 -0
  38. package/resources/skills/skills/browser/playwright/SKILL.md +1 -0
  39. package/resources/skills/skills/career/resume-version-manager/SKILL.md +2 -2
  40. package/resources/skills/skills/content/pdf/SKILL.md +1 -1
  41. package/resources/skills/skills/content/trend-to-thread/SKILL.md +1 -0
  42. package/resources/skills/skills/deployment/coolify/SKILL.md +8 -0
  43. package/resources/skills/skills/design/banana/SKILL.md +0 -30
  44. package/resources/skills/skills/design/design-taste-frontend/SKILL.md +1 -1
  45. package/resources/skills/skills/design/remotion-best-practices/rules/mapbox.md +1 -1
  46. package/resources/skills/skills/design/taste-skill-v1/SKILL.md +1 -1
  47. package/resources/skills/skills/design/ui-ux-pro-max/SKILL.md +2 -2
  48. package/resources/skills/skills/gstack/benchmark/SKILL.md +1 -1
  49. package/resources/skills/skills/gstack/design-html/SKILL.md +3 -2
  50. package/resources/skills/skills/gstack/gstack-upgrade/SKILL.md +2 -1
  51. package/resources/skills/skills/gstack/learn/SKILL.md +2 -1
  52. package/resources/skills/skills/gstack/retro/SKILL.md +1 -1
  53. package/resources/skills/skills/gstack/setup-gbrain/SKILL.md +4 -2
  54. package/resources/skills/skills/gstack/sync-gbrain/SKILL.md +3 -1
  55. package/resources/skills/skills/hostinger/dns/SKILL.md +1 -0
  56. package/resources/skills/skills/hostinger/domains/SKILL.md +1 -0
  57. package/resources/skills/skills/hostinger/hosting/SKILL.md +1 -0
  58. package/resources/skills/skills/hostinger/vps/SKILL.md +1 -0
  59. package/resources/skills/skills/legal/legal/SKILL.md +94 -0
  60. package/resources/skills/skills/legal/legal-agreement/SKILL.md +418 -0
  61. package/resources/skills/skills/legal/legal-compare/SKILL.md +177 -0
  62. package/resources/skills/skills/legal/legal-compliance/SKILL.md +370 -0
  63. package/resources/skills/skills/legal/legal-freelancer/SKILL.md +454 -0
  64. package/resources/skills/skills/legal/legal-missing/SKILL.md +232 -0
  65. package/resources/skills/skills/legal/legal-nda/SKILL.md +283 -0
  66. package/resources/skills/skills/legal/legal-negotiate/SKILL.md +248 -0
  67. package/resources/skills/skills/legal/legal-plain/SKILL.md +169 -0
  68. package/resources/skills/skills/legal/legal-privacy/SKILL.md +327 -0
  69. package/resources/skills/skills/legal/legal-report-pdf/SKILL.md +400 -0
  70. package/resources/skills/skills/legal/legal-report-pdf/scripts/generate_legal_pdf.py +446 -0
  71. package/resources/skills/skills/legal/legal-report-pdf/templates/contract-review-template.md +190 -0
  72. package/resources/skills/skills/legal/legal-review/SKILL.md +202 -0
  73. package/resources/skills/skills/legal/legal-risks/SKILL.md +171 -0
  74. package/resources/skills/skills/legal/legal-terms/SKILL.md +263 -0
  75. package/resources/skills/skills/marketing/google-ads-audit/SKILL.md +1 -1
  76. package/resources/skills/skills/marketing/icp-research-assistant/SKILL.md +1 -1
  77. package/resources/skills/skills/marketing/programmatic-seo-builder/SKILL.md +1 -1
  78. package/resources/skills/skills/media/design-guide/SKILL.md +2 -2
  79. package/resources/skills/skills/media/logo-creator/SKILL.md +1 -1
  80. package/resources/skills/skills/media/multi-angle-shots/SKILL.md +2 -2
  81. package/resources/skills/skills/media/nano-banana/SKILL.md +1 -1
  82. package/resources/skills/skills/medusa/building-with-medusa/SKILL.md +1 -1
  83. package/resources/skills/skills/medusa/higgsfield-to-medusa-products/SKILL.md +1 -0
  84. package/resources/skills/skills/medusa/marva-blog-author/SKILL.md +1 -0
  85. package/resources/skills/skills/medusa/woocommerce-to-medusa-import/SKILL.md +1 -0
  86. package/resources/skills/skills/meta/autoresearch/SKILL.md +5 -0
  87. package/resources/skills/skills/meta/prompt-master/SKILL.md +5 -5
  88. package/resources/skills/skills/meta/smart-loader/scripts/smart-lookup.sh +43 -0
  89. package/resources/skills/skills/orchestration/oh-my-agent/SKILL.md +1 -0
  90. package/resources/skills/skills/polymarket/polymarket-predictions-audit/SKILL.md +1 -0
  91. package/resources/skills/skills/polymarket/polymarket-research/SKILL.md +1 -0
  92. package/resources/skills/skills/research/keyword-research/SKILL.md +1 -1
  93. package/resources/skills/skills/research/openai-docs/SKILL.md +1 -0
  94. package/resources/skills/skills/research/trendradar/SKILL.md +2 -1
  95. package/resources/skills/skills/review/code-review/SKILL.md +1 -1
  96. package/resources/skills/skills/review/security-review/SKILL.md +1 -1
  97. package/resources/skills/skills/robotics/ros-skill/LICENSE +201 -0
  98. package/resources/skills/skills/robotics/ros-skill/README.md +113 -0
  99. package/resources/skills/skills/robotics/ros-skill/SKILL.md +312 -0
  100. package/resources/skills/skills/robotics/ros-skill/examples/openclaw.md +135 -0
  101. package/resources/skills/skills/robotics/ros-skill/examples/sensor-monitor.md +60 -0
  102. package/resources/skills/skills/robotics/ros-skill/examples/turtlesim.md +82 -0
  103. package/resources/skills/skills/robotics/ros-skill/references/COMMANDS.md +550 -0
  104. package/resources/skills/skills/robotics/ros-skill/scripts/ros_cli.py +861 -0
  105. package/resources/skills/skills/rust/async-tokio/SKILL.md +5 -0
  106. package/resources/skills/skills/rust/axum-api/SKILL.md +5 -0
  107. package/resources/skills/skills/rust/bacon-watch/SKILL.md +5 -0
  108. package/resources/skills/skills/rust/bevy/SKILL.md +5 -0
  109. package/resources/skills/skills/rust/bindgen/SKILL.md +5 -0
  110. package/resources/skills/skills/rust/cargo-audit/SKILL.md +5 -0
  111. package/resources/skills/skills/rust/cargo-basics/SKILL.md +5 -0
  112. package/resources/skills/skills/rust/cargo-chef/SKILL.md +4 -0
  113. package/resources/skills/skills/rust/cargo-edit/SKILL.md +5 -0
  114. package/resources/skills/skills/rust/cargo-expand/SKILL.md +5 -0
  115. package/resources/skills/skills/rust/cargo-flamegraph/SKILL.md +5 -0
  116. package/resources/skills/skills/rust/cargo-fuzz/SKILL.md +4 -0
  117. package/resources/skills/skills/rust/cargo-hack/SKILL.md +4 -0
  118. package/resources/skills/skills/rust/cargo-msrv/SKILL.md +4 -0
  119. package/resources/skills/skills/rust/cargo-mutants/SKILL.md +5 -0
  120. package/resources/skills/skills/rust/cargo-nextest/SKILL.md +5 -0
  121. package/resources/skills/skills/rust/cargo-readme/SKILL.md +4 -0
  122. package/resources/skills/skills/rust/cbindgen/SKILL.md +4 -0
  123. package/resources/skills/skills/rust/chisel-tool/SKILL.md +4 -0
  124. package/resources/skills/skills/rust/clap-cli/SKILL.md +5 -0
  125. package/resources/skills/skills/rust/clippy-and-fmt/SKILL.md +5 -0
  126. package/resources/skills/skills/rust/cross-compile/SKILL.md +5 -0
  127. package/resources/skills/skills/rust/embedded/SKILL.md +5 -0
  128. package/resources/skills/skills/rust/error-handling/SKILL.md +4 -0
  129. package/resources/skills/skills/rust/just-runner/SKILL.md +5 -0
  130. package/resources/skills/skills/rust/mdbook/SKILL.md +4 -0
  131. package/resources/skills/skills/rust/napi-rs/SKILL.md +4 -0
  132. package/resources/skills/skills/rust/no-std/SKILL.md +4 -0
  133. package/resources/skills/skills/rust/property-testing/SKILL.md +5 -0
  134. package/resources/skills/skills/rust/pyo3/SKILL.md +5 -0
  135. package/resources/skills/skills/rust/ratatui-tui/SKILL.md +4 -0
  136. package/resources/skills/skills/rust/release-plz/SKILL.md +4 -0
  137. package/resources/skills/skills/rust/reqwest/SKILL.md +5 -0
  138. package/resources/skills/skills/rust/sccache/SKILL.md +4 -0
  139. package/resources/skills/skills/rust/serde/SKILL.md +5 -0
  140. package/resources/skills/skills/rust/snapshot-testing/SKILL.md +4 -0
  141. package/resources/skills/skills/rust/sqlx-cli/SKILL.md +5 -0
  142. package/resources/skills/skills/rust/tracing/SKILL.md +5 -0
  143. package/resources/skills/skills/rust/typos-spellcheck/SKILL.md +4 -0
  144. package/resources/skills/skills/rust/uniffi/SKILL.md +4 -0
  145. package/resources/skills/skills/rust/wasm-rust/SKILL.md +5 -0
  146. package/resources/skills/skills/test/scenario-explorer/SKILL.md +5 -0
  147. package/resources/skills/skills/tools/headroom/SKILL.md +105 -0
  148. package/resources/skills/skills/vercel/UPSTREAM.md +12 -0
  149. package/resources/skills/skills/vercel/composition-patterns/AGENTS.md +946 -0
  150. package/resources/skills/skills/vercel/composition-patterns/README.md +60 -0
  151. package/resources/skills/skills/vercel/composition-patterns/SKILL.md +89 -0
  152. package/resources/skills/skills/vercel/composition-patterns/metadata.json +11 -0
  153. package/resources/skills/skills/vercel/composition-patterns/rules/_sections.md +29 -0
  154. package/resources/skills/skills/vercel/composition-patterns/rules/_template.md +24 -0
  155. package/resources/skills/skills/vercel/composition-patterns/rules/architecture-avoid-boolean-props.md +100 -0
  156. package/resources/skills/skills/vercel/composition-patterns/rules/architecture-compound-components.md +112 -0
  157. package/resources/skills/skills/vercel/composition-patterns/rules/patterns-children-over-render-props.md +87 -0
  158. package/resources/skills/skills/vercel/composition-patterns/rules/patterns-explicit-variants.md +100 -0
  159. package/resources/skills/skills/vercel/composition-patterns/rules/react19-no-forwardref.md +42 -0
  160. package/resources/skills/skills/vercel/composition-patterns/rules/state-context-interface.md +191 -0
  161. package/resources/skills/skills/vercel/composition-patterns/rules/state-decouple-implementation.md +113 -0
  162. package/resources/skills/skills/vercel/composition-patterns/rules/state-lift-state.md +125 -0
  163. package/resources/skills/skills/vercel/deploy-to-vercel/SKILL.md +296 -0
  164. package/resources/skills/skills/vercel/deploy-to-vercel/resources/deploy-codex.sh +301 -0
  165. package/resources/skills/skills/vercel/deploy-to-vercel/resources/deploy.sh +301 -0
  166. package/resources/skills/skills/vercel/react-best-practices/AGENTS.md +3810 -0
  167. package/resources/skills/skills/vercel/react-best-practices/README.md +123 -0
  168. package/resources/skills/skills/vercel/react-best-practices/SKILL.md +149 -0
  169. package/resources/skills/skills/vercel/react-best-practices/metadata.json +15 -0
  170. package/resources/skills/skills/vercel/react-best-practices/rules/_sections.md +46 -0
  171. package/resources/skills/skills/vercel/react-best-practices/rules/_template.md +28 -0
  172. package/resources/skills/skills/vercel/react-best-practices/rules/advanced-effect-event-deps.md +56 -0
  173. package/resources/skills/skills/vercel/react-best-practices/rules/advanced-event-handler-refs.md +55 -0
  174. package/resources/skills/skills/vercel/react-best-practices/rules/advanced-init-once.md +42 -0
  175. package/resources/skills/skills/vercel/react-best-practices/rules/advanced-use-latest.md +39 -0
  176. package/resources/skills/skills/vercel/react-best-practices/rules/async-api-routes.md +38 -0
  177. package/resources/skills/skills/vercel/react-best-practices/rules/async-cheap-condition-before-await.md +37 -0
  178. package/resources/skills/skills/vercel/react-best-practices/rules/async-defer-await.md +82 -0
  179. package/resources/skills/skills/vercel/react-best-practices/rules/async-dependencies.md +51 -0
  180. package/resources/skills/skills/vercel/react-best-practices/rules/async-parallel.md +28 -0
  181. package/resources/skills/skills/vercel/react-best-practices/rules/async-suspense-boundaries.md +99 -0
  182. package/resources/skills/skills/vercel/react-best-practices/rules/bundle-analyzable-paths.md +63 -0
  183. package/resources/skills/skills/vercel/react-best-practices/rules/bundle-barrel-imports.md +60 -0
  184. package/resources/skills/skills/vercel/react-best-practices/rules/bundle-conditional.md +31 -0
  185. package/resources/skills/skills/vercel/react-best-practices/rules/bundle-defer-third-party.md +49 -0
  186. package/resources/skills/skills/vercel/react-best-practices/rules/bundle-dynamic-imports.md +35 -0
  187. package/resources/skills/skills/vercel/react-best-practices/rules/bundle-preload.md +50 -0
  188. package/resources/skills/skills/vercel/react-best-practices/rules/client-event-listeners.md +74 -0
  189. package/resources/skills/skills/vercel/react-best-practices/rules/client-localstorage-schema.md +71 -0
  190. package/resources/skills/skills/vercel/react-best-practices/rules/client-passive-event-listeners.md +48 -0
  191. package/resources/skills/skills/vercel/react-best-practices/rules/client-swr-dedup.md +56 -0
  192. package/resources/skills/skills/vercel/react-best-practices/rules/js-batch-dom-css.md +107 -0
  193. package/resources/skills/skills/vercel/react-best-practices/rules/js-cache-function-results.md +80 -0
  194. package/resources/skills/skills/vercel/react-best-practices/rules/js-cache-property-access.md +28 -0
  195. package/resources/skills/skills/vercel/react-best-practices/rules/js-cache-storage.md +70 -0
  196. package/resources/skills/skills/vercel/react-best-practices/rules/js-combine-iterations.md +32 -0
  197. package/resources/skills/skills/vercel/react-best-practices/rules/js-early-exit.md +50 -0
  198. package/resources/skills/skills/vercel/react-best-practices/rules/js-flatmap-filter.md +60 -0
  199. package/resources/skills/skills/vercel/react-best-practices/rules/js-hoist-regexp.md +45 -0
  200. package/resources/skills/skills/vercel/react-best-practices/rules/js-index-maps.md +37 -0
  201. package/resources/skills/skills/vercel/react-best-practices/rules/js-length-check-first.md +49 -0
  202. package/resources/skills/skills/vercel/react-best-practices/rules/js-min-max-loop.md +82 -0
  203. package/resources/skills/skills/vercel/react-best-practices/rules/js-request-idle-callback.md +105 -0
  204. package/resources/skills/skills/vercel/react-best-practices/rules/js-set-map-lookups.md +24 -0
  205. package/resources/skills/skills/vercel/react-best-practices/rules/js-tosorted-immutable.md +57 -0
  206. package/resources/skills/skills/vercel/react-best-practices/rules/rendering-activity.md +26 -0
  207. package/resources/skills/skills/vercel/react-best-practices/rules/rendering-animate-svg-wrapper.md +47 -0
  208. package/resources/skills/skills/vercel/react-best-practices/rules/rendering-conditional-render.md +40 -0
  209. package/resources/skills/skills/vercel/react-best-practices/rules/rendering-content-visibility.md +38 -0
  210. package/resources/skills/skills/vercel/react-best-practices/rules/rendering-hoist-jsx.md +46 -0
  211. package/resources/skills/skills/vercel/react-best-practices/rules/rendering-hydration-no-flicker.md +82 -0
  212. package/resources/skills/skills/vercel/react-best-practices/rules/rendering-hydration-suppress-warning.md +30 -0
  213. package/resources/skills/skills/vercel/react-best-practices/rules/rendering-resource-hints.md +85 -0
  214. package/resources/skills/skills/vercel/react-best-practices/rules/rendering-script-defer-async.md +68 -0
  215. package/resources/skills/skills/vercel/react-best-practices/rules/rendering-svg-precision.md +28 -0
  216. package/resources/skills/skills/vercel/react-best-practices/rules/rendering-usetransition-loading.md +75 -0
  217. package/resources/skills/skills/vercel/react-best-practices/rules/rerender-defer-reads.md +39 -0
  218. package/resources/skills/skills/vercel/react-best-practices/rules/rerender-dependencies.md +45 -0
  219. package/resources/skills/skills/vercel/react-best-practices/rules/rerender-derived-state-no-effect.md +40 -0
  220. package/resources/skills/skills/vercel/react-best-practices/rules/rerender-derived-state.md +29 -0
  221. package/resources/skills/skills/vercel/react-best-practices/rules/rerender-functional-setstate.md +74 -0
  222. package/resources/skills/skills/vercel/react-best-practices/rules/rerender-lazy-state-init.md +58 -0
  223. package/resources/skills/skills/vercel/react-best-practices/rules/rerender-memo-with-default-value.md +38 -0
  224. package/resources/skills/skills/vercel/react-best-practices/rules/rerender-memo.md +44 -0
  225. package/resources/skills/skills/vercel/react-best-practices/rules/rerender-move-effect-to-event.md +45 -0
  226. package/resources/skills/skills/vercel/react-best-practices/rules/rerender-no-inline-components.md +82 -0
  227. package/resources/skills/skills/vercel/react-best-practices/rules/rerender-simple-expression-in-memo.md +35 -0
  228. package/resources/skills/skills/vercel/react-best-practices/rules/rerender-split-combined-hooks.md +64 -0
  229. package/resources/skills/skills/vercel/react-best-practices/rules/rerender-transitions.md +40 -0
  230. package/resources/skills/skills/vercel/react-best-practices/rules/rerender-use-deferred-value.md +59 -0
  231. package/resources/skills/skills/vercel/react-best-practices/rules/rerender-use-ref-transient-values.md +73 -0
  232. package/resources/skills/skills/vercel/react-best-practices/rules/server-after-nonblocking.md +73 -0
  233. package/resources/skills/skills/vercel/react-best-practices/rules/server-auth-actions.md +96 -0
  234. package/resources/skills/skills/vercel/react-best-practices/rules/server-cache-lru.md +41 -0
  235. package/resources/skills/skills/vercel/react-best-practices/rules/server-cache-react.md +76 -0
  236. package/resources/skills/skills/vercel/react-best-practices/rules/server-dedup-props.md +65 -0
  237. package/resources/skills/skills/vercel/react-best-practices/rules/server-hoist-static-io.md +149 -0
  238. package/resources/skills/skills/vercel/react-best-practices/rules/server-no-shared-module-state.md +50 -0
  239. package/resources/skills/skills/vercel/react-best-practices/rules/server-parallel-fetching.md +83 -0
  240. package/resources/skills/skills/vercel/react-best-practices/rules/server-parallel-nested-fetching.md +34 -0
  241. package/resources/skills/skills/vercel/react-best-practices/rules/server-serialization.md +38 -0
  242. package/resources/skills/skills/vercel/react-native-skills/AGENTS.md +2897 -0
  243. package/resources/skills/skills/vercel/react-native-skills/README.md +165 -0
  244. package/resources/skills/skills/vercel/react-native-skills/SKILL.md +121 -0
  245. package/resources/skills/skills/vercel/react-native-skills/metadata.json +16 -0
  246. package/resources/skills/skills/vercel/react-native-skills/rules/_sections.md +86 -0
  247. package/resources/skills/skills/vercel/react-native-skills/rules/_template.md +28 -0
  248. package/resources/skills/skills/vercel/react-native-skills/rules/animation-derived-value.md +53 -0
  249. package/resources/skills/skills/vercel/react-native-skills/rules/animation-gesture-detector-press.md +95 -0
  250. package/resources/skills/skills/vercel/react-native-skills/rules/animation-gpu-properties.md +65 -0
  251. package/resources/skills/skills/vercel/react-native-skills/rules/design-system-compound-components.md +66 -0
  252. package/resources/skills/skills/vercel/react-native-skills/rules/fonts-config-plugin.md +71 -0
  253. package/resources/skills/skills/vercel/react-native-skills/rules/imports-design-system-folder.md +68 -0
  254. package/resources/skills/skills/vercel/react-native-skills/rules/js-hoist-intl.md +61 -0
  255. package/resources/skills/skills/vercel/react-native-skills/rules/list-performance-callbacks.md +44 -0
  256. package/resources/skills/skills/vercel/react-native-skills/rules/list-performance-function-references.md +132 -0
  257. package/resources/skills/skills/vercel/react-native-skills/rules/list-performance-images.md +53 -0
  258. package/resources/skills/skills/vercel/react-native-skills/rules/list-performance-inline-objects.md +97 -0
  259. package/resources/skills/skills/vercel/react-native-skills/rules/list-performance-item-expensive.md +94 -0
  260. package/resources/skills/skills/vercel/react-native-skills/rules/list-performance-item-memo.md +82 -0
  261. package/resources/skills/skills/vercel/react-native-skills/rules/list-performance-item-types.md +104 -0
  262. package/resources/skills/skills/vercel/react-native-skills/rules/list-performance-virtualize.md +67 -0
  263. package/resources/skills/skills/vercel/react-native-skills/rules/monorepo-native-deps-in-app.md +46 -0
  264. package/resources/skills/skills/vercel/react-native-skills/rules/monorepo-single-dependency-versions.md +63 -0
  265. package/resources/skills/skills/vercel/react-native-skills/rules/navigation-native-navigators.md +188 -0
  266. package/resources/skills/skills/vercel/react-native-skills/rules/react-compiler-destructure-functions.md +50 -0
  267. package/resources/skills/skills/vercel/react-native-skills/rules/react-compiler-reanimated-shared-values.md +48 -0
  268. package/resources/skills/skills/vercel/react-native-skills/rules/react-state-dispatcher.md +91 -0
  269. package/resources/skills/skills/vercel/react-native-skills/rules/react-state-fallback.md +56 -0
  270. package/resources/skills/skills/vercel/react-native-skills/rules/react-state-minimize.md +65 -0
  271. package/resources/skills/skills/vercel/react-native-skills/rules/rendering-no-falsy-and.md +74 -0
  272. package/resources/skills/skills/vercel/react-native-skills/rules/rendering-text-in-text-component.md +36 -0
  273. package/resources/skills/skills/vercel/react-native-skills/rules/scroll-position-no-state.md +82 -0
  274. package/resources/skills/skills/vercel/react-native-skills/rules/state-ground-truth.md +80 -0
  275. package/resources/skills/skills/vercel/react-native-skills/rules/ui-expo-image.md +66 -0
  276. package/resources/skills/skills/vercel/react-native-skills/rules/ui-image-gallery.md +104 -0
  277. package/resources/skills/skills/vercel/react-native-skills/rules/ui-measure-views.md +78 -0
  278. package/resources/skills/skills/vercel/react-native-skills/rules/ui-menus.md +174 -0
  279. package/resources/skills/skills/vercel/react-native-skills/rules/ui-native-modals.md +77 -0
  280. package/resources/skills/skills/vercel/react-native-skills/rules/ui-pressable.md +61 -0
  281. package/resources/skills/skills/vercel/react-native-skills/rules/ui-safe-area-scroll.md +65 -0
  282. package/resources/skills/skills/vercel/react-native-skills/rules/ui-scrollview-content-inset.md +45 -0
  283. package/resources/skills/skills/vercel/react-native-skills/rules/ui-styling.md +87 -0
  284. package/resources/skills/skills/vercel/react-view-transitions/AGENTS.md +955 -0
  285. package/resources/skills/skills/vercel/react-view-transitions/README.md +42 -0
  286. package/resources/skills/skills/vercel/react-view-transitions/SKILL.md +320 -0
  287. package/resources/skills/skills/vercel/react-view-transitions/metadata.json +12 -0
  288. package/resources/skills/skills/vercel/react-view-transitions/references/css-recipes.md +242 -0
  289. package/resources/skills/skills/vercel/react-view-transitions/references/implementation.md +182 -0
  290. package/resources/skills/skills/vercel/react-view-transitions/references/nextjs.md +176 -0
  291. package/resources/skills/skills/vercel/react-view-transitions/references/patterns.md +262 -0
  292. package/resources/skills/skills/vercel/vercel-cli-with-tokens/SKILL.md +353 -0
  293. package/resources/skills/skills/vercel/vercel-optimize/AGENTS.md +48 -0
  294. package/resources/skills/skills/vercel/vercel-optimize/CONTRIBUTING.md +41 -0
  295. package/resources/skills/skills/vercel/vercel-optimize/README.md +91 -0
  296. package/resources/skills/skills/vercel/vercel-optimize/SKILL.md +322 -0
  297. package/resources/skills/skills/vercel/vercel-optimize/lib/auth-route.mjs +23 -0
  298. package/resources/skills/skills/vercel/vercel-optimize/lib/budget-summary.mjs +182 -0
  299. package/resources/skills/skills/vercel/vercel-optimize/lib/citations.mjs +139 -0
  300. package/resources/skills/skills/vercel/vercel-optimize/lib/cost-coverage.mjs +143 -0
  301. package/resources/skills/skills/vercel/vercel-optimize/lib/dedup-recs.mjs +325 -0
  302. package/resources/skills/skills/vercel/vercel-optimize/lib/deep-dive.mjs +350 -0
  303. package/resources/skills/skills/vercel/vercel-optimize/lib/display-labels.mjs +185 -0
  304. package/resources/skills/skills/vercel/vercel-optimize/lib/extract-claims.mjs +550 -0
  305. package/resources/skills/skills/vercel/vercel-optimize/lib/framework-support.mjs +67 -0
  306. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/build-minutes-fanout.mjs +69 -0
  307. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/cold-start.mjs +66 -0
  308. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/contract.mjs +79 -0
  309. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/cwv-poor.mjs +87 -0
  310. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/external-api-slow.mjs +55 -0
  311. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/hard-gates.mjs +73 -0
  312. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/index.mjs +45 -0
  313. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/isr-overrevalidation.mjs +62 -0
  314. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/middleware-heavy.mjs +51 -0
  315. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/observability-events-attribution.mjs +56 -0
  316. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/platform-bot-protection.mjs +115 -0
  317. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/platform-fluid-compute.mjs +83 -0
  318. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/region-misconfig.mjs +64 -0
  319. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/route-errors.mjs +80 -0
  320. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/scanner-driven.mjs +122 -0
  321. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/select-candidates.mjs +134 -0
  322. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/slow-route.mjs +88 -0
  323. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/types.d.ts +38 -0
  324. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/uncached-route.mjs +93 -0
  325. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/usage-spike-triage.mjs +121 -0
  326. package/resources/skills/skills/vercel/vercel-optimize/lib/grade-recommendation.mjs +155 -0
  327. package/resources/skills/skills/vercel/vercel-optimize/lib/impact-label.mjs +126 -0
  328. package/resources/skills/skills/vercel/vercel-optimize/lib/impact-magnitude.mjs +60 -0
  329. package/resources/skills/skills/vercel/vercel-optimize/lib/investigation-brief.mjs +610 -0
  330. package/resources/skills/skills/vercel/vercel-optimize/lib/observation-safety.mjs +174 -0
  331. package/resources/skills/skills/vercel/vercel-optimize/lib/project-facts.mjs +99 -0
  332. package/resources/skills/skills/vercel/vercel-optimize/lib/queries.mjs +315 -0
  333. package/resources/skills/skills/vercel/vercel-optimize/lib/reconcile-candidates.mjs +372 -0
  334. package/resources/skills/skills/vercel/vercel-optimize/lib/render-report.mjs +955 -0
  335. package/resources/skills/skills/vercel/vercel-optimize/lib/repo-root.mjs +86 -0
  336. package/resources/skills/skills/vercel/vercel-optimize/lib/route-normalize.mjs +220 -0
  337. package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/bot-protection-certainty.mjs +38 -0
  338. package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/cache-tag-invalidation-certainty.mjs +30 -0
  339. package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/count-correct.mjs +52 -0
  340. package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/function-duration-invocations.mjs +38 -0
  341. package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/index.mjs +79 -0
  342. package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/middleware-conflict.mjs +36 -0
  343. package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/missing-citation.mjs +16 -0
  344. package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/pre-release.mjs +74 -0
  345. package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/rate-limit.mjs +67 -0
  346. package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/rendering-mode-mislabel.mjs +38 -0
  347. package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/undeclared-dep.mjs +78 -0
  348. package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/vercel-directive-strip.mjs +37 -0
  349. package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/window-units.mjs +32 -0
  350. package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/cache-components-suspense-dedupe.mjs +109 -0
  351. package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/edge-heavy-import.mjs +94 -0
  352. package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/force-dynamic.mjs +42 -0
  353. package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/headers-in-page.mjs +44 -0
  354. package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/index.mjs +35 -0
  355. package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/large-static-asset.mjs +92 -0
  356. package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/max-age-without-s-maxage.mjs +42 -0
  357. package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/middleware-broad-matcher.mjs +55 -0
  358. package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/missing-cache-headers.mjs +90 -0
  359. package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/prisma-include-tree.mjs +42 -0
  360. package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/region-pin-in-config.mjs +88 -0
  361. package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/source-maps-production.mjs +36 -0
  362. package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/sveltekit-prerender-missing.mjs +43 -0
  363. package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/turbo-force-bypass.mjs +129 -0
  364. package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/unoptimized-image.mjs +113 -0
  365. package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/use-cache-date-stamp.mjs +106 -0
  366. package/resources/skills/skills/vercel/vercel-optimize/lib/support-topics.mjs +355 -0
  367. package/resources/skills/skills/vercel/vercel-optimize/lib/throttle.mjs +273 -0
  368. package/resources/skills/skills/vercel/vercel-optimize/lib/util.mjs +17 -0
  369. package/resources/skills/skills/vercel/vercel-optimize/lib/vercel.mjs +864 -0
  370. package/resources/skills/skills/vercel/vercel-optimize/lib/verify-claim.mjs +1296 -0
  371. package/resources/skills/skills/vercel/vercel-optimize/lib/workspace-resolver.mjs +521 -0
  372. package/resources/skills/skills/vercel/vercel-optimize/metadata.json +14 -0
  373. package/resources/skills/skills/vercel/vercel-optimize/references/candidates.md +176 -0
  374. package/resources/skills/skills/vercel/vercel-optimize/references/data-collection.md +218 -0
  375. package/resources/skills/skills/vercel/vercel-optimize/references/docs-library.json +683 -0
  376. package/resources/skills/skills/vercel/vercel-optimize/references/doctrine.md +105 -0
  377. package/resources/skills/skills/vercel/vercel-optimize/references/observability-plus.md +108 -0
  378. package/resources/skills/skills/vercel/vercel-optimize/references/playbooks/README.md +53 -0
  379. package/resources/skills/skills/vercel/vercel-optimize/references/playbooks/ai-application.md +32 -0
  380. package/resources/skills/skills/vercel/vercel-optimize/references/playbooks/api-service.md +30 -0
  381. package/resources/skills/skills/vercel/vercel-optimize/references/playbooks/content-site.md +30 -0
  382. package/resources/skills/skills/vercel/vercel-optimize/references/playbooks/ecommerce.md +30 -0
  383. package/resources/skills/skills/vercel/vercel-optimize/references/playbooks/marketing.md +30 -0
  384. package/resources/skills/skills/vercel/vercel-optimize/references/playbooks/saas.md +31 -0
  385. package/resources/skills/skills/vercel/vercel-optimize/references/playbooks/sveltekit.md +75 -0
  386. package/resources/skills/skills/vercel/vercel-optimize/references/recommendations.md +203 -0
  387. package/resources/skills/skills/vercel/vercel-optimize/references/scanner-patterns.md +251 -0
  388. package/resources/skills/skills/vercel/vercel-optimize/references/scoring.md +205 -0
  389. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/README.md +46 -0
  390. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/astro-edge-middleware-scope.md +22 -0
  391. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/astro-output-mode-and-isr.md +22 -0
  392. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/auth-preserving-parallelization.md +22 -0
  393. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/bot-protection-product-guardrails.md +22 -0
  394. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/build-minutes-monorepo-fanout.md +23 -0
  395. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/cache-components-static-shell-boundaries.md +22 -0
  396. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/cache-components-suspense-dedupe-pitfall.md +23 -0
  397. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/cdn-cache-auth-safety.md +22 -0
  398. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/cold-start-initialization-bundle.md +22 -0
  399. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/core-web-vitals-client-bottlenecks.md +22 -0
  400. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/database-egress-pooling-region.md +22 -0
  401. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/dynamic-rendering-traps.md +22 -0
  402. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/external-api-critical-path-platform.md +22 -0
  403. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/external-api-critical-path.md +22 -0
  404. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/fast-data-transfer-payloads.md +22 -0
  405. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/fluid-compute-caveats.md +22 -0
  406. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/function-duration-io-and-after.md +22 -0
  407. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/function-invocation-reduction.md +22 -0
  408. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/function-region-misconfiguration-ttfb.md +23 -0
  409. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/image-optimization-cost-control.md +22 -0
  410. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/isr-revalidation-static-generation.md +22 -0
  411. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/middleware-proxy-edge-cost.md +22 -0
  412. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/next-fetch-revalidate-floor.md +22 -0
  413. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/next-font-cls-self-hosting.md +23 -0
  414. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/next-heavy-ui-lazy-load-boundaries.md +23 -0
  415. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/next-image-lcp-preload-sizes.md +23 -0
  416. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/next-route-handler-get-cache-defaults.md +22 -0
  417. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/next-script-third-party-strategy.md +23 -0
  418. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/nextjs-version-cache-semantics.md +22 -0
  419. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/not-found-catchall-request-waste.md +23 -0
  420. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/nuxt-route-rules-cache-isr.md +22 -0
  421. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/observability-events-cost-attribution.md +22 -0
  422. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/post-response-work-waituntil.md +22 -0
  423. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/route-error-durable-offload.md +22 -0
  424. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/route-error-runtime-limits.md +22 -0
  425. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/runtime-cache-reusable-data.md +22 -0
  426. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/sveltekit-isr-prerender-safety.md +22 -0
  427. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/sveltekit-split-cold-start-tradeoff.md +22 -0
  428. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/usage-spike-triage.md +22 -0
  429. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/use-cache-date-stamp-isr-write-amplifier.md +23 -0
  430. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/use-cache-remote-shared-origin-data.md +22 -0
  431. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/workflow-resumable-stream-routes.md +23 -0
  432. package/resources/skills/skills/vercel/vercel-optimize/references/verification.md +102 -0
  433. package/resources/skills/skills/vercel/vercel-optimize/references/voice.md +76 -0
  434. package/resources/skills/skills/vercel/vercel-optimize/scripts/budget-summary.mjs +56 -0
  435. package/resources/skills/skills/vercel/vercel-optimize/scripts/build-docs.mjs +74 -0
  436. package/resources/skills/skills/vercel/vercel-optimize/scripts/check-citations.mjs +81 -0
  437. package/resources/skills/skills/vercel/vercel-optimize/scripts/check-docs-fresh.mjs +93 -0
  438. package/resources/skills/skills/vercel/vercel-optimize/scripts/collect-signals.mjs +576 -0
  439. package/resources/skills/skills/vercel/vercel-optimize/scripts/collect-sub-agent-outputs.mjs +296 -0
  440. package/resources/skills/skills/vercel/vercel-optimize/scripts/deep-dive.mjs +319 -0
  441. package/resources/skills/skills/vercel/vercel-optimize/scripts/gate-investigations.mjs +166 -0
  442. package/resources/skills/skills/vercel/vercel-optimize/scripts/merge-signals.mjs +192 -0
  443. package/resources/skills/skills/vercel/vercel-optimize/scripts/prepare-investigation-brief.mjs +231 -0
  444. package/resources/skills/skills/vercel/vercel-optimize/scripts/reconcile-candidates.mjs +62 -0
  445. package/resources/skills/skills/vercel/vercel-optimize/scripts/render-report.mjs +437 -0
  446. package/resources/skills/skills/vercel/vercel-optimize/scripts/scan-codebase.mjs +313 -0
  447. package/resources/skills/skills/vercel/vercel-optimize/scripts/verify-and-regen.mjs +346 -0
  448. package/resources/skills/skills/vercel/vercel-optimize/scripts/verify-finding.mjs +19 -0
  449. package/resources/skills/skills/vercel/web-design-guidelines/SKILL.md +39 -0
  450. package/resources/skills/skills/vercel/writing-guidelines/SKILL.md +39 -0
  451. package/src/commands/_index.test.ts +79 -0
  452. package/src/commands/_index.ts +36 -14
  453. package/src/commands/ai.test.ts +113 -0
  454. package/src/commands/ai.ts +4 -5
  455. package/src/commands/ask.test.ts +82 -0
  456. package/src/commands/ask.ts +3 -4
  457. package/src/commands/audit.test.ts +61 -0
  458. package/src/commands/benchmark.test.ts +88 -0
  459. package/src/commands/benchmark.ts +3 -5
  460. package/src/commands/builtin.test.ts +199 -0
  461. package/src/commands/builtin.ts +3 -4
  462. package/src/commands/clean.test.ts +181 -0
  463. package/src/commands/clean.ts +3 -4
  464. package/src/commands/cli.test.ts +11 -3
  465. package/src/commands/cli.ts +3 -4
  466. package/src/commands/cloud.ts +3 -4
  467. package/src/commands/colony-dispatch.test.ts +143 -0
  468. package/src/commands/completions.test.ts +195 -0
  469. package/src/commands/cost.ts +85 -34
  470. package/src/commands/create-profile.test.ts +256 -0
  471. package/src/commands/create-profile.ts +3 -4
  472. package/src/commands/debug.ts +4 -5
  473. package/src/commands/diff.test.ts +64 -0
  474. package/src/commands/diff.ts +3 -4
  475. package/src/commands/discover.ts +10 -14
  476. package/src/commands/docs-facts.test.ts +103 -0
  477. package/src/commands/doctor.test.ts +14 -2
  478. package/src/commands/doctor.ts +27 -22
  479. package/src/commands/eval-behavior.ts +3 -4
  480. package/src/commands/eval.ts +6 -7
  481. package/src/commands/evolve.test.ts +56 -0
  482. package/src/commands/evolve.ts +15 -5
  483. package/src/commands/export-docker.test.ts +190 -0
  484. package/src/commands/export-docker.ts +3 -4
  485. package/src/commands/features-batch1.test.ts +1 -1
  486. package/src/commands/feedback.test.ts +63 -0
  487. package/src/commands/gc.test.ts +173 -0
  488. package/src/commands/gc.ts +65 -0
  489. package/src/commands/handoff.test.ts +284 -0
  490. package/src/commands/icon.ts +3 -4
  491. package/src/commands/import-profile.test.ts +199 -0
  492. package/src/commands/import-profile.ts +4 -5
  493. package/src/commands/init-cost-proof.test.ts +29 -0
  494. package/src/commands/init.test.ts +76 -0
  495. package/src/commands/init.ts +42 -7
  496. package/src/commands/install-sh.e2e.test.ts +17 -5
  497. package/src/commands/install.ts +3 -3
  498. package/src/commands/launch-handoff.e2e.test.ts +7 -1
  499. package/src/commands/launch.account-runtime.test.ts +117 -0
  500. package/src/commands/launch.e2e.test.ts +7 -1
  501. package/src/commands/launch.parse.test.ts +101 -0
  502. package/src/commands/launch.test.ts +94 -108
  503. package/src/commands/launch.ts +714 -118
  504. package/src/commands/lint-skill.test.ts +173 -0
  505. package/src/commands/loadout.test.ts +225 -0
  506. package/src/commands/loadout.ts +132 -0
  507. package/src/commands/lock.test.ts +157 -0
  508. package/src/commands/lock.ts +4 -5
  509. package/src/commands/marketplace-manifest.test.ts +39 -0
  510. package/src/commands/marketplace.test.ts +195 -0
  511. package/src/commands/marketplace.ts +176 -5
  512. package/src/commands/materialize.test.ts +59 -0
  513. package/src/commands/materialize.ts +4 -5
  514. package/src/commands/mcp.test.ts +109 -0
  515. package/src/commands/mcps.test.ts +49 -0
  516. package/src/commands/mcps.ts +5 -6
  517. package/src/commands/mem.test.ts +94 -0
  518. package/src/commands/merge.test.ts +57 -0
  519. package/src/commands/migrate.test.ts +45 -0
  520. package/src/commands/migrate.ts +3 -4
  521. package/src/commands/new.test.ts +173 -0
  522. package/src/commands/optimizer.test.ts +239 -0
  523. package/src/commands/optimizer.ts +4 -5
  524. package/src/commands/packs.test.ts +97 -0
  525. package/src/commands/packs.ts +3 -4
  526. package/src/commands/playground.test.ts +61 -0
  527. package/src/commands/playground.ts +3 -4
  528. package/src/commands/positioning.test.ts +46 -0
  529. package/src/commands/profile-draft-skill.ts +3 -4
  530. package/src/commands/profile-suggest.test.ts +67 -0
  531. package/src/commands/profile-suggest.ts +130 -5
  532. package/src/commands/profile.test.ts +59 -0
  533. package/src/commands/replay-whatif.test.ts +154 -0
  534. package/src/commands/replay.test.ts +68 -0
  535. package/src/commands/resolve.test.ts +66 -0
  536. package/src/commands/resolve.ts +415 -0
  537. package/src/commands/ruler.test.ts +94 -0
  538. package/src/commands/ruler.ts +213 -0
  539. package/src/commands/scan.test.ts +83 -0
  540. package/src/commands/score.test.ts +125 -0
  541. package/src/commands/score.ts +0 -3
  542. package/src/commands/security-audit.test.ts +133 -0
  543. package/src/commands/security-audit.ts +4 -5
  544. package/src/commands/security.ts +3 -4
  545. package/src/commands/setup.test.ts +32 -0
  546. package/src/commands/share.test.ts +102 -0
  547. package/src/commands/shell.test.ts +251 -23
  548. package/src/commands/shell.ts +269 -91
  549. package/src/commands/skill-report.test.ts +110 -0
  550. package/src/commands/skills-lint.test.ts +74 -0
  551. package/src/commands/skills-lint.ts +3 -4
  552. package/src/commands/skills-new.test.ts +96 -0
  553. package/src/commands/skills-new.ts +3 -4
  554. package/src/commands/skills-pin.test.ts +169 -0
  555. package/src/commands/skills-pin.ts +4 -5
  556. package/src/commands/skills-test.test.ts +215 -0
  557. package/src/commands/skills.test.ts +109 -0
  558. package/src/commands/skills.ts +10 -6
  559. package/src/commands/snapshot.ts +3 -4
  560. package/src/commands/sources.ts +3 -4
  561. package/src/commands/stats.test.ts +174 -0
  562. package/src/commands/status.test.ts +147 -0
  563. package/src/commands/status.ts +13 -1
  564. package/src/commands/suggest-pairs.test.ts +166 -0
  565. package/src/commands/suggest.test.ts +85 -0
  566. package/src/commands/suggest.ts +3 -5
  567. package/src/commands/summon.test.ts +8 -1
  568. package/src/commands/sync.test.ts +26 -0
  569. package/src/commands/sync.ts +184 -0
  570. package/src/commands/telemetry.test.ts +162 -0
  571. package/src/commands/trace.test.ts +48 -0
  572. package/src/commands/tree.test.ts +76 -0
  573. package/src/commands/tui.test.ts +55 -0
  574. package/src/commands/update.test.ts +98 -0
  575. package/src/commands/update.ts +8 -9
  576. package/src/commands/upgrade.test.ts +45 -0
  577. package/src/commands/upgrade.ts +4 -5
  578. package/src/commands/use.test.ts +63 -0
  579. package/src/commands/validate.test.ts +80 -0
  580. package/src/commands/watch-live.test.ts +46 -0
  581. package/src/commands/watch-live.ts +5 -6
  582. package/src/commands/watch.test.ts +97 -0
  583. package/src/commands/why.test.ts +46 -0
  584. package/src/commands/why.ts +4 -5
  585. package/src/commands/workspace.test.ts +92 -0
  586. package/src/index.test.ts +106 -0
  587. package/src/index.ts +7 -6
  588. package/src/lib/agent-adapters.test.ts +9 -0
  589. package/src/lib/agent-adapters.ts +17 -0
  590. package/src/lib/analytics.ts +27 -10
  591. package/src/lib/brand-icons.test.ts +129 -0
  592. package/src/lib/brand-icons.ts +6 -7
  593. package/src/lib/cache.test.ts +231 -0
  594. package/src/lib/catalog-index.test.ts +306 -0
  595. package/src/lib/catalog-index.ts +540 -0
  596. package/src/lib/claude-binary.test.ts +122 -0
  597. package/src/lib/claude-binary.ts +49 -19
  598. package/src/lib/claude-logo.test.ts +64 -0
  599. package/src/lib/claude-logo.ts +41 -0
  600. package/src/lib/cli-extractor.ts +3 -4
  601. package/src/lib/colony-dispatch.test.ts +59 -0
  602. package/src/lib/colony-dispatch.ts +3 -4
  603. package/src/lib/combo-history.test.ts +53 -1
  604. package/src/lib/combo-history.ts +41 -0
  605. package/src/lib/conflict-detector.test.ts +73 -0
  606. package/src/lib/conflict-detector.ts +2 -4
  607. package/src/lib/credentials-sync.ts +32 -25
  608. package/src/lib/cue-credentials.test.ts +74 -0
  609. package/src/lib/cue-credentials.ts +64 -0
  610. package/src/lib/cwd-resolver.ts +5 -3
  611. package/src/lib/dashboard-server.test.ts +45 -4
  612. package/src/lib/dashboard-server.ts +39 -0
  613. package/src/lib/handoff.test.ts +99 -0
  614. package/src/lib/help.test.ts +69 -0
  615. package/src/lib/kitty-image.ts +13 -0
  616. package/src/lib/launch-loader.test.ts +160 -0
  617. package/src/lib/launch-loader.ts +226 -0
  618. package/src/lib/lazy-skills.ts +41 -1
  619. package/src/lib/manifest-cache.test.ts +30 -0
  620. package/src/lib/market-install.test.ts +128 -0
  621. package/src/lib/market-install.ts +247 -0
  622. package/src/lib/mcp-catalog.ts +4 -13
  623. package/src/lib/mcp-materializer.ts +3 -8
  624. package/src/lib/mcp-overrides.test.ts +202 -0
  625. package/src/lib/mcp-overrides.ts +199 -0
  626. package/src/lib/mcp-picker.test.ts +150 -0
  627. package/src/lib/mcp-picker.ts +247 -0
  628. package/src/lib/mcp-token-estimate.test.ts +105 -0
  629. package/src/lib/mcp-token-estimate.ts +152 -0
  630. package/src/lib/pack-resolver.test.ts +81 -0
  631. package/src/lib/pack-resolver.ts +3 -4
  632. package/src/lib/pair-suggestions.test.ts +32 -5
  633. package/src/lib/pair-suggestions.ts +15 -12
  634. package/src/lib/picker/card.test.ts +109 -0
  635. package/src/lib/picker/card.ts +279 -0
  636. package/src/lib/picker/categories.test.ts +68 -0
  637. package/src/lib/picker/categories.ts +48 -0
  638. package/src/lib/picker/flow.test.ts +49 -0
  639. package/src/lib/picker/flow.ts +236 -0
  640. package/src/lib/picker/keys.test.ts +235 -0
  641. package/src/lib/picker/palette.test.ts +262 -0
  642. package/src/lib/picker/palette.ts +557 -0
  643. package/src/lib/picker/render-util.test.ts +213 -0
  644. package/src/lib/picker/render-util.ts +111 -0
  645. package/src/lib/picker/selector.test.ts +87 -0
  646. package/src/lib/picker/selector.ts +51 -0
  647. package/src/lib/picker/tally.test.ts +166 -0
  648. package/src/lib/picker/tally.ts +126 -0
  649. package/src/lib/picker/types.ts +135 -0
  650. package/src/lib/picker.test.ts +55 -31
  651. package/src/lib/picker.ts +119 -439
  652. package/src/lib/plugin-discovery.test.ts +175 -0
  653. package/src/lib/pr-poster.ts +6 -2
  654. package/src/lib/profile-conflicts.test.ts +114 -0
  655. package/src/lib/profile-conflicts.ts +52 -0
  656. package/src/lib/profile-generator.ts +5 -11
  657. package/src/lib/profile-linter.ts +33 -14
  658. package/src/lib/profile-loader.test.ts +128 -1
  659. package/src/lib/profile-loader.ts +61 -24
  660. package/src/lib/profile-merge.test.ts +30 -1
  661. package/src/lib/profile-merge.ts +54 -18
  662. package/src/lib/profile-metrics.test.ts +176 -0
  663. package/src/lib/profile-metrics.ts +3 -4
  664. package/src/lib/project-loadout.test.ts +273 -0
  665. package/src/lib/project-loadout.ts +358 -0
  666. package/src/lib/project-scanner.test.ts +228 -0
  667. package/src/lib/ratings.test.ts +130 -0
  668. package/src/lib/repo-root.test.ts +80 -0
  669. package/src/lib/repo-root.ts +38 -0
  670. package/src/lib/ruler.test.ts +332 -0
  671. package/src/lib/ruler.ts +374 -0
  672. package/src/lib/runtime-gc.test.ts +123 -0
  673. package/src/lib/runtime-gc.ts +203 -0
  674. package/src/lib/runtime-install.test.ts +70 -0
  675. package/src/lib/runtime-install.ts +7 -0
  676. package/src/lib/runtime-lock.test.ts +115 -0
  677. package/src/lib/runtime-materializer.mcp-prune.test.ts +105 -0
  678. package/src/lib/runtime-materializer.test.ts +229 -1
  679. package/src/lib/runtime-materializer.ts +179 -36
  680. package/src/lib/scan-plugins.ts +10 -5
  681. package/src/lib/shared-profiles.ts +9 -3
  682. package/src/lib/shim-dir.test.ts +101 -0
  683. package/src/lib/shim-dir.ts +120 -0
  684. package/src/lib/skill-compressor.test.ts +59 -0
  685. package/src/lib/skill-compressor.ts +2 -4
  686. package/src/lib/skill-dependencies.getNeeded.test.ts +81 -0
  687. package/src/lib/skill-dependencies.test.ts +39 -0
  688. package/src/lib/skill-dependencies.ts +77 -14
  689. package/src/lib/skill-deps.ts +3 -4
  690. package/src/lib/skill-linter.test.ts +61 -0
  691. package/src/lib/skill-linter.ts +72 -4
  692. package/src/lib/skill-quality.ts +4 -5
  693. package/src/lib/skill-resolve-journal.test.ts +83 -0
  694. package/src/lib/skill-resolve-journal.ts +86 -0
  695. package/src/lib/skill-sandbox.ts +3 -4
  696. package/src/lib/skill-subset.cache.test.ts +172 -0
  697. package/src/lib/skill-subset.isolation.test.ts +98 -0
  698. package/src/lib/skill-subset.test.ts +25 -0
  699. package/src/lib/skill-subset.ts +388 -39
  700. package/src/lib/smart-loader-suggest.hook.test.ts +173 -0
  701. package/src/lib/stack-suggest.test.ts +247 -0
  702. package/src/lib/stack-suggest.ts +352 -0
  703. package/src/lib/telemetry-ingest.ts +6 -1
  704. package/src/lib/token-budget.test.ts +141 -0
  705. package/src/lib/token-budget.ts +187 -0
  706. package/src/lib/tui/data.test.ts +206 -0
  707. package/src/lib/tui/input.test.ts +159 -0
  708. package/src/lib/tui/screen.test.ts +85 -0
  709. package/src/lib/uvx-installer.test.ts +54 -1
  710. package/src/lib/uvx-installer.ts +51 -6
  711. package/src/lib/webhooks.test.ts +175 -0
  712. package/src/lib/workflow-store.test.ts +292 -0
  713. package/src/lib/workspace-secrets.test.ts +99 -0
  714. package/src/lib/workspaces.test.ts +417 -0
  715. package/src/lib/workspaces.ts +3 -4
  716. package/plugins/cue/plugin.json +0 -15
  717. package/profiles/dash-merge-test/profile.yaml +0 -114
package/README.md CHANGED
@@ -1,510 +1,486 @@
1
- <br>
1
+ <div align="center">
2
2
 
3
- <p align="center">
4
- <img src="./docs/assets/hero.svg" alt="cuecards — Agent Profile Manager for AI coding agents" width="820">
5
- </p>
6
-
7
- <br>
3
+ # cuecards
8
4
 
9
- <h1 align="center">cuecards.</h1>
5
+ **Give your AI coding agent the right context for every project — and nothing else.**
10
6
 
11
7
  <p align="center">
12
- <strong>The missing layer between you and your coding agent.</strong>
8
+ <img src="https://raw.githubusercontent.com/opencue/cuecards/main/docs/assets/hero.svg" alt="cuecards — agent profile manager for Claude Code and Codex" width="820">
13
9
  </p>
14
10
 
15
11
  <p align="center">
16
- <sub>Your agent walks into a directory. The cuecard tells it who to be — and loads only what the job needs.</sub>
12
+ <a href="https://github.com/opencue/cuecards/stargazers"><img src="https://img.shields.io/github/stars/opencue/cuecards?style=for-the-badge&logo=github&label=%E2%AD%90%20Star%20this%20repo&color=yellow" alt="Star cuecards on GitHub"></a>
17
13
  </p>
18
14
 
19
- <br>
20
-
21
15
  <p align="center">
22
- <a href="https://www.npmjs.com/package/cue-ai"><img src="https://img.shields.io/npm/v/cue-ai?style=flat-square&label=npm&color=1d1d1f&labelColor=f5f5f7" alt="npm"></a>&nbsp;
23
- <a href="https://www.npmjs.com/package/cue-ai"><img src="https://img.shields.io/npm/dw/cue-ai?style=flat-square&label=downloads&color=1d1d1f&labelColor=f5f5f7" alt="downloads"></a>&nbsp;
24
- <a href="https://github.com/opencue/cuecards/stargazers"><img src="https://img.shields.io/github/stars/opencue/cuecards?style=flat-square&label=stars&color=1d1d1f&labelColor=f5f5f7" alt="stars"></a>&nbsp;
25
- <a href="./LICENSE"><img src="https://img.shields.io/github/license/opencue/cuecards?style=flat-square&label=license&color=1d1d1f&labelColor=f5f5f7" alt="MIT"></a>&nbsp;
26
- <img src="https://img.shields.io/badge/telemetry-none-1d1d1f?style=flat-square&labelColor=f5f5f7" alt="zero telemetry">
16
+ <a href="https://www.npmjs.com/package/cue-ai"><img src="https://img.shields.io/npm/v/cue-ai?style=for-the-badge&logo=npm&logoColor=white&label=npm&color=cb3837" alt="npm version"></a>
17
+ &nbsp;
18
+ <a href="https://www.npmjs.com/package/cue-ai"><img src="https://img.shields.io/npm/dw/cue-ai?style=for-the-badge&label=downloads&color=2b3137" alt="npm downloads"></a>
19
+ &nbsp;
20
+ <a href="https://github.com/opencue/cuecards/blob/main/LICENSE"><img src="https://img.shields.io/github/license/opencue/cuecards?style=for-the-badge&label=license&color=4c1" alt="MIT license"></a>
21
+ &nbsp;
22
+ <img src="https://img.shields.io/badge/node-%E2%89%A520-339933?style=for-the-badge&logo=node.js&logoColor=white" alt="Node 20+">
23
+ &nbsp;
24
+ <img src="https://img.shields.io/badge/telemetry-none-success?style=for-the-badge" alt="zero telemetry">
27
25
  </p>
28
26
 
29
- <br>
27
+ [Install](#install) · [How it works](#how-it-works) · [Profiles](#85-ready-made-cuecards) · [Multi-agent](#one-cuecard-ten-agents) · [FAQ](#faq) · [Contributing](#contributing)
30
28
 
31
- <p align="center">
32
- <code>npm install -g cue-ai</code>
33
- </p>
29
+ </div>
34
30
 
35
- <p align="center">
36
- <sub>Requires Node ≥20 and an existing <a href="https://github.com/anthropics/claude-code">Claude Code</a> or <a href="https://github.com/openai/codex">Codex</a> install — cue is a thin shim that exec's your agent, not a replacement.</sub>
37
- <br>
38
- <sub>package <code>cue-ai</code> &nbsp;·&nbsp; command <code>cue</code> &nbsp;·&nbsp; repo <a href="https://github.com/opencue/cuecards"><code>opencue/cuecards</code></a></sub>
39
- </p>
31
+ ---
40
32
 
41
- <br>
42
- <br>
33
+ cue is a profile manager for AI coding agents like [Claude Code](https://github.com/anthropics/claude-code) and [Codex](https://github.com/openai/codex). You pick (or auto-detect) a *cuecard* for each project directory, and when you launch your agent, cue loads only the skills, MCP servers, persona, and quality gates that project actually needs — instead of your entire library.
34
+
35
+ ```bash
36
+ npm install -g cue-ai
37
+ ```
38
+
39
+ > Requires Node ≥ 20 and an existing [Claude Code](https://github.com/anthropics/claude-code) or [Codex](https://github.com/openai/codex) install. cue is a thin shim that hands off to your real agent — not a replacement for it.
40
+ >
41
+ > package `cue-ai` · command `cue` · repo [opencue/cuecards](https://github.com/opencue/cuecards)
43
42
 
44
43
  ---
45
44
 
46
- ## the problem.
45
+ <p align="center">
46
+ <img src="https://raw.githubusercontent.com/opencue/cuecards/main/docs/assets/demo.gif" alt="cue picking a cuecard and launching the agent" width="820">
47
+ </p>
47
48
 
48
- You installed 330 skills and 15 MCP servers. Your agent re-reads **every one of them, on every message** — including the 320 it doesn't need for the task in front of it.
49
+ ## Why this exists
49
50
 
50
- You pay for that context on every single turn. And the model gets *worse* at picking the right tool, because it's scanning a wall of irrelevant descriptions before it can act.
51
+ If you've been using AI coding agents for a while, you've probably collected a pile of skills, MCP servers, and custom instructions. Maybe hundreds. Here's the problem:
51
52
 
52
- **cuecards loads only the cuecard for the directory you're in.** One project's skills, MCPs, persona, and gates — not your entire library. Less context, lower cost, sharper tool selection.
53
+ **your agent re-reads all of them, on every single message** — including the 95% that have nothing to do with the task in front of it.
53
54
 
54
- <br>
55
+ That hurts twice:
55
56
 
56
- ---
57
+ 1. **You pay for it.** Every always-loaded skill description and MCP schema is input tokens, billed on every turn of every session.
58
+ 2. **Your agent gets dumber.** Picking the right tool out of 330 irrelevant ones is harder than picking it out of 12 relevant ones.
57
59
 
58
- ## the money shot.
60
+ cue fixes this by scoping everything per directory. Your Medusa shop loads the Medusa cuecard. Your Rust CLI loads the Rust cuecard. Nothing else comes along for the ride.
59
61
 
60
- > Loading everything taxes every message. cuecards cut your always-on context **~9–16×** — and you can reproduce every number below with `cue cost --compare`.
62
+ ### Before vs after — in numbers
63
+
64
+ <p align="center">
65
+ <img src="https://raw.githubusercontent.com/opencue/cuecards/main/docs/assets/isolation-comparison.svg" alt="Everything-loaded vs a scoped cuecard — always-on context compared" width="820">
66
+ </p>
61
67
 
62
68
  | Loadout | Always-on context | Cost / 100 msgs (Sonnet input) |
63
69
  |---|---|---|
64
- | **Without cuecards** — `full` (every skill + MCP) | ~81k tokens | ~$24 😱 |
65
- | **With cuecards** — `backend` profile | ~9k tokens | ~$2.70 ✅ |
66
- | **With cuecards** — `caveman-quick` | ~6.8k tokens | ~$2.00 🚀 |
70
+ | Everything loaded (`full` profile) | ~81k tokens | ~$24 |
71
+ | `backend` cuecard | ~9k tokens | ~$2.70 |
72
+ | `caveman-quick` cuecard | ~6.8k tokens | ~$2.00 |
67
73
 
68
- That's **~9× fewer always-on tokens** on a backend loadout (≈12× on `caveman-quick`, up to ≈16× on the leanest profiles) versus loading everything. The savings compound on every message of every session.
74
+ That's **9–16× less always-on context**, compounding on every message. Reproduce the numbers yourself:
69
75
 
70
76
  ```bash
71
- cue cost # token budget for your active profile
72
- cue cost --compare # full table: every profile ranked vs the `full` baseline
77
+ cue cost # token budget for your active profile
78
+ cue cost --compare # every profile ranked against the `full` baseline
73
79
  ```
74
80
 
75
- <p align="center">
76
- <sub><strong>&lt; 5 ms</strong> warm launch&nbsp;·&nbsp;<strong>69</strong> pre-built cuecards&nbsp;·&nbsp;<strong>330+</strong> local skills&nbsp;·&nbsp;<strong>10</strong> AI agents&nbsp;·&nbsp;<strong>MIT</strong>&nbsp;·&nbsp;zero telemetry&nbsp;·&nbsp;no daemon</sub>
77
- </p>
78
-
79
- <br>
80
-
81
81
  ---
82
82
 
83
- ## what is a cuecard.
84
-
85
- A **cuecard** is everything your AI coding agent needs to be useful in one directory — the skills it loads, the MCP servers it connects to, the plugins it boots with, the persona it adopts, the playbooks it follows, the quality gates that block its "done" claim.
83
+ ## What is a cuecard?
86
84
 
87
- One cuecard per project. Your agent reads the right one the moment you launch.
85
+ A cuecard (also called a *profile*) is everything your agent needs to be useful in one project, bundled into a single `profile.yaml`:
88
86
 
89
- | layer | what's on the cuecard |
87
+ | Layer | What it controls |
90
88
  |---|---|
91
- | **skills** | only the ones this project actually needs |
92
- | **MCPs** | scoped per directory, no global sprawl |
93
- | **plugins** | the Claude Code plugins this project wants — no more |
94
- | **persona** | how the agent thinks, writes, and self-edits |
95
- | **playbooks** | the steps the agent follows for known tasks |
96
- | **gates** | what must pass before the agent says "done" |
89
+ | **Skills** | Only the ones this project actually needs |
90
+ | **MCP servers** | Scoped per directory — no global sprawl |
91
+ | **Plugins** | The Claude Code plugins this project wants, no more |
92
+ | **Persona** | How the agent thinks, writes, and self-edits |
93
+ | **Playbooks** | Step-by-step procedures for known tasks |
94
+ | **Gates** | What must pass before the agent can claim "done" |
97
95
 
98
- This is what separates cuecards from a skills list: a cuecard is *composable expertise* — persona + playbooks + gates + evals + a failure loop — not just "more tools loaded."
99
-
100
- <br>
96
+ One cuecard per project. Your agent reads the right one the moment you launch it. That's what makes a cuecard more than a skills list — it's composable expertise, not just "more tools loaded."
101
97
 
102
98
  ---
103
99
 
104
- ## quickstart.
100
+ ## How it works
105
101
 
106
- ```bash
107
- npm install -g cue-ai # 1. install
108
- cue shell install # 2. activate the claude shim (one-time; --codex adds codex)
109
- cue discover search "code review" # 3. find a skill
110
- cue discover install review/code-review # 4. add it
111
- claude # 5. launch — the cuecard is loaded
112
- ```
113
-
114
- > Step 2 is what makes `claude` load your cuecard: it installs a `~/.local/bin/claude`
115
- > shim that hands off to `cue launch`. Skip it and `claude` just runs vanilla Claude Code.
116
-
117
- Search. Install. Use. No config files to edit. Works the same with `codex`, `cursor`, `cline`, `gemini`, and five other agents.
102
+ No daemon, no background process. cue intercepts the *call* to your agent, resolves the directory's cuecard, materializes it once, then hands off to the real binary:
118
103
 
119
104
  <p align="center">
120
- <img src="./docs/assets/demo.gif" alt="cuecards demo — discover, install, and launch a skill on a cuecard in 30 seconds" width="820" onerror="this.style.display='none'">
105
+ <img src="https://raw.githubusercontent.com/opencue/cuecards/main/docs/assets/architecture.svg" alt="cue resolve to materialize to exec flow" width="820">
121
106
  </p>
122
107
 
123
- <p align="center">
124
- <img src="./docs/assets/interactive-tui.svg" alt="cuecards interactive TUI — browse profiles, skills, and skill detail side by side" width="820">
125
- </p>
108
+ ```
109
+ you type `claude`
110
+ │
111
+ ▼
112
+ ~/.config/cue/shims/claude ──► cue launch
113
+ │
114
+ ▼
115
+ resolve ──► which cuecard owns this directory? (.cue.profile / auto-detect)
116
+ │
117
+ ▼
118
+ materialize ──► build the runtime (skills + MCPs + persona + gates)
119
+ │ sha256-cached — rebuilds only when something changed
120
+ ▼
121
+ exec ──► the real Claude Code / Codex, scoped to this project
122
+ ```
126
123
 
127
- <br>
124
+ Cold start 50–200 ms, warm start under 5 ms. Nothing stays resident. Full flow: [docs/launch.md](https://github.com/opencue/cuecards/blob/main/docs/launch.md).
128
125
 
129
126
  ---
130
127
 
131
- ## why cuecards — and how it compares.
132
-
133
- - **Cut always-on context up to ~16×.** Skills, MCPs, and plugins scoped per directory, not globally loaded into every session — reproduce it with `cue cost --compare`.
134
- - **Five-dimensional agents.** Persona + playbooks + quality gates + evals + failure loop. Composable expertise, not just a longer tool list.
135
- - **One cuecard, ten agents.** The same `profile.yaml` materializes into Claude Code, Codex, Cursor, Cline, Gemini, Copilot, Windsurf, Roo, Amp, and Aider native formats.
128
+ ## Install
136
129
 
137
- | | cuecards | skillport / agent-skills-cli | Kiro Powers |
138
- |---|---|---|---|
139
- | Skills | ✅ | ✅ | ✅ |
140
- | MCPs | ✅ | — | ✅ |
141
- | Plugins | ✅ | — | — |
142
- | Per-directory profiles | ✅ | — | ◐ (IDE-only) |
143
- | Inheritance | ✅ | — | — |
144
- | Persona / playbooks / gates / evals | ✅ | — | — |
145
- | Multi-agent (Cursor/Cline/Copilot/etc.) | ✅ (10) | Claude only | IDE-only |
146
- | CLI installer | ✅ | — | — |
147
- | Failure-feedback loop | ✅ | — | — |
148
- | Daemon required | None | None | IDE process |
149
-
150
- cuecards is the only one that treats agent expertise as a composable, per-directory system.
151
-
152
- <details>
153
- <summary><b>More wins</b></summary>
154
-
155
- <br>
156
-
157
- - **Discover real skills, not awesome-lists.** `cue discover search` queries GitHub Code Search for `filename:SKILL.md`, scores results, maps each repo to a cuecard.
158
- - **Install every CLI the cuecard needs in one command.** `cue cli install --all <cuecard>` auto-detects apt / brew / snap / pipx / npm per OS.
159
- - **Block "done" claims with quality gates.** Stop-hook validators auto-run tests, lint, and build before the agent can declare a task complete.
160
- - **Open safe, meaningful PRs on skill repos.** Built-in 90-day per-repo cooldown, 25-PRs/day cap, and `<!-- cue: ignore -->` opt-out marker.
161
- - **Failure-feedback loop.** `cue failures --propose` reads recent session failures and asks Claude to draft profile improvements.
162
-
163
- </details>
164
-
165
- <br>
130
+ | Path | Command |
131
+ |---|---|
132
+ | npm (recommended) | `npm install -g cue-ai` |
133
+ | One-line script | `curl -fsSL https://raw.githubusercontent.com/opencue/cuecards/main/get.sh \| bash` |
134
+ | Manual clone | `git clone https://github.com/opencue/cuecards.git && ./cuecards/install.sh` |
135
+ | Guided (paste into Claude Code) | [setup/macos.md](https://github.com/opencue/cuecards/blob/main/setup/macos.md) · [setup/linux.md](https://github.com/opencue/cuecards/blob/main/setup/linux.md) · [setup/windows.md](https://github.com/opencue/cuecards/blob/main/setup/windows.md) |
166
136
 
167
- ---
137
+ All paths are idempotent — safe to re-run. `install.sh --help` lists `--yes`, `--codex`, `--uninstall`.
168
138
 
169
- ## the catalog.
139
+ ### Quickstart
170
140
 
171
- > One repo. 69 pre-built expert agents. Pin one with `cue use <name>` and `claude` launches with that cuecard's skills, MCPs, hooks, and commands materialized.
141
+ Five commands from zero to a profile-aware agent:
172
142
 
173
143
  ```bash
174
- cue list # show everything
175
- cue auto-detect # suggest the right one for cwd
176
- cue use medusa-dev # pin to current directory
177
- claude # launches with that cuecard's loadout
144
+ npm install -g cue-ai # 1. install
145
+ cue shell install # 2. activate the claude/codex shims (one-time)
146
+ cue discover search "code review" # 3. find a skill you want
147
+ cue discover install review/code-review # 4. add it to your cuecard
148
+ claude # 5. launch — your cuecard is loaded
178
149
  ```
179
150
 
180
- ### Foundation
151
+ Step 2 is the magic: it installs a tiny `~/.config/cue/shims/claude` shim that hands off to `cue launch`, and puts that dir at the front of your PATH. From then on, typing `claude` in any directory loads that directory's cuecard first, then starts the real Claude Code. Skip step 2 and `claude` just runs vanilla.
181
152
 
182
- | Profile | What it's for |
183
- |---|---|
184
- | 🐢 **core** | Baseline shared by every cue profile — essentials only |
185
- | 🦄 **full** | Diagnostic fallback that loads every local skill and MCP |
153
+ Pin a project to a profile:
186
154
 
187
- ### Backend & Languages
155
+ ```bash
156
+ cd ~/projects/my-shop
157
+ cue use medusa-dev # writes .cue.profile in this directory
158
+ claude # launches with the medusa-dev loadout
159
+ ```
188
160
 
189
- | Profile | What it's for |
190
- |---|---|
191
- | 🐻 **backend** | APIs, webhooks, security review, CI, packaging, database, deploy |
192
- | 🐹 **go-api** | Go API development — net/http, gin/echo/chi, GORM, testing |
193
- | 🐍 **python** | FastAPI/Django/Flask APIs, SQLAlchemy/Alembic, pytest |
194
- | 🦀 **rust** | All-in-one Rust — async, web, CLI/TUI, embedded, FFI, WASM, perf |
161
+ Not sure which profile fits? `cue auto-detect` reads your project (package.json, pyproject.toml, Cargo.toml, …) and suggests one.
195
162
 
196
- ### Frontend
163
+ ---
197
164
 
198
- | Profile | What it's for |
199
- |---|---|
200
- | 🦋 **frontend** | Frontend UI implementation, redesign, screenshots, testing |
201
- | ▲ **nextjs** | Next.js full-stack — App Router, Server Components, Vercel |
202
- | ⚡ **vite** | Vite + React + TanStack ecosystem |
203
- | 🎲 **threejs** | Three.js 3D — geometry, materials, shaders, animation |
165
+ ## 85 ready-made cuecards
204
166
 
205
- ### Security · Media · Growth · Verticals
167
+ cue ships with pre-built profiles for common stacks and workflows. A taste:
206
168
 
207
169
  | Profile | What it's for |
208
170
  |---|---|
209
- | 🔒 **cybersecurity** | 754 red/blue team skills + agentshield auditor |
210
- | 🦉 **research** | Source-backed lookup, extraction, browser/market research |
211
- | 🦚 **creative-media** | Image, video, product asset, brand workflows |
212
- | 🎬 **video** | Frame extraction, audio transcription, visual understanding |
213
- | 🐝 **docs-writer** | Documentation, Markdown, PDF, Obsidian, structured writing |
214
- | 🦜 **marketing** | Copywriting, SEO, CRO, growth, channels, X/Twitter automation |
215
- | 💼 **career** | Job hunting, resume, interview prep, salary negotiation |
216
- | 🦊 **medusa-dev** | Medusa v2 backend, storefront, admin, migration |
217
- | 🐺 **fleet-control** | Multi-agent orchestration, Colony coordination, gx safety |
218
- | 🏢 **agency** | A full agency on tap — 63 delegatable subagents (design, sales, product, PM, finance, game dev, XR, paid media, QA) |
171
+ | 🐢 **core** | Minimal baseline shared by every profile |
172
+ | 🐻 **backend** | APIs, webhooks, security review, CI, databases, deploys |
173
+ | 🦋 **frontend** | UI implementation, redesigns, screenshots, browser testing |
174
+ | ▲ **nextjs** | Next.js App Router, Server Components, Vercel |
175
+ | 🐍 **python** | FastAPI/Django/Flask, SQLAlchemy, pytest |
176
+ | 🦀 **rust** | Async, web, CLI/TUI, embedded, FFI, WASM |
177
+ | 🦊 **medusa-dev** | Medusa v2 backend, storefront, admin |
178
+ | 🔒 **cybersecurity** | 754 red/blue-team skills + audit tooling |
179
+ | 🦜 **marketing** | Copywriting, SEO, CRO, growth |
180
+ | 🐝 **docs-writer** | Documentation, Markdown, PDF, structured writing |
181
+ | 🏢 **agency** | 63 delegatable subagents — design, sales, product, PM, QA |
219
182
 
220
- <sub>Full machine-readable list (all 69): **[`docs/data/profiles.md`](./docs/data/profiles.md)**. Don't see a fit? Run `cue auto-detect` or `cue ai "describe your stack"` to scaffold a new one.</sub>
183
+ ```bash
184
+ cue list # see all 85
185
+ cue auto-detect # suggest the right one for the current directory
186
+ cue use <name> # pin it
187
+ ```
221
188
 
222
- <br>
189
+ Full machine-readable catalog: [docs/data/profiles.md](https://github.com/opencue/cuecards/blob/main/docs/data/profiles.md). Nothing fits? `cue ai "describe your stack"` scaffolds a new one.
223
190
 
224
191
  ---
225
192
 
226
- ## one cuecard, every agent.
193
+ ## One cuecard, ten agents
227
194
 
228
- The same `profile.yaml` materializes into each agent's native format — `.cursorrules`, `.clinerules`, `~/.gemini/skills/*.md`, `.github/copilot-instructions.md`, etc.
195
+ The same `profile.yaml` materializes into each agent's native config format — write your setup once, use it everywhere:
229
196
 
230
- <p align="center">
231
- <a href="https://github.com/anthropics/claude-code"><img src="https://img.shields.io/badge/Claude_Code-cc785c?style=flat-square&logo=anthropic&logoColor=white" alt="Claude Code"></a>&nbsp;
232
- <a href="https://github.com/openai/codex"><img src="https://img.shields.io/badge/Codex-000000?style=flat-square&logo=openai&logoColor=white" alt="Codex"></a>&nbsp;
233
- <a href="https://cursor.sh"><img src="https://img.shields.io/badge/Cursor-000000?style=flat-square&logo=cursor&logoColor=white" alt="Cursor"></a>&nbsp;
234
- <a href="https://github.com/cline/cline"><img src="https://img.shields.io/badge/Cline-5A45FF?style=flat-square" alt="Cline"></a>&nbsp;
235
- <a href="https://github.com/google-gemini/gemini-cli"><img src="https://img.shields.io/badge/Gemini-4285F4?style=flat-square&logo=google&logoColor=white" alt="Gemini"></a>&nbsp;
236
- <a href="https://github.com/features/copilot"><img src="https://img.shields.io/badge/Copilot-000000?style=flat-square&logo=github&logoColor=white" alt="Copilot"></a>&nbsp;
237
- <a href="https://windsurf.com"><img src="https://img.shields.io/badge/Windsurf-06B6D4?style=flat-square" alt="Windsurf"></a>&nbsp;
238
- <a href="https://github.com/RooVetGit/Roo-Code"><img src="https://img.shields.io/badge/Roo-7C3AED?style=flat-square" alt="Roo"></a>&nbsp;
239
- <a href="https://sourcegraph.com/amp"><img src="https://img.shields.io/badge/Amp-FF4500?style=flat-square&logo=sourcegraph&logoColor=white" alt="Amp"></a>&nbsp;
240
- <a href="https://aider.chat"><img src="https://img.shields.io/badge/Aider-14B8A6?style=flat-square" alt="Aider"></a>
241
- </p>
197
+ | Agent | Output |
198
+ |---|---|
199
+ | Claude Code / Codex | runtime dirs under `~/.config/cue/runtime/` (via the shim) |
200
+ | Cursor | `.cursorrules` + `.cursor/mcp.json` |
201
+ | Cline | `.clinerules` + `cline_mcp_settings.json` |
202
+ | Gemini CLI | `~/.gemini/skills/*.md` |
203
+ | GitHub Copilot | `.github/copilot-instructions.md` |
204
+ | Windsurf | `.windsurfrules` + `.windsurf/mcp.json` |
205
+ | Roo Code | `.roo/rules/*.md` + `.roo/mcp.json` |
206
+ | Sourcegraph Amp | `AGENTS.md` + `.amp/mcp.json` |
207
+ | Aider | `.aider.conventions.md` |
242
208
 
243
209
  ```bash
244
- cue materialize cursor --profile backend # → .cursorrules + .cursor/mcp.json
245
- cue materialize --all --profile backend # → all 10 agents at once
210
+ cue materialize cursor --profile backend # one agent
211
+ cue materialize --all --profile backend # all ten at once
246
212
  ```
247
213
 
248
- <details>
249
- <summary><b>Full materialization matrix</b></summary>
250
-
251
- | Agent | `cue materialize` command | Output |
252
- |---|---|---|
253
- | Claude Code | (default — shim) | `~/.config/cue/runtime/<profile>/claude/` |
254
- | OpenAI Codex | (default — shim) | `~/.config/cue/runtime/<profile>/codex/` |
255
- | Cursor | `cue materialize cursor` | `.cursorrules` · `.cursor/mcp.json` |
256
- | Cline | `cue materialize cline` | `.clinerules` · `cline_mcp_settings.json` |
257
- | Gemini CLI | `cue materialize gemini` | `~/.gemini/skills/*.md` |
258
- | GitHub Copilot | `cue materialize copilot` | `.github/copilot-instructions.md` |
259
- | Windsurf | `cue materialize windsurf` | `.windsurfrules` · `.windsurf/mcp.json` |
260
- | Roo Code | `cue materialize roo` | `.roo/rules/*.md` · `.roo/mcp.json` |
261
- | Sourcegraph Amp | `cue materialize amp` | `AGENTS.md` · `.amp/mcp.json` |
262
- | Aider | `cue materialize aider` | `.aider.conventions.md` |
263
-
264
- </details>
265
-
266
- <br>
267
-
268
214
  ---
269
215
 
270
- ## built-in rigor.
216
+ ## Built-in rigor
271
217
 
272
218
  cuecards don't just load tools — they hold your agent to a standard.
273
219
 
274
- ### The reviewer gate
220
+ **The reviewer gate.** Profiles can enable an independent review gate: when the agent finishes a code-producing turn, cue spawns a *fresh, separate* reviewer agent over the diff before the turn is allowed to finish. A real catch from a live session: the reviewer flagged a unit bug where a product's `weight` was kilograms in one place and grams in two others — left in, carts would have displayed `20000 kg`. The gate held the merge until it was fixed.
275
221
 
276
- cuecards can ship an **independent review gate**. When the agent finishes a
277
- code-producing turn in a cuecard that enables it, cue spawns a *fresh, separate*
278
- reviewer agent over the working-tree diff **before the turn is allowed to finish**.
222
+ Enable it with `touch ~/.config/cue/auto-review-enabled`, watch reviews live with `cue-review-watch`, and skip one turn with `[skip-auto-review]`. Details: [docs/review-visibility.md](https://github.com/opencue/cuecards/blob/main/docs/review-visibility.md).
279
223
 
280
- A real catch from a live session: the reviewer flagged a **load-bearing unit bug** —
281
- a product's `weight` was treated as kilograms in one place but grams in two others
282
- (`weight >= 1000 ? kg : g`). Left in, the per-kg price renders as `€0.00` and a cart
283
- reads `20000 kg`. The gate held the merge until it was fixed.
224
+ **Confidence tags.** cue-managed agents tag research- and decision-relevant claims with colored confidence markers so you can scan trust at a glance:
284
225
 
285
- Two things so the behavior isn't surprising:
226
+ | Tier | Tags | Meaning |
227
+ |---|---|---|
228
+ | 🟢 | `[VERIFIED]` `[KNOWN]` | Checked firsthand / well-documented fact |
229
+ | 🟡 | `[INFERRED]` `[ASSUMED]` | Deduced or assumed — verify if stakes matter |
230
+ | 🟠 | `[GUESSED]` `[STALE]` | Pattern-match or possibly outdated — verify first |
231
+ | 🔴 | `[UNKNOWN]` | The agent said "I don't know" instead of making it up |
286
232
 
287
- - **A red "Stop hook error" is the gate working, not a failure.** Claude Code renders
288
- any *blocking* hook that way. It means the reviewer found a CRITICAL/HIGH issue and is
289
- holding the turn until you address it. It caps at 2 rounds, then releases. Suppress it
290
- for one turn with `[skip-auto-review]` in your message; turn it off entirely with
291
- `rm ~/.config/cue/auto-review-enabled`.
292
- - **You can watch the review live.** Run `cue-review-watch` in a second pane to see it
293
- move file-by-file with findings as they land:
233
+ ---
294
234
 
295
- ```
296
- 16:42:03 📄 setup-plate-variants.ts
297
- 16:42:03 → unit convention
298
- 16:42:09 🔴 CRITICAL weight kg/g ambiguity → per-kg price shows €0.00
299
- 16:45:30 ✅ review complete 1 CRITICAL
300
- ```
235
+ ## Everyday commands
301
236
 
302
- Enable the gate with `touch ~/.config/cue/auto-review-enabled`. Full details:
303
- [`docs/review-visibility.md`](./docs/review-visibility.md).
237
+ ```bash
238
+ # Profiles
239
+ cue use <profile> # pin a profile to this directory
240
+ cue list # all available profiles
241
+ cue auto-detect # suggest one for the current project
242
+
243
+ # Cost
244
+ cue cost # token budget for the active profile
245
+ cue cost --compare # all profiles ranked vs `full`
246
+
247
+ # Skills & discovery
248
+ cue discover search <query> # find skills on GitHub
249
+ cue discover install <skill> # install one
250
+ cue lint-skill <path> --fix # validate a SKILL.md
251
+
252
+ # Marketplace (push your own to cuecards.cc)
253
+ cue marketplace login --token <t> # save the API token from the studio → API view
254
+ cue marketplace publish profile ship-fast # push a profile / skill / mcp for everyone
255
+
256
+ # Health
257
+ cue doctor --fix # diff declared vs actual state, auto-repair
258
+ cue optimizer # dashboard: skills, MCPs, CLIs, usage per profile
259
+ cue failures --propose # let Claude draft profile improvements from failures
260
+ ```
304
261
 
305
- ### Confidence tags
262
+ `cue --help` shows the full ~50-subcommand surface; the set above covers a typical week.
306
263
 
307
- cuecards-managed agents tag every research- or decision-relevant claim with a colored confidence marker so you can scan trust at a glance:
264
+ <p align="center">
265
+ <img src="https://raw.githubusercontent.com/opencue/cuecards/main/docs/assets/optimizer-dashboard.svg" alt="cue optimizer dashboard — skills, MCPs, CLIs, and usage per profile" width="820">
266
+ </p>
308
267
 
309
- | Tier | Tag | Meaning |
310
- |---|---|---|
311
- | 🟢 Green | `[VERIFIED]` / `[KNOWN]` | Trust it (~90–99%) |
312
- | 🟡 Yellow | `[INFERRED]` / `[ASSUMED]` | Verify if stakes matter (~50–85%) |
313
- | 🟠 Orange | `[GUESSED]` / `[STALE]` | Verify before acting (~20–45%) |
314
- | 🔴 Red | `[UNKNOWN]` | Don't trust; agent refused to fabricate |
268
+ ---
315
269
 
316
- Optional decile calibration on yellow/orange: `🟡 [INFERRED ~80%]`, `🟠 [GUESSED ~30%]`. The `~` signals it's a rough self-estimate, not a true probability. Full system: **[`integrity-tags/SKILL.md`](./resources/skills/skills/meta/integrity-tags/SKILL.md)** · canonical protocol auto-injected into every profile via `persona_includes`.
270
+ ## API
317
271
 
318
- <br>
272
+ cuecards.cc gives every account a free, per-user **API token** and a small HTTP
273
+ API. Mint a token in the studio (`cue dashboard` → **API** view, or
274
+ [cuecards.cc](https://cuecards.cc)), then use it from your own machine to push
275
+ profiles, skills, and MCPs to the community marketplace.
319
276
 
320
- ---
277
+ ```bash
278
+ # 1. Save the token (verifies it against the server before writing ~/.config/cue/credentials.json)
279
+ cue marketplace login --token cue_sk_… # or: export CUE_API_TOKEN=cue_sk_…
280
+ cue marketplace whoami # confirm which account you're authenticated as
281
+
282
+ # 2. Push something to the marketplace
283
+ cue marketplace publish profile ship-fast --tags build,review
284
+ cue marketplace publish skill seo-audit --source-url https://github.com/me/skills
285
+ cue marketplace publish mcp my-server --desc "internal tooling MCP"
286
+ ```
321
287
 
322
- ## daily commands.
288
+ Authenticate HTTP calls with a Bearer header (the token also works as
289
+ `x-api-key`):
323
290
 
324
291
  ```bash
325
- # Pick a profile
326
- cue use <profile> # switch profile for this directory
327
- cue list # see all available profiles
328
-
329
- # Measure
330
- cue cost # token budget for active profile
331
- cue cost --compare # every profile ranked vs the `full` baseline
332
-
333
- # System dependencies
334
- cue cli install --all --yes # install every missing CLI
335
- cue install <profile> # dry-run: prepare Claude/Codex runtimes
336
- cue install <profile> --with-clis --yes
337
- cue install repo owner/repo --profile <profile> --yes
338
-
339
- # Quality + discovery
340
- cue lint-skill <path> [--fix] # validate SKILL.md against R001-R008
341
- cue marketplace discover --cli-aware # find skill repos on GitHub
342
- cue install doctor --all-profiles # audit prepared runtimes
343
- cue failures --propose [profile] # Claude drafts profile improvements
344
-
345
- # Audit
346
- cue optimizer # dashboard: skills, MCPs, CLIs, usage per profile
347
- cue doctor --fix # diff declared vs actual state, auto-repair
292
+ curl https://cuecards.cc/api/v1/me -H "Authorization: Bearer $CUE_API_TOKEN"
293
+ curl https://cuecards.cc/api/v1/community # public community catalog (no auth)
294
+ curl https://cuecards.cc/api/v1/community -H "Authorization: Bearer $CUE_API_TOKEN" \
295
+ -X POST -H 'content-type: application/json' \
296
+ -d '{"type":"profile","name":"ship-fast","tags":["build"]}'
348
297
  ```
349
298
 
350
- `cue --help` shows the full ~50-subcommand surface. The set above covers everything you'll touch weekly.
351
-
352
- <br>
299
+ Install commands are **derived server-side** — a submission can never inject an
300
+ arbitrary `add` string. See [web/AUTH.md](https://github.com/opencue/cuecards/blob/main/web/AUTH.md) for the auth model,
301
+ self-hosting, and `CUE_API_URL` (point the CLI at a different deployment).
353
302
 
354
303
  ---
355
304
 
356
- ## install.
305
+ ## Shell setup
306
+
307
+ `cue shell install` (Quickstart step 2) writes the `~/.config/cue/shims/claude` shim and the PATH line for it. Two more lines round out the experience — drop them in your `.bashrc` / `.zshrc` / fish config:
357
308
 
358
309
  ```bash
359
- npm install -g cue-ai
310
+ eval "$(cue shell hook)" # auto-switch profile when you cd into a project (bash/zsh/fish, auto-detected)
311
+ export CUE_KITTY=1 # inline profile-picker images in Kitty (CUE_DISABLE_KITTY_IMAGES=1 to opt out)
360
312
  ```
361
313
 
362
- Then activate the shim once, and pin a profile in any project:
314
+ <details>
315
+ <summary><b>A real <code>.bashrc</code>, for reference</b> — agent wrappers, gitignored MCP secrets, parallel Claude accounts, and a per-session cost readout. Lift what's useful.</summary>
363
316
 
364
317
  ```bash
365
- cue shell install # one-time: installs the claude shim (--codex for codex)
366
- cd ~/projects/q4-launch
367
- echo marketing > .cue-profile
368
- claude # launches with the marketing cuecard
318
+ # --- cue -------------------------------------------------------------
319
+ eval "$(cue shell hook)" # auto-switch profile on cd
320
+ export CUE_KITTY=1 # inline picker images in Kitty
321
+
322
+ # Source local MCP/API tokens so servers cue launches inherit them.
323
+ # Keep these files chmod 600 and out of git — never commit secrets.
324
+ [ -f "$HOME/.config/cue/secrets.env" ] && . "$HOME/.config/cue/secrets.env"
325
+ if [ -f "$HOME/.config/cue/runtime/<profile>/secrets.env" ]; then
326
+ set -a; . "$HOME/.config/cue/runtime/<profile>/secrets.env"; set +a
327
+ fi
328
+
329
+ # Launch Codex through cue, inheriting GitHub auth from the gh keyring
330
+ # (token pulled at runtime, never written to the rc file).
331
+ codex() {
332
+ local tok; command -v gh >/dev/null && tok="$(gh auth token 2>/dev/null)"
333
+ local prof="${CUE_CODEX_PROFILE:-core}"
334
+ if command -v cue >/dev/null && [ -z "${CUE_SKIP_LAUNCH:-}" ]; then
335
+ GH_TOKEN="$tok" GITHUB_TOKEN="$tok" cue launch codex --cue-profile "$prof" "$@"
336
+ else
337
+ GH_TOKEN="$tok" GITHUB_TOKEN="$tok" command codex "$@"
338
+ fi
339
+ }
340
+
341
+ # Parallel Claude accounts — each gets its own CLAUDE_CONFIG_DIR + profile.
342
+ # Usage: claude-acct work pick | claude-acct personal backend
343
+ claude-acct() {
344
+ local dir="$HOME/.claude-accounts/$1" prof="${2:-pick}"; shift 2 2>/dev/null
345
+ if [ "$prof" = "pick" ]; then
346
+ CLAUDE_CONFIG_DIR="$dir" cue launch claude --cue-pick "$@"
347
+ else
348
+ CLAUDE_CONFIG_DIR="$dir" cue launch claude --cue-profile "$prof" "$@"
349
+ fi
350
+ }
351
+
352
+ # Open Claude in a fresh detached Kitty window (sidesteps tmux repaint contention).
353
+ kcc() { kitty --detach --title "claude${1:+ ($1)}" -- bash -lc "cd ${1:-$PWD} && exec claude" & disown; }
354
+
355
+ # Per-session token + cost readout from the live Claude transcript.
356
+ cc-tokens() {
357
+ local f; f=$(ls -t ~/.claude/projects/*/*.jsonl 2>/dev/null | head -1)
358
+ [ -z "$f" ] && { echo "No session log found"; return 1; }
359
+ python3 - "$f" <<'PY'
360
+ import sys, json, re
361
+ totals, turns = {}, 0
362
+ for line in open(sys.argv[1]):
363
+ try: e = json.loads(line)
364
+ except Exception: continue
365
+ if e.get("type") != "assistant": continue
366
+ u = e.get("message", {}).get("usage") or {}
367
+ if not u: continue
368
+ turns += 1
369
+ m = re.sub(r"^[a-z]{2}\.", "", e["message"].get("model", "?"))
370
+ t = totals.setdefault(m, {"in": 0, "out": 0, "cr": 0, "cc": 0})
371
+ t["in"] += u.get("input_tokens", 0); t["out"] += u.get("output_tokens", 0)
372
+ t["cr"] += u.get("cache_read_input_tokens", 0); t["cc"] += u.get("cache_creation_input_tokens", 0)
373
+ PRICE = { # $/Mtok: input, cache-read, cache-write, output
374
+ "claude-opus-4-8": (15, 1.5, 18.75, 75), "claude-sonnet-4-6": (3, .3, 3.75, 15),
375
+ "claude-haiku-4-5": (.8, .08, 1, 4)}
376
+ DEF = (3, .3, 3.75, 15)
377
+ print(f"\n{'Model':<20}{'In':>9}{'Out':>8}{'CacheR':>9}{'Cost$':>9}")
378
+ for m, t in totals.items():
379
+ p = PRICE.get(m, DEF)
380
+ cost = t['in']*p[0]/1e6 + t['cr']*p[1]/1e6 + t['cc']*p[2]/1e6 + t['out']*p[3]/1e6
381
+ print(f"{m:<20}{t['in']:>9,}{t['out']:>8,}{t['cr']:>9,}${cost:>8.4f}")
382
+ print(f"\n{turns} turns this session")
383
+ PY
384
+ }
385
+ # --- /cue ------------------------------------------------------------
369
386
  ```
370
387
 
371
- <details>
372
- <summary><b>Other install paths</b></summary>
373
-
374
- | Path | Command |
375
- |---|---|
376
- | One-line script | `curl -fsSL https://raw.githubusercontent.com/opencue/cuecards/main/get.sh \| bash` |
377
- | Manual clone | `git clone https://github.com/opencue/cuecards.git ~/Documents/cue && ~/Documents/cue/install.sh` |
378
- | Lean stack (core + caveman + RTK only, cross-OS) | paste [`setup/lean-cue.md`](./setup/lean-cue.md) into Claude Code |
379
- | Per-OS bootstrap (full stack) | paste [`setup/macos.md`](./setup/macos.md) · [`setup/linux.md`](./setup/linux.md) · [`setup/windows.md`](./setup/windows.md) into Claude Code |
388
+ > Secrets are sourced from gitignored files (`chmod 600`), never hardcoded, and the GitHub token is read from `gh` at runtime — nothing sensitive lives in your rc. `cue cost` gives the per-profile budget; `cc-tokens` above is the live per-session spend.
380
389
 
381
390
  </details>
382
391
 
383
- `install.sh --help` lists `--yes`, `--codex`, `--uninstall`. Idempotent — safe to re-run.
384
-
385
- <br>
386
-
387
392
  ---
388
393
 
389
- ## FAQ.
394
+ ## FAQ
390
395
 
391
396
  <details>
392
397
  <summary><b>Does this break Claude Code's auto-update?</b></summary>
393
398
 
394
- No. cue doesn't touch the `claude` binary — it intercepts the *call* via a one-line bash shim in `~/.local/bin/claude`, sets `CLAUDE_CONFIG_DIR`, and `exec`s the real binary. Claude Code's update mechanism still runs identically.
399
+ No. cue never touches the `claude` binary, and never writes to `~/.local/bin` where the native installer keeps it. It intercepts the *call* via a one-line bash shim in its own `~/.config/cue/shims/`, sets `CLAUDE_CONFIG_DIR`, and `exec`s the real binary. Updates work exactly as before — the installer rewrites its symlink, the shim is untouched, and the next launch picks up the new version.
395
400
  </details>
396
401
 
397
402
  <details>
398
403
  <summary><b>Is this a daemon?</b></summary>
399
404
 
400
- No. Pure CLI. When you type `claude`, the shim runs `cue launch`, does a sha256 compare, materializes only if anything changed, then `exec`s. Nothing stays resident.
405
+ No. Pure CLI. When you type `claude`, the shim runs `cue launch`, compares a sha256, materializes only if something changed, then `exec`s. Nothing stays resident.
401
406
  </details>
402
407
 
403
408
  <details>
404
- <summary><b>How fast is the overhead?</b></summary>
409
+ <summary><b>How much overhead does it add?</b></summary>
405
410
 
406
- Cold start: 50–200 ms. Warm start: <5 ms (sha256 compare + `exec`). Imperceptible next to Claude Code's own startup.
411
+ Cold start 50–200 ms; warm start under 5 ms. Imperceptible next to your agent's own startup.
407
412
  </details>
408
413
 
409
414
  <details>
410
415
  <summary><b>Does cue send telemetry?</b></summary>
411
416
 
412
- No. Everything cue computes (including the per-skill usage bars in `cue optimizer`) reads from your local `~/.claude/projects/**/*.jsonl` transcripts. Nothing leaves the machine.
417
+ No. Everything cue computes — including the per-skill usage bars in `cue optimizer` — reads from your local transcript files. Nothing leaves your machine.
413
418
  </details>
414
419
 
415
420
  <details>
416
421
  <summary><b>What does cue NOT do?</b></summary>
417
422
 
418
- - It does not modify or repackage the Claude Code / Codex binary.
419
- - It does not host a remote skill marketplace — skills live in your repo or come from open-source sources.
420
- - It does not coordinate multi-agent runs (that's [`recodeee/colony`](https://github.com/recodeee/colony) + [`gitguardex`](https://github.com/recodeee/gitguardex), layered via the parallel-agents tier).
421
-
423
+ - It doesn't modify or repackage the Claude Code / Codex binaries.
424
+ - It doesn't lock you in — skills live in your repo or come from open source; the optional [cuecards.cc marketplace](#api) is just a sharing layer you push to with your own token, never a requirement.
425
+ - It doesn't coordinate multi-agent runs (that's [colony](https://github.com/recodeee/colony) + [gitguardex](https://github.com/recodeee/gitguardex), layered on top via the parallel-agents tier).
422
426
  </details>
423
427
 
424
- <br>
425
-
426
428
  ---
427
429
 
428
- ## api.
429
-
430
- cuecards.cc has free public accounts and per-user API tokens. Register in the
431
- **API tokens** view, mint a token (shown once), and call the API with a Bearer
432
- header:
430
+ ## How it compares
433
431
 
434
- ```bash
435
- curl https://cuecards.cc/api/v1/me \
436
- -H "Authorization: Bearer <your-token>"
437
- # -> { "ok": true, "data": { "id": "...", "email": "...", "name": "..." } }
438
- ```
439
-
440
- Auth is [BetterAuth](https://better-auth.com) (email + password) on Vercel
441
- serverless functions backed by Neon Postgres. Setup, env vars, the migration,
442
- local dev, and deploy steps live in [`web/AUTH.md`](./web/AUTH.md).
443
-
444
- <br>
432
+ | | cuecards | skillport / agent-skills-cli | Kiro Powers |
433
+ |---|---|---|---|
434
+ | Skills | ✅ | ✅ | ✅ |
435
+ | MCPs | ✅ | — | ✅ |
436
+ | Plugins | ✅ | — | — |
437
+ | Per-directory profiles | ✅ | — | ◐ (IDE-only) |
438
+ | Inheritance | ✅ | — | — |
439
+ | Persona / playbooks / gates | ✅ | — | — |
440
+ | Multi-agent (Cursor/Cline/Copilot/…) | ✅ (10) | Claude only | IDE-only |
441
+ | Failure-feedback loop | ✅ | — | — |
442
+ | Daemon required | none | none | IDE process |
445
443
 
446
444
  ---
447
445
 
448
- ## deep dives.
449
-
450
- The bits that didn't fit on the landing page:
446
+ ## Deep dives
451
447
 
452
448
  | Topic | Read |
453
449
  |---|---|
454
- | Launch flow (resolve → materialize → exec) | [`docs/launch.md`](./docs/launch.md) |
455
- | Profile catalog (all 69, machine-readable) | [`docs/data/profiles.md`](./docs/data/profiles.md) |
456
- | Bootstrap contract for AI agents installing cue | [`AGENTS.md`](./AGENTS.md) |
457
- | Parallel agents tier (Colony + gitguardex) | [`setup/parallel-agents.md`](./setup/parallel-agents.md) |
458
- | Confidence-tag system (`[VERIFIED]`, `[INFERRED]`, `[GUESSED]`, etc.) | [`resources/skills/skills/meta/integrity-tags/SKILL.md`](./resources/skills/skills/meta/integrity-tags/SKILL.md) |
459
-
460
- <sub>Topics like the 5-dimensional expert agent model, system CLI installer mechanics, marketplace discovery, SKILL.md linter rules, and the `cue optimizer` dashboard are tracked in git history at the old README until they get their own pages — `git log --diff-filter=D -- README.md` finds them.</sub>
461
-
462
- <br>
463
-
464
- ---
465
-
466
- ## who uses cue.
467
-
468
- | Project | Profile | What they do |
469
- |---|---|---|
470
- | [opencue/cuecards](https://github.com/opencue/cuecards) | `full`, `skill-writer` | Dogfooding cue on itself |
471
- | [recodeee/colony](https://github.com/recodeee/colony) | `fleet-control` | Multi-agent coordination MCP |
472
- | [recodeee/gitguardex](https://github.com/recodeee/gitguardex) | `backend` | Branch + worktree isolation for parallel agents |
473
-
474
- > **Using cue?** Open a PR or drop a link in [Discussions](https://github.com/opencue/cuecards/discussions).
475
-
476
- <br>
450
+ | Launch flow (resolve → materialize → exec) | [docs/launch.md](https://github.com/opencue/cuecards/blob/main/docs/launch.md) |
451
+ | Full profile catalog | [docs/data/profiles.md](https://github.com/opencue/cuecards/blob/main/docs/data/profiles.md) |
452
+ | Bootstrap contract for AI agents installing cue | [AGENTS.md](https://github.com/opencue/cuecards/blob/main/AGENTS.md) |
453
+ | Parallel agents tier (Colony + gitguardex) | [setup/parallel-agents.md](https://github.com/opencue/cuecards/blob/main/setup/parallel-agents.md) |
454
+ | Confidence-tag system | [integrity-tags/SKILL.md](https://github.com/opencue/cuecards/blob/main/resources/skills/skills/meta/integrity-tags/SKILL.md) |
477
455
 
478
456
  ---
479
457
 
480
- ## star history.
481
-
482
- <a href="https://star-history.com/#opencue/cuecards&Date">
483
- <picture>
484
- <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=opencue/cuecards&type=Date&theme=dark" />
485
- <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=opencue/cuecards&type=Date" />
486
- <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=opencue/cuecards&type=Date" width="720" />
487
- </picture>
488
- </a>
489
-
490
- <br>
491
-
492
- ---
493
-
494
- ## contributing.
458
+ ## Contributing
495
459
 
496
460
  ```bash
497
461
  git clone https://github.com/opencue/cuecards.git
498
- cd cue && bun install
499
- bun test # tests (lib + commands)
500
- bun run src/index.ts --help # run locally
462
+ cd cuecards && bun install
463
+ bun test # tests (lib + commands)
464
+ bun run src/index.ts --help # run locally
501
465
  ```
502
466
 
503
467
  | Want to | Run |
504
468
  |---|---|
505
- | Add a skill | `cue skills-new <name>` then edit `resources/skills/skills/<category>/<name>/SKILL.md` |
506
- | Add a profile | `cue new <name>` then `cue validate <name>` |
469
+ | Add a skill | `cue skills-new <name>`, then edit `resources/skills/skills/<category>/<name>/SKILL.md` |
470
+ | Add a profile | `cue new <name>`, then `cue validate <name>` |
507
471
  | Share your profile | `cue share publish --profile <name>` |
508
472
  | Report a bug | [Open an issue](https://github.com/opencue/cuecards/issues) |
509
473
 
510
- License: [MIT](./LICENSE).
474
+ ---
475
+
476
+ <div align="center">
477
+
478
+ Built by [Viktor Nagy](https://github.com/NagyVikt) at [opencue](https://github.com/opencue) · [opencue.github.io/cuecards](https://opencue.github.io/cuecards/)
479
+
480
+ **If cue saves you tokens, star it — that's how other people find it.**
481
+
482
+ <a href="https://github.com/opencue/cuecards/stargazers"><img src="https://img.shields.io/github/stars/opencue/cuecards?style=for-the-badge&logo=github&label=%E2%AD%90%20Star%20this%20repo&color=yellow" alt="Star cuecards on GitHub"></a>
483
+
484
+ License: [MIT](https://github.com/opencue/cuecards/blob/main/LICENSE) · zero telemetry · no daemon
485
+
486
+ </div>