Files
pipelines/docs/skills.md
T
alan 81d6af04c2 Stages: offer every operator Claude Code skill without an import step
Claude stages always get the Skill tool (bare Skill allow rule) and no
longer pass --disable-slash-commands or the disableBundledSkills settings
layer, so Claude Code's bundled skills are available. --setting-sources ""
stays, so the operator's personal (~/.claude/skills), claude.ai synced and
enabled-plugin skill folders are discovered per visit and passed as
generated skills-only session plugins (plugin.json plus skills/<name>
symlinks; no hooks, MCP servers or commands) after the skills block's own
plugin. The ambient-skill stream guard is removed.

Pi stages keep --no-skills (Pi's own discovery) and add --skill for each
block skill, then each operator skill folder, with read access to those
folders. OpenCode tool-using stages allow OpenCode's own skill tool for
exactly the personal and synced Claude skill names it discovers, plus
external_directory reads of their folders. Bundled Claude Code skills have
no folder and stay unavailable to Pi and OpenCode (documented).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 20:52:09 +00:00

2.6 KiB

Skills

pipelines skills import FOLDER validates a skill locally and, after confirmation, sends its bytes to the server. A bundle contains one root SKILL.md with YAML frontmatter (name and description) and may contain only references/, scripts/, and assets/. Symlinks, traversal paths, nested SKILL.md files, executables outside scripts/, and oversized bundles are rejected. Files are fingerprinted in sorted path order with SHA-256; importing the same digest is idempotent. The server keeps immutable versions in SQLite metadata and stores their files below its data directory. Chats do not load library skills.

A model stage turns skills on with a skills block, one name (latest at run start) or name@N (pinned) per line; drafts and publications are validated against this library. A run records the resolved name@N per stage when it starts (stage_skills on the run, skills on each step) and retry reuses those versions, so importing a newer version never changes a run or its retries. Each visit copies exactly the resolved bundles, read-only, into <artifacts>/<run>/skills/<NN>-<stage>/skills/<name>/ (outside the workspace and the inventoried turn directory) and gives them to the harness: see the Skills section of internal/author/skill/references/format.md and the per-harness notes in harnesses.md.

Library skills are not the only ones a stage sees. Without any import or skills block, every model stage can also use the execution user's own Claude Code skills, found afresh for each visit in CLAUDE_CONFIG_DIR (else ~/.claude): personal skills/<name>/ folders (symlinks included), claude.ai synced skills/synced/<bucket>/<name>/ folders, and the skill folders of plugins enabled in settings.json. Only skill folders are offered, never a plugin's hooks, MCP servers or commands, and user settings stay unloaded.

Harness Bundled Claude Code skills Operator skills Library (skills block)
claude yes (code-review, dataviz, ...) personal user:<name>, synced anthropic-skills:<name>, plugin <plugin>:<name> pipelines-stage:<name>
pi no (no folder) --skill <dir> each; needs read --skill <dir>, listed first
opencode no (no folder) personal and synced, via OpenCode's own skill tool; not plugin skills; not text-only stages instruction entries (V2)

A library skill with the same name as an operator skill wins on Pi; on Claude both are listed under their own plugin names.

Use pipelines skills list and pipelines skills show NAME [--version N] to inspect imported versions.