
Setup pig
Checks and prepares only the tools a chosen PiG development task needs
Setup pig is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 933
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Setup pig
This skill helps an agent get a machine ready for one specific PiG task, such as running an existing binary, building PiG from source, authoring an extension, building a Piglet Binary, or running the full verification suite. It begins by asking which task applies and avoids installing the whole toolchain by default.
The workflow reads the repository's development guide, go.mod and the relevant language manifest so that versions come from the repo itself. It then inspects the operating system and runs only non-mutating version checks for the tools that task needs, reporting installed, missing and incompatible tools separately. A table maps each task to its required tools, such as Go, Git, Node.js, Python 3.12, Rust and tmux.
Any installation is gated on user approval. The skill asks the agent to show the missing tool and version, look for an existing package manager, propose a single command, and wait for a yes. It also forbids sudo, global Git config changes and piping downloaded scripts into a shell without explicit consent. Verification uses the smallest relevant command, such as make build, pig extension init with validation, or make check.
When your agent uses it
Check and prepare only the tools needed for a selected PiG task.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (3 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/setup-pig to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/MichaelKinsy/PiG.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/setup-pig &&
cp -R "$tmp/.agents/skills/setup-pig" ~/.claude/skills/setup-pig &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/setup-pig inside it instead.
Copy the skill folder to ~/.agents/skills/setup-pig to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/MichaelKinsy/PiG.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/setup-pig &&
cp -R "$tmp/.agents/skills/setup-pig" ~/.agents/skills/setup-pig &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/setup-pig inside it instead.
Copy the skill folder to ~/.cursor/skills/setup-pig to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/MichaelKinsy/PiG.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/setup-pig &&
cp -R "$tmp/.agents/skills/setup-pig" ~/.cursor/skills/setup-pig &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/setup-pig inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/MichaelKinsy/PiG.git --path .agents/skills/setup-pigOr copy the folder to ~/.gemini/skills/setup-pig yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/setup-pig:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/MichaelKinsy/PiG.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/setup-pig &&
cp -R "$tmp/.agents/skills/setup-pig" ~/.copilot/skills/setup-pig &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/setup-pig inside it instead.
Get the folder:
git clone --depth 1 https://github.com/MichaelKinsy/PiG.gitThen copy PiG/.agents/skills/setup-pig into your agent's skills folder as setup-pig. Agents that support SKILL.md read one folder per skill.
What it does
- Task selection first
- The skill asks which PiG task applies before checking anything on the host.
- Version checks from repo
- Required versions are read from go.mod and language manifests rather than assumed.
- Non-mutating host inspection
- It runs only read-only version commands for Go, Node, Python, Rust, Cargo and tmux.
- Per-task requirements table
- A table lists the tools needed for running, building, authoring extensions and verifying.
- Approval before installs
- Each installation needs a proposed command and explicit user consent first.
- Minimal verification commands
- It uses the smallest relevant build or validation command and reports each result.
Good for
- Check whether my machine can build PiG from source
- Prepare tools to author a Go extension for PiG
- Set up Python and Node for running the PiG verification suite
- Tell me which tools are missing for building a Piglet Binary
Setup pig FAQ
Does Setup pig install everything at once?
No. It checks only the tools for the selected task and asks for approval before installing or replacing any tool.
Which tools can Setup pig check for?
It checks the OS and commands such as go, node, npm, pnpm, python3, rustc, cargo and tmux, depending on the task.
Does Setup pig change system settings?
It is told not to use sudo, modify global Git configuration, replace a system toolchain or pipe scripts into a shell without approval.
How do I install Setup pig in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/setup-pig to use it in all your projects, or to .claude/skills/setup-pig in one project.
Does Setup pig run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Setup pig?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Setup pig?
The closest alternatives to Setup pig are Pig porter, Principle build the lever, Verification loop, Testing assistant and Ci cd.
Where this comes from
- Description: from the skill's own SKILL.md.
More from MichaelKinsy/PiG

Generates a pixel-art PiG release herd image and layout file for a release
- Open source
- 933 GitHub stars
- Release tooling

Example skill showing how an extension supplies skills through resources_discover
- Open source
- 933 GitHub stars
- Developer tools

Guides an agent through one bounded Pi-to-PiG porting or verification task
- Open source
- 933 GitHub stars
- Developer tools

Test fixture skill for checking autocomplete command ordering in PiG
- Open source
- 933 GitHub stars
- Developer tools

Test fixture skill used to check package manifest handling in a Go repo
- Open source
- 933 GitHub stars
- Developer tools

Placeholder test-fixture skill from the PiG parity suite, with no real instructions
- Open source
- 933 GitHub stars
- Developer tools




