Shareable extensions, prompts, skills, and themes for Pi.
Use this method on Nix systems. The module deploys all resources and installs their required CLI packages.
Add the flake input:
{
inputs.pi-pack.url = "github:fosskar/pi-pack";
}Import and enable the Home Manager module:
{
imports = [ inputs.pi-pack.homeModules.default ];
programs.pi-pack.enable = true;
}Install all resources directly through Pi:
pi install git:github.com/fosskar/pi-packPi records the package in ~/.pi/agent/settings.json. Use pi config to enable or disable individual resources.
The llm-wiki and sediment-memory extensions need extra CLI tools. See their entries under Extensions.
Home Manager can deploy one skill for another agent:
{
home.file.".claude/skills/osm".source = "${inputs.pi-pack}/skills/osm";
}| extension | description | commands |
|---|---|---|
| btw | Ask side questions without adding each turn to the main conversation. | /btw and seven subcommands |
| clipboard | Copy generated text through OSC52. Requires a terminal that accepts OSC52 clipboard writes. | |
| llm-wiki | Safely operate an existing Git-backed wiki without GitHub APIs. Requires git in PATH and a Git repository named llm-wiki. pi-pack does not create it. |
/wiki-capture, /wiki-query, /wiki-observe, /wiki-lint, /wiki-status |
| oracle | Ask a second model to review, critique, or challenge a conclusion. Requires a second configured model provider. | /oracle |
| pi-to-PI | Rewrite standalone pi to PI in the system prompt for Anthropic models. |
|
| sediment-memory | Keep durable facts across sessions and recall them later. Requires sediment in PATH; Home Manager installs it, other Nix setups run nix profile install github:fosskar/pi-pack#sediment. |
/memory |
| sketch | Open a browser sketch pad and send the result as image input. Requires a browser on the machine that runs Pi. | /sketch |
| prompt | description | commands |
|---|---|---|
| commit | Split the current work into atomic commits with jj. It does not move bookmarks and does not push. | /commit |
| publish | Rebase on origin and push main to a remote. |
/publish [remote] |
| skill | description |
|---|---|
| agents-md | Bootstrap an AGENTS.md or check one for stale claims. |
| architecture-review | Create a visual HTML report and explore a selected codebase architecture problem. |
| code-review | Review the changes since a commit, branch, or tag against the repo's documented standards plus a baseline of code and operational smells. Smell baseline adapted from mattpocock/skills. |
| create-skills | Apply the included rules and references when you write agent documents. |
| diagnosing-bugs | Work a hard bug or performance regression through a six-phase loop that starts by building a red-capable reproduction command. Adapted from mattpocock/skills. |
| grilling | Question the user until the plan or decision is clear. Original skill by mattpocock/skills. |
| handoff | Compact the current conversation into a handoff document. |
| huh | Give a clearer and simpler explanation of the last answer. |
| nixbot-check | Find, classify, reproduce, and monitor nixbot failures. Requires nbo from the nixbot-cli package of Mic92/nixbot, and NIXBOT_URL for a self-hosted instance. pi-pack does not install it. |
| ops-review | Create a visual HTML report and examine a selected infrastructure risk. |
| osm | Find places, nearby points of interest, and public transport stops. |
| paperless | Search and read documents, receipts, invoices, and scans through a bounded read-only interface. Requires a paperless-ngx instance, PAPERLESS_URL, and PAPERLESS_API_TOKEN. |
| research | Send a background agent to investigate a question against primary sources and report cited findings in the conversation. |
| review-pong | Ask a second model to challenge review findings until the verdicts are stable. |
| teach | Teach the user a skill or concept in the current workspace. |
Set "theme": "<name>" in settings.json.
| theme | description |
|---|---|
| grey-amber | A dark grey theme with amber accents. |
| grey-teal | A dark grey theme with teal accents. |
nix build .# # packaged resources under share/pi-pack/
nix fmt # nixfmt, Prettier, deadnix, statix
nix flake check # builds, module evaluation, formatting, extension testsRun nix flake show for the full output list.
extensions execute code in the agent process. review them before installing from git.
skills can instruct an agent to run commands. review them before enabling in unattended services.
MIT