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/trustor--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:
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.Locations
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/incwdand ancestor directories up to the Git repository root (or the filesystem root outside a repository). - Packages:
skills/directories,atomic.skills, or legacypi.skillsentries inpackage.json. - Settings: The
skillsarray in global or projectsettings.json, which accepts files, directories, and filter patterns (!glob,+path, and-pathwith~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 containingSKILL.md. After a directory containsSKILL.md, Atomic treats it as one skill root and stops recursing inside it. Never place aSKILL.mddirectly 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.mdfile and subfolder. - Standalone
.mdfiles: In~/.atomic/agent/skills/,.atomic/skills/(and legacy.pi/skills/), and directories passed with--skillorsettings.jsonskills, direct root.mdfiles with valid skill frontmatter load as individual skills. Setname:explicitly in frontmatter so standalone files don’t default toskillsand collide. .agents/skills/directories: Atomic ignores root.mdfiles in~/.agents/skills/and.agents/skills/. Place each skill in its own subdirectory withSKILL.md. Inside subdirectories that don’t containSKILL.md, other.mdfiles with valid skill frontmatter also load.- Filtering and symlinks: Atomic ignores non-skill Markdown files (such as
README.mdwithout adescriptionin frontmatter) silently. Scanning respects.gitignore,.ignore, and.fdignore, skips dotfiles, dot-directories, andnode_modules, follows symlinks, skips broken symlinks, and deduplicates multiple symlinks pointing to the same real file. Passing a non-.mdfile to--skillemits a"skill path is not a markdown file"warning.
--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:
.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:- At startup, Atomic scans every skill location and reads each skill’s name and description.
- Atomic adds available skills (excluding skills with
disable-model-invocation: true) to the system prompt in XML format per the Agent Skills integration specification. - When a task matches a description, the model opens the skill’s
skill://address withread(orbashifreadis disabled). Models don’t always load a skill automatically, so ask explicitly or run/skill:<name>when you want a specific skill. - When the skill references a supporting file such as
references/guide.md, the model reads it atskill://<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 shortskill://<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
Whenread is enabled and one skill is installed, Atomic adds the following XML block to the system prompt:
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
Useskill:// 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 unquotedskill:// address wherever a file path is expected. Atomic replaces each unquoted address with the file’s real path before running the command:
- Write the address as a separate unquoted word; quoted strings (
"skill://...") stay literal. bashalso expandsskill://addresses inside itscwdandenvarguments.- If
skill://<name>isn’t in the loaded skill catalog, Atomic falls back to<cwd>/.agents/skills/<name>/...and<cwd>/packages/subagents/skills/<name>/.... Inbash, 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 isskill://<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 sameskill:// 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:
/reload, then invoke the skill with a target path:
GUIDE_PATH: the path to the guide you want reviewed, for exampledocs/install.md.
/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:
/skill:<name> runs the precedence winner and Atomic adds source-qualified commands for each candidate:
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
skillsoverrides 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-onlysubagentskill can’t be injected into a child, even withsubagent@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.
/skill: autocomplete suggestions on or off, use /settings or set enableSkillCommands in settings.json (default true):
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, orCtrl+Qon 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, andxlsx) and web development examples compatible with the Agent Skills standard.
Next steps
Continue customizing skills with these guides:- Follow a step-by-step layout and worked example in Write a custom skill.
- Check every frontmatter field and collision qualifier rule in Skill format reference.
- Bundle skills for your team in Create and publish packages.