@difflab/pi

Tools and skills for the pi coding agent

Packages

Package details

extensionskill

Install @difflab/pi from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@difflab/pi
Package
@difflab/pi
Version
0.2.0
Published
Sep 17, 2026
Downloads
1,123/mo · 1,123/wk
Author
skapoor81
License
MIT
Types
extension, skill
Size
649.6 KB
Dependencies
3 dependencies · 1 peer
Pi manifest JSON
{
  "skills": [
    "./skills"
  ],
  "extensions": [
    "./dist/extensions/index.js"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

@difflab/pi

Tools and skills for the pi coding agent.

Install

pi install npm:@difflab/pi

Run /skill:diffpi-setup. The skill validates or configures the environment and reloads pi when required.

The package includes structured questions and installs the upstream Grounded Docs, Simple English, and Context Mode skills. Setup also installs four package-managed agent files into Pi's global agent directory. The subagent plugin can delegate to tutor, copilot, worker, and orchestrator; tutor, copilot, and worker are also available as inline modes.

/skill:mode
/skill:mode --include-skills
/skill:mode tutor
/skill:mode spec:planner
/skill:mode clear

Standard agents come from the same global and trusted-project directories used by @tintinweb/pi-subagents. Skill-owned agents are opt-in for listing and use skill:agent ids. Inline selection applies the profile prompt, first available preferred model, thinking level, and available tool set. Clearing restores the previous runtime. Override ordered model preferences with agents.<id>.models in ~/.difflab/diffpi/config.yaml or config.json, then rerun setup for delegated agents. Inline modes are not a security boundary.

See the repository for details.