Add this Piglet
Add the Piglet source
pig piglet add npm:@pi-in-go/pigpen-piglet-pig-essentialsPiG copies the Piglet source into ~/.pig/piglets/ and validates it. Start it with pig --piglet pig-essentials.
Piglets run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party Piglet. This one is published by the PiG project from the Pigpen repository; that is not a verification claim.
What this Piglet is
Pigpen index status: planned (it records no signed Binary release for this Piglet). Source in the Pigpen repository ↗
- Not released yet: no signed Piglet Binary is published and no remote install command is offered. The source composition is in this repository; see RELEASE-BLOCKERS.md.
- Go only, no Node. Members: the rpiv-web-tools search and fetch tools (juicesharp, MIT), @tintinweb/pi-subagents (tintinweb, MIT, partial: see its PORT.md), @tintinweb/pi-tasks (tintinweb, MIT), rpiv-ask-user-question (juicesharp, MIT, partial), ponytail (Dietrich Gebert, MIT) and the fifteen Superpowers skills (Jesse Vincent, MIT). Each port keeps the original, the recorded Pi traces and its mutation list under components/<name>/port. Run npm run stage before using its generated manifest under dist/staged.
- No release is published; version 0.1.0 is a development default. Nothing starts at start-up: no network call, no process.
Selects
Extensions (5)
tintinweb-tasksfrom package:tasks · tools: TaskCreate, TaskExecute, TaskGet, TaskList, TaskOutput, TaskStop, TaskUpdaterpiv-ask-user-questionfrom package:ask-user-question · tools: ask_user_questionrpiv-web-toolsfrom package:web-tools · tools: web_fetch, web_searchtintinweb-subagentsfrom package:subagents · tools: Agent, get_subagent_result, steer_subagentponytailfrom package:ponytail
Skills (21)
pigpen-ponytailfrom package:ponytailpigpen-ponytail-auditfrom package:ponytailpigpen-ponytail-debtfrom package:ponytailpigpen-ponytail-gainfrom package:ponytailpigpen-ponytail-helpfrom package:ponytailpigpen-ponytail-reviewfrom package:ponytailpigpen-superpowers-brainstormingfrom package:superpowerspigpen-superpowers-diagnosing-superpowersfrom package:superpowerspigpen-superpowers-dispatching-parallel-agentsfrom package:superpowerspigpen-superpowers-executing-plansfrom package:superpowerspigpen-superpowers-finishing-a-development-branchfrom package:superpowerspigpen-superpowers-receiving-code-reviewfrom package:superpowerspigpen-superpowers-requesting-code-reviewfrom package:superpowerspigpen-superpowers-subagent-driven-developmentfrom package:superpowerspigpen-superpowers-systematic-debuggingfrom package:superpowerspigpen-superpowers-test-driven-developmentfrom package:superpowerspigpen-superpowers-using-git-worktreesfrom package:superpowerspigpen-superpowers-using-superpowersfrom package:superpowerspigpen-superpowers-verification-before-completionfrom package:superpowerspigpen-superpowers-writing-plansfrom package:superpowerspigpen-superpowers-writing-skillsfrom package:superpowers
Packages it uses
- @pi-in-go/pigpen-tintinweb-tasks
^0.2.1 - @pi-in-go/pigpen-ask-user-question
^0.2.0 - @pi-in-go/pigpen-pitui
^0.1.0 - @pi-in-go/pigpen-superpowers
^0.3.0 - @pi-in-go/pigpen-rpiv-web-tools
^0.1.1 - @pi-in-go/pigpen-tintinweb-subagents
^0.1.1 - @pi-in-go/pigpen-ponytail
^0.1.1
Binary targets
linux/amd64linux/arm64darwin/arm64darwin/amd64windows/amd64
These are the targets the manifest lists for pig piglet build. Which of them have been built and run is in the notes above.
Signing
- Signed Piglet Binary: none published. Nothing has been signed for this Piglet yet, so
pig piglet pullhas no release to pull. - npm package: 2 registry signatures.
piglet.yaml
# GENERATED by scripts/npm-piglets.mjs from piglets/pig-essentials/piglet.yaml. Do not edit.
name: pig-essentials
description: "A fast single-binary PiG with the essentials, no Node: web search and fetch (rpiv-web-tools), sub-agents (tintinweb pi-subagents, a tested slice), Claude Code-style task tracking (tintinweb pi-tasks), structured questions (rpiv-ask-user-question), the ponytail mode, and the Superpowers skills. Everything stays quiet until used: no network call and no process at start-up."
release:
version: 0.1.1
build:
targets:
- linux/amd64
- linux/arm64
- darwin/arm64
- darwin/amd64
- windows/amd64
extensionRealization: fused
packages:
tasks: npm:@pi-in-go/pigpen-tintinweb-tasks@^0.2.1
ask-user-question: npm:@pi-in-go/pigpen-ask-user-question@^0.2.0
pitui: npm:@pi-in-go/pigpen-pitui@^0.1.0
superpowers: npm:@pi-in-go/pigpen-superpowers@^0.3.0
web-tools: npm:@pi-in-go/pigpen-rpiv-web-tools@^0.1.1
subagents: npm:@pi-in-go/pigpen-tintinweb-subagents@^0.1.1
ponytail: npm:@pi-in-go/pigpen-ponytail@^0.1.1
extensions:
- name: tintinweb-tasks
origins:
- package:tasks
tools:
- TaskCreate
- TaskExecute
- TaskGet
- TaskList
- TaskOutput
- TaskStop
- TaskUpdate
- name: rpiv-ask-user-question
origins:
- package:ask-user-question
tools:
- ask_user_question
- name: rpiv-web-tools
origins:
- package:web-tools
tools:
- web_fetch
- web_search
- name: tintinweb-subagents
origins:
- package:subagents
tools:
- Agent
- get_subagent_result
- steer_subagent
- name: ponytail
origins:
- package:ponytail
skills:
- name: pigpen-ponytail
origins:
- package:ponytail
- name: pigpen-ponytail-audit
origins:
- package:ponytail
- name: pigpen-ponytail-debt
origins:
- package:ponytail
- name: pigpen-ponytail-gain
origins:
- package:ponytail
- name: pigpen-ponytail-help
origins:
- package:ponytail
- name: pigpen-ponytail-review
origins:
- package:ponytail
- name: pigpen-superpowers-brainstorming
origins:
- package:superpowers
- name: pigpen-superpowers-diagnosing-superpowers
origins:
- package:superpowers
- name: pigpen-superpowers-dispatching-parallel-agents
origins:
- package:superpowers
- name: pigpen-superpowers-executing-plans
origins:
- package:superpowers
- name: pigpen-superpowers-finishing-a-development-branch
origins:
- package:superpowers
- name: pigpen-superpowers-receiving-code-review
origins:
- package:superpowers
- name: pigpen-superpowers-requesting-code-review
origins:
- package:superpowers
- name: pigpen-superpowers-subagent-driven-development
origins:
- package:superpowers
- name: pigpen-superpowers-systematic-debugging
origins:
- package:superpowers
- name: pigpen-superpowers-test-driven-development
origins:
- package:superpowers
- name: pigpen-superpowers-using-git-worktrees
origins:
- package:superpowers
- name: pigpen-superpowers-using-superpowers
origins:
- package:superpowers
- name: pigpen-superpowers-verification-before-completion
origins:
- package:superpowers
- name: pigpen-superpowers-writing-plans
origins:
- package:superpowers
- name: pigpen-superpowers-writing-skills
origins:
- package:superpowers
discovery:
extensions:
- user
- workspace
skills:
- user
- workspace
PiG manifest JSON
The pig field of package.json.
{
"piglet": "piglet.yaml"
}README
Written by the package's publisher, shown as published in version 0.1.1 (README.md). PiG does not review it.
pig-essentials
A fast, single-binary PiG with the essentials, and no Node: web search and fetch, sub-agents, task tracking, structured questions, the ponytail mode and the Superpowers skills. It is for a user who runs PiG where Node plugins start slowly (Termux, a small VPS, a laptop on battery) and wants the plugins they use every day in one Binary that needs nothing else to start. Everything stays quiet until used: no network call and no process runs at start-up.
| Member | Original | What it adds |
|---|---|---|
rpiv-web-tools | @juicesharp/rpiv-web-tools 2.12.0 by juicesharp, MIT | web_search over ten providers, web_fetch, /web-tools (no GitHub URL interceptor) |
tintinweb-subagents | @tintinweb/pi-subagents 0.19.0 by tintinweb, MIT | Agent, get_subagent_result, steer_subagent, /agents; each agent is a child pig process (a tested slice: see its PORT.md) |
tintinweb-tasks | @tintinweb/pi-tasks 0.9.0 by tintinweb, MIT | TaskCreate, TaskList, TaskGet, TaskUpdate, TaskOutput, TaskStop, TaskExecute, /tasks, a task widget |
ask-user-question | @juicesharp/rpiv-ask-user-question 2.11.0 by juicesharp, MIT | the ask_user_question tool (partial: dialogs) |
ponytail | @dietrichgebert/ponytail 4.10.0 by Dietrich Gebert, MIT | the "lazy senior dev" mode: /ponytail, five more commands and six skills |
superpowers (skills) | obra/superpowers v7.0.0 by Jesse Vincent, MIT | fifteen skills: brainstorming, plans, TDD, debugging, review, verification |
Install
On Linux, macOS and Windows, the signed Binary for the platform (once the release pig-essentials/v0.1.0 is published):
pig piglet pull 'github:MichaelKinsy/pigpen/pig-essentials@0.1.0'
Termux (Android). There is no android Binary yet, so pig piglet pull has nothing to install there. Build it on
the device with Go (no Node), from the Piglet's npm source:
pkg install golang git
pig piglet add npm:@pi-in-go/pigpen-piglet-pig-essentials
pig piglet build pig-essentials --format binary --targets android/arm64 --out ~/pig-essentials
The first build compiles PiG and every member on the phone and takes several minutes. Two things are not done yet:
the npm source resolves only after the first npm publish (see the repository README), and this build has not been run
on an Android device (the four Go modules pass go vet for android/arm64). Until then, stage the Piglet on a machine
with Node (npm ci --ignore-scripts && npm run stage), copy dist/staged/piglets/pig-essentials to the phone and point
pig piglet build at its piglet.yaml with the same --format, --targets and --out.
What it does not do
It does not replace what a Node plugin does when that needs Node: the visual companion of the brainstorming skill and
the flowchart renderer of writing-skills are Node scripts and need Node on the machine. The ports are partial where
their PORT.md says so (sub-agents: no scripted workflows, scheduling, worktrees or @mentions, and an agent costs a process start; web tools: no GitHub URL interceptor; ask-user-question: dialogs, not the tabbed questionnaire; ponytail: the Pi extension and Skills only).
Start-up, measured
Time until PiG 0.4.1 answers its first get_state in --mode rpc (median of seven runs, wall clock, linux/amd64 on a
shared 196-thread Xeon, so read the ratio and not the milliseconds; a phone is slower):
| (blank) | to first answer | one print-mode turn against the faux model |
|---|---|---|
pig alone | 41 ms | 50 ms |
pig-essentials Binary (all members built in) | 196 ms | 302 ms |
pig plus the five Node plugins (npm:@juicesharp/rpiv-web-tools, @tintinweb/pi-subagents, @tintinweb/pi-tasks, @juicesharp/rpiv-ask-user-question, @dietrichgebert/ponytail) | 2313 ms | 2470 ms |
A second measurement with the same script on the same host under heavier load (load average about 150) gave 48 ms,
243 ms and 2549 ms to the first answer, and 57, 335 and 2638 ms for the print turn: the same picture. The Binary's
start-up costs more CPU time than pig alone (about 0.75 s against 0.15 s summed over cores, median), which matters on a
phone more than the wall-clock figure suggests. --version takes about 30 ms for all three. At idle the Binary runs no child process and opens no network connection;
a child process starts only when the model calls Agent or runs TaskExecute. The Binary is 65 MB. The runs time --version, an rpc
get_state and -p with PIG_TEST_FAUX=1, in an empty HOME, after one warm-up run each.
Build it yourself
npm run stage, then PIG_BIN=<pig 0.4.1> npm run build:piglet -- pig-essentials (see the repository README).
Optional: the superpowers extensions (off by default)
The Piglet selects the Superpowers Skills only. The Package superpowers also ships two Go extensions: superpowers (injects the
using-superpowers bootstrap into the first model request of a session and after each compaction) and superpowers-tools (the tools
brainstorm_server, the brainstorming visual companion, and render_skill_graphs, the writing-skills diagram renderer). They are not
loaded by a default stage or build, because the bootstrap adds about 7 KB to the first request of every session and the tools add
two tool definitions to every request. They are declared as an optional selection in optional.json, and a switch
turns them on:
# stage with them (dist/staged/piglets/pig-essentials/piglet.yaml then selects both extensions)
npm run stage -- --with pig-essentials:superpowers-extensions
# or build a Binary with them
npm run build:piglet -- pig-essentials --with pig-essentials:superpowers-extensions
# the environment form works for both
PIGPEN_WITH=pig-essentials:superpowers-extensions npm run stage
Without --with (or PIGPEN_WITH) the staged manifest is the authored one. scripts/stage-optional.test.mjs (part of npm test)
proves both: the default stage selects neither extension and the switched stage selects both, with the tools scoped to
brainstorm_server and render_skill_graphs. To use them without this Piglet, install the Package: pig install ./components/superpowers.
Signed Binary
This npm package is the Piglet's source: pig piglet add npm:@pi-in-go/pigpen-piglet-pig-essentials registers it, and its Packages install from npm. The signed per-platform Binary is published separately on GitHub Releases (release pig-essentials/v0.1.1):
pig piglet pull 'github:MichaelKinsy/pigpen/pig-essentials@0.1.1'