Piglet builder
Choose tools, extensions, skills and a pig. Get one command that checks and registers the Piglet. Built for PiG 0.5.3; nothing leaves your browser.
Start
Pick a starting point. You can change everything afterwards.
Name and pig
The name becomes ~/.pig/piglets/<name>.yaml. The pig is one of PiG's own sprites: the head its startup header draws.
- Fix: Give the Piglet a name.
PiG has no sprite setting inside a Piglet, so this is your sprite for every session, not only this Piglet. The command writes PiG's own choice file; /sprite set pig-default does the same from inside PiG.
Model (optional)
A preference: an explicit --model overrides it, and the Piglet file does not check that it is enabled for you. Leave it empty to keep PiG's normal choice.
Built-in tools
This is a ceiling, not a switch. PiG starts with read, bash, edit and write; the Piglet can only remove tools. To use grep, find or ls the launch line adds --tools, and the command below does that for you.
Effective tools at launch: readbasheditwrite
Remove built-ins (advanced)
Strip commands, built-in extensions, model APIs and features. Deny mode removes what you tick; keep mode keeps what you tick and removes the rest, including anything a later PiG adds.
Show the strip options
Extensions and skills
Pick from Pigpen and the packages Verified with PiG. Each pick pins one exact version and checks its hash in the command.
- @pi-in-go/pigpen-a2a 0.1.1 Pigpen
A2A (Agent2Agent) for PiG: serve PiG tasks to A2A agents and call remote A2A agents, on the upstream Go SDK a2a-go. The listener is off unless configured.
- @pi-in-go/pigpen-acp 0.1.0 Pigpen
Agent Client Protocol (ACP) for PiG: pig-acp lets an editor such as Zed drive a PiG agent over stdio JSON-RPC. A Go port of pi-acp.
- @pi-in-go/pigpen-ahp 0.1.1 Pigpen
Go port of pi-ahp: serves the running PiG session to remote Microsoft Agent Host Protocol clients over WebSocket, with reconnect and auth. No listener unless you ask; no remote filesystem or terminal unless you opt in
- @pi-in-go/pigpen-angry-pigs 0.1.1 Pigpen
Angry Pigs: a pixel-art slingshot game with towers, birds and physics, opened with /angry-pigs (Go). Nothing runs until you type the command.
- @pi-in-go/pigpen-ask-user-question 0.1.0 Pigpen
Go port of @juicesharp/rpiv-ask-user-question: a structured questionnaire the model can put to you, with typed options instead of free-form replies (partial: the dialog walker; the interactive questionnaire is not ported yet)
- @pi-in-go/pigpen-context-info 0.1.1 Pigpen
Context-window and cost inspection for PiG: /context, /tools, /cost, /prompts, and an optional two-line status footer
- @pi-in-go/pigpen-dev-skills 0.1.0 Pigpen
General software-development Skills adapted from public sources: TDD with a mutation gate, diagnosing bugs, handoff, research, grilling, prototyping, code review and commit messages
- @pi-in-go/pigpen-dirty-repo-guard 0.1.0 Pigpen
Go port of Pi's dirty-repo-guard example: blocks a session switch or fork while the git tree has uncommitted changes unless you allow it
Your picks
Nothing picked. A Piglet with no extensions or skills is fine.
System prompt
A prompt here replaces PiG's own prompt; it does not add to it. Do not paste keys or secrets: a shared Piglet carries this text.
Discovery
Whether PiG may also load extensions and skills it finds in your home folder or the project. Closed is recommended for a Piglet you will share.
Review and copy
Fix before you copy
- Give the Piglet a name.
Command
For bash and zsh on macOS and Linux. Paste it into a terminal. It writes the file, has pig parse it, checks each package hash, then validates and registers it. A PowerShell version is not offered yet: it has not been run on Windows.
Fix the problems above to see the command.
Packages can still run code when the Piglet runs. The command switches off install scripts and checks each package against a hash recorded when this page was built; it does not make the packages safe. This page runs no package code and calls no registry. Piglet reference