Harness Notes

Skill usage

Updated 2026-11-22,

On this page

Whether you can tell which skills get used: in a session, as local counts, in account reports, or as telemetry you collect yourself.

Questionpichecked at 1.2.0
Skills used in a session

Partly

A /skill:name command is expanded into a user message wrapped in <skill name="..." location="...">, which the TUI shows as a collapsible skill block and HTML exports label as skill:; it is saved in the session JSONL as a normal message entry. When the model picks a skill on its own it just calls the read tool on that SKILL.md, so you only see it as a read tool call and toolResult on the skill's path.

There is no dedicated skill entry type or skill event; extensions can watch input (raw /skill: text, before expansion) and tool_call for read on a SKILL.md path.

Local usage counts

Not supported

Pi keeps no per-skill usage counter on disk. The only record is the session JSONL files, which you would have to scan yourself for <skill name=...> user messages and read calls on SKILL.md files.

/session shows session statistics such as messages and tokens, not skill use.

Account or team reports

Not supported

Pi has no account, team or admin report of skill usage. The Radius gateway from Earendil Works offers organization-level analytics on model traffic, but nothing in Pi reports skill use to it.

Telemetry you can collect

Partly

Pi has no OpenTelemetry export and no skill event; its built-in telemetry is limited to anonymous install/update reporting (enableInstallTelemetry, PI_TELEMETRY) and an opt-in enableAnalytics flag used only by the experimental first-run setup. To collect skill use yourself, write an extension that listens to input (for /skill:name) and tool_call/tool_result (for read on SKILL.md), or parse tool_execution_start/tool_execution_end from pi --mode json.

Whether a skill run succeeded

Partly

Pi records no success or failure for a skill run as a whole. You can see whether loading it worked: a model-initiated load is a read tool result with isError, and if a /skill:name file cannot be read pi reports a skill_expansion error and sends the raw text unexpanded. Whether the task the skill guided succeeded has to be judged from the rest of the transcript.

Notes and sources

pi, 10 sources
Skills used in a session, 5
Local usage counts, 1
Account or team reports, 1
Telemetry you can collect, 4
Whether a skill run succeeded, 2