← Catalog

@counterposition/skill-pi

Pi coding agent reference skill — extensions, settings, providers, SDK/RPC, packages, and .pi/ config

Package

Install

Install with PiG

pig install npm:@counterposition/skill-pi

Install with Pi

pi install npm:@counterposition/skill-pi
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "skills": [
    "skills/pi"
  ]
}

README

Written by the package's publisher, shown as published in version 1.4.0 (README.md). PiG does not review it.

Pi Skill

Pi's own system prompt already points it at its source documentation. But when you use a different coding agent — Claude Code, OpenCode, Codex CLI, or an IDE agent like Cursor or Windsurf — to work on Pi extensions, skills, packages, or configuration, that agent has no built-in knowledge of Pi's architecture. It will hallucinate APIs, invent settings, and confidently describe extension hooks that don't exist.

This skill gives any coding agent grounded knowledge of Pi via the Agent Skills standard. It injects task-specific reference documentation into context so the agent reasons from facts — about extensions, settings, providers, sessions, and the SDK — rather than from plausible fictions.

Install

# as a skill
npx skills add counterposition/pi --skill pi

# as a Pi package
pi install npm:@counterposition/skill-pi

Maintainer Paths

# from a local checkout
npx skills add /absolute/path/to/pi --skill pi

# packaged install from monorepo root
pi install ./packages/skill-pi

If you develop inside this repo, Pi already loads the skill via .pi/settings.json.

What this covers

Pi's architecture and package layout. Skill authoring, discovery, and routing. Extensions, tools, and UI hooks. MCP servers, codemode, and nested tool calls. Settings, models, providers, classifiers, and packages. Sessions, forks, and compaction. The SDK and RPC interface. Checked against Pi 1.4.0.

The reference material lives in references/ as task-specific documents — not a single monolith, but pieces sized for injection into a conversation when relevant.

Files

PathPurpose
SKILL.mdTrigger rules and routing description
references/Task-specific Pi reference documents
examples/Extension examples that type-check against Pi
evals/evals.jsonExample evaluation cases
LICENSE.mdGPLv3 license text