Harness Notes

Skill invocation

Updated 2026-11-22,

On this page

How a skill gets used once it is installed: by the model on its own or by you, and what it brings with it. How skills are found and listed is on the Skill discovery page.

Questionpichecked at 1.2.0
The model choosing a skill

Yes. The model chooses a skill by matching the task against the listed description, then reads that skill's SKILL.md itself. The description is the only routing signal, so it should say both what the skill does and when to use it. The model can still miss a relevant skill; use /skill:name to force one.

Invoke a skill yourself

Type /skill:name as your message in the interactive UI, in print mode or through the RPC prompt command. Skills appear in / autocomplete unless enableSkillCommands is false, and typing the command still works in that case. If no skill has that name, the text is sent to the model unchanged.

--skill <path> loads an extra skill for one run but does not invoke it.

Pass arguments

Yes. Any text after /skill:name is added after the skill's instructions as your request, for example /skill:pdf-tools extract report.pdf. There are no placeholders such as $ARGUMENTS; the text is appended as-is.

What loads when a skill is used

With /skill:name, Pi puts the SKILL.md body, without frontmatter, into your message inside a <skill name=... location=...> block that notes the skill directory for relative paths. When the model picks a skill itself, it reads SKILL.md with its read or bash tool. Reference files and scripts are never preloaded: the model reads or runs them with its normal tools when the instructions call for it.

Tools, permissions and model

Not supported

No. The docs list allowed-tools as an experimental Agent Skills field, but the loader ignores it. Pi uses only name, description and disable-model-invocation. A skill cannot restrict tools, pre-approve tools or change the model.

Run in its own subagent

Not supported

No. A skill always runs in the current conversation, either as instructions the model reads or as text added to your message. There is no frontmatter field for running it in a subagent or a forked context.

Notes and sources

pi, 5 sources
  • Pi advertises discovered skills to the model and loads them with read.
  • --no-skills and enableSkillCommands are global controls; the cited contract does not establish a per-skill automatic-only policy analogous to disable-model-invocation.
The model choosing a skill, 1
Invoke a skill yourself, 4
Pass arguments, 2
What loads when a skill is used, 2
Tools, permissions and model, 2
Run in its own subagent, 1