Skip to main content
This guide is for developers using and organizing reusable skills in Atomic. Skills bundle specialized procedures, helper scripts, and reference documents that load on demand instead of filling the context window on every turn. By the end of this page, you can run bundled skills, organize global and project skill folders, reference bundled files with skill:// Uniform Resource Identifier (URI) addresses, and troubleshoot common loading errors. To write a custom skill from scratch, see Write a custom skill. To check every frontmatter field and validation rule, see Skill format reference. Atomic implements the Agent Skills standard. It reports validation warnings while still loading valid skills leniently.

Write a custom skill

Structure a skill folder, invoke helper scripts with skill://, and follow a complete example.

Skill format reference

Check SKILL.md frontmatter fields, validation rules, collision qualifiers, and XML expansion format.

SDK skills reference

Load, filter, or override skills programmatically from @bastani/atomic.

Install and manage packages

Install, update, and filter skill collections distributed as Atomic packages.

Before you begin

Before adding or running project skills, confirm the following:
  • Atomic is installed and available on your PATH.
  • For project skills under .atomic/skills/ or .agents/skills/, you have granted project trust with /trust or --approve.

Quick start

Invoke any bundled skill directly in chat with /skill:<name>. For example, to start a test-driven bug fix, enter the following prompt:
To add your own project skill, complete these steps in a trusted project:
1

Create the skill file

Save the following file as .atomic/skills/release-check/SKILL.md:
2

Reload your session

Run /reload in an active Atomic session so Atomic picks up the skill without restarting.
3

Verify the skill

Type /skill:release-check in the editor. Confirm that autocomplete lists release-check with its description and submitting the command runs the checklist.
For multi-file layouts, helper scripts, and reference folders, see Write a custom skill.

Locations

Skills can instruct the model to run shell commands and can bundle executable scripts. Review third-party skills before you enable them. Project skills load only after you grant project trust.
Atomic loads skills from the following sources:
  • Global directories: ~/.atomic/agent/skills/ (%USERPROFILE%\.atomic\agent\skills\ on Windows; legacy ~/.pi/agent/skills/ is also read) and ~/.agents/skills/.
  • Project directories (trusted projects only): .atomic/skills/ (legacy .pi/skills/ is also read), plus .agents/skills/ in cwd and ancestor directories up to the Git repository root (or the filesystem root outside a repository).
  • Packages: skills/ directories, atomic.skills, or legacy pi.skills entries in package.json.
  • Settings: The skills array in global or project settings.json, which accepts files, directories, and filter patterns (!glob, +path, and -path with ~ expansion; see Package filtering).
  • CLI: --skill <path>, which can be repeated and still loads when --no-skills (-ns) is set (see CLI resource options).

Discovery rules

Atomic applies the following rules when scanning skill directories:
  • Skill directories (SKILL.md): Atomic scans every skill location recursively for directories containing SKILL.md. After a directory contains SKILL.md, Atomic treats it as one skill root and stops recursing inside it. Never place a SKILL.md directly inside a top-level skills directory such as ~/.atomic/agent/skills/SKILL.md—that turns the entire directory into one skill and hides every sibling .md file and subfolder.
  • Standalone .md files: In ~/.atomic/agent/skills/, .atomic/skills/ (and legacy .pi/skills/), and directories passed with --skill or settings.json skills, direct root .md files with valid skill frontmatter load as individual skills. Set name: explicitly in frontmatter so standalone files don’t default to skills and collide.
  • .agents/skills/ directories: Atomic ignores root .md files in ~/.agents/skills/ and .agents/skills/. Place each skill in its own subdirectory with SKILL.md. Inside subdirectories that don’t contain SKILL.md, other .md files with valid skill frontmatter also load.
  • Filtering and symlinks: Atomic ignores non-skill Markdown files (such as README.md without a description in frontmatter) 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.
To disable default and bundled skill discovery, pass --no-skills (-ns). Skills from -e packages and explicit --skill <path> flags still load.

Precedence

When multiple distinct skill files declare the same name, bare /skill:<name> runs the first match in this order: 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. To let a --skill path win bare /skill:<name> over an existing or bundled skill, pass --no-skills (-ns) alongside --skill. See Resource precedence order for the complete eight-level precedence list.

Use skills from other tools

To reuse skills stored for other coding agents, add their directories to ~/.atomic/agent/settings.json:
To share a skill directory at the project level, add a relative path to .atomic/settings.json (legacy .pi/settings.json is also supported):
To load, filter, or override skills programmatically from Node.js—or to disable the 21 bundled @bastani/subagents skills (builtins: { subagents: false }) or keep them without exposing the subagent tool (excludedTools: ["subagent"])—see SDK skills.

How skills work

Only skill names and descriptions stay in context by default; full instructions load on demand. At runtime, Atomic follows these steps:
  1. At startup, Atomic scans every skill location and reads each skill’s name and description.
  2. Atomic adds available skills (excluding skills with disable-model-invocation: true) to the system prompt in XML format per the Agent Skills integration specification.
  3. When a task matches a description, the model opens the skill’s skill:// address with read (or bash if read is disabled). Models don’t always load a skill automatically, so ask explicitly or run /skill:<name> when you want a specific skill.
  4. When the skill references a supporting file such as references/guide.md, the model reads it at skill://<name>/references/guide.md.
If both read and bash are disabled (for example with --no-tools or --tools edit,write), Atomic omits <available_skills> from the system prompt because the model has no tool to open skill:// files. Manual /skill:<name> invocation still expands into your prompt.

Skill addresses

Every loaded skill receives a short skill://<name> address, such as skill://tdd. Using skill:// addresses keeps the system prompt concise, hides local home paths from model context, and keeps sessions portable across machines.

What the model sees

When read is enabled and one skill is installed, Atomic adds the following XML block to the system prompt:
When read is disabled and bash is active, the instruction tells the model to run cat skill://<name> instead.

Read a skill or files inside it

Use skill:// addresses with read, search, and find. The following table lists common address patterns: Reading a full skill (skill://<name> with no subpath or line range) prepends Base directory for this skill: skill://<name>/ so relative paths inside the instructions resolve against that folder.

Run a skill’s scripts

Shell commands accept an unquoted skill:// address wherever a file path is expected. Atomic replaces each unquoted address with the file’s real path before running the command:
Keep the following shell expansion rules in mind:
  • Write the address as a separate unquoted word; quoted strings ("skill://...") stay literal.
  • bash also expands skill:// addresses inside its cwd and env arguments.
  • If skill://<name> isn’t 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 doesn’t resolve passes through as literal text instead of failing.

Two skills with the same name

When only one file declares a name, its address is skill://<name>. 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. The bare address skill://tdd still opens the precedence winner. A qualified address must match exactly one skill. If two project directories both define tdd, Atomic refuses skill://tdd@project and lists 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.

Read-only containment

skill:// addresses are read-only. Atomic refuses writes and edits through skill:// and rejects traversal paths that leave the skill folder (such as skill://tdd/../other). Containment checks are lexical, so symlinks that a skill author places inside the skill folder are followed. To modify a skill, edit its files on disk.

Subagents and older sessions

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 you resume them.

Skills as workflows

Save a repeatable multi-step routine as a skill when you expect to run the same steps again. For a one-off job, ask in chat instead. A workflow skill can instruct the main session to use codemode for short tool calls and subagents for separate background jobs, though a skill doesn’t grant extra tools or permissions. In a trusted project, save the following example as .atomic/skills/review-guide/SKILL.md:
Run /reload, then invoke the skill with a target path:
Replace the following:
  • GUIDE_PATH: the path to the guide you want reviewed, for example docs/install.md.
If a run is interrupted, open the original chat and check /tasks before retrying because a subagent might still be running. For launch and recovery patterns, see Orchestration. Ask /skill:workflow to help design a workflow skill, explain how orchestration pieces fit together, or convert an older workflow file or removed built-in.

Bundled skills

Atomic ships 22 bundled skills: 21 from @bastani/subagents and intercom from @bastani/intercom. The model can load any bundled skill automatically when a task matches, or you can invoke it directly with /skill:<name>. The following table lists every bundled skill:

Setup notes for specific bundled skills

Some bundled skills require external CLIs or permissions. The following table lists their prerequisites and behavior notes:

Skill commands

Every loaded skill registers a /skill:<name> slash command. For example, run a skill alone or pass extra instructions after its name:
When two or more distinct skill files share the same name, bare /skill:<name> runs the precedence winner and Atomic adds source-qualified commands for each candidate:
Source-qualified aliases exist only while a name collision exists. If only one skill defines tdd, /skill:tdd exists and /skill:tdd@builtin doesn’t. Aliases recalculate on /reload. Keep these selection rules in mind:
  • 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. Atomic leaves the original /skill:... text unexpanded and sends it verbatim to the model.
  • 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 can’t be injected into a child, even with subagent@builtin.
  • Technical format: For tie-breaking qualifier rules, the <skill> XML wrapper format, and programmatic inspection from extensions and Remote Procedure Call (RPC) clients, see Collision qualifiers and expansion.
To turn /skill: autocomplete suggestions on or off, use /settings or set enableSkillCommands in settings.json (default true):
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.

Use skills while viewing a subagent

When you select a subagent from the agent panel or /tasks, /skill: suggestions, @ and 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. Skill commands inside a subagent view follow these rules:
  • Press Enter to start a turn when idle or steer a streaming turn. Press app.message.followUp (Alt+Enter, or Ctrl+Q on Windows and Windows Subsystem for Linux (WSL)) to queue the expanded skill as a follow-up.
  • 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.
  • If a skill command was queued while the session was paused, restore it to the editor and submit it again after resuming so it expands.
  • 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.

Troubleshooting

The following table lists common skill loading and invocation issues and how to fix them:

Skill repositories

Browse compatible Agent Skills collections in the following repository:
  • Anthropic Skills — document processing (docx, pdf, pptx, and xlsx) and web development examples compatible with the Agent Skills standard.

Next steps

Continue customizing skills with these guides: