@bastani/atomic 0.10.14 → 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.
- package/CHANGELOG.md +17 -0
- package/dist/_shared/dist-KOELCESV.js +2 -2
- package/dist/_shared/fork-row-index-UAUAQRD5.js +2 -2
- package/dist/_shared/lib-4PES5P4V.js +2 -2
- package/dist/_shared/mode-interactive-sdk-7KXUFI2F.js +3 -3
- package/dist/_shared/mode-rpc-sdk-IOPGDYR4.js +3 -3
- package/dist/_shared/mode-shared-2QJSCUM6.js +3 -3
- package/dist/_shared/p1a-prewarm-XIU57JHF.js +3 -3
- package/dist/_shared/runtime-O4KCSG4C.js +2 -2
- package/dist/_shared/{sdk-B5LEWGGI.js → sdk-OHKMDJ74.js} +27 -5
- package/dist/_shared/{sdk-B5LEWGGI.js.map → sdk-OHKMDJ74.js.map} +1 -1
- package/dist/_shared/session-data-AHTU7IS6.js +2 -2
- package/dist/_shared/startup-0-0-Q3MWKUK4.js +2 -2
- package/dist/_shared/startup-0-1-M6OWAYHH.js +2 -2
- package/dist/_shared/{startup-0-2-5QHPCEON.js → startup-0-2-2HUMCPKX.js} +14 -16
- package/dist/_shared/startup-0-2-2HUMCPKX.js.map +1 -0
- package/dist/_shared/startup-0-3-4ZYBYQNM.js +3 -3
- package/dist/_shared/startup-0-4-ZMJV547D.js +3 -3
- package/dist/_shared/startup-0-5-YDW47QX6.js +3 -3
- package/dist/_shared/startup-10-0-TDQNBDDL.js +3 -3
- package/dist/_shared/startup-14-0-MLX36RBG.js +1 -1
- package/dist/_shared/startup-15-0-YUKGAC63.js +1 -1
- package/dist/_shared/startup-15-1-4S7FLMNG.js +6 -30
- package/dist/_shared/startup-15-1-4S7FLMNG.js.map +1 -1
- package/dist/_shared/startup-8-0-34CBHPZH.js +3 -3
- package/dist/_shared/startup-8-1-LZFXSD3Z.js +3 -3
- package/dist/_shared/storage-command-7MGXLJGZ.js +2 -2
- package/dist/_shared/storage-status-K7PX2RXA.js +3 -3
- package/dist/_shared/task-unsaved-answer-VJ2KTB4V.js +2 -2
- package/dist/_shared/tree-outline-MUEPK5B7.js +2 -2
- package/dist/builtin/intercom/index.bundle.mjs +1 -1
- package/dist/builtin/intercom/package.json +1 -1
- package/dist/builtin/mcp/index.bundle.mjs +1 -1
- package/dist/builtin/mcp/package.json +1 -1
- package/dist/builtin/subagents/package.json +1 -1
- package/dist/builtin/subagents/src/extension/index.bundle.mjs +1 -1
- package/dist/builtin/web-access/index.bundle.mjs +1 -1
- package/dist/builtin/web-access/package.json +1 -1
- package/dist/cli/auth-cli.code.js +1 -1
- package/dist/cli/auth-cli.impl.js +3 -3
- package/dist/cli/auth-cli.js +3 -3
- package/dist/cli/blueprint-command.impl.js +3 -3
- package/dist/cli/blueprint-command.js +3 -3
- package/dist/cli/intercom-command.code.js +3 -3
- package/dist/cli/intercom-command.impl.js +3 -3
- package/dist/cli/intercom-command.js +3 -3
- package/dist/cli/list-models.impl.js +3 -3
- package/dist/cli/list-models.js +3 -3
- package/dist/cli/session-picker.code.js +1 -1
- package/dist/cli/session-picker.impl.js +3 -3
- package/dist/cli/session-picker.js +3 -3
- package/dist/cli/startup-ui.code.js +1 -1
- package/dist/cli/startup-ui.impl.js +3 -3
- package/dist/cli/startup-ui.js +3 -3
- package/dist/cli/storage-command.impl.js +3 -3
- package/dist/cli/storage-command.js +3 -3
- package/dist/cli/storage-search-session.code.js +1 -1
- package/dist/cli/storage-search-session.impl.js +3 -3
- package/dist/cli/storage-search-session.js +3 -3
- package/dist/cli/team-command.code.js +1 -1
- package/dist/cli/team-command.impl.js +3 -3
- package/dist/cli/team-command.js +3 -3
- package/dist/cli.js +2 -2
- package/dist/core/compaction/compactor.d.ts +0 -8
- package/dist/core/debug.impl.js +3 -3
- package/dist/core/debug.js +3 -3
- package/dist/core/export-html/card-projection.impl.js +3 -3
- package/dist/core/export-html/card-projection.js +3 -3
- package/dist/core/export-html/index.code.js +2 -2
- package/dist/core/export-html/index.impl.js +3 -3
- package/dist/core/export-html/index.js +3 -3
- package/dist/core/export-html/json-spans.impl.js +3 -3
- package/dist/core/export-html/json-spans.js +3 -3
- package/dist/core/export-html/oversized-render-inputs.impl.js +3 -3
- package/dist/core/export-html/oversized-render-inputs.js +3 -3
- package/dist/core/export-html/tool-renderer.impl.js +3 -3
- package/dist/core/export-html/tool-renderer.js +3 -3
- package/dist/core/extensions/jiti-loader.impl.js +3 -3
- package/dist/core/extensions/jiti-loader.js +3 -3
- package/dist/core/extensions/jiti-static-loader.impl.js +3 -3
- package/dist/core/extensions/jiti-static-loader.js +3 -3
- package/dist/core/extensions/loader-host-modules.impl.js +3 -3
- package/dist/core/extensions/loader-host-modules.js +3 -3
- package/dist/core/intercom-broker-control-host.code.js +1 -1
- package/dist/core/intercom-broker-control-host.impl.js +3 -3
- package/dist/core/intercom-broker-control-host.js +3 -3
- package/dist/core/intercom-broker-control.code.js +2 -2
- package/dist/core/intercom-broker-control.impl.js +3 -3
- package/dist/core/intercom-broker-control.js +3 -3
- package/dist/core/package-manager-storage-adapters.impl.js +3 -3
- package/dist/core/package-manager-storage-adapters.js +3 -3
- package/dist/core/sdk.code.js +1 -1
- package/dist/core/sdk.impl.js +3 -3
- package/dist/core/sdk.js +3 -3
- package/dist/core/session-manager-core.js +3 -3
- package/dist/core/session-manager-list.impl.js +3 -3
- package/dist/core/session-manager-list.js +3 -3
- package/dist/core/session-manager.impl.js +3 -3
- package/dist/core/session-manager.js +3 -3
- package/dist/core/session-storage.impl.js +3 -3
- package/dist/core/session-storage.js +3 -3
- package/dist/core/storage/index.js +2 -2
- package/dist/core/storage/node-sqlite-thread.js +2 -2
- package/dist/core/storage/node-sqlite.js +2 -2
- package/dist/core/storage/offline-snapshot-file.impl.js +3 -3
- package/dist/core/storage/offline-snapshot-file.js +3 -3
- package/dist/core/storage/provider.js +2 -2
- package/dist/core/storage/selection.js +2 -2
- package/dist/core/storage/session/branch-fork-source.code.js +2 -2
- package/dist/core/storage/session/branch-fork-source.impl.js +3 -3
- package/dist/core/storage/session/branch-fork-source.js +3 -3
- package/dist/core/storage/session/card-view.impl.js +3 -3
- package/dist/core/storage/session/card-view.js +3 -3
- package/dist/core/storage/session/child-reader.code.js +2 -2
- package/dist/core/storage/session/child-reader.impl.js +3 -3
- package/dist/core/storage/session/child-reader.js +3 -3
- package/dist/core/storage/session/chunked-resume-projection.impl.js +3 -3
- package/dist/core/storage/session/chunked-resume-projection.js +3 -3
- package/dist/core/storage/session/expanded-child-details.code.js +2 -2
- package/dist/core/storage/session/expanded-child-details.impl.js +3 -3
- package/dist/core/storage/session/expanded-child-details.js +3 -3
- package/dist/core/storage/session/fork-row-bytes.impl.js +3 -3
- package/dist/core/storage/session/fork-row-bytes.js +3 -3
- package/dist/core/storage/session/fork-row-index.impl.js +3 -3
- package/dist/core/storage/session/fork-row-index.js +3 -3
- package/dist/core/storage/session/fork-staging.code.js +1 -1
- package/dist/core/storage/session/fork-staging.impl.js +3 -3
- package/dist/core/storage/session/fork-staging.js +3 -3
- package/dist/core/storage/session/fork-window.code.js +2 -2
- package/dist/core/storage/session/fork-window.impl.js +3 -3
- package/dist/core/storage/session/fork-window.js +3 -3
- package/dist/core/storage/session/history-pages.impl.js +3 -3
- package/dist/core/storage/session/history-pages.js +3 -3
- package/dist/core/storage/session/jsonl-entry-projection.impl.js +3 -3
- package/dist/core/storage/session/jsonl-entry-projection.js +3 -3
- package/dist/core/storage/session/jsonl-session-store.impl.js +3 -3
- package/dist/core/storage/session/jsonl-session-store.js +3 -3
- package/dist/core/storage/session/memory-session-store.impl.js +3 -3
- package/dist/core/storage/session/memory-session-store.js +3 -3
- package/dist/core/storage/session/pinned-branch-resume.code.js +2 -2
- package/dist/core/storage/session/pinned-branch-resume.impl.js +3 -3
- package/dist/core/storage/session/pinned-branch-resume.js +3 -3
- package/dist/core/storage/session/released-history-files.code.js +1 -1
- package/dist/core/storage/session/released-history-files.impl.js +3 -3
- package/dist/core/storage/session/released-history-files.js +3 -3
- package/dist/core/storage/session/resident-fork-rows.impl.js +3 -3
- package/dist/core/storage/session/resident-fork-rows.js +3 -3
- package/dist/core/storage/session/session-resume.impl.js +3 -3
- package/dist/core/storage/session/session-resume.js +3 -3
- package/dist/core/storage/session/snapshot-cut.impl.js +3 -3
- package/dist/core/storage/session/snapshot-cut.js +3 -3
- package/dist/core/storage/session/snapshot-history.code.js +2 -2
- package/dist/core/storage/session/snapshot-history.impl.js +3 -3
- package/dist/core/storage/session/snapshot-history.js +3 -3
- package/dist/core/storage/session/sql-session-store.code.js +1 -1
- package/dist/core/storage/session/sql-session-store.impl.js +3 -3
- package/dist/core/storage/session/sql-session-store.js +3 -3
- package/dist/core/storage/session/tree-outline.impl.js +3 -3
- package/dist/core/storage/session/tree-outline.js +3 -3
- package/dist/core/storage/session/tree-presentation.impl.js +3 -3
- package/dist/core/storage/session/tree-presentation.js +3 -3
- package/dist/core/storage/storage-status.impl.js +3 -3
- package/dist/core/storage/storage-status.js +3 -3
- package/dist/core/storage/team.impl.js +3 -3
- package/dist/core/storage/team.js +3 -3
- package/dist/core/structured-output/index.code.js +1 -1
- package/dist/core/structured-output/index.impl.js +3 -3
- package/dist/core/structured-output/index.js +3 -3
- package/dist/core/tasks/task-completion-entry.impl.js +3 -3
- package/dist/core/tasks/task-completion-entry.js +3 -3
- package/dist/core/tasks/task-file-history.code.js +2 -2
- package/dist/core/tasks/task-file-history.impl.js +3 -3
- package/dist/core/tasks/task-file-history.js +3 -3
- package/dist/core/tasks/task-reference-archive.code.js +2 -2
- package/dist/core/tasks/task-reference-archive.js +3 -3
- package/dist/core/tasks/task-reference-identity.js +3 -3
- package/dist/core/tasks/task-reference-stream.impl.js +3 -3
- package/dist/core/tasks/task-reference-stream.js +3 -3
- package/dist/core/tasks/task-unsaved-answer.impl.js +3 -3
- package/dist/core/tasks/task-unsaved-answer.js +3 -3
- package/dist/core/tasks/task-view-source.impl.js +3 -3
- package/dist/core/tasks/task-view-source.js +3 -3
- package/dist/core/tools/read-url.impl.js +3 -3
- package/dist/core/tools/read-url.js +3 -3
- package/dist/core/worktree-snapshot/blob-store.js +2 -2
- package/dist/core/worktree-snapshot/errors.code.js +1 -1
- package/dist/core/worktree-snapshot/errors.impl.js +3 -3
- package/dist/core/worktree-snapshot/errors.js +3 -3
- package/dist/core/worktree-snapshot/session-index-reset.impl.js +3 -3
- package/dist/core/worktree-snapshot/session-index-reset.js +3 -3
- package/dist/extensions/codemode/execute.impl.js +3 -3
- package/dist/extensions/codemode/execute.js +3 -3
- package/dist/extensions/codemode/renderer.impl.js +3 -3
- package/dist/extensions/codemode/renderer.js +3 -3
- package/dist/extensions/mcp/cli.code.js +1 -1
- package/dist/extensions/mcp/cli.impl.js +3 -3
- package/dist/extensions/mcp/cli.js +3 -3
- package/dist/extensions/mcp/cli.lazy.code.js +2 -2
- package/dist/extensions/mcp/cli.lazy.impl.js +3 -3
- package/dist/extensions/mcp/cli.lazy.js +3 -3
- package/dist/extensions/mcp/runtime.code.js +1 -1
- package/dist/extensions/mcp/runtime.impl.js +3 -3
- package/dist/extensions/mcp/runtime.js +3 -3
- package/dist/index.d.ts +21 -1
- package/dist/index.js +2 -2
- package/dist/main-first-time-setup.code.js +1 -1
- package/dist/main-first-time-setup.impl.js +3 -3
- package/dist/main-first-time-setup.js +3 -3
- package/dist/modes/interactive/components/stored-tree-view.code.js +2 -2
- package/dist/modes/interactive/components/stored-tree-view.impl.js +3 -3
- package/dist/modes/interactive/components/stored-tree-view.js +3 -3
- package/dist/modes/interactive/components/user-message-selector-archive.impl.js +3 -3
- package/dist/modes/interactive/components/user-message-selector-archive.js +3 -3
- package/dist/modes/print-mode.js +1 -1
- package/dist/package-manager-cli.code.js +2 -2
- package/dist/package-manager-cli.impl.js +3 -3
- package/dist/package-manager-cli.js +3 -3
- package/dist/startup-files.json +1 -1
- package/dist/startup-stages/6.js +1 -1
- package/dist/utils/startup-database-spare.code.js +1 -1
- package/dist/utils/startup-database-spare.impl.js +3 -3
- package/dist/utils/startup-database-spare.js +3 -3
- package/dist/utils/tools-manager.impl.js +3 -3
- package/dist/utils/tools-manager.js +3 -3
- package/docs/background-tasks/reference.md +182 -0
- package/docs/background-tasks.md +98 -405
- package/docs/build.md +67 -27
- package/docs/changelog.mdx +1 -1
- package/docs/codemode.md +108 -39
- package/docs/compaction/branch-summaries.md +54 -0
- package/docs/compaction/custom-compactors.md +161 -0
- package/docs/compaction/memory-compaction.md +77 -0
- package/docs/compaction/reference.md +86 -38
- package/docs/compaction.md +51 -252
- package/docs/computer-use.md +169 -321
- package/docs/containerization.md +71 -57
- package/docs/custom-provider/api-reference.md +119 -25
- package/docs/custom-provider/oauth.md +114 -132
- package/docs/custom-provider/override.md +37 -27
- package/docs/custom-provider/registration.md +107 -83
- package/docs/custom-provider/streaming.md +85 -71
- package/docs/custom-provider.md +85 -52
- package/docs/development.md +39 -29
- package/docs/docs.json +76 -63
- package/docs/environment-variables.md +94 -44
- package/docs/extensions/api-reference.md +86 -43
- package/docs/extensions/authoring.md +162 -154
- package/docs/extensions/events.md +80 -25
- package/docs/extensions/examples.md +90 -85
- package/docs/extensions/ui.md +206 -82
- package/docs/extensions.md +79 -108
- package/docs/getting-started/authentication.md +67 -36
- package/docs/getting-started/first-session.md +53 -43
- package/docs/getting-started/installation.md +116 -89
- package/docs/getting-started/project-instructions.md +48 -34
- package/docs/guides/configuration.md +82 -20
- package/docs/guides/non-interactive.md +66 -24
- package/docs/guides/resume-on-any-machine.md +135 -82
- package/docs/guides/team-setup.md +114 -105
- package/docs/guides.md +76 -32
- package/docs/herdr.md +15 -16
- package/docs/how-atomic-works.md +140 -0
- package/docs/index.md +58 -44
- package/docs/intercom/operations.md +141 -151
- package/docs/intercom/reference.md +85 -108
- package/docs/intercom.md +84 -145
- package/docs/json.md +120 -67
- package/docs/keybindings.md +85 -49
- package/docs/libraries/agent-core.md +137 -275
- package/docs/libraries/ai.md +100 -84
- package/docs/libraries/codemode.md +210 -300
- package/docs/libraries/schema.md +59 -53
- package/docs/libraries/storage-postgres.md +49 -35
- package/docs/libraries/telemetry.md +153 -354
- package/docs/libraries/tui.md +265 -393
- package/docs/libraries.md +42 -26
- package/docs/llama-cpp.md +171 -161
- package/docs/mcp-servers.md +90 -51
- package/docs/models/choose-a-model.md +188 -0
- package/docs/models/reference.md +74 -30
- package/docs/models.md +153 -88
- package/docs/orchestration/migrating-workflows.md +23 -16
- package/docs/orchestration/patterns.md +39 -44
- package/docs/orchestration.md +65 -26
- package/docs/packages/authoring.md +51 -29
- package/docs/packages/reference.md +42 -21
- package/docs/packages.md +69 -58
- package/docs/programmatic.md +118 -24
- package/docs/prompt-templates.md +84 -83
- package/docs/providers/reference.md +43 -48
- package/docs/providers.md +219 -451
- package/docs/quickstart.md +140 -120
- package/docs/reference/cli.md +135 -97
- package/docs/reference.md +20 -18
- package/docs/rpc/examples.md +76 -20
- package/docs/rpc/extension-ui.md +64 -38
- package/docs/rpc/protocol.md +361 -110
- package/docs/rpc.md +57 -17
- package/docs/sdk/reference.md +409 -534
- package/docs/sdk/storage.md +53 -13
- package/docs/sdk/structured-decisions.md +82 -56
- package/docs/sdk/web-server.md +57 -43
- package/docs/sdk.md +106 -84
- package/docs/security.md +42 -64
- package/docs/session-format.md +62 -38
- package/docs/sessions.md +99 -214
- package/docs/settings.md +165 -195
- package/docs/shell-aliases.md +9 -6
- package/docs/skills/authoring.md +69 -48
- package/docs/skills/reference.md +51 -20
- package/docs/skills.md +99 -148
- package/docs/slash-commands.md +129 -0
- package/docs/storage/custom-adapters.md +160 -85
- package/docs/storage/jsonl.md +81 -66
- package/docs/storage/postgres/pgbouncer.md +120 -126
- package/docs/storage/postgres/tuning.md +120 -143
- package/docs/storage/postgres.md +314 -330
- package/docs/storage/sqlite.md +71 -42
- package/docs/storage.md +298 -302
- package/docs/subagents/authoring.md +55 -38
- package/docs/subagents/reference.md +73 -33
- package/docs/subagents.md +119 -187
- package/docs/terminal-setup.md +50 -38
- package/docs/termux.md +67 -41
- package/docs/themes/reference.md +23 -19
- package/docs/themes.md +142 -127
- package/docs/tmux.md +47 -55
- package/docs/tools.md +147 -109
- package/docs/tui/reference.md +166 -214
- package/docs/tui.md +196 -341
- package/docs/usage.md +118 -138
- package/docs/verification.md +79 -51
- package/docs/web-access.md +121 -101
- package/docs/windows.md +26 -27
- package/docs/worktree-snapshots/reference.md +245 -0
- package/docs/worktree-snapshots.md +71 -259
- package/package.json +8 -8
- package/dist/_shared/startup-0-2-5QHPCEON.js.map +0 -1
- package/docs/guides/intercom.md +0 -32
- package/docs/guides/orchestration.md +0 -28
- 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: "
|
|
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
|
|
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
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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
|
|
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
|
-
>
|
|
43
|
-
|
|
44
|
-
>
|
|
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
|
-
|
|
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),
|
|
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
|
-
-
|
|
61
|
-
-
|
|
62
|
-
- In `~/.
|
|
63
|
-
-
|
|
64
|
-
- Scanning respects `.gitignore`, `.ignore`, and `.fdignore
|
|
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` (
|
|
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
|
|
71
|
+
### Precedence
|
|
70
72
|
|
|
71
|
-
When multiple distinct skill files
|
|
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
|
-
|
|
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
|
-
###
|
|
79
|
+
### Use skills from other tools
|
|
87
80
|
|
|
88
|
-
To
|
|
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
|
-
|
|
108
|
-
|
|
109
|
-
|
|
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 (
|
|
133
|
-
3. When a task matches, the agent
|
|
134
|
-
4.
|
|
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
|
-
|
|
111
|
+
Only skill descriptions stay in context by default; full instructions load on demand.
|
|
137
112
|
|
|
138
|
-
|
|
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
|
-
|
|
117
|
+
## Skill addresses
|
|
141
118
|
|
|
142
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
141
|
+
### Reading a skill or files inside it
|
|
167
142
|
|
|
168
|
-
|
|
143
|
+
Use `skill://` addresses with `read`, `search`, and `find`:
|
|
169
144
|
|
|
170
145
|
| To get | Use |
|
|
171
146
|
| --- | --- |
|
|
172
|
-
| The skill's instructions (
|
|
173
|
-
| Another file
|
|
174
|
-
| A
|
|
175
|
-
|
|
|
176
|
-
| Files in the skill
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
-
|
|
257
|
-
|
|
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
|
-
|
|
234
|
+
Every loaded skill registers a `/skill:name` slash command:
|
|
262
235
|
|
|
263
|
-
```
|
|
264
|
-
/skill:brave-search # Load and
|
|
265
|
-
/skill:pdf-tools extract # Load skill with
|
|
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
|
|
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
|
-
```
|
|
271
|
-
/skill:review
|
|
272
|
-
/skill:review@project
|
|
273
|
-
/skill:review@user
|
|
274
|
-
/skill:review@builtin
|
|
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
|
|
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
|
-
|
|
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
|
|
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`
|
|
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
|
-
|
|
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
|
-
|
|
314
|
-
|
|
315
|
-
If a skill command
|
|
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)
|
|
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.
|