@bastani/atomic 0.10.9 → 0.10.10-alpha.1

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 (401) hide show
  1. package/CHANGELOG.md +57 -0
  2. package/README.md +211 -155
  3. package/dist/_shared/dist-KOELCESV.js +2 -2
  4. package/dist/_shared/fork-row-index-UAUAQRD5.js +2 -2
  5. package/dist/_shared/lib-4PES5P4V.js +2 -2
  6. package/dist/_shared/mode-interactive-sdk-7KXUFI2F.js +27 -12
  7. package/dist/_shared/mode-interactive-sdk-7KXUFI2F.js.map +1 -1
  8. package/dist/_shared/mode-rpc-sdk-IOPGDYR4.js +47 -7
  9. package/dist/_shared/mode-rpc-sdk-IOPGDYR4.js.map +1 -1
  10. package/dist/_shared/mode-shared-2QJSCUM6.js +48 -19
  11. package/dist/_shared/mode-shared-2QJSCUM6.js.map +1 -1
  12. package/dist/_shared/{p1a-prewarm-UQY3X2UK.js → p1a-prewarm-XIU57JHF.js} +5 -5
  13. package/dist/_shared/{p1a-prewarm-UQY3X2UK.js.map → p1a-prewarm-XIU57JHF.js.map} +1 -1
  14. package/dist/_shared/p2-shell-main-B2WIALFD.js +30 -25
  15. package/dist/_shared/p2-shell-main-B2WIALFD.js.map +1 -1
  16. package/dist/_shared/runtime-O4KCSG4C.js +5 -5
  17. package/dist/_shared/{sdk-OSBEPR3Q.js → sdk-RRLVN7ER.js} +15 -9
  18. package/dist/_shared/sdk-RRLVN7ER.js.map +1 -0
  19. package/dist/_shared/session-data-AHTU7IS6.js +2 -2
  20. package/dist/_shared/session-manager-list-2BLEEZVG.js +1 -1
  21. package/dist/_shared/settings-startup-8-DNZ2RIHM.js +4 -1
  22. package/dist/_shared/settings-startup-8-DNZ2RIHM.js.map +1 -1
  23. package/dist/_shared/{startup-0-0-TYUFUOJZ.js → startup-0-0-4VG2G44V.js} +427 -33
  24. package/dist/_shared/startup-0-0-4VG2G44V.js.map +1 -0
  25. package/dist/_shared/{startup-0-1-W2G2UY7R.js → startup-0-1-XTIL65D4.js} +18 -11
  26. package/dist/_shared/startup-0-1-XTIL65D4.js.map +1 -0
  27. package/dist/_shared/{startup-0-2-UXBUEOXW.js → startup-0-2-27OWFHV6.js} +145 -58
  28. package/dist/_shared/startup-0-2-27OWFHV6.js.map +1 -0
  29. package/dist/_shared/startup-0-3-T4DVFYWX.js +15 -25
  30. package/dist/_shared/startup-0-3-T4DVFYWX.js.map +1 -1
  31. package/dist/_shared/{startup-0-4-HN5EB4K7.js → startup-0-4-ZMJV547D.js} +81 -12
  32. package/dist/_shared/startup-0-4-ZMJV547D.js.map +1 -0
  33. package/dist/_shared/startup-0-5-FD2P735I.js +90 -50
  34. package/dist/_shared/startup-0-5-FD2P735I.js.map +1 -1
  35. package/dist/_shared/startup-10-0-TDQNBDDL.js +5 -5
  36. package/dist/_shared/startup-12-0-55AAXBJZ.js +13 -7
  37. package/dist/_shared/startup-12-0-55AAXBJZ.js.map +1 -1
  38. package/dist/_shared/startup-14-0-MLX36RBG.js +4 -4
  39. package/dist/_shared/startup-15-0-YUKGAC63.js +4 -4
  40. package/dist/_shared/startup-15-1-4S7FLMNG.js +88 -28
  41. package/dist/_shared/startup-15-1-4S7FLMNG.js.map +1 -1
  42. package/dist/_shared/startup-8-0-34CBHPZH.js +5 -5
  43. package/dist/_shared/startup-8-1-4KANEHRA.js +61 -17
  44. package/dist/_shared/startup-8-1-4KANEHRA.js.map +1 -1
  45. package/dist/_shared/storage-command-7MGXLJGZ.js +4 -4
  46. package/dist/_shared/task-unsaved-answer-VJ2KTB4V.js +2 -2
  47. package/dist/_shared/tree-outline-MUEPK5B7.js +2 -2
  48. package/dist/builtin/intercom/CHANGELOG.md +6 -0
  49. package/dist/builtin/intercom/README.md +85 -114
  50. package/dist/builtin/intercom/broker/broker.bundle.mjs +3 -3
  51. package/dist/builtin/intercom/broker/presence-handler.ts +1 -1
  52. package/dist/builtin/intercom/group.ts +7 -3
  53. package/dist/builtin/intercom/index.bundle.mjs +1 -1
  54. package/dist/builtin/intercom/package.json +1 -1
  55. package/dist/builtin/mcp/README.md +37 -27
  56. package/dist/builtin/mcp/index.bundle.mjs +1 -1
  57. package/dist/builtin/mcp/package.json +1 -1
  58. package/dist/builtin/subagents/CHANGELOG.md +8 -0
  59. package/dist/builtin/subagents/README.md +71 -138
  60. package/dist/builtin/subagents/package.json +1 -1
  61. package/dist/builtin/subagents/src/extension/index.bundle.mjs +213 -74
  62. package/dist/builtin/web-access/CHANGELOG.md +9 -0
  63. package/dist/builtin/web-access/README.md +60 -87
  64. package/dist/builtin/web-access/index.bundle.mjs +387 -351
  65. package/dist/builtin/web-access/package.json +1 -1
  66. package/dist/cli/args.js +2 -2
  67. package/dist/cli/auth-cli.code.js +4 -4
  68. package/dist/cli/auth-cli.impl.js +3 -3
  69. package/dist/cli/auth-cli.js +3 -3
  70. package/dist/cli/blueprint-command.code.js +2 -2
  71. package/dist/cli/blueprint-command.impl.js +3 -3
  72. package/dist/cli/blueprint-command.js +3 -3
  73. package/dist/cli/intercom-command.code.js +3 -3
  74. package/dist/cli/intercom-command.impl.js +3 -3
  75. package/dist/cli/intercom-command.js +3 -3
  76. package/dist/cli/list-models.code.js +3 -3
  77. package/dist/cli/list-models.impl.js +3 -3
  78. package/dist/cli/list-models.js +3 -3
  79. package/dist/cli/session-picker.code.js +2 -2
  80. package/dist/cli/session-picker.impl.js +3 -3
  81. package/dist/cli/session-picker.js +3 -3
  82. package/dist/cli/startup-ui.code.js +2 -2
  83. package/dist/cli/startup-ui.impl.js +3 -3
  84. package/dist/cli/startup-ui.js +3 -3
  85. package/dist/cli/storage-command.impl.js +3 -3
  86. package/dist/cli/storage-command.js +3 -3
  87. package/dist/cli/storage-search-session.code.js +2 -2
  88. package/dist/cli/storage-search-session.impl.js +3 -3
  89. package/dist/cli/storage-search-session.js +3 -3
  90. package/dist/cli/team-command.code.js +2 -2
  91. package/dist/cli/team-command.impl.js +3 -3
  92. package/dist/cli/team-command.js +3 -3
  93. package/dist/cli.js +2 -2
  94. package/dist/core/agent-session-methods.d.ts +4 -1
  95. package/dist/core/agent-session-methods.js.map +1 -1
  96. package/dist/core/agent-session.d.ts +3 -0
  97. package/dist/core/compaction/compactor.d.ts +20 -14
  98. package/dist/core/compaction/errors.d.ts +120 -0
  99. package/dist/core/compaction/index.d.ts +1 -0
  100. package/dist/core/compaction/model-resolver.d.ts +2 -2
  101. package/dist/core/debug.impl.js +3 -3
  102. package/dist/core/debug.js +3 -3
  103. package/dist/core/export-html/card-projection.impl.js +3 -3
  104. package/dist/core/export-html/card-projection.js +3 -3
  105. package/dist/core/export-html/index.code.js +2 -2
  106. package/dist/core/export-html/index.impl.js +3 -3
  107. package/dist/core/export-html/index.js +3 -3
  108. package/dist/core/export-html/json-spans.impl.js +3 -3
  109. package/dist/core/export-html/json-spans.js +3 -3
  110. package/dist/core/export-html/oversized-render-inputs.impl.js +3 -3
  111. package/dist/core/export-html/oversized-render-inputs.js +3 -3
  112. package/dist/core/export-html/tool-renderer.code.js +1 -1
  113. package/dist/core/export-html/tool-renderer.impl.js +3 -3
  114. package/dist/core/export-html/tool-renderer.js +3 -3
  115. package/dist/core/extensions/api-types.d.ts +1 -1
  116. package/dist/core/extensions/api-types.js.map +1 -1
  117. package/dist/core/extensions/index.d.ts +1 -1
  118. package/dist/core/extensions/jiti-loader.impl.js +3 -3
  119. package/dist/core/extensions/jiti-loader.js +3 -3
  120. package/dist/core/extensions/jiti-static-loader.impl.js +3 -3
  121. package/dist/core/extensions/jiti-static-loader.js +3 -3
  122. package/dist/core/extensions/loader-host-modules.code.js +1 -1
  123. package/dist/core/extensions/loader-host-modules.impl.js +3 -3
  124. package/dist/core/extensions/loader-host-modules.js +3 -3
  125. package/dist/core/extensions/loader-virtual-modules.js +1 -1
  126. package/dist/core/extensions/provider-types.d.ts +18 -6
  127. package/dist/core/extensions/provider-types.js.map +1 -1
  128. package/dist/core/extensions/runner-context.js +1 -1
  129. package/dist/core/intercom-broker-control-host.code.js +1 -1
  130. package/dist/core/intercom-broker-control-host.impl.js +3 -3
  131. package/dist/core/intercom-broker-control-host.js +3 -3
  132. package/dist/core/intercom-broker-control.code.js +3 -3
  133. package/dist/core/intercom-broker-control.impl.js +3 -3
  134. package/dist/core/intercom-broker-control.js +3 -3
  135. package/dist/core/model-config.d.ts +40 -0
  136. package/dist/core/model-registry.js +1 -1
  137. package/dist/core/model-resolver-scope.d.ts +4 -4
  138. package/dist/core/model-runtime.d.ts +1 -1
  139. package/dist/core/package-manager-storage-adapters.impl.js +3 -3
  140. package/dist/core/package-manager-storage-adapters.js +3 -3
  141. package/dist/core/provider-composer-internal.d.ts +11 -2
  142. package/dist/core/sdk.code.js +3 -3
  143. package/dist/core/sdk.impl.js +3 -3
  144. package/dist/core/sdk.js +3 -3
  145. package/dist/core/session-manager-core.js +5 -5
  146. package/dist/core/session-manager-list.impl.js +3 -3
  147. package/dist/core/session-manager-list.js +3 -3
  148. package/dist/core/session-manager.code.js +1 -1
  149. package/dist/core/session-manager.impl.js +3 -3
  150. package/dist/core/session-manager.js +3 -3
  151. package/dist/core/session-storage.impl.js +3 -3
  152. package/dist/core/session-storage.js +3 -3
  153. package/dist/core/settings-manager-basic-accessors.d.ts +6 -2
  154. package/dist/core/storage/index.js +2 -2
  155. package/dist/core/storage/node-sqlite-thread.js +2 -2
  156. package/dist/core/storage/node-sqlite.js +2 -2
  157. package/dist/core/storage/offline-snapshot-file.impl.js +3 -3
  158. package/dist/core/storage/offline-snapshot-file.js +3 -3
  159. package/dist/core/storage/provider.js +2 -2
  160. package/dist/core/storage/selection.js +2 -2
  161. package/dist/core/storage/session/branch-fork-source.code.js +2 -2
  162. package/dist/core/storage/session/branch-fork-source.impl.js +3 -3
  163. package/dist/core/storage/session/branch-fork-source.js +3 -3
  164. package/dist/core/storage/session/card-view.impl.js +3 -3
  165. package/dist/core/storage/session/card-view.js +3 -3
  166. package/dist/core/storage/session/child-reader.code.js +3 -3
  167. package/dist/core/storage/session/child-reader.impl.js +3 -3
  168. package/dist/core/storage/session/child-reader.js +3 -3
  169. package/dist/core/storage/session/chunked-resume-projection.impl.js +3 -3
  170. package/dist/core/storage/session/chunked-resume-projection.js +3 -3
  171. package/dist/core/storage/session/expanded-child-details.code.js +2 -2
  172. package/dist/core/storage/session/expanded-child-details.impl.js +3 -3
  173. package/dist/core/storage/session/expanded-child-details.js +3 -3
  174. package/dist/core/storage/session/fork-row-bytes.impl.js +3 -3
  175. package/dist/core/storage/session/fork-row-bytes.js +3 -3
  176. package/dist/core/storage/session/fork-row-index.impl.js +3 -3
  177. package/dist/core/storage/session/fork-row-index.js +3 -3
  178. package/dist/core/storage/session/fork-staging.code.js +2 -2
  179. package/dist/core/storage/session/fork-staging.impl.js +3 -3
  180. package/dist/core/storage/session/fork-staging.js +3 -3
  181. package/dist/core/storage/session/fork-window.code.js +3 -3
  182. package/dist/core/storage/session/fork-window.impl.js +3 -3
  183. package/dist/core/storage/session/fork-window.js +3 -3
  184. package/dist/core/storage/session/history-pages.impl.js +3 -3
  185. package/dist/core/storage/session/history-pages.js +3 -3
  186. package/dist/core/storage/session/jsonl-entry-projection.impl.js +3 -3
  187. package/dist/core/storage/session/jsonl-entry-projection.js +3 -3
  188. package/dist/core/storage/session/jsonl-session-store.impl.js +3 -3
  189. package/dist/core/storage/session/jsonl-session-store.js +3 -3
  190. package/dist/core/storage/session/memory-session-store.impl.js +3 -3
  191. package/dist/core/storage/session/memory-session-store.js +3 -3
  192. package/dist/core/storage/session/pinned-branch-resume.code.js +3 -3
  193. package/dist/core/storage/session/pinned-branch-resume.impl.js +3 -3
  194. package/dist/core/storage/session/pinned-branch-resume.js +3 -3
  195. package/dist/core/storage/session/released-history-files.code.js +3 -3
  196. package/dist/core/storage/session/released-history-files.impl.js +3 -3
  197. package/dist/core/storage/session/released-history-files.js +3 -3
  198. package/dist/core/storage/session/resident-fork-rows.impl.js +3 -3
  199. package/dist/core/storage/session/resident-fork-rows.js +3 -3
  200. package/dist/core/storage/session/session-resume.impl.js +3 -3
  201. package/dist/core/storage/session/session-resume.js +3 -3
  202. package/dist/core/storage/session/snapshot-cut.impl.js +3 -3
  203. package/dist/core/storage/session/snapshot-cut.js +3 -3
  204. package/dist/core/storage/session/snapshot-history.code.js +3 -3
  205. package/dist/core/storage/session/snapshot-history.impl.js +3 -3
  206. package/dist/core/storage/session/snapshot-history.js +3 -3
  207. package/dist/core/storage/session/sql-session-store.code.js +1 -1
  208. package/dist/core/storage/session/sql-session-store.impl.js +3 -3
  209. package/dist/core/storage/session/sql-session-store.js +3 -3
  210. package/dist/core/storage/session/tree-outline.impl.js +3 -3
  211. package/dist/core/storage/session/tree-outline.js +3 -3
  212. package/dist/core/storage/session/tree-presentation.impl.js +3 -3
  213. package/dist/core/storage/session/tree-presentation.js +3 -3
  214. package/dist/core/storage/storage-status.impl.js +3 -3
  215. package/dist/core/storage/storage-status.js +3 -3
  216. package/dist/core/storage/team.impl.js +3 -3
  217. package/dist/core/storage/team.js +3 -3
  218. package/dist/core/structured-output/index.code.js +1 -1
  219. package/dist/core/structured-output/index.impl.js +3 -3
  220. package/dist/core/structured-output/index.js +3 -3
  221. package/dist/core/tasks/task-completion-entry.impl.js +3 -3
  222. package/dist/core/tasks/task-completion-entry.js +3 -3
  223. package/dist/core/tasks/task-file-history.code.js +3 -3
  224. package/dist/core/tasks/task-file-history.impl.js +3 -3
  225. package/dist/core/tasks/task-file-history.js +3 -3
  226. package/dist/core/tasks/task-reference-archive.code.js +4 -4
  227. package/dist/core/tasks/task-reference-archive.js +3 -3
  228. package/dist/core/tasks/task-reference-identity.code.js +1 -1
  229. package/dist/core/tasks/task-reference-identity.js +3 -3
  230. package/dist/core/tasks/task-reference-stream.impl.js +3 -3
  231. package/dist/core/tasks/task-reference-stream.js +3 -3
  232. package/dist/core/tasks/task-unsaved-answer.impl.js +3 -3
  233. package/dist/core/tasks/task-unsaved-answer.js +3 -3
  234. package/dist/core/tasks/task-view-source.impl.js +3 -3
  235. package/dist/core/tasks/task-view-source.js +3 -3
  236. package/dist/core/tools/read-url.code.js +2 -2
  237. package/dist/core/tools/read-url.impl.js +3 -3
  238. package/dist/core/tools/read-url.js +3 -3
  239. package/dist/core/worktree-snapshot/blob-store.js +2 -2
  240. package/dist/core/worktree-snapshot/errors.code.js +3 -3
  241. package/dist/core/worktree-snapshot/errors.impl.js +3 -3
  242. package/dist/core/worktree-snapshot/errors.js +3 -3
  243. package/dist/core/worktree-snapshot/session-index-reset.impl.js +3 -3
  244. package/dist/core/worktree-snapshot/session-index-reset.js +3 -3
  245. package/dist/extensions/codemode/execute.code.js +1 -1
  246. package/dist/extensions/codemode/execute.impl.js +3 -3
  247. package/dist/extensions/codemode/execute.js +3 -3
  248. package/dist/extensions/codemode/renderer.code.js +2 -2
  249. package/dist/extensions/codemode/renderer.impl.js +3 -3
  250. package/dist/extensions/codemode/renderer.js +3 -3
  251. package/dist/extensions/mcp/cli.code.js +2 -2
  252. package/dist/extensions/mcp/cli.impl.js +3 -3
  253. package/dist/extensions/mcp/cli.js +3 -3
  254. package/dist/extensions/mcp/cli.lazy.code.js +2 -2
  255. package/dist/extensions/mcp/cli.lazy.impl.js +3 -3
  256. package/dist/extensions/mcp/cli.lazy.js +3 -3
  257. package/dist/extensions/mcp/runtime.code.js +1 -1
  258. package/dist/extensions/mcp/runtime.impl.js +3 -3
  259. package/dist/extensions/mcp/runtime.js +3 -3
  260. package/dist/index-extensions.d.ts +1 -1
  261. package/dist/index.d.ts +8 -1
  262. package/dist/index.js +7 -7
  263. package/dist/main-first-time-setup.code.js +2 -2
  264. package/dist/main-first-time-setup.impl.js +3 -3
  265. package/dist/main-first-time-setup.js +3 -3
  266. package/dist/modes/interactive/components/settings-selector-types.d.ts +1 -0
  267. package/dist/modes/interactive/components/settings-selector-types.js.map +1 -1
  268. package/dist/modes/interactive/components/stored-tree-view.code.js +2 -2
  269. package/dist/modes/interactive/components/stored-tree-view.impl.js +3 -3
  270. package/dist/modes/interactive/components/stored-tree-view.js +3 -3
  271. package/dist/modes/interactive/components/user-message-selector-archive.impl.js +3 -3
  272. package/dist/modes/interactive/components/user-message-selector-archive.js +3 -3
  273. package/dist/modes/interactive/theme/color-utils.d.ts +5 -5
  274. package/dist/modes/interactive/theme/theme-loading.d.ts +1 -0
  275. package/dist/modes/interactive-engine/engine-prewarm.js +1 -1
  276. package/dist/modes/interactive-engine/remote-model-catalog.d.ts +1 -0
  277. package/dist/modes/print-mode.js +1 -1
  278. package/dist/modes/rpc/rpc-client-api.d.ts +6 -0
  279. package/dist/modes/rpc/rpc-types.d.ts +29 -2
  280. package/dist/package-manager-cli.code.js +5 -5
  281. package/dist/package-manager-cli.impl.js +3 -3
  282. package/dist/package-manager-cli.js +3 -3
  283. package/dist/rpc-entry.js +1 -1
  284. package/dist/startup-files.json +1 -1
  285. package/dist/startup-stages/5.js +1 -1
  286. package/dist/startup-stages/7.js +1 -1
  287. package/dist/startup-stages/8.js +1 -2
  288. package/dist/startup-stages/9.js +2 -1
  289. package/dist/utils/native-module.d.ts +44 -0
  290. package/dist/utils/startup-database-spare.code.js +3 -3
  291. package/dist/utils/startup-database-spare.impl.js +3 -3
  292. package/dist/utils/startup-database-spare.js +3 -3
  293. package/dist/utils/tools-manager.code.js +1 -1
  294. package/dist/utils/tools-manager.impl.js +3 -3
  295. package/dist/utils/tools-manager.js +3 -3
  296. package/docs/background-tasks.md +235 -243
  297. package/docs/build.md +12 -11
  298. package/docs/codemode.md +60 -51
  299. package/docs/compaction/reference.md +61 -24
  300. package/docs/compaction.md +117 -65
  301. package/docs/computer-use.md +179 -146
  302. package/docs/containerization.md +79 -33
  303. package/docs/custom-provider/api-reference.md +148 -11
  304. package/docs/custom-provider/oauth.md +44 -27
  305. package/docs/custom-provider/override.md +14 -7
  306. package/docs/custom-provider/registration.md +75 -65
  307. package/docs/custom-provider/streaming.md +42 -19
  308. package/docs/custom-provider.md +25 -61
  309. package/docs/development.md +47 -43
  310. package/docs/docs.json +33 -33
  311. package/docs/environment-variables.md +83 -57
  312. package/docs/extensions/api-reference.md +323 -734
  313. package/docs/extensions/authoring.md +186 -269
  314. package/docs/extensions/events.md +308 -375
  315. package/docs/extensions/examples.md +122 -74
  316. package/docs/extensions/ui.md +217 -197
  317. package/docs/extensions.md +152 -259
  318. package/docs/getting-started/authentication.md +27 -14
  319. package/docs/getting-started/first-session.md +25 -26
  320. package/docs/getting-started/installation.md +62 -84
  321. package/docs/getting-started/project-instructions.md +39 -14
  322. package/docs/guides/configuration.md +42 -20
  323. package/docs/guides/intercom.md +17 -13
  324. package/docs/guides/non-interactive.md +29 -16
  325. package/docs/guides/orchestration.md +16 -10
  326. package/docs/guides/resume-on-any-machine.md +54 -49
  327. package/docs/guides/subagents.md +22 -14
  328. package/docs/guides/team-setup.md +37 -26
  329. package/docs/guides.md +22 -21
  330. package/docs/herdr.md +21 -16
  331. package/docs/index.md +16 -17
  332. package/docs/intercom/operations.md +68 -66
  333. package/docs/intercom/reference.md +196 -191
  334. package/docs/intercom.md +103 -92
  335. package/docs/json.md +71 -71
  336. package/docs/keybindings.md +63 -50
  337. package/docs/libraries/agent-core.md +49 -8
  338. package/docs/libraries/ai.md +21 -12
  339. package/docs/libraries/codemode.md +28 -6
  340. package/docs/libraries/schema.md +7 -7
  341. package/docs/libraries/telemetry.md +7 -7
  342. package/docs/libraries/tui.md +74 -94
  343. package/docs/libraries.md +5 -5
  344. package/docs/llama-cpp.md +38 -33
  345. package/docs/mcp-servers.md +96 -90
  346. package/docs/models/reference.md +46 -33
  347. package/docs/models-configuration.md +12 -6
  348. package/docs/models.md +93 -88
  349. package/docs/orchestration/migrating-workflows.md +21 -19
  350. package/docs/orchestration/patterns.md +35 -20
  351. package/docs/orchestration.md +22 -21
  352. package/docs/packages/authoring.md +28 -19
  353. package/docs/packages/reference.md +75 -16
  354. package/docs/packages.md +31 -33
  355. package/docs/programmatic.md +22 -21
  356. package/docs/prompt-templates.md +63 -41
  357. package/docs/providers/reference.md +35 -19
  358. package/docs/providers.md +61 -71
  359. package/docs/quickstart.md +32 -46
  360. package/docs/reference/cli.md +249 -252
  361. package/docs/reference.md +23 -20
  362. package/docs/rpc/examples.md +74 -17
  363. package/docs/rpc/extension-ui.md +79 -62
  364. package/docs/rpc/protocol.md +816 -358
  365. package/docs/rpc.md +75 -151
  366. package/docs/sdk/reference.md +175 -45
  367. package/docs/sdk/structured-decisions.md +92 -62
  368. package/docs/sdk/web-server.md +79 -46
  369. package/docs/sdk.md +237 -195
  370. package/docs/security.md +106 -43
  371. package/docs/session-format.md +96 -59
  372. package/docs/sessions.md +149 -113
  373. package/docs/settings.md +289 -204
  374. package/docs/shell-aliases.md +15 -6
  375. package/docs/skills/authoring.md +17 -9
  376. package/docs/skills/reference.md +23 -21
  377. package/docs/skills.md +104 -97
  378. package/docs/storage.md +140 -242
  379. package/docs/subagents/authoring.md +147 -16
  380. package/docs/subagents/reference.md +100 -30
  381. package/docs/subagents.md +220 -252
  382. package/docs/terminal-setup.md +97 -69
  383. package/docs/termux.md +51 -85
  384. package/docs/themes/reference.md +51 -37
  385. package/docs/themes.md +49 -54
  386. package/docs/tmux.md +38 -21
  387. package/docs/tools.md +198 -147
  388. package/docs/tui/reference.md +64 -32
  389. package/docs/tui.md +38 -66
  390. package/docs/usage.md +76 -78
  391. package/docs/verification.md +25 -25
  392. package/docs/web-access.md +72 -55
  393. package/docs/windows.md +53 -58
  394. package/docs/worktree-snapshots.md +62 -65
  395. package/package.json +8 -8
  396. package/schemas/models.schema.json +51 -0
  397. package/dist/_shared/sdk-OSBEPR3Q.js.map +0 -1
  398. package/dist/_shared/startup-0-0-TYUFUOJZ.js.map +0 -1
  399. package/dist/_shared/startup-0-1-W2G2UY7R.js.map +0 -1
  400. package/dist/_shared/startup-0-2-UXBUEOXW.js.map +0 -1
  401. package/dist/_shared/startup-0-4-HN5EB4K7.js.map +0 -1
@@ -1,13 +1,14 @@
1
1
  ---
2
2
  title: "Shell aliases"
3
- description: "Enable Bash and Zsh shell aliases for Atomic commands using shellCommandPrefix."
3
+ sidebarTitle: "Shell aliases"
4
+ description: "Expand Bash or Zsh aliases in Atomic shell commands with shellCommandPrefix and understand platform caveats."
4
5
  ---
5
6
 
6
- # Shell aliases
7
+ Atomic runs Bash in non-interactive mode (`bash -c`), which does not expand shell aliases by default. Use `shellCommandPrefix` in settings to enable aliases before each shell command.
7
8
 
8
- Atomic runs Bash in non-interactive mode (`bash -c`), which does not expand shell aliases by default.
9
+ ## Configure `shellCommandPrefix`
9
10
 
10
- To enable your aliases, add `shellCommandPrefix` to `~/.atomic/agent/settings.json` (legacy `~/.pi/agent/settings.json` is also read):
11
+ Add `shellCommandPrefix` to `~/.atomic/agent/settings.json` or a trusted project's `.atomic/settings.json` (project settings replace the global value; legacy `~/.pi/agent/settings.json` is also read):
11
12
 
12
13
  ```json
13
14
  {
@@ -15,6 +16,14 @@ To enable your aliases, add `shellCommandPrefix` to `~/.atomic/agent/settings.js
15
16
  }
16
17
  ```
17
18
 
18
- Adjust the path (`~/.zshrc`, `~/.bashrc`, or another rc file) to match your shell config.
19
+ Adjust the rc file path (`~/.zshrc`, `~/.bashrc`, or another profile file) to match where your aliases are defined.
19
20
 
20
- On native Windows, `!` and `!!` commands run in PowerShell rather than Bash, so `shellCommandPrefix` must use PowerShell syntax there. See [Settings: Shell](/settings#shell) and [Windows](/windows) for details.
21
+ ## Scope, caveats, and Windows behavior
22
+
23
+ - **Applies to both model and interactive shell commands:** Atomic prepends `shellCommandPrefix` followed by a newline (`<prefix>\n<command>`) to every model `bash` tool call and every interactive `!` and `!!` command.
24
+ - **Keep the prefix silent and error-free:** Any syntax error, `set -e` failure, or `exit` inside `shellCommandPrefix` aborts every shell command. Any text printed to stdout by the prefix is prepended to every command output returned to the model.
25
+ - **Limitations of `grep '^alias '` and Bash syntax:** `grep '^alias ' ~/.zshrc` imports only single-line alias definitions starting at column 0. It skips shell functions, exported environment variables, indented or conditional aliases, and Zsh-only syntax such as `alias -g` or `alias -s` (which fails in Bash). Because `shopt -s expand_aliases` is Bash-specific, it also fails if no `bash` binary exists on a Unix system and Atomic falls back to `/bin/sh`.
26
+ - **Blueprint worktrees:** In restored blueprint worktrees with `$ENVRC`, Atomic appends the blueprint environment prefix after `shellCommandPrefix` automatically.
27
+ - **Native Windows conflict:** On native Windows, Atomic prepends `shellCommandPrefix` to **both** model `bash` tool calls (which run in Bash) and interactive `!` and `!!` commands (which run in PowerShell), while the model `powershell` tool ignores `shellCommandPrefix`. Because Bash and PowerShell have incompatible syntax, putting PowerShell syntax in `shellCommandPrefix` breaks every model `bash` tool call, and putting Bash syntax breaks every `!` and `!!` command. Leave `shellCommandPrefix` unset on native Windows unless you intentionally disable one side (for example, by excluding `bash`). Inside WSL, both `bash` tool calls and `!`/`!!` run in Bash, so Bash syntax works for both.
28
+
29
+ See [Settings: Shell](/settings#shell) and [Windows setup](/windows) for full shell configuration details.
@@ -1,25 +1,28 @@
1
1
  ---
2
- title: Writing skills
3
- description: Skill directory structure and a complete worked example.
2
+ title: "Write a custom skill"
3
+ sidebarTitle: "Write a skill"
4
+ description: "Structure a skill directory or standalone file, write SKILL.md instructions, and follow a complete worked example."
4
5
  ---
5
6
 
6
- # Writing skills
7
-
8
7
  ## Skill structure
9
8
 
10
- A skill is a directory with a `SKILL.md` file. Everything else is freeform.
9
+ A skill is usually a directory containing a `SKILL.md` file plus any scripts, references, or assets it needs.
11
10
 
12
- ```
11
+ ```text
13
12
  my-skill/
14
13
  ├── SKILL.md # Required: frontmatter + instructions
15
14
  ├── scripts/ # Helper scripts
16
15
  │ └── process.sh
17
- ├── references/ # Detailed docs loaded on-demand
16
+ ├── references/ # Detailed docs loaded on demand
18
17
  │ └── api-reference.md
19
18
  └── assets/
20
19
  └── template.json
21
20
  ```
22
21
 
22
+ Once a directory contains `SKILL.md`, Atomic stops recursing inside it. Supporting Markdown files under `references/` are never mistaken for nested skills, and nested subdirectories cannot define separate skills.
23
+
24
+ You can also create a single-file skill directly inside `~/.atomic/agent/skills/<name>.md` or `.atomic/skills/<name>.md` (not `.agents/skills/`, which requires subdirectories with `SKILL.md`). For standalone root `.md` files, always set `name:` in frontmatter; omitting `name:` falls back to the parent directory name (`skills`), which causes all nameless root files to collide.
25
+
23
26
  ### SKILL.md format
24
27
 
25
28
  ````markdown
@@ -44,12 +47,16 @@ cd /path/to/skill && npm install
44
47
  ```
45
48
  ````
46
49
 
47
- Use relative file paths from the skill directory (these are bundled skill files, not docs routes):
50
+ Quote any `description` value that contains a YAML colon followed by a space (for example `description: "Search docs: fast local lookup"`). An unquoted colon causes a YAML parse error and prevents the skill from loading.
51
+
52
+ Use relative paths from the skill directory:
48
53
 
49
54
  ```markdown
50
55
  See the API reference at `references/api-reference.md` for details.
51
56
  ```
52
57
 
58
+ Atomic tells the model to resolve relative paths against the skill's directory (the parent of `SKILL.md`) and pass absolute paths to tools. Make helper scripts executable (`chmod +x scripts/process.sh`) or document running them with an explicit interpreter such as `node`, `bash`, or `python3`.
59
+
53
60
  Keep instructions concise and lead with the intended outcome:
54
61
 
55
62
  - State observable completion and stop conditions.
@@ -60,7 +67,7 @@ Keep instructions concise and lead with the intended outcome:
60
67
 
61
68
  ## Example
62
69
 
63
- ```
70
+ ```text
64
71
  brave-search/
65
72
  ├── SKILL.md
66
73
  ├── search.js
@@ -68,6 +75,7 @@ brave-search/
68
75
  ```
69
76
 
70
77
  **SKILL.md:**
78
+
71
79
  ````markdown
72
80
  ---
73
81
  name: brave-search
@@ -1,23 +1,22 @@
1
1
  ---
2
- title: Skill reference
3
- description: SKILL.md frontmatter fields and validation rules.
2
+ title: "Skill format reference"
3
+ sidebarTitle: "Skills"
4
+ description: "Reference for SKILL.md frontmatter fields, naming rules, validation behavior, and collision handling."
4
5
  ---
5
6
 
6
- # Skill reference
7
-
8
7
  ## Frontmatter
9
8
 
10
9
  Per the [Agent Skills specification](https://agentskills.io/specification#frontmatter-required):
11
10
 
12
- | Field | Required | Description |
13
- |-------|----------|-------------|
14
- | `name` | Spec required (optional in Atomic) | Max 64 chars. Lowercase `a-z`, `0-9`, hyphens. Defaults to the parent directory name if omitted. |
15
- | `description` | Yes | Max 1,024 chars. What the skill does and when to use it. |
16
- | `license` | No | License name or reference to a bundled file. |
17
- | `compatibility` | No | Max 500 chars. Environment requirements. |
18
- | `metadata` | No | Arbitrary key-value mapping. |
19
- | `allowed-tools` | No | Space-delimited list of pre-approved tools (experimental). |
20
- | `disable-model-invocation` | No | When `true`, hides the skill from the system prompt. Users must invoke it with `/skill:name`. |
11
+ | Field | Required | Used by Atomic | Description |
12
+ | --- | --- | --- | --- |
13
+ | `name` | Spec required (optional in Atomic) | Yes | Max 64 chars. Lowercase `a-z`, `0-9`, and hyphens. Defaults to the parent directory name if omitted. Standalone root `.md` files must set `name` explicitly or they default to `skills` and collide. |
14
+ | `description` | Yes | Yes | Max 1,024 chars. Non-empty summary of what the skill does and when to use it. |
15
+ | `disable-model-invocation` | No | Yes | Strict boolean `true` hides the skill from the system prompt so it runs only when invoked via `/skill:name`. A string `"true"` does not disable model invocation. |
16
+ | `license` | No | Ignored | License name or reference to a bundled file. Accepted for spec portability. |
17
+ | `compatibility` | No | Ignored | Environment requirements (spec max 500 chars; not enforced by Atomic). |
18
+ | `metadata` | No | Ignored | Arbitrary key-value mapping. Accepted for spec portability. |
19
+ | `allowed-tools` | No | Ignored | Space-delimited tool list from the Agent Skills spec. Atomic parses it without error but does not grant or pre-approve tool permissions from it. |
21
20
 
22
21
  ### Name rules
23
22
 
@@ -25,35 +24,38 @@ Per the [Agent Skills specification](https://agentskills.io/specification#frontm
25
24
  - Lowercase letters, numbers, and hyphens only
26
25
  - No leading or trailing hyphens
27
26
  - No consecutive hyphens
28
- - Match the parent directory name for portability with the Agent Skills specification
27
+ - Match the parent directory name for portability with the Agent Skills specification (Atomic does not warn when `name` differs from the parent directory)
29
28
 
30
29
  Valid: `pdf-processing`, `data-analysis`, `code-review`
30
+
31
31
  Invalid: `PDF-Processing`, `-pdf`, `pdf--processing`
32
32
 
33
33
  ### Description best practices
34
34
 
35
- The description determines when the agent loads the skill. Be specific.
35
+ The description determines when the agent loads the skill. Be specific, and quote descriptions that contain `: ` so YAML parses them cleanly.
36
36
 
37
37
  Good:
38
+
38
39
  ```yaml
39
40
  description: Extracts text and tables from PDF files, fills PDF forms, and merges multiple PDFs. Use when working with PDF documents.
40
41
  ```
41
42
 
42
43
  Poor:
44
+
43
45
  ```yaml
44
46
  description: Helps with PDFs.
45
47
  ```
46
48
 
47
49
  ## Validation
48
50
 
49
- Atomic validates skills against the Agent Skills standard. Most issues produce warnings but still load the skill:
51
+ Atomic validates `name` and `description` against the Agent Skills standard. Most issues produce warnings while still loading the skill:
50
52
 
51
- - Name exceeds 64 characters or contains invalid characters
52
- - Name starts or ends with a hyphen, or contains consecutive hyphens
53
- - Description exceeds 1,024 characters
53
+ - `name` exceeds 64 characters or contains invalid characters
54
+ - `name` starts or ends with a hyphen, or contains consecutive hyphens
55
+ - `description` exceeds 1,024 characters (the full description still loads)
54
56
 
55
57
  Unknown frontmatter fields are ignored.
56
58
 
57
- Declared skills with missing or empty descriptions are not loaded. Malformed `SKILL.md` files and `SKILL.md` files without a description produce warnings and are not loaded. Other Markdown files without valid skill frontmatter are ignored.
59
+ Declared skills (`SKILL.md` files and root `.md` files with skill frontmatter) with a missing, empty, or whitespace-only `description` produce a warning and are not loaded. Malformed `SKILL.md` frontmatter also produces a warning and prevents loading. Non-skill Markdown files without valid skill frontmatter (such as `README.md`) are ignored silently.
58
60
 
59
- Symlinks pointing to the same real skill file are deduplicated silently. Name collisions (the same name declared by different real files) produce diagnostics and keep the first-winner precedence for `/skill:name`. Atomic retains the other files as source-qualified candidates as described in [Skill commands](/skills#skill-commands).
61
+ Symlinks pointing to the same real skill file are deduplicated silently. Name collisions (the same name declared by two or more distinct real files) emit diagnostics, keep the first skill in [discovery precedence order](/skills#precedence-order) for bare `/skill:name`, and create `@source` qualified aliases only for colliding skills. See [Skill commands](/skills#skill-commands).
package/docs/skills.md CHANGED
@@ -1,20 +1,19 @@
1
1
  ---
2
- title: Skills
3
- description: Load on-demand Agent Skills instructions, helper scripts, and reference documents in Atomic sessions.
2
+ title: "Use and organize skills"
3
+ sidebarTitle: "Skills"
4
+ description: "Install, discover, and invoke reusable Agent Skills instructions, scripts, and reference documents in Atomic."
4
5
  ---
5
6
 
6
- # Skills
7
-
8
7
  Skills are self-contained packages of instructions that the agent loads on demand. A skill can provide specialized procedures, setup instructions, helper scripts, and reference documentation for specific tasks.
9
8
 
10
- Atomic implements the [Agent Skills standard](https://agentskills.io/specification), warning about validation issues while still loading skills leniently.
9
+ Atomic implements the [Agent Skills standard](https://agentskills.io/specification), warning about validation issues while still loading valid skills leniently.
11
10
 
12
11
  ## Where to go next
13
12
 
14
- Read this page to install and use skills, then continue:
13
+ Read this page to install, organize, and invoke skills, then continue:
15
14
 
16
- - [Writing skills](/skills/authoring). Learn the directory structure and follow a complete worked example.
17
- - [Skill reference](/skills/reference). Check `SKILL.md` frontmatter fields and validation rules.
15
+ - [Write a custom skill](/skills/authoring). Learn the directory structure and follow a complete worked example.
16
+ - [Skill format reference](/skills/reference). Check `SKILL.md` frontmatter fields, naming rules, and validation behavior.
18
17
 
19
18
  ## Locations
20
19
 
@@ -22,32 +21,49 @@ Read this page to install and use skills, then continue:
22
21
  >
23
22
  > Read [Security](/security) for the project-trust boundary that governs which project skills load.
24
23
 
25
- Atomic loads skills from:
24
+ Atomic loads skills from these sources:
26
25
 
27
- - Global:
26
+ - **Global directories:**
28
27
  - `~/.atomic/agent/skills/` (legacy `~/.pi/agent/skills/`)
29
28
  - `~/.agents/skills/`
30
- - Project (only after the project is trusted):
29
+ - **Project directories** (only after you trust the project):
31
30
  - `.atomic/skills/` (legacy `.pi/skills/`)
32
31
  - `.agents/skills/` in `cwd` and ancestor directories up to the Git repository root, or the filesystem root when outside a repository
33
- - Packages: `skills/` directories, `atomic.skills`, or legacy `pi.skills` entries in `package.json`
34
- - Settings: `skills` array with files or directories
35
- - CLI: `--skill <path>` (repeatable, additive even with `--no-skills`)
32
+ - **Packages:** `skills/` directories, `atomic.skills`, or legacy `pi.skills` entries in `package.json`
33
+ - **Settings:** `skills` array in global or project `settings.json`, which accepts files, directories, and filter patterns (`!glob`, `+path`, `-path` with `~` expansion; see [Package filtering](/packages/reference#package-filtering))
34
+ - **CLI:** `--skill <path>` (repeatable; still loads even with `--no-skills` / `-ns`)
36
35
 
37
- Discovery rules:
36
+ ### Discovery rules
38
37
 
39
- - In `~/.atomic/agent/skills/` and `.atomic/skills/` (plus legacy `~/.pi/agent/skills/` and `.pi/skills/`), direct root `.md` files are discovered as individual skills when they have valid skill frontmatter with a non-empty `description`.
38
+ - In `~/.atomic/agent/skills/` and `.atomic/skills/` (plus legacy `~/.pi/agent/skills/` and `.pi/skills/`), direct root `.md` files are discovered as individual skills when they have valid frontmatter with a non-empty `description`. Always set `name:` in frontmatter for standalone root `.md` files; otherwise they default to the parent directory name (`skills`) and collide with each other.
40
39
  - In all skill locations, directories containing `SKILL.md` are discovered recursively. Once a directory contains `SKILL.md`, Atomic treats it as a skill root and does not recurse deeper into it.
41
- - In `~/.agents/skills/` and project `.agents/skills/`, root `.md` files are ignored.
42
- - Root Markdown files other than `SKILL.md` that do not look like skills are ignored silently.
40
+ - In `~/.agents/skills/` and project `.agents/skills/`, root `.md` files are ignored. Place each skill in its own subdirectory containing `SKILL.md`.
41
+ - Non-skill Markdown files (such as `README.md` without skill frontmatter) are ignored silently.
42
+ - Scanning respects `.gitignore`, `.ignore`, and `.fdignore` files inside scanned directories, and automatically skips dotfiles, dot-directories, and `node_modules`.
43
+ - Symlinks are followed for both files and directories. Broken symlinks are skipped silently, and multiple symlinks pointing to the same real file are deduplicated silently.
44
+
45
+ Disable default and bundled skill discovery with `--no-skills` (short flag `-ns`). Skills from `-e` packages and explicit `--skill <path>` flags still load.
46
+
47
+ ### Precedence order
48
+
49
+ When multiple distinct skill files declare the same name, bare `/skill:<name>` uses the first match in this order:
50
+
51
+ 1. Packages passed with `-e` / `--extension`
52
+ 2. Project `settings.json` `skills` array
53
+ 3. Project auto-discovered directories (`.atomic/skills/`, then legacy `.pi/skills/`, then `.agents/skills/` walking up from `cwd` to the repository root, closest directory first)
54
+ 4. Global `settings.json` `skills` array
55
+ 5. Global auto-discovered directories (`~/.atomic/agent/skills/`, then legacy `~/.pi/agent/skills/`, then `~/.agents/skills/`)
56
+ 6. Configured packages (project packages, then global packages)
57
+ 7. Bundled packages (`@bastani/subagents`, `@bastani/intercom`)
58
+ 8. Explicit CLI `--skill <path>` paths
43
59
 
44
- Disable default discovery with `--no-skills`. Explicit `--skill` paths still load.
60
+ Because explicit `--skill <path>` paths come last, pass `--no-skills` (`-ns`) if you want a CLI `--skill` file to win bare `/skill:<name>` over an existing or bundled skill with the same name.
45
61
 
46
- <a id="using-skills-from-other-harnesses" />
62
+ <div id="using-skills-from-other-harnesses" />
47
63
 
48
64
  ### Using skills from other tools
49
65
 
50
- To load skills stored in existing user directories, add their paths to `settings.json`:
66
+ To load skills stored in existing user directories, add their paths to `~/.atomic/agent/settings.json`:
51
67
 
52
68
  ```json
53
69
  {
@@ -69,74 +85,59 @@ For project-level shared skill directories, add a relative path to `.atomic/sett
69
85
  ## How skills work
70
86
 
71
87
  1. At startup, Atomic scans skill locations and reads each skill's name and description.
72
- 2. The system prompt includes available skills in XML format per the [Agent Skills integration specification](https://agentskills.io/integrate-skills).
88
+ 2. The system prompt includes available skills (except those with `disable-model-invocation: true`) in XML format per the [Agent Skills integration specification](https://agentskills.io/integrate-skills).
73
89
  3. When a task matches, the agent uses `read` (or `bash` when `read` is unavailable) to load the full `SKILL.md`. Models do not always load a skill automatically, so use explicit prompting or `/skill:name` to force it.
74
90
  4. The agent follows the instructions and resolves relative paths against the skill's directory.
75
91
 
76
92
  This is progressive disclosure. Only descriptions stay in context by default, and full instructions load on demand.
77
93
 
94
+ You can also inspect loaded skills directly with read-only `skill://<name>` URLs in `read`, `search`, and `find` (for example `skill://tdd`, `skill://demo:1-40`, or `skill://demo/*.md`). Writes to `skill://` paths are rejected.
95
+
78
96
  ### Skills as workflows
79
97
 
80
- A `SKILL.md` file can describe a procedure for the parent chat to carry out with codemode and subagents. No workflow definition is needed. State the inputs, which steps depend on others, how to check the result, and when to stop. Loading a skill does not enable tools or grant permission for actions.
98
+ A `SKILL.md` file can describe a procedure for the parent chat to carry out with codemode and subagents. No separate workflow file is needed. State the inputs, which steps depend on others, how to check the result, and when to stop. Loading a skill does not enable tools or grant permission for actions.
81
99
 
82
100
  For example, a `review-guide` skill might say: "Ask one child per platform to check the guide against the CLI. Wait for their results, verify the commands they flag, then return a table of discrepancies. Do not edit the guide." Invoke it as `/skill:review-guide docs/install.md`. See [Orchestration](/orchestration) for the corresponding script and how work continues after a child finishes.
83
101
 
84
102
  To migrate an earlier Atomic workflow file into a skill, invoke `/skill:workflow-files`. See [Converting workflows to skills](/orchestration/migrating-workflows) for the migration rules.
85
103
 
86
- ### Creating and evaluating skills
87
-
88
- Use `/skill:skill-creator` to draft a new skill, improve an existing one, run test cases, or optimize a skill's description for triggering accuracy.
89
-
90
- Its description-optimization and trigger-evaluation scripts run each query in an isolated `atomic -p` child with `--no-session --no-extensions --no-mcp --no-prompt-templates`. Pass `--model provider/id` (optionally with `:<thinking>`) to test against a specific model. The skill also includes an HTML review viewer (`eval-viewer/generate_review.py`) so you can inspect qualitative outputs and benchmark scores in a browser between iterations.
91
-
92
- On Windows, each evaluation query runs `atomic -p` in a hidden console that cannot accept interactive keyboard input. Give the evaluation model an API key, an environment variable, or a credential command that reads a cached token without prompting.
93
-
94
- ### Built-in prompt engineering guidance
95
-
96
- The bundled `/skill:prompt-engineer` creates, optimizes, evaluates, and troubleshoots prompts for GPT and Claude models. Its small routing file points to separate, source-attributed guides for GPT-6.2 Astra and Sol, GPT-6.1 Sol, GPT-6.1 Terra, GPT-6 Astra and Luna, GPT-5.6, GPT-5.5, Claude Fable 5.2, Claude Fable 5.1, Claude Fable 5, Claude Opus 5.5, Claude Opus 5, Claude Opus 4.8, Claude Sonnet 5.5, Claude Sonnet 5, and Claude Haiku 5.5.
97
-
98
- Read only the target model's page, or both pages for a migration, rather than loading every guide. Shared references cover prompt structure, tools, evaluation, and instruction audits. Model defaults, effort, verification, and API compatibility stay in their own pages. For example, run `/skill:prompt-engineer Improve this prompt for GPT-6.2 Sol: ...`.
99
-
100
- Each model guide pairs an observed behavior with a prompt adjustment, example wording, and caveats. Choose the patterns that address your task instead of copying the whole guide. Compatibility notes explain when a prompt also needs provider or application support.
101
-
102
- Astra guidance distills [OpenAI's model guide](https://developers.openai.com/api/docs/guides/latest-model?model=gpt-6-astra) into completion and permission rules, proportionate verification, useful parallel delegation, concise writing, and API migration checks. An instruction audit based on OpenAI's [Rethinking skills and prompts for GPT-6 Astra](https://developers.openai.com/blog/rethinking-skills-and-prompts-for-gpt-6-astra) explains how to shorten skill descriptions, use small routing files with optional references, remove obsolete recipes, and define safe local work and stopping points.
103
-
104
- Opus 5.5 guidance covers its always-on thinking and medium-effort API default, progress updates returned in thinking blocks, bounded continuations for unattended work, and pasted-content boundaries. Sonnet 5.5 guidance covers recalibrated effort levels, coding runs that check in early or add unrequested files, progress notes hidden by default, searching instead of answering from memory, checks before reporting code done, and mid-turn user message placement.
105
-
106
- The skill no longer recommends response prefilling, which returns an error on Claude 4.6 and later, or visible chain-of-thought as a primary technique. Use explicit output instructions, schemas, tools, or post-processing instead of prefilling. Request conclusions, citations, commands, and observed results rather than reconstructed private reasoning, which can trigger Claude Fable 5's `reasoning_extraction` safeguard and force a model fallback.
107
-
108
- ### Built-in visual explanation guidance
109
-
110
- The bundled `/skill:show-me` from [HumanLayer](https://github.com/humanlayer/skills) explains the current topic visually with concise diagrams, code-shape sketches, and focused HTML artifacts. It runs only when you type `/skill:show-me`; the model does not load it on its own. It is distributed under the MIT License.
111
-
112
- ### Built-in code quality guidance
113
-
114
- The bundled `/skill:qlty` uses the [qlty](https://qlty.sh) CLI for code-quality verification across 70+ linters, auto-formatters, and security scanners in 40+ languages:
115
-
116
- - `qlty check` runs linters.
117
- - `qlty fmt` formats code.
118
- - `qlty metrics` measures complexity, lines, and cohesion.
119
- - `qlty smells` finds duplication, deep nesting, and overly complex code.
120
-
121
- The skill triggers on requests for verifiers or high code quality and prefers one CLI over ad-hoc linter commands. It directs the agent to [docs.qlty.sh/llms.txt](https://docs.qlty.sh/llms.txt) and enables plugins and linter extensions that fit the codebase before checking.
122
-
123
- The CLI is not bundled. Install it with `curl https://qlty.sh | sh` on macOS or Linux, or `powershell -c "iwr https://qlty.sh | iex"` on Windows, and keep `~/.qlty/bin` on `PATH`. Running `qlty init` writes `.qlty/qlty.toml` into the repository. Offline, `qlty metrics` and `qlty smells` work through built-in static analysis; `qlty check` and `qlty fmt` need network access on first use per repository to download plugins and runtimes.
124
-
125
- ### Built-in computer-use and automation guidance
126
-
127
- Use `/skill:agent-browser` for web apps in Chrome or Chromium, Mobile Safari in the iOS Simulator, and CDP-enabled desktop apps. Use `/skill:agent-desktop` for native desktop apps, OS dialogs, menus, and non-Chromium browsers. For terminal automation, use `/skill:herdr` on macOS, Linux, and Windows, or fall back to `/skill:tmux` when Herdr is unavailable. See [Computer use](/computer-use#desktop-automation-with-agent-desktop), [what agent-browser covers](/computer-use#what-agent-browser-covers), [coverage limits](/computer-use#coverage-and-limits), and [desktop safety](/computer-use#stay-safe) for installation, readiness checks, and workflow guidance.
128
-
129
- The bundled [agent-desktop skill](https://github.com/vercel-labs/agent-desktop/tree/v1.3.1/skills/agent-desktop) is Apache-2.0 licensed. Detailed guides and references ship inside the CLI via `agent-desktop skills get desktop` and `agent-desktop skills get platform`. The skill does not install the `agent-desktop` executable, and permission prompts stay with you. On macOS, the agent opens `agent-desktop permissions --guide` for you to approve.
130
-
131
- The bundled [Herdr skill](https://github.com/herdrdev/herdr/blob/v0.9.5/skills/herdr/SKILL.md) requires an explicit Herdr request and `HERDR_ENV=1`. It stops outside a Herdr-managed pane and does not install Herdr or touch unrelated panes.
132
-
133
- ### Report feedback
134
-
135
- Use `/skill:feedback <what happened or what you want to change>` to draft an Atomic bug report or enhancement. For a bug, the skill runs one debugger investigation and waits for its result. For an enhancement, it launches no subagent. It summarizes findings and unknowns rather than attaching files or transcripts.
136
-
137
- Review the Markdown draft and its `Privacy scrubbed:` summary. Ask for changes to get a revised, re-scrubbed draft, or tell Atomic to post it. An unrelated reply continues the conversation without creating an issue. Posting uses your own authenticated `gh` CLI login to create an issue in `bastani-inc/atomic`. If posting fails, Atomic reports the error and keeps the draft in the conversation.
138
-
139
- The scrubber replaces recognized API tokens, bearer credentials, credential assignments, URL credentials, private keys, and email addresses with `[REDACTED]`, and replaces home-directory prefixes with `~`. Review before posting because arbitrary secrets, sensitive business context, or secret text inside Markdown links may remain. Blank lines and Markdown headings stop multiline credential matching. Scrubbing cannot remove information already sent to your model provider.
104
+ ## Bundled skills
105
+
106
+ Atomic ships 22 bundled skills (21 from `@bastani/subagents` and `intercom` from `@bastani/intercom`). Skills marked **Explicit only** set `disable-model-invocation: true`, so they stay out of the model's automatic skill list and run only when you invoke `/skill:<name>`.
107
+
108
+ | Skill | Invocation | Purpose |
109
+ | --- | --- | --- |
110
+ | `agent-browser` | Auto or `/skill:agent-browser` | Automate Chrome, Chromium, Mobile Safari in iOS Simulator, Electron apps, and cloud browsers via `agent-browser` |
111
+ | `agent-desktop` | Auto or `/skill:agent-desktop` | Operate native macOS, Windows, and Linux desktop GUIs via `agent-desktop` |
112
+ | `bro` | Explicit only (`/skill:bro`) | Restate the last message in plain human language with no jargon |
113
+ | `create-spec` | Auto or `/skill:create-spec` | Draft a detailed implementation specification or PRD around codebase entrypoints |
114
+ | `feedback` | Auto or `/skill:feedback` | Draft, privacy-scrub, and post an Atomic bug report or enhancement via `gh` |
115
+ | `herdr` | Auto or `/skill:herdr` | Inspect or control Herdr panes, tabs, workspaces, and commands inside a Herdr pane |
116
+ | `how` | Auto or `/skill:how` | Walk through how a subsystem works, its runtime flow, and package ownership |
117
+ | `impeccable` | Auto or `/skill:impeccable` | Design, audit, polish, and harden frontend web and mobile interfaces |
118
+ | `intercom` | Auto or `/skill:intercom` | Coordinate messages and tasks across live Atomic sessions with Intercom |
119
+ | `liteparse` | Auto or `/skill:liteparse` | Extract text, tables, and data from PDF, Office documents, and images locally with `lit` |
120
+ | `prompt-engineer` | Auto or `/skill:prompt-engineer` | Write, evaluate, migrate, or troubleshoot prompts for GPT and Claude models |
121
+ | `qlty` | Auto or `/skill:qlty` | Run linting, formatting, complexity metrics, and code-smell checks with the `qlty` CLI |
122
+ | `research-codebase` | Auto or `/skill:research-codebase` | Document a codebase as-is into a research directory for historical context |
123
+ | `show-me` | Explicit only (`/skill:show-me`) | Explain the current topic visually with diagrams, code sketches, and focused HTML artifacts |
124
+ | `skill-creator` | Auto or `/skill:skill-creator` | Create, edit, benchmark, and optimize custom skills and their trigger descriptions |
125
+ | `subagent` | Auto or `/skill:subagent` (parent only) | Delegate focused work to built-in or custom subagents in single, parallel, or forked runs |
126
+ | `tdd` | Auto or `/skill:tdd` | Follow red-green-refactor test-driven development and audit existing test suites |
127
+ | `teach` | Explicit only (`/skill:teach`) | Combine `how` and `why` analysis to explain a change or subsystem plainly |
128
+ | `tmux` | Auto or `/skill:tmux` | Control `tmux` (or `psmux` on Windows) sessions, windows, and panes for interactive CLIs |
129
+ | `unslop` | Auto or `/skill:unslop` | Cut AI writing tells and filler from prose |
130
+ | `why` | Auto or `/skill:why` | Investigate design rationale, regressions, and tradeoffs across git, issues, docs, and MCPs |
131
+ | `workflow-files` | Auto or `/skill:workflow-files` | Convert an earlier Atomic workflow file into a reusable skill |
132
+
133
+ ### Setup notes for specific bundled skills
134
+
135
+ - **`skill-creator`:** Description-optimization and trigger-evaluation scripts run each query in a separate `atomic -p` subprocess with `--no-session --no-extensions --no-mcp --no-prompt-templates`. Pass `--model provider/id` (optionally with `:<thinking>`) to test against a specific model. An HTML review viewer (`eval-viewer/generate_review.py`) lets you inspect outputs and benchmark scores in a browser. On Windows, each evaluation runs in a hidden console that cannot accept interactive keyboard input, so configure an API key, environment variable, or non-interactive credential command.
136
+ - **`prompt-engineer`:** Uses a compact routing file pointing to separate model guides for current GPT and Claude models plus shared references on structure, tools, evaluation, and instruction audits. Load only the target model's guide, or both guides for a migration (for example, `/skill:prompt-engineer Improve this prompt for GPT-6.2 Sol: ...`). Use explicit output schemas and tools rather than response prefilling, and ask for observed evidence rather than reconstructed private reasoning.
137
+ - **`qlty`:** The `qlty` CLI is not bundled. Install it with `curl https://qlty.sh | sh` on macOS or Linux, or `powershell -c "iwr https://qlty.sh | iex"` on Windows, and keep `~/.qlty/bin` on `PATH`. Run `qlty init` to create `.qlty/qlty.toml`. Offline, `qlty metrics` and `qlty smells` run locally; `qlty check` and `qlty fmt` need network access on first use per repository to download plugins and runtimes.
138
+ - **`agent-browser`, `agent-desktop`, `herdr`, and `tmux`:** See [Computer use](/computer-use#desktop-automation-with-agent-desktop), [what agent-browser covers](/computer-use#what-agent-browser-covers), [coverage limits](/computer-use#coverage-and-limits), and [desktop safety](/computer-use#stay-safe) for installation, readiness checks, and workflow guidance. `agent-desktop` does not install its own executable and leaves OS permission prompts to you (on macOS, it opens `agent-desktop permissions --guide`). `herdr` requires an explicit Herdr request and `HERDR_ENV=1`, and stops outside a Herdr-managed pane.
139
+ - **`liteparse`:** Requires Node 18+ and `@llamaindex/liteparse` (`npm i -g @llamaindex/liteparse`), plus LibreOffice for Office files, ImageMagick for images, and `uv` for its bundled `search.py` helper.
140
+ - **`feedback`:** Run `/skill:feedback <what happened or what you want to change>` to draft an Atomic bug report or enhancement. Bugs run one debugger investigation; enhancements launch no subagent. Review the Markdown draft and its `Privacy scrubbed:` summary before asking Atomic to post it via your authenticated `gh` CLI login to `bastani-inc/atomic`. Scrubbing redacts recognized tokens, credentials, private keys, email addresses, and home paths, though custom secrets or business context may still appear and anything already sent to your model provider cannot be removed.
140
141
 
141
142
  ## Skill commands
142
143
 
@@ -147,7 +148,7 @@ Skills register as `/skill:name` commands:
147
148
  /skill:pdf-tools extract # Load skill with arguments
148
149
  ```
149
150
 
150
- When multiple real skill files declare the same name, Atomic keeps the precedence winner for the bare command and retains every distinct file as an exact candidate. Use a source-qualified command to select one explicitly:
151
+ When multiple distinct real skill files declare the same name, Atomic keeps the precedence winner for `/skill:name` and creates source-qualified commands for each distinct file:
151
152
 
152
153
  ```bash
153
154
  /skill:review # Current precedence winner
@@ -156,15 +157,27 @@ When multiple real skill files declare the same name, Atomic keeps the precedenc
156
157
  /skill:review@builtin # Unique bundled candidate
157
158
  ```
158
159
 
159
- `@project`, `@user`, and `@builtin` are available only when that family has one candidate in the collision. If a family contains multiple package candidates, Atomic advertises package-qualified aliases instead, such as `/skill:review@team-review` and `/skill:review@company-review`. Autocomplete, `atomic.getCommands()`, and RPC `get_commands` return the same advertised names.
160
+ Source-qualified aliases exist only when two or more distinct files share the same skill name. If only one file defines `tdd`, `/skill:tdd` exists and `/skill:tdd@builtin` does not.
161
+
162
+ When a single family (`project`, `user`, or `builtin`) has multiple colliding candidates, Atomic qualifies them by package name (npm package name without leading `@`, or git `owner/repo`), then by the shortest unique parent directory suffix, and finally by `<family>-<8-hex-hash>` if paths still collide. If a qualifier collides across families, Atomic prefixes `<family>/<qualifier>`. Autocomplete, `atomic.getCommands()`, and RPC `get_commands` return the same advertised names.
163
+
164
+ Qualified selection is exact. An unknown or ambiguous qualified selector reports an error and never falls back to the bare winner. Aliases are recalculated on `/reload`, so a qualified alias disappears once its collision disappears. The model-visible skill list uses the same aliases.
160
165
 
161
- Qualified selection is exact. An unknown or ambiguous qualified selector reports an error and never falls back to the bare winner. Aliases are recalculated on reload, so a qualified alias disappears when its collision disappears. The model-visible skill list uses the same aliases.
166
+ Subagent definitions and per-call `skills` overrides accept these same selectors. Running subagents resolve them from their own loaded skill list; a missing or ambiguous selector is reported in the child result instead of falling back to the bare skill. The parent-only `subagent` orchestration skill cannot be injected into a child, including qualified aliases such as `subagent@builtin`. Extensions can read the same catalog through `ctx.getSkillCatalog()`.
162
167
 
163
- Subagent definitions and per-call `skills` overrides accept these same selectors. Live in-process children resolve them from their own loader catalog after resource reload; a missing or ambiguous selector is reported in the child result instead of silently selecting the bare skill. The parent-only `subagent` orchestration skill cannot be injected into a child, including qualified aliases such as `subagent@builtin`. Extensions can read the same catalog through `ctx.getSkillCatalog()`.
168
+ When expanded, Atomic wraps the skill body in a `<skill>` block recording the selector, file location, candidate ID, and base directory for relative references:
164
169
 
165
- Arguments after the command are trimmed and appended after the expanded skill block without a `User:` prefix. The block records the selected skill's file location, candidate identity, and base directory for relative references.
170
+ ```xml
171
+ <skill name="brave-search" location="/path/to/brave-search/SKILL.md" candidate="user:brave-search">
172
+ References are relative to /path/to/brave-search.
173
+
174
+ ...skill instructions...
175
+ </skill>
176
+ ```
166
177
 
167
- Toggle skill command autocomplete via `/settings` in interactive mode or in `settings.json`:
178
+ Any arguments after the command are trimmed and appended after the closing `</skill>` tag separated by a blank line, without a `User:` prefix.
179
+
180
+ Toggle `/skill:` autocomplete suggestions via `/settings` in interactive mode or in `settings.json` (default `true`):
168
181
 
169
182
  ```json
170
183
  {
@@ -172,15 +185,17 @@ Toggle skill command autocomplete via `/settings` in interactive mode or in `set
172
185
  }
173
186
  ```
174
187
 
188
+ Setting `enableSkillCommands` to `false` only hides `/skill:` suggestions from autocomplete. Manually typed `/skill:<name>` commands still expand in both the main session and subagent views.
189
+
175
190
  ### Skills while viewing a subagent
176
191
 
177
192
  Select a subagent from the agent panel or `/tasks` to view it on the chat screen. Its `/skill:` suggestions and path completions (`@` and `Tab`) use the subagent's own skills and working directory. A finished subagent keeps the skills and directory it had when it finished.
178
193
 
179
- A `/skill:<selector>` command typed while viewing a subagent expands from its own skills. Enter starts a turn when idle or steers a streaming turn, and `app.message.followUp` (`Alt+Enter`, or `Ctrl+Q` on Windows and WSL) queues it as a follow-up. Skill-relative references resolve against the skill directory, while ordinary tools keep the subagent's working directory. Turning off `enableSkillCommands` hides suggestions but does not disable manually typed skill commands.
194
+ A `/skill:<selector>` command typed while viewing a subagent expands from its own skills. `Enter` starts a turn when idle or steers a streaming turn, and `app.message.followUp` (`Alt+Enter`, or `Ctrl+Q` on Windows and WSL) queues it as a follow-up. Skill-relative references resolve against the skill directory, while ordinary tools keep the subagent's working directory.
180
195
 
181
- Unknown bare selectors pass through as text. Unknown or ambiguous qualified selectors and file-read failures show diagnostics under the subagent's transcript without selecting another skill.
196
+ Unknown bare selectors pass through as plain text. Unknown or ambiguous qualified selectors and file-read failures show diagnostics under the subagent's transcript without selecting another skill.
182
197
 
183
- If a skill command is queued while the session is paused, it may remain literal text after resume. Restore it to the editor and submit again after resuming to invoke the skill. Mounted human-input and custom prompts own their input, so answers starting with `/skill:` remain literal. Skills do not grant additional tools, workspace access, or permission to start subagents.
198
+ If a skill command is queued while the session is paused, it may remain literal text after resume. Restore it to the editor and submit again after resuming to invoke the skill. When an interactive dialog or custom UI prompt is open, text starting with `/skill:` is treated as plain text. Skills do not grant extra tools, workspace access, or permission to start subagents.
184
199
 
185
200
  ## Skill repositories
186
201
 
@@ -188,15 +203,7 @@ If a skill command is queued while the session is paused, it may remain literal
188
203
 
189
204
  ## Moved sections
190
205
 
191
- <a id="skill-structure" />
192
- <a id="skill-md-format" />
193
- <a id="example" />
194
-
195
- - Skill directory structure, `SKILL.md` format, and a worked example moved to [Writing skills](/skills/authoring).
196
-
197
- <a id="frontmatter" />
198
- <a id="name-rules" />
199
- <a id="description-best-practices" />
200
- <a id="validation" />
206
+ <div id="frontmatter" />
201
207
 
202
- - Frontmatter fields, name rules, description best practices, and validation rules moved to [Skill reference](/skills/reference).
208
+ - Skill directory structure, `SKILL.md` format, and a worked example moved to [Write a custom skill](/skills/authoring).
209
+ - Frontmatter fields, name rules, description best practices, and validation rules moved to [Skill format reference](/skills/reference).