Skills#
Author reusable procedural packages that capture playbooks, checklists, and reasoning guides around tools.
What is a skill?#
A kind: "skill" package is reusable operational know-how. A skill is not a runnable SDK tool by itself. Instead, it packages:
- a primary manual, usually
SKILL.md - optional reference files and helper scripts
- optional tool dependencies declared in top-level
tools[] - descriptive compatibility metadata for discovery and export surfaces
Skills can be:
- pure process artifacts with no tools at all
- tool-backed playbooks that describe how and when to use one or more packaged tools
- reusable workflow guidance that an agent runtime, host app, or human can inspect after install
When to use a Skill#
Use a Skill when the thing you want to version is the procedure around work:
- how to approach a task
- what order to do things in
- what checks or guardrails belong around tool usage
- what references and helper scripts belong with that workflow
Choose a Tool when you are packaging a directly executable capability with a concrete entrypoint, runtime, and IO contract.
Choose an Agent when you are packaging a reusable composed unit that depends on tools and/or skills and is meant to be installed as a larger package.
Choose a Template when you are packaging a starter project or starter system that someone will generate into a new directory and then customize.
Rule of thumb:
- Tool = "do this action"
- Skill = "follow this procedure"
- Agent = "compose these dependencies into a reusable package"
- Template = "start a new project from this scaffold"
If the main value is executable code invoked through the SDKs, it should be a Tool. If the main value is the manual, references, scripts, and tool-backed workflow around that code, it should be a Skill.
Inspect a selected Skill release#
The Registry page leads with Instructions & resources and Tool dependencies.
Entrypoint, reference and script paths come from the selected manifest. Full authored
instructions remain in Instructions (the existing /manual URL), while a distinct
author README remains in Readme. Compatibility hints sit beneath Tool dependencies;
the dependency panel is omitted when the Skill declares no Tools.
Listing or installing a helper script does not execute it.
Tool dependency rows preserve authored version selectors. Exact version links appear only when the current authorized dependency graph and route identity identify a unique match. Inaccessible, incomplete or ambiguous resolution remains unavailable; it is never filled from an arbitrary same-name installed version. Current resolution is not a historical lock or verification of downloaded bytes.
Get started offers installation, links to the instructions/binding guidance, and Node/Python SDK loading. A Skill is procedural guidance, not a standalone Tool or Harness Run. Loading its definition does not execute its scripts or Tool dependencies. Author-declared runtime/model/environment hints are advisory; they do not establish Runner support or your local readiness. Evidence and Source remain separate, and legacy APDS inference does not become a conformance result.
Scaffold a skill#
agentpm init --kind skill --name incident-commander --description "Incident response coordination playbook"Creates:
incident-commander/
agent.json
SKILL.mdGenerated skeleton (agent.json):
{
"$schema": "https://raw.githubusercontent.com/agentpm-dev/cli/refs/tags/apds-v1.0.0/standards/agentpm/1.0.0/manifest.schema.json",
"standard": {
"id": "agentpm",
"version": "1.0.0"
},
"kind": "skill",
"name": "incident-commander",
"version": "0.1.0",
"description": "Incident response coordination playbook",
"skill": {
"entrypoint": "SKILL.md"
}
}Tool-backed example#
{
"$schema": "https://raw.githubusercontent.com/agentpm-dev/cli/refs/tags/apds-v1.0.0/standards/agentpm/1.0.0/manifest.schema.json",
"standard": { "id": "agentpm", "version": "1.0.0" },
"kind": "skill",
"name": "slack-incident-update",
"version": "0.1.0",
"description": "A playbook for posting structured incident updates to Slack.",
"tools": [
{
"name": "@zack/slack-post-message",
"version": "0.1.1"
}
],
"skill": {
"entrypoint": "SKILL.md",
"references": ["references/tool-contract.md", "references/examples.md"],
"scripts": ["scripts/run.sh"],
"compatibility": {
"model_families": ["gpt-5"],
"runtimes": ["agentpm-run", "shell"],
"environments": ["prod"]
}
}
}Field reference#
| Field | Type | Required | Notes |
|---|---|---|---|
$schema | string | no | Optional schema URI |
standard | object | yes for APDS | Definition contract: {"id":"agentpm","version":"1.0.0"}; see standard selection. |
kind | enum | yes | Must be "skill" |
name | string | yes | Package name |
version | semver | yes | SemVer string |
description | string | yes | Human-readable summary |
tools | array | yes | Tool package refs; may be empty ([]) |
skill.entrypoint | string | yes | Primary manual file path, usually SKILL.md |
skill.references | string[] | no | Supporting authored reference files |
skill.scripts | string[] | no | Helper scripts packaged with the skill |
skill.compatibility | object | no | Descriptive metadata only; not runtime-enforced |
readme | string | no | Optional separate README path |
license | object | no | Optional SPDX/license file metadata |
Top-level tools#
Skills declare tool dependencies with the same top-level tools[] field that agents use.
That means:
- a skill may depend on zero or more tools
- the
toolsfield is still required in the manifest, even when it is just[] agentpm installin a local skill project resolves those tools- installed and published skills can expose resolved tool refs through the SDKs
String and object forms both work:
{
"tools": [
"@zack/slack-post-message@0.1.1",
{ "name": "@zack/incident-severity", "version": "^0.2.0" }
]
}skill.entrypoint, references, scripts, and compatibility#
skill.entrypoint#
This is the primary manual file for the skill. It is required.
Typical value:
{
"skill": {
"entrypoint": "SKILL.md"
}
}skill.references#
Use this for deeper supporting material you want packaged and installed with the skill:
- tool contract notes
- prompt examples
- operating procedures
- rollout checklists
skill.scripts#
Use this for helper scripts that support the skill package. These are packaged as files, but the skill itself is still not treated as an executable SDK object.
skill.compatibility#
Compatibility is descriptive metadata only. It is useful for:
- registry discovery
- guidance for exports and adapters
- humans deciding where a skill fits
Supported compatibility arrays include:
model_familiesruntimesenvironments
It is not enforced at runtime.
Safe path rules#
All declared skill paths must be safe relative paths inside the package root.
These are rejected:
- absolute paths
- paths containing
.. - Windows drive roots
- UNC paths
Examples of invalid values:
{ "skill": { "entrypoint": "../SKILL.md" } }
{ "skill": { "entrypoint": "/tmp/SKILL.md" } }
{ "skill": { "references": ["references/../../secret.md"] } }Packaging rules#
Skill packaging is manifest-driven. A skill artifact contains only:
agent.json- the declared
skill.entrypoint - anything listed in
skill.references[] - anything listed in
skill.scripts[] - optional
readmefile when declared - optional
licensefile when declared
Important behavior:
- AgentPM preserves declared relative paths in the tarball
- AgentPM does not crawl Markdown links
- undeclared files are not included automatically
Dependency rules#
- agents may depend on skills
- skills may depend on tools
- templates may declare skill dependencies
- skills may not depend on skills
So a skill manifest must not add a top-level skills[] field as a resolved dependency surface.
Typical workflow#
agentpm init --kind skill --name incident-commander --description "Incident response coordination playbook"
agentpm lint
agentpm publish --dry-runIf the Skill declares tools[], run agentpm install when you want those tool dependencies resolved locally for development or testing. It is not required just to package and publish the Skill.
For tool-derived scaffolds, use:
agentpm export --skill @zack/slack-post-message --manifest --forceThat gives you a publishable starter you can edit into a first-class skill package.