@bastani/atomic 0.10.14-alpha.1 → 0.10.15-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 (341) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/_shared/dist-KOELCESV.js +2 -2
  3. package/dist/_shared/fork-row-index-UAUAQRD5.js +2 -2
  4. package/dist/_shared/lib-4PES5P4V.js +2 -2
  5. package/dist/_shared/mode-interactive-sdk-7KXUFI2F.js +3 -3
  6. package/dist/_shared/mode-rpc-sdk-IOPGDYR4.js +3 -3
  7. package/dist/_shared/mode-shared-2QJSCUM6.js +3 -3
  8. package/dist/_shared/p1a-prewarm-XIU57JHF.js +3 -3
  9. package/dist/_shared/runtime-O4KCSG4C.js +2 -2
  10. package/dist/_shared/{sdk-B5LEWGGI.js → sdk-OHKMDJ74.js} +27 -5
  11. package/dist/_shared/{sdk-B5LEWGGI.js.map → sdk-OHKMDJ74.js.map} +1 -1
  12. package/dist/_shared/session-data-AHTU7IS6.js +2 -2
  13. package/dist/_shared/startup-0-0-Q3MWKUK4.js +2 -2
  14. package/dist/_shared/startup-0-1-M6OWAYHH.js +2 -2
  15. package/dist/_shared/{startup-0-2-5QHPCEON.js → startup-0-2-2HUMCPKX.js} +14 -16
  16. package/dist/_shared/startup-0-2-2HUMCPKX.js.map +1 -0
  17. package/dist/_shared/startup-0-3-4ZYBYQNM.js +3 -3
  18. package/dist/_shared/startup-0-4-ZMJV547D.js +3 -3
  19. package/dist/_shared/startup-0-5-YDW47QX6.js +3 -3
  20. package/dist/_shared/startup-10-0-TDQNBDDL.js +3 -3
  21. package/dist/_shared/startup-14-0-MLX36RBG.js +1 -1
  22. package/dist/_shared/startup-15-0-YUKGAC63.js +1 -1
  23. package/dist/_shared/startup-15-1-4S7FLMNG.js +6 -30
  24. package/dist/_shared/startup-15-1-4S7FLMNG.js.map +1 -1
  25. package/dist/_shared/startup-8-0-34CBHPZH.js +3 -3
  26. package/dist/_shared/startup-8-1-LZFXSD3Z.js +3 -3
  27. package/dist/_shared/storage-command-7MGXLJGZ.js +2 -2
  28. package/dist/_shared/storage-status-K7PX2RXA.js +3 -3
  29. package/dist/_shared/task-unsaved-answer-VJ2KTB4V.js +2 -2
  30. package/dist/_shared/tree-outline-MUEPK5B7.js +2 -2
  31. package/dist/builtin/intercom/index.bundle.mjs +1 -1
  32. package/dist/builtin/intercom/package.json +1 -1
  33. package/dist/builtin/mcp/index.bundle.mjs +1 -1
  34. package/dist/builtin/mcp/package.json +1 -1
  35. package/dist/builtin/subagents/package.json +1 -1
  36. package/dist/builtin/subagents/src/extension/index.bundle.mjs +1 -1
  37. package/dist/builtin/web-access/index.bundle.mjs +1 -1
  38. package/dist/builtin/web-access/package.json +1 -1
  39. package/dist/cli/auth-cli.code.js +1 -1
  40. package/dist/cli/auth-cli.impl.js +3 -3
  41. package/dist/cli/auth-cli.js +3 -3
  42. package/dist/cli/blueprint-command.impl.js +3 -3
  43. package/dist/cli/blueprint-command.js +3 -3
  44. package/dist/cli/intercom-command.code.js +3 -3
  45. package/dist/cli/intercom-command.impl.js +3 -3
  46. package/dist/cli/intercom-command.js +3 -3
  47. package/dist/cli/list-models.impl.js +3 -3
  48. package/dist/cli/list-models.js +3 -3
  49. package/dist/cli/session-picker.code.js +1 -1
  50. package/dist/cli/session-picker.impl.js +3 -3
  51. package/dist/cli/session-picker.js +3 -3
  52. package/dist/cli/startup-ui.code.js +1 -1
  53. package/dist/cli/startup-ui.impl.js +3 -3
  54. package/dist/cli/startup-ui.js +3 -3
  55. package/dist/cli/storage-command.impl.js +3 -3
  56. package/dist/cli/storage-command.js +3 -3
  57. package/dist/cli/storage-search-session.code.js +1 -1
  58. package/dist/cli/storage-search-session.impl.js +3 -3
  59. package/dist/cli/storage-search-session.js +3 -3
  60. package/dist/cli/team-command.code.js +1 -1
  61. package/dist/cli/team-command.impl.js +3 -3
  62. package/dist/cli/team-command.js +3 -3
  63. package/dist/cli.js +2 -2
  64. package/dist/core/compaction/compactor.d.ts +0 -8
  65. package/dist/core/debug.impl.js +3 -3
  66. package/dist/core/debug.js +3 -3
  67. package/dist/core/export-html/card-projection.impl.js +3 -3
  68. package/dist/core/export-html/card-projection.js +3 -3
  69. package/dist/core/export-html/index.code.js +2 -2
  70. package/dist/core/export-html/index.impl.js +3 -3
  71. package/dist/core/export-html/index.js +3 -3
  72. package/dist/core/export-html/json-spans.impl.js +3 -3
  73. package/dist/core/export-html/json-spans.js +3 -3
  74. package/dist/core/export-html/oversized-render-inputs.impl.js +3 -3
  75. package/dist/core/export-html/oversized-render-inputs.js +3 -3
  76. package/dist/core/export-html/tool-renderer.impl.js +3 -3
  77. package/dist/core/export-html/tool-renderer.js +3 -3
  78. package/dist/core/extensions/jiti-loader.impl.js +3 -3
  79. package/dist/core/extensions/jiti-loader.js +3 -3
  80. package/dist/core/extensions/jiti-static-loader.impl.js +3 -3
  81. package/dist/core/extensions/jiti-static-loader.js +3 -3
  82. package/dist/core/extensions/loader-host-modules.impl.js +3 -3
  83. package/dist/core/extensions/loader-host-modules.js +3 -3
  84. package/dist/core/intercom-broker-control-host.code.js +1 -1
  85. package/dist/core/intercom-broker-control-host.impl.js +3 -3
  86. package/dist/core/intercom-broker-control-host.js +3 -3
  87. package/dist/core/intercom-broker-control.code.js +2 -2
  88. package/dist/core/intercom-broker-control.impl.js +3 -3
  89. package/dist/core/intercom-broker-control.js +3 -3
  90. package/dist/core/package-manager-storage-adapters.impl.js +3 -3
  91. package/dist/core/package-manager-storage-adapters.js +3 -3
  92. package/dist/core/sdk.code.js +1 -1
  93. package/dist/core/sdk.impl.js +3 -3
  94. package/dist/core/sdk.js +3 -3
  95. package/dist/core/session-manager-core.js +3 -3
  96. package/dist/core/session-manager-list.impl.js +3 -3
  97. package/dist/core/session-manager-list.js +3 -3
  98. package/dist/core/session-manager.impl.js +3 -3
  99. package/dist/core/session-manager.js +3 -3
  100. package/dist/core/session-storage.impl.js +3 -3
  101. package/dist/core/session-storage.js +3 -3
  102. package/dist/core/storage/index.js +2 -2
  103. package/dist/core/storage/node-sqlite-thread.js +2 -2
  104. package/dist/core/storage/node-sqlite.js +2 -2
  105. package/dist/core/storage/offline-snapshot-file.impl.js +3 -3
  106. package/dist/core/storage/offline-snapshot-file.js +3 -3
  107. package/dist/core/storage/provider.js +2 -2
  108. package/dist/core/storage/selection.js +2 -2
  109. package/dist/core/storage/session/branch-fork-source.code.js +2 -2
  110. package/dist/core/storage/session/branch-fork-source.impl.js +3 -3
  111. package/dist/core/storage/session/branch-fork-source.js +3 -3
  112. package/dist/core/storage/session/card-view.impl.js +3 -3
  113. package/dist/core/storage/session/card-view.js +3 -3
  114. package/dist/core/storage/session/child-reader.code.js +2 -2
  115. package/dist/core/storage/session/child-reader.impl.js +3 -3
  116. package/dist/core/storage/session/child-reader.js +3 -3
  117. package/dist/core/storage/session/chunked-resume-projection.impl.js +3 -3
  118. package/dist/core/storage/session/chunked-resume-projection.js +3 -3
  119. package/dist/core/storage/session/expanded-child-details.code.js +2 -2
  120. package/dist/core/storage/session/expanded-child-details.impl.js +3 -3
  121. package/dist/core/storage/session/expanded-child-details.js +3 -3
  122. package/dist/core/storage/session/fork-row-bytes.impl.js +3 -3
  123. package/dist/core/storage/session/fork-row-bytes.js +3 -3
  124. package/dist/core/storage/session/fork-row-index.impl.js +3 -3
  125. package/dist/core/storage/session/fork-row-index.js +3 -3
  126. package/dist/core/storage/session/fork-staging.code.js +1 -1
  127. package/dist/core/storage/session/fork-staging.impl.js +3 -3
  128. package/dist/core/storage/session/fork-staging.js +3 -3
  129. package/dist/core/storage/session/fork-window.code.js +2 -2
  130. package/dist/core/storage/session/fork-window.impl.js +3 -3
  131. package/dist/core/storage/session/fork-window.js +3 -3
  132. package/dist/core/storage/session/history-pages.impl.js +3 -3
  133. package/dist/core/storage/session/history-pages.js +3 -3
  134. package/dist/core/storage/session/jsonl-entry-projection.impl.js +3 -3
  135. package/dist/core/storage/session/jsonl-entry-projection.js +3 -3
  136. package/dist/core/storage/session/jsonl-session-store.impl.js +3 -3
  137. package/dist/core/storage/session/jsonl-session-store.js +3 -3
  138. package/dist/core/storage/session/memory-session-store.impl.js +3 -3
  139. package/dist/core/storage/session/memory-session-store.js +3 -3
  140. package/dist/core/storage/session/pinned-branch-resume.code.js +2 -2
  141. package/dist/core/storage/session/pinned-branch-resume.impl.js +3 -3
  142. package/dist/core/storage/session/pinned-branch-resume.js +3 -3
  143. package/dist/core/storage/session/released-history-files.code.js +1 -1
  144. package/dist/core/storage/session/released-history-files.impl.js +3 -3
  145. package/dist/core/storage/session/released-history-files.js +3 -3
  146. package/dist/core/storage/session/resident-fork-rows.impl.js +3 -3
  147. package/dist/core/storage/session/resident-fork-rows.js +3 -3
  148. package/dist/core/storage/session/session-resume.impl.js +3 -3
  149. package/dist/core/storage/session/session-resume.js +3 -3
  150. package/dist/core/storage/session/snapshot-cut.impl.js +3 -3
  151. package/dist/core/storage/session/snapshot-cut.js +3 -3
  152. package/dist/core/storage/session/snapshot-history.code.js +2 -2
  153. package/dist/core/storage/session/snapshot-history.impl.js +3 -3
  154. package/dist/core/storage/session/snapshot-history.js +3 -3
  155. package/dist/core/storage/session/sql-session-store.code.js +1 -1
  156. package/dist/core/storage/session/sql-session-store.impl.js +3 -3
  157. package/dist/core/storage/session/sql-session-store.js +3 -3
  158. package/dist/core/storage/session/tree-outline.impl.js +3 -3
  159. package/dist/core/storage/session/tree-outline.js +3 -3
  160. package/dist/core/storage/session/tree-presentation.impl.js +3 -3
  161. package/dist/core/storage/session/tree-presentation.js +3 -3
  162. package/dist/core/storage/storage-status.impl.js +3 -3
  163. package/dist/core/storage/storage-status.js +3 -3
  164. package/dist/core/storage/team.impl.js +3 -3
  165. package/dist/core/storage/team.js +3 -3
  166. package/dist/core/structured-output/index.code.js +1 -1
  167. package/dist/core/structured-output/index.impl.js +3 -3
  168. package/dist/core/structured-output/index.js +3 -3
  169. package/dist/core/tasks/task-completion-entry.impl.js +3 -3
  170. package/dist/core/tasks/task-completion-entry.js +3 -3
  171. package/dist/core/tasks/task-file-history.code.js +2 -2
  172. package/dist/core/tasks/task-file-history.impl.js +3 -3
  173. package/dist/core/tasks/task-file-history.js +3 -3
  174. package/dist/core/tasks/task-reference-archive.code.js +2 -2
  175. package/dist/core/tasks/task-reference-archive.js +3 -3
  176. package/dist/core/tasks/task-reference-identity.js +3 -3
  177. package/dist/core/tasks/task-reference-stream.impl.js +3 -3
  178. package/dist/core/tasks/task-reference-stream.js +3 -3
  179. package/dist/core/tasks/task-unsaved-answer.impl.js +3 -3
  180. package/dist/core/tasks/task-unsaved-answer.js +3 -3
  181. package/dist/core/tasks/task-view-source.impl.js +3 -3
  182. package/dist/core/tasks/task-view-source.js +3 -3
  183. package/dist/core/tools/read-url.impl.js +3 -3
  184. package/dist/core/tools/read-url.js +3 -3
  185. package/dist/core/worktree-snapshot/blob-store.js +2 -2
  186. package/dist/core/worktree-snapshot/errors.code.js +1 -1
  187. package/dist/core/worktree-snapshot/errors.impl.js +3 -3
  188. package/dist/core/worktree-snapshot/errors.js +3 -3
  189. package/dist/core/worktree-snapshot/session-index-reset.impl.js +3 -3
  190. package/dist/core/worktree-snapshot/session-index-reset.js +3 -3
  191. package/dist/extensions/codemode/execute.impl.js +3 -3
  192. package/dist/extensions/codemode/execute.js +3 -3
  193. package/dist/extensions/codemode/renderer.impl.js +3 -3
  194. package/dist/extensions/codemode/renderer.js +3 -3
  195. package/dist/extensions/mcp/cli.code.js +1 -1
  196. package/dist/extensions/mcp/cli.impl.js +3 -3
  197. package/dist/extensions/mcp/cli.js +3 -3
  198. package/dist/extensions/mcp/cli.lazy.code.js +2 -2
  199. package/dist/extensions/mcp/cli.lazy.impl.js +3 -3
  200. package/dist/extensions/mcp/cli.lazy.js +3 -3
  201. package/dist/extensions/mcp/runtime.code.js +1 -1
  202. package/dist/extensions/mcp/runtime.impl.js +3 -3
  203. package/dist/extensions/mcp/runtime.js +3 -3
  204. package/dist/index.d.ts +21 -1
  205. package/dist/index.js +2 -2
  206. package/dist/main-first-time-setup.code.js +1 -1
  207. package/dist/main-first-time-setup.impl.js +3 -3
  208. package/dist/main-first-time-setup.js +3 -3
  209. package/dist/modes/interactive/components/stored-tree-view.code.js +2 -2
  210. package/dist/modes/interactive/components/stored-tree-view.impl.js +3 -3
  211. package/dist/modes/interactive/components/stored-tree-view.js +3 -3
  212. package/dist/modes/interactive/components/user-message-selector-archive.impl.js +3 -3
  213. package/dist/modes/interactive/components/user-message-selector-archive.js +3 -3
  214. package/dist/modes/print-mode.js +1 -1
  215. package/dist/package-manager-cli.code.js +2 -2
  216. package/dist/package-manager-cli.impl.js +3 -3
  217. package/dist/package-manager-cli.js +3 -3
  218. package/dist/startup-files.json +1 -1
  219. package/dist/startup-stages/6.js +1 -1
  220. package/dist/utils/startup-database-spare.code.js +1 -1
  221. package/dist/utils/startup-database-spare.impl.js +3 -3
  222. package/dist/utils/startup-database-spare.js +3 -3
  223. package/dist/utils/tools-manager.impl.js +3 -3
  224. package/dist/utils/tools-manager.js +3 -3
  225. package/docs/background-tasks/reference.md +182 -0
  226. package/docs/background-tasks.md +98 -405
  227. package/docs/build.md +67 -27
  228. package/docs/changelog.mdx +9 -0
  229. package/docs/codemode.md +108 -39
  230. package/docs/compaction/branch-summaries.md +54 -0
  231. package/docs/compaction/custom-compactors.md +161 -0
  232. package/docs/compaction/memory-compaction.md +77 -0
  233. package/docs/compaction/reference.md +86 -38
  234. package/docs/compaction.md +51 -252
  235. package/docs/computer-use.md +169 -321
  236. package/docs/containerization.md +71 -57
  237. package/docs/custom-provider/api-reference.md +119 -25
  238. package/docs/custom-provider/oauth.md +114 -132
  239. package/docs/custom-provider/override.md +37 -27
  240. package/docs/custom-provider/registration.md +107 -83
  241. package/docs/custom-provider/streaming.md +85 -71
  242. package/docs/custom-provider.md +85 -52
  243. package/docs/development.md +39 -29
  244. package/docs/docs.json +76 -63
  245. package/docs/environment-variables.md +94 -44
  246. package/docs/extensions/api-reference.md +86 -43
  247. package/docs/extensions/authoring.md +162 -154
  248. package/docs/extensions/events.md +80 -25
  249. package/docs/extensions/examples.md +90 -85
  250. package/docs/extensions/ui.md +206 -82
  251. package/docs/extensions.md +79 -108
  252. package/docs/getting-started/authentication.md +67 -36
  253. package/docs/getting-started/first-session.md +53 -43
  254. package/docs/getting-started/installation.md +116 -89
  255. package/docs/getting-started/project-instructions.md +48 -34
  256. package/docs/guides/configuration.md +82 -20
  257. package/docs/guides/non-interactive.md +66 -24
  258. package/docs/guides/resume-on-any-machine.md +135 -82
  259. package/docs/guides/team-setup.md +114 -105
  260. package/docs/guides.md +76 -32
  261. package/docs/herdr.md +15 -16
  262. package/docs/how-atomic-works.md +140 -0
  263. package/docs/index.md +58 -44
  264. package/docs/intercom/operations.md +141 -151
  265. package/docs/intercom/reference.md +85 -108
  266. package/docs/intercom.md +84 -145
  267. package/docs/json.md +120 -67
  268. package/docs/keybindings.md +85 -49
  269. package/docs/libraries/agent-core.md +137 -275
  270. package/docs/libraries/ai.md +100 -84
  271. package/docs/libraries/codemode.md +210 -300
  272. package/docs/libraries/schema.md +59 -53
  273. package/docs/libraries/storage-postgres.md +49 -35
  274. package/docs/libraries/telemetry.md +153 -354
  275. package/docs/libraries/tui.md +265 -393
  276. package/docs/libraries.md +42 -26
  277. package/docs/llama-cpp.md +171 -161
  278. package/docs/mcp-servers.md +90 -51
  279. package/docs/models/choose-a-model.md +188 -0
  280. package/docs/models/reference.md +74 -30
  281. package/docs/models.md +153 -88
  282. package/docs/orchestration/migrating-workflows.md +23 -16
  283. package/docs/orchestration/patterns.md +39 -44
  284. package/docs/orchestration.md +65 -26
  285. package/docs/packages/authoring.md +51 -29
  286. package/docs/packages/reference.md +42 -21
  287. package/docs/packages.md +69 -58
  288. package/docs/programmatic.md +118 -24
  289. package/docs/prompt-templates.md +84 -83
  290. package/docs/providers/reference.md +43 -48
  291. package/docs/providers.md +219 -451
  292. package/docs/quickstart.md +140 -120
  293. package/docs/reference/cli.md +135 -97
  294. package/docs/reference.md +20 -18
  295. package/docs/rpc/examples.md +76 -20
  296. package/docs/rpc/extension-ui.md +64 -38
  297. package/docs/rpc/protocol.md +361 -110
  298. package/docs/rpc.md +57 -17
  299. package/docs/sdk/reference.md +409 -534
  300. package/docs/sdk/storage.md +53 -13
  301. package/docs/sdk/structured-decisions.md +82 -56
  302. package/docs/sdk/web-server.md +57 -43
  303. package/docs/sdk.md +106 -84
  304. package/docs/security.md +42 -64
  305. package/docs/session-format.md +62 -38
  306. package/docs/sessions.md +99 -214
  307. package/docs/settings.md +165 -195
  308. package/docs/shell-aliases.md +9 -6
  309. package/docs/skills/authoring.md +69 -48
  310. package/docs/skills/reference.md +51 -20
  311. package/docs/skills.md +99 -148
  312. package/docs/slash-commands.md +129 -0
  313. package/docs/storage/custom-adapters.md +160 -85
  314. package/docs/storage/jsonl.md +81 -66
  315. package/docs/storage/postgres/pgbouncer.md +120 -126
  316. package/docs/storage/postgres/tuning.md +120 -143
  317. package/docs/storage/postgres.md +314 -330
  318. package/docs/storage/sqlite.md +71 -42
  319. package/docs/storage.md +298 -302
  320. package/docs/subagents/authoring.md +55 -38
  321. package/docs/subagents/reference.md +73 -33
  322. package/docs/subagents.md +119 -187
  323. package/docs/terminal-setup.md +50 -38
  324. package/docs/termux.md +67 -41
  325. package/docs/themes/reference.md +23 -19
  326. package/docs/themes.md +142 -127
  327. package/docs/tmux.md +47 -55
  328. package/docs/tools.md +147 -109
  329. package/docs/tui/reference.md +166 -214
  330. package/docs/tui.md +196 -341
  331. package/docs/usage.md +118 -138
  332. package/docs/verification.md +79 -51
  333. package/docs/web-access.md +121 -101
  334. package/docs/windows.md +26 -27
  335. package/docs/worktree-snapshots/reference.md +245 -0
  336. package/docs/worktree-snapshots.md +71 -259
  337. package/package.json +8 -8
  338. package/dist/_shared/startup-0-2-5QHPCEON.js.map +0 -1
  339. package/docs/guides/intercom.md +0 -32
  340. package/docs/guides/orchestration.md +0 -28
  341. package/docs/guides/subagents.md +0 -37
package/docs/skills.md CHANGED
@@ -1,20 +1,27 @@
1
1
  ---
2
2
  title: "Use and organize skills"
3
- sidebarTitle: "Skills"
3
+ sidebarTitle: "Use skills"
4
4
  description: "Install, discover, and invoke reusable Agent Skills instructions, scripts, and reference documents in Atomic."
5
5
  ---
6
6
 
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.
7
+ Skills are self-contained folders or Markdown files of instructions that Atomic loads on demand. A skill can bundle specialized procedures, helper scripts, and reference docs without filling the context window until a task matches.
8
8
 
9
9
  Atomic implements the [Agent Skills standard](https://agentskills.io/specification), warning about validation issues while still loading valid skills leniently.
10
10
 
11
- ## Where to go next
12
-
13
- Read this page to install, organize, and invoke skills, then continue:
14
-
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.
17
- - [SDK skills reference](/sdk/reference#skills). Load or override skills programmatically from `@bastani/atomic`.
11
+ <Columns cols={2}>
12
+ <Card title="Write a custom skill" href="/skills/authoring">
13
+ Structure a skill directory, reference helper scripts with `skill://`, and follow a complete example.
14
+ </Card>
15
+ <Card title="Skill format reference" href="/skills/reference">
16
+ Check `SKILL.md` frontmatter fields, validation rules, collision qualifiers, and XML expansion format.
17
+ </Card>
18
+ <Card title="SDK skills reference" href="/sdk/reference#skills">
19
+ Load, filter, or override skills programmatically from `@bastani/atomic`.
20
+ </Card>
21
+ <Card title="Install and manage packages" href="/packages">
22
+ Install, update, and filter skill collections distributed as Atomic packages.
23
+ </Card>
24
+ </Columns>
18
25
 
19
26
  ## Quick start
20
27
 
@@ -35,57 +42,43 @@ description: Check release readiness before tagging
35
42
  Run `npm run check` and report any failing checks with file paths.
36
43
  ```
37
44
 
38
- Run `/reload` in an active session, then invoke `/skill:my-skill`. See [Write a custom skill](/skills/authoring) for directory layout, scripts, and reference files.
45
+ Run `/reload` in an active session, then invoke `/skill:my-skill`. See [Write a custom skill](/skills/authoring) for directory layouts, helper scripts, and reference files.
39
46
 
40
47
  ## Locations
41
48
 
42
- > **Security:** Skills can instruct the model to perform any action and may include executable code that the model invokes. Review skill content before use.
43
- >
44
- > Read [Security](/security) for the project-trust boundary that governs which project skills load.
49
+ <Warning>
50
+ Skills can instruct the model to run commands and may bundle executable scripts. Review third-party skill content before enabling it. Project skills load only after you grant [project trust](/security).
51
+ </Warning>
45
52
 
46
53
  Atomic loads skills from these sources:
47
54
 
48
- - **Global directories:**
49
- - `~/.atomic/agent/skills/` (legacy `~/.pi/agent/skills/`)
50
- - `~/.agents/skills/`
51
- - **Project directories** (only after you trust the project):
52
- - `.atomic/skills/` (legacy `.pi/skills/`)
53
- - `.agents/skills/` in `cwd` and ancestor directories up to the Git repository root, or the filesystem root when outside a repository
55
+ - **Global directories:** `~/.atomic/agent/skills/` (legacy `~/.pi/agent/skills/`) and `~/.agents/skills/`
56
+ - **Project directories** (trusted projects only): `.atomic/skills/` (legacy `.pi/skills/`), plus `.agents/skills/` in `cwd` and ancestor directories up to the Git repository root (or the filesystem root outside a repository)
54
57
  - **Packages:** `skills/` directories, `atomic.skills`, or legacy `pi.skills` entries in `package.json`
55
- - **Settings:** `skills` array in global or project [`settings.json`](/settings), which accepts files, directories, and filter patterns (`!glob`, `+path`, `-path` with `~` expansion; see [Package filtering](/packages/reference#package-filtering))
58
+ - **Settings:** `skills` array in global or project [`settings.json`](/settings), accepting files, directories, and filter patterns (`!glob`, `+path`, `-path` with `~` expansion; see [Package filtering](/packages/reference#package-filtering))
56
59
  - **CLI:** `--skill <path>` (repeatable; still loads even with `--no-skills` / `-ns`; see [CLI resource options](/reference/cli#resource-options))
57
60
 
58
61
  ### Discovery rules
59
62
 
60
- - 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.
61
- - 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.
62
- - In `~/.agents/skills/` and project `.agents/skills/`, root `.md` files are ignored. Place each skill in its own subdirectory containing `SKILL.md`.
63
- - Non-skill Markdown files (such as `README.md` without skill frontmatter) are ignored silently.
64
- - Scanning respects `.gitignore`, `.ignore`, and `.fdignore` files inside scanned directories, and automatically skips dotfiles, dot-directories, and `node_modules`.
65
- - 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.
63
+ - **Skill directories (`SKILL.md`).** In every skill location, directories containing `SKILL.md` are discovered recursively. Once a directory contains `SKILL.md`, Atomic treats it as a single skill root and stops recursing inside it.
64
+ - **Root `SKILL.md` pitfall:** Never place a `SKILL.md` directly inside a top-level skills directory such as `~/.atomic/agent/skills/SKILL.md`. Doing so turns the entire directory into one skill and skips every sibling `.md` file and subdirectory.
65
+ - **Standalone `.md` files.** In `~/.atomic/agent/skills/`, `.atomic/skills/` (plus legacy `.pi/skills/`), and directories passed via `--skill` or `settings.json` `skills`, direct root `.md` files with valid skill frontmatter load as individual skills. Set `name:` explicitly in frontmatter so they do not default to `skills` and collide.
66
+ - **`.agents/skills/` directories.** Root `.md` files in `~/.agents/skills/` and `.agents/skills/` are ignored—put each skill in its own subdirectory with `SKILL.md`. Inside subdirectories that lack a `SKILL.md`, other `.md` files with valid skill frontmatter also load.
67
+ - **Filtering and symlinks.** Non-skill Markdown files (such as `README.md` without skill frontmatter) are ignored silently. Scanning respects `.gitignore`, `.ignore`, and `.fdignore`, skips dotfiles, dot-directories, and `node_modules`, follows symlinks, skips broken symlinks, and deduplicates multiple symlinks pointing to the same real file. Passing a non-`.md` file to `--skill` emits a `"skill path is not a markdown file"` warning.
66
68
 
67
- Disable default and bundled skill discovery with `--no-skills` (short flag `-ns`). Skills from `-e` packages and explicit `--skill <path>` flags still load.
69
+ Disable default and bundled skill discovery with `--no-skills` (`-ns`). Skills from `-e` packages and explicit `--skill <path>` flags still load.
68
70
 
69
- ### Precedence order
71
+ ### Precedence
70
72
 
71
- When multiple distinct skill files declare the same name, bare `/skill:<name>` uses the first match in this order:
73
+ When multiple distinct skill files share the same name, bare `/skill:<name>` uses the first match: packages passed with `-e` win first, then project skills override global skills, both override configured and bundled packages, and explicit CLI `--skill` paths apply last. Pass `--no-skills` (`-ns`) if you want a `--skill` path to win bare `/skill:<name>` over an existing or bundled skill.
72
74
 
73
- 1. Packages passed with `-e` / `--extension`
74
- 2. Project `settings.json` `skills` array
75
- 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)
76
- 4. Global `settings.json` `skills` array
77
- 5. Global auto-discovered directories (`~/.atomic/agent/skills/`, then legacy `~/.pi/agent/skills/`, then `~/.agents/skills/`)
78
- 6. Configured packages (project packages, then global packages)
79
- 7. Bundled packages (`@bastani/subagents`, `@bastani/intercom`)
80
- 8. Explicit CLI `--skill <path>` paths
81
-
82
- 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.
75
+ See [Resource precedence order](/packages/reference#resource-precedence-order) for the complete 8-level precedence list.
83
76
 
84
77
  <div id="using-skills-from-other-harnesses" />
85
78
 
86
- ### Using skills from other tools
79
+ ### Use skills from other tools
87
80
 
88
- To load skills stored in existing user directories, add their paths to `~/.atomic/agent/settings.json`:
81
+ To reuse skills already stored for other coding agents, add their directories to `~/.atomic/agent/settings.json`:
89
82
 
90
83
  ```json
91
84
  {
@@ -104,48 +97,30 @@ For project-level shared skill directories, add a relative path to `.atomic/sett
104
97
  }
105
98
  ```
106
99
 
107
- ### Using skills from the SDK
108
-
109
- Configure skill discovery programmatically with `DefaultResourceLoader` and pass it to `createAgentSession()`:
110
-
111
- ```typescript
112
- import { createAgentSession, DefaultResourceLoader } from "@bastani/atomic";
113
-
114
- const loader = new DefaultResourceLoader({
115
- additionalSkillPaths: ["/path/to/extra-skills"],
116
- noSkills: false,
117
- skillsOverride: (current) => ({
118
- skills: current.skills.filter((skill) => skill.name !== "unwanted"),
119
- diagnostics: current.diagnostics,
120
- }),
121
- });
122
- await loader.reload();
123
-
124
- const { session } = await createAgentSession({ resourceLoader: loader });
125
- ```
126
-
127
- Setting `builtins: { subagents: false }` on `createAgentSession()` removes the 21 bundled skills shipped by `@bastani/subagents`. Keep those 21 skills without exposing the `subagent` tool by leaving `builtins.subagents` enabled and passing `excludedTools: ["subagent"]`. See [SDK skills](/sdk/reference#skills) and [SDK tools](/sdk/reference#tools).
100
+ <Note>
101
+ To load, filter, or override skills programmatically from Node.js—or to remove the 21 bundled `@bastani/subagents` skills (`builtins: { subagents: false }`) or keep them without exposing the `subagent` tool (`excludedTools: ["subagent"]`)—see [SDK skills](/sdk/reference#skills).
102
+ </Note>
128
103
 
129
104
  ## How skills work
130
105
 
131
106
  1. At startup, Atomic scans skill locations and reads each skill's name and description.
132
- 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).
133
- 3. When a task matches, the agent uses `read` (or `bash` when `read` is unavailable) to load the skill from its `skill://` address. Models do not always load a skill automatically, so use explicit prompting or `/skill:name` to force it.
134
- 4. The agent follows the instructions. When they mention another file in the skill's folder, such as `references/guide.md`, the agent opens it as `skill://<name>/references/guide.md`.
107
+ 2. The system prompt includes available skills (excluding skills with `disable-model-invocation: true`) in XML format per the [Agent Skills integration specification](https://agentskills.io/integrate-skills).
108
+ 3. When a task matches, the agent opens the skill's `skill://` address with `read` (or `bash` if `read` is disabled). Models do not always load a skill on their own, so prompt explicitly or run `/skill:name` when you want a specific skill used.
109
+ 4. When a skill mentions a supporting file such as `references/guide.md`, the agent reads it via `skill://<name>/references/guide.md`.
135
110
 
136
- This is progressive disclosure. Only descriptions stay in context by default, and full instructions load on demand.
111
+ Only skill descriptions stay in context by default; full instructions load on demand.
137
112
 
138
- ## Skill addresses
113
+ <Note>
114
+ If both `read` and `bash` tools are disabled (for example with `--no-tools` or `--tools edit,write`), Atomic omits the automatic `<available_skills>` list from the system prompt because the model has no tool to open `skill://` files. Manual `/skill:<name>` invocation still expands into your prompt.
115
+ </Note>
139
116
 
140
- Every loaded skill has a short address that starts with `skill://` followed by the skill's name, such as `skill://tdd`. The address names the skill, not the folder it is stored in. That has three benefits:
117
+ ## Skill addresses
141
118
 
142
- - The skill list in the model's instructions stays short.
143
- - Your home folder and other private paths stay out of the model's instructions.
144
- - The address keeps working if you move a skill or resume a session on another computer.
119
+ Every loaded skill gets a short `skill://<name>` address (such as `skill://tdd`). Naming the skill instead of its filesystem path keeps the system prompt short, keeps local home paths out of model context, and keeps sessions portable across machines.
145
120
 
146
121
  ### What the model sees
147
122
 
148
- The model's instructions list each skill by name, description, and address. With one skill installed, that part of the instructions reads:
123
+ With `read` enabled and one skill installed, the system prompt includes:
149
124
 
150
125
  ```xml
151
126
  The following skills provide specialized instructions for specific tasks.
@@ -161,66 +136,62 @@ A file the skill references relative to its own directory is skill://<name>/<rel
161
136
  </available_skills>
162
137
  ```
163
138
 
164
- Earlier versions gave the full file path, such as `/Users/you/.atomic/agent/skills/tdd/SKILL.md`, in place of `skill://tdd`.
139
+ When `read` is disabled and `bash` is active, the instruction tells the model to run `cat skill://<name>` instead.
165
140
 
166
- ### Reading a skill, a file inside it, or a few lines
141
+ ### Reading a skill or files inside it
167
142
 
168
- The agent, or you in a prompt, can use these addresses with the `read`, `search`, and `find` tools:
143
+ Use `skill://` addresses with `read`, `search`, and `find`:
169
144
 
170
145
  | To get | Use |
171
146
  | --- | --- |
172
- | The skill's instructions (its `SKILL.md`) | `skill://tdd` |
173
- | Another file in the skill's folder | `skill://tdd/references/mocking.md` |
174
- | A few lines of either | `skill://tdd:10-40` or `skill://tdd/references/mocking.md:1-20` |
175
- | Lines that mention a word | `search` for the word in `skill://tdd` |
176
- | Files in the skill's folder | `find` with `skill://tdd/references/*.md` |
147
+ | The skill's instructions (`SKILL.md`) | `skill://tdd` |
148
+ | Another file inside the skill folder | `skill://tdd/references/mocking.md` |
149
+ | A specific line range | `skill://tdd:10-40` or `skill://tdd/references/mocking.md:1-20` |
150
+ | Matching lines inside a skill | `search` in `skill://tdd` |
151
+ | Files in the skill folder | `find` with `skill://tdd/references/*.md` |
177
152
 
178
- When the agent reads a whole skill, the result begins with `Base directory for this skill: skill://tdd/`. Paths in the skill's instructions are relative to that folder.
153
+ Reading a full skill begins with `Base directory for this skill: skill://tdd/`. Relative paths inside the instructions resolve against that folder.
179
154
 
180
155
  ### Running a skill's scripts
181
156
 
182
- Shell commands can use an address in place of a file path. Before the command runs, Atomic swaps each address for the file's real path:
157
+ Shell commands accept an unquoted `skill://` address wherever a file path is expected. Atomic replaces the address with the file's real path before running the command:
183
158
 
184
159
  ```bash
185
160
  bash skill://my-skill/scripts/check.sh
186
161
  python3 skill://my-skill/scripts/report.py --summary
187
162
  ```
188
163
 
189
- Write the address as a separate word, not inside quotes. Quoted text is passed to the shell as typed.
164
+ - Write the address as a separate unquoted word. Quoted strings (`"skill://..."`) stay literal.
165
+ - `bash` also expands `skill://` addresses inside its `cwd` and `env` arguments.
166
+ - If a `skill://<name>` name is not in the loaded skill catalog, Atomic falls back to `<cwd>/.agents/skills/<name>/...` and `<cwd>/packages/subagents/skills/<name>/...`. In `bash`, an address that still does not resolve passes through as literal text rather than erroring.
190
167
 
191
168
  ### Two skills with the same name
192
169
 
193
- If only one skill uses a name, its address is `skill://<name>`.
194
-
195
- Two skills can share a name. For example, you might have your own `tdd` skill while Atomic also ships one. In that case, the model's skill list shows each skill under a longer name with its source after an `@`, such as `tdd@user` and `tdd@builtin`. Their addresses are `skill://tdd@user` and `skill://tdd@builtin`. These are the same names the [`/skill:` commands](#skill-commands) use.
170
+ When only one file declares a name, its address is `skill://<name>`.
196
171
 
197
- The short address `skill://tdd` still works. It opens the skill that wins under the [precedence order](#precedence-order).
172
+ When two or more distinct files share a name (for example your own `tdd` skill alongside Atomic's bundled `tdd`), Atomic assigns source-qualified addresses such as `skill://tdd@user` and `skill://tdd@builtin`, matching the [`/skill:` commands](#skill-commands). The bare address `skill://tdd` still opens the precedence winner.
198
173
 
199
- A longer name must match exactly one skill. Suppose two project folders each have a `tdd` skill. Then `skill://tdd@project` could mean either, so Atomic refuses it and lists the addresses that tell them apart.
200
-
201
- Some characters, such as a slash, a colon, or a space, would break an address. In a skill's name, Atomic writes them as percent codes, the way web addresses do. A skill named `acme:deploy` has the address `skill://acme%3Adeploy`. The skill list always shows the ready-to-use address.
174
+ A qualified address must match exactly one skill. If two project directories both define `tdd`, `skill://tdd@project` is refused with the disambiguating addresses. Characters that would break a URI (such as `:`, `/`, or spaces) are percent-encoded (for example `skill://acme%3Adeploy`); the skill list always shows the ready-to-use address.
202
175
 
203
176
  ### Addresses are read-only
204
177
 
205
- A `skill://` address is only for reading. Atomic won't write or edit through it, and it refuses an address that leads outside the skill's folder, such as `skill://tdd/../other`. To change a skill, edit its files where they are stored.
178
+ `skill://` is read-only. Atomic refuses to write or edit through it and rejects traversal paths that leave the skill folder (such as `skill://tdd/../other`). Containment is checked lexically, so symlinks that a skill author intentionally places inside the skill folder are followed. To modify a skill, edit its files on disk.
206
179
 
207
180
  ### Subagents and older sessions
208
181
 
209
- A subagent given a skill receives the skill's instructions together with its address. It opens the skill's other files the same way.
210
-
211
- Sessions recorded by earlier versions list skills by their full file path. Those paths keep working when you resume such a session.
182
+ Subagents receive their assigned skills with the same `skill://` addresses and resolve supporting files the same way. Older sessions that recorded absolute skill file paths remain readable when resumed.
212
183
 
213
184
  ### Skills as workflows
214
185
 
215
- 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.
186
+ A `SKILL.md` file can define a repeatable procedure for the main chat to run with codemode and subagents—no separate workflow file is needed. State the inputs, step dependencies, verification checks, and stop conditions. Loading a skill does not enable extra tools or grant new permissions.
216
187
 
217
- 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.
188
+ For example, a `review-guide` skill can instruct: *"Ask one child per platform to check the guide against the CLI. Wait for their results, verify flagged commands, then return a table of discrepancies without editing the guide."* Run it with `/skill:review-guide docs/install.md`. See [Orchestration](/orchestration) for how codemode scripts launch and resume children.
218
189
 
219
- 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.
190
+ To migrate an older Atomic workflow file into a skill, run `/skill:workflow-files` or follow [Converting workflows to skills](/orchestration/migrating-workflows).
220
191
 
221
192
  ## Bundled skills
222
193
 
223
- 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>`.
194
+ 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 automatic skill list and run only when you invoke `/skill:<name>`.
224
195
 
225
196
  | Skill | Invocation | Purpose |
226
197
  | --- | --- | --- |
@@ -249,52 +220,40 @@ Atomic ships 22 bundled skills (21 from `@bastani/subagents` and `intercom` from
249
220
 
250
221
  ### Setup notes for specific bundled skills
251
222
 
252
- - **`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.
253
- - **`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.
254
- - **`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.
255
- - **`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.
256
- - **`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.
257
- - **`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.
223
+ | Skill | External prerequisites and notes |
224
+ | --- | --- |
225
+ | `qlty` | Install the `qlty` CLI separately (`curl https://qlty.sh \| sh` on macOS/Linux, or `powershell -c "iwr https://qlty.sh \| iex"` on Windows) and keep `~/.qlty/bin` on `PATH`. Run `qlty init` per repository. `qlty metrics` and `qlty smells` run offline; `qlty check` and `qlty fmt` need network access on first use to download plugins. |
226
+ | `liteparse` | Requires Node.js 18+ and `@llamaindex/liteparse` (`npm i -g @llamaindex/liteparse`), plus LibreOffice for Office files, ImageMagick for images, and `uv` for local search helpers. |
227
+ | `agent-browser`, `agent-desktop`, `herdr`, `tmux` | See [Computer use](/computer-use) for install commands, readiness checks, coverage limits, and safety rules. `agent-desktop` leaves OS accessibility permissions to you (`agent-desktop permissions --guide` on macOS). `herdr` runs only inside a Herdr-managed pane (`HERDR_ENV=1`) when explicitly requested. |
228
+ | `feedback` | Run `/skill:feedback <summary>` to draft a bug report (runs a debugger pass) or enhancement (no subagent) and review the privacy-scrubbed Markdown before posting via your authenticated `gh` CLI login. Redaction strips recognized tokens, keys, emails, and home paths, though custom secrets or business details may remain and content already sent to your model provider cannot be undone. |
229
+ | `skill-creator` | Evaluates skill trigger descriptions in isolated non-interactive `atomic -p` runs (pass `--model provider/id` to test a specific model) and generates a browser review viewer. On Windows, configure an API key or non-interactive credential because evaluation runs cannot accept interactive login prompts. |
230
+ | `prompt-engineer` | Loads only the guide for your target GPT or Claude model (or both for migrations, for example `/skill:prompt-engineer Improve this prompt for Claude: ...`). |
258
231
 
259
232
  ## Skill commands
260
233
 
261
- Skills register as `/skill:name` commands:
234
+ Every loaded skill registers a `/skill:name` slash command:
262
235
 
263
- ```bash
264
- /skill:brave-search # Load and execute the skill
265
- /skill:pdf-tools extract # Load skill with arguments
236
+ ```text
237
+ /skill:brave-search # Load and run the skill
238
+ /skill:pdf-tools extract # Load the skill with extra instructions
266
239
  ```
267
240
 
268
- 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:
241
+ When multiple distinct skill files share the same name, bare `/skill:name` runs the precedence winner and Atomic adds source-qualified commands for each candidate:
269
242
 
270
- ```bash
271
- /skill:review # Current precedence winner
272
- /skill:review@project # Unique project candidate
273
- /skill:review@user # Unique user candidate
274
- /skill:review@builtin # Unique bundled candidate
243
+ ```text
244
+ /skill:review # Current precedence winner
245
+ /skill:review@project # Project candidate
246
+ /skill:review@user # User candidate
247
+ /skill:review@builtin # Bundled candidate
275
248
  ```
276
249
 
277
- 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.
278
-
279
- 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.
280
-
281
- 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.
282
-
283
- 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()`.
284
-
285
- When expanded, Atomic wraps the skill body in a `<skill>` block recording the selector, the skill's [address](#skill-addresses), a candidate ID, and the folder that relative references start from:
286
-
287
- ```xml
288
- <skill name="brave-search" location="skill://brave-search" candidate="skill_0123456789abcdef0123">
289
- References are relative to skill://brave-search/.
290
-
291
- ...skill instructions...
292
- </skill>
293
- ```
250
+ Source-qualified aliases exist only while a name collision exists—if only one skill defines `tdd`, `/skill:tdd` exists and `/skill:tdd@builtin` does not. Aliases recalculate on `/reload`.
294
251
 
295
- Any arguments after the command are trimmed and appended after the closing `</skill>` tag separated by a blank line, without a `User:` prefix.
252
+ - **Qualified selection is exact.** An unknown or ambiguous qualified selector (such as `/skill:review@missing`) reports an error and never falls back to the bare winner. The original `/skill:...` text is left unexpanded and sent verbatim to the model.
253
+ - **Subagent overrides.** Subagent definitions and per-call `skills` overrides accept the same selectors and resolve them against the child's own loaded skills (reporting missing or ambiguous selectors in the child result). The parent-only `subagent` skill cannot be injected into a child, even via `subagent@builtin`.
254
+ - **Technical format.** See [Collision qualifiers and expansion](/skills/reference#collision-qualifiers-and-expansion) for the full tie-breaking qualifier rules, the `<skill>` XML wrapper format, and programmatic inspection from extensions and RPC.
296
255
 
297
- Toggle `/skill:` autocomplete suggestions via `/settings` in interactive mode or in [`settings.json`](/settings) (default `true`):
256
+ Toggle `/skill:` autocomplete suggestions in `/settings` or [`settings.json`](/settings) (default `true`):
298
257
 
299
258
  ```json
300
259
  {
@@ -302,25 +261,17 @@ Toggle `/skill:` autocomplete suggestions via `/settings` in interactive mode or
302
261
  }
303
262
  ```
304
263
 
305
- 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.
264
+ Setting `enableSkillCommands` to `false` hides `/skill:` suggestions from autocomplete only; manually typed `/skill:<name>` commands still expand in both the main chat and subagent views.
306
265
 
307
266
  ### Skills while viewing a subagent
308
267
 
309
- 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.
310
-
311
- 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.
268
+ When you select a subagent from the agent panel or `/tasks`, `/skill:` suggestions, `@`/`Tab` path completions, and `/skill:<selector>` expansion use that subagent's own skills and working directory (finished subagents keep the skills and directory they had when they ended).
312
269
 
313
- 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.
314
-
315
- 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.
270
+ - `Enter` starts a turn when idle or steers a streaming turn; `app.message.followUp` (`Alt+Enter`, or `Ctrl+Q` on Windows and WSL) queues the expanded skill as a follow-up.
271
+ - Unknown bare selectors pass through as plain text; unknown or ambiguous qualified selectors and file-read errors display diagnostics under the subagent transcript without falling back to another skill.
272
+ - If a skill command was queued while the session was paused, restore it to the editor and submit again after resuming so it expands.
273
+ - Inside an interactive dialog or custom UI prompt, text starting with `/skill:` is treated as plain text. Skills never grant extra tools, workspace access, or permission to start subagents.
316
274
 
317
275
  ## Skill repositories
318
276
 
319
- - [Anthropic Skills](https://github.com/anthropics/skills). Document processing (`docx`, `pdf`, `pptx`, `xlsx`) and web development examples.
320
-
321
- ## Moved sections
322
-
323
- <div id="frontmatter" />
324
-
325
- - Skill directory structure, `SKILL.md` format, and a worked example moved to [Write a custom skill](/skills/authoring).
326
- - Frontmatter fields, name rules, description best practices, and validation rules moved to [Skill format reference](/skills/reference).
277
+ - [Anthropic Skills](https://github.com/anthropics/skills) — document processing (`docx`, `pdf`, `pptx`, `xlsx`) and web development examples compatible with the Agent Skills standard.
@@ -0,0 +1,129 @@
1
+ ---
2
+ title: "Slash commands"
3
+ sidebarTitle: "Slash commands"
4
+ description: "Reference for all built-in slash commands, bundled extension commands, argument rules, subagent-view routing, and collision numbering."
5
+ ---
6
+
7
+ Type `/` in Atomic's terminal editor to search and autocomplete every command available in your current session. This page is the canonical reference for all 26 core built-in commands, all 8 bundled extension commands, the diagnostic `/debug` command, and how slash commands are parsed, routed, and disambiguated.
8
+
9
+ Extensions, prompt templates, and skills can add more commands at runtime, so the `/` menu in your session always reflects your exact active setup. Run `/reload` after adding or editing command resources on disk.
10
+
11
+ ## Models and authentication
12
+
13
+ | Command | Arguments | Description |
14
+ | --- | --- | --- |
15
+ | `/model` | `[provider/model]` | Open the model selector, switch directly on an exact match, or pre-filter the selector. Inside the selector, use `←`/`→` to adjust thinking effort on reasoning models and `Tab` to toggle between scoped and all models. |
16
+ | `/thinking` | `[level]` | Open the thinking-level selector, or set and persist a specific level directly (such as `off`, `low`, `medium`, `high`). |
17
+ | `/scoped-models` | *(bare only)* | Enable or disable models included in `Ctrl+P` / `Shift+Ctrl+P` quick cycling. |
18
+ | `/login` | `[provider]` | Configure subscription, account, or API-key authentication. Passing a provider jumps straight to login, opens the method chooser, or filters the provider list. |
19
+ | `/logout` | `[provider]` | Remove stored credentials from `~/.atomic/agent/auth.json` (and legacy `~/.pi/agent/auth.json`). Does not clear environment variables, CLI flags, or `models.json` keys. |
20
+
21
+ ## Sessions and context
22
+
23
+ | Command | Arguments | Description |
24
+ | --- | --- | --- |
25
+ | `/new` | *(bare only)* | Start a fresh empty session in the current working directory. |
26
+ | `/resume` | `[session-id]` | Open the session picker, or switch directly by exact session ID or unique 8-character hex prefix. |
27
+ | `/name` | `[name]` | Set the session display name shown in `/resume` and `/session`. When run bare, prints the current name if set, or warns `Usage: /name <name>` if unnamed. |
28
+ | `/session` | *(bare or `snapshot`)* | When bare, shows session name (if set), storage location, ID, message and token counts, cache hit rate, wasted cache cost, and total/per-model cost breakdown. `/session snapshot` lists recorded [worktree snapshots](/worktree-snapshots), diffs them against the current working tree, and shows last-resume timings. |
29
+ | `/tree` | *(bare only)* | Open the session tree to inspect history and switch branches without losing previous turns. |
30
+ | `/fork` | *(bare only)* | Pick an earlier user message and start a new session branched from that point. |
31
+ | `/clone` | *(bare only)* | Duplicate the current session at its current position into a new session. |
32
+ | `/compact` | `[instructions]` | Compact the active context window with optional focus instructions. Takes over automatic compaction if one is running; warns `Nothing to compact (no messages yet)` when fewer than two messages exist. See [Context and compaction](/compaction). |
33
+
34
+ ## Export and sharing
35
+
36
+ | Command | Arguments | Description |
37
+ | --- | --- | --- |
38
+ | `/copy` | *(bare only)* | Copy the last assistant message (or the viewed subagent's last assistant message) to the clipboard. |
39
+ | `/export` | `[path]` | Export the current session. Defaults to `atomic-session-<sessionId>.html` in the current working directory, or exports JSONL when `[path]` ends in `.jsonl`. Wrap paths containing spaces in single or double quotes; extra tokens after the first path are ignored. |
40
+ | `/import` | `<path.jsonl>` | Prompt for confirmation, then import and switch to a JSONL session while preserving its ID and working directory. Wrap paths containing spaces in quotes; extra tokens after the first path are ignored. |
41
+ | `/share` | *(bare only)* | Export the session as `session.jsonl` and upload it as a secret GitHub gist (`gh gist create --public=false`), printing both the web viewer URL (`Share URL:`) and raw `Gist:` URL. Requires GitHub CLI (`gh`) installed and authenticated via `gh auth login`. Press `Esc` or `Ctrl+C` to cancel while uploading. |
42
+
43
+ <Warning>
44
+ **Review sessions before exporting or sharing.** Exported files and shared gists can include prompts, tool arguments, command output, file contents, and any secrets that appeared during the conversation.
45
+ </Warning>
46
+
47
+ ## Runtime, tasks, and workspace
48
+
49
+ | Command | Arguments | Description |
50
+ | --- | --- | --- |
51
+ | `/settings` | *(bare only)* | Open the interactive settings menu. |
52
+ | `/tools` | *(bare only)* | List active tools, inactive tools (with reasons), missing helper binaries, and which Git binary Atomic is using. |
53
+ | `/tasks` | `[task-id]` | Open the [background task inspector](/background-tasks) for running and completed subagents and shells, or jump directly to a specific task ID. |
54
+ | `/trust` | *(bare only)* | Open the project trust selector and save a trust decision for future sessions. Restart Atomic for the new decision to take effect in the current session. |
55
+ | `/reload` | *(bare only)* | Reload keybindings, extensions, skills, prompt templates, themes, and project context files. Wait for active streaming or compaction to finish first. |
56
+ | `/hotkeys` | *(bare only)* | Print the table of editor, core app, and extension keyboard shortcuts. Press `?` for shortcuts specific to the active view, or see [Keybindings](/keybindings) for the complete reference. |
57
+ | `/changelog` | *(bare only)* | Display Atomic's release changelog entries inside the chat transcript. |
58
+ | `/exit` | *(bare only)* | Exit Atomic cleanly. |
59
+ | `/quit` | *(bare only)* | Alias for `/exit`. |
60
+
61
+ ## Bundled extension commands
62
+
63
+ Atomic ships eight slash commands through its bundled lazy extensions. They are available by default without installing extra packages:
64
+
65
+ | Command | Arguments | Description |
66
+ | --- | --- | --- |
67
+ | `/agents` | `[filter]` | Open the interactive subagent browser to inspect available [subagents](/subagents) and their configurations, optionally pre-filtered by `[filter]`. |
68
+ | `/mcp` | `[login\|logout\|reconnect] [server]` | When bare, opens the interactive [MCP server](/mcp-servers) manager (or prints status outside the TUI). Subcommands sign in, sign out, or reconnect a server, with tab completion for subcommands and eligible server names. |
69
+ | `/intercom` | *(none)* | Open the [Intercom](/intercom) overlay to view live sessions and send direct messages (also bound to `Alt+M`). |
70
+ | `/llama` | *(none)* | Open the interactive [`llama.cpp`](/llama-cpp) router model manager to load, unload, or download Hugging Face GGUF models (interactive mode only). |
71
+ | `/curator` | `[on\|off\|none\|summary-review]` | Toggle or set the [web-access](/web-access) search curator workflow (`on` sets `summary-review`; `off` sets `none`; bare toggles between them). |
72
+ | `/websearch` | `[query1, query2, ...]` | Open the interactive browser web-search curator, optionally pre-populated with comma-separated search queries. |
73
+ | `/search` | *(none)* | Browse, inspect, or delete stored [web-access](/web-access) search and fetch results. |
74
+ | `/google-account` | *(none)* | Show the active Google account detected for Gemini Web search (requires `allowBrowserCookies: true` in `~/.atomic/web-search.json`). |
75
+
76
+ ## Unlisted diagnostic command
77
+
78
+ | Command | Arguments | Description |
79
+ | --- | --- | --- |
80
+ | `/debug` | *(bare only)* | Append a diagnostic snapshot of the current rendered terminal lines (with visible widths) and session messages (JSONL) to `~/.atomic/agent/atomic-debug.log` (or under `ATOMIC_CODING_AGENT_DIR`), then display the file path. Not listed in `/` autocomplete; see [Diagnostics and debugging](/development). |
81
+
82
+ ## Parsing and argument rules
83
+
84
+ Atomic splits any `/name args` submission at the first whitespace character (space, tab, or line break, counting CRLF as a single break). Whether a core built-in is intercepted depends on whether it accepts arguments:
85
+
86
+ - **Argument-taking built-ins (10 commands):** `/tasks`, `/model`, `/thinking`, `/export`, `/import`, `/name`, `/login`, `/logout`, `/compact`, and `/resume`. Atomic intercepts these whether typed bare or followed by arguments.
87
+ - **Exact-subcommand built-in (1 command):** `/session` matches only when bare or when the argument is literally `snapshot` (`/session snapshot`, with no extra trailing words). Any other text after `/session` passes through as ordinary chat text.
88
+ - **Bare-only built-ins (15 commands + `/debug`):** `/settings`, `/scoped-models`, `/share`, `/trust`, `/reload`, `/quit`, `/exit`, `/tools`, `/changelog`, `/hotkeys`, `/tree`, `/fork`, `/clone`, `/new`, `/copy`, and `/debug`. Atomic intercepts these **only** when nothing follows the command name. Adding trailing text—such as `/copy that` or `/new approach`—sends the line to the model as a regular message.
89
+
90
+ ## Extension, prompt template, and skill commands
91
+
92
+ Beyond built-ins, three resource types contribute slash commands:
93
+
94
+ - **Extensions:** Commands registered with `atomic.registerCommand()` execute immediately—even while the model is streaming or compaction is active—without entering the message queue. See [Extension API reference](/extensions/api-reference).
95
+ - **Prompt templates:** Markdown templates appear under their filename (`/review`, `/pr-check`) and expand into user message text before sending. See [Prompt templates](/prompt-templates).
96
+ - **Skills:** Skills are invocable as `/skill:<name> [args]` when skill commands are enabled. See [Skills](/skills).
97
+
98
+ When you submit a line starting with `/`, Atomic resolves it in this order:
99
+
100
+ 1. Interactive built-in commands (subject to the bare-only vs. argument rules above).
101
+ 2. Registered extension commands (including bundled extension commands).
102
+ 3. Extension `input` hooks (which can handle or transform the text).
103
+ 4. Skill command expansion (`/skill:<name>`).
104
+ 5. Prompt template expansion (`/<template>`).
105
+ 6. Ordinary chat text sent to the model.
106
+
107
+ ### Command collision numbering
108
+
109
+ If two or more loaded extensions register the same command name (for example `review`), Atomic disambiguates **every** colliding command with a 1-based numeric suffix in extension load order: `/review:1`, `/review:2`, and so on. No bare `/review` command remains.
110
+
111
+ ## Routing while viewing a subagent
112
+
113
+ Atomic shares one chat screen between the main conversation and any subagent you select from the agent panel or `/tasks`. When you type a slash command while viewing a subagent, Atomic routes it according to what it affects:
114
+
115
+ | Commands | Behavior while viewing a subagent |
116
+ | --- | --- |
117
+ | `/settings`, `/scoped-models`, `/tasks`, `/resume`, `/export`, `/share`, `/trust`, `/login`, `/logout`, `/reload`, `/exit`, `/quit` | Run on `main` in place while the subagent stays on screen. |
118
+ | All 8 bundled extension commands (`/agents`, `/mcp`, `/intercom`, `/curator`, `/google-account`, `/search`, `/websearch`, `/llama`) | Run on `main` in place while the subagent stays on screen. |
119
+ | `/session`, `/session snapshot`, `/tools`, `/changelog`, `/hotkeys`, `/name`, `/debug` | Switch the screen to `main` first so printed output lands in the main transcript (preserving main's draft). |
120
+ | `/compact`, `/tree`, `/fork`, `/clone`, `/new`, `/import`, and any registered extension command named `/clear` or `/rewind` | Ask to confirm first (`/<command> acts on the main conversation, not <agent>`, defaulting to **Cancel**). Once confirmed, `/new` and `/import` switch to `main` immediately; `/fork` and `/clone` switch once the new session is ready; cancelling restores your text to the subagent prompt. |
121
+ | `/model`, `/thinking` | Refused with a notice under the subagent transcript. Switch back to `main` to change the main conversation's model or thinking level. |
122
+ | `/copy` | Copies the viewed subagent's last assistant message to the clipboard. |
123
+ | `/skill:<name>`, prompt templates, user/project extension commands, and non-matching slash text | Sent to the viewed subagent's own session using its own skills, templates, extensions, and working directory. |
124
+
125
+ <Note>
126
+ **Dedicated subagent chat views inside `/tasks`:** In a standalone subagent chat page opened inside `/tasks`, `/tasks`, `/copy`, and `/hotkeys` run locally for that subagent, other built-ins show `/<name> is not available in a subagent chat` without reaching the subagent, and all skills, templates, extension commands, and ordinary text go directly to the subagent.
127
+ </Note>
128
+
129
+ See [Background tasks](/background-tasks) and [Subagents](/subagents) for full details on inspecting and steering subagents.