Agent skill

Pi Rebuild

by dimetron in dimetron/pi-go

Rebuild, reinstall and restart the pi binary from source. An agent skill from dimetron/pi-go.

MITAuto-check passed

Install Pi Rebuild

skills CLI
$ npx skills add dimetron/pi-go --skill pi-rebuild -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dimetron/pi-go pi-rebuild --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/dimetron/pi-go.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.pi-go/skills/pi-rebuild .claude/skills/pi-rebuild && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pi-rebuild
GitHub stars
209
Token cost
~213 tokens
SKILL.md length
110 words
Files
1
Skills in repo
21
Repo updated
First seen
Licence
MIT

At a glance

Rebuild, reinstall and restart the pi binary from source. An agent skill from dimetron/pi-go.

  • Works in 4 steps: Run linters from the project root → If linters pass, build and install → If build succeeds, call the restart tool… → …
  • SKILL.md covers Steps, Examples and Guidelines
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Pi Rebuild is an agent skill from dimetron/pi-go. Rebuild, reinstall and restart the pi binary from source. Use after making changes to pi-go code.

Its SKILL.md is about 210 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Go implementation of AI coding agent. The licence is MIT.

Example prompts

  • “/pi-rebuild”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Run linters from the project root
  2. If linters pass, build and install
  3. If build succeeds, call the restart tool to relaunch pi with the updated binary.
  4. If linters or build fail, show the errors so the user can fix them. Do not restart on failure.

What it can do on your machine

Read from SKILL.md and the folder at commit c4c83e6. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Pi Rebuild loads about 213 tokens when it runs. Until then it costs about 27 tokens; SKILL.md has 110 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~27
When it runs · the whole SKILL.md, loaded when a task matches
~213

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from dimetron/pi-go at commit c4c83e6, republished under its MIT licence (© dimetron). 110 words, ~213 tokens.

Download SKILL.mdSave it as .claude/skills/pi-rebuild/SKILL.md (or your agent's skills folder).
name
pi-rebuild
description
Rebuild, reinstall and restart the pi binary from source. Use after making changes to pi-go code.

Pi Rebuild

Rebuild and reinstall the pi binary from source, then restart the process.

Steps

  1. Run linters from the project root:

    golangci-lint run ./...
    
  2. If linters pass, build and install:

    go build ./cmd/pi && go install ./cmd/pi/
    
  3. If build succeeds, call the restart tool to relaunch pi with the updated binary.

  4. If linters or build fail, show the errors so the user can fix them. Do not restart on failure.

Examples

  • /pi-rebuild — Rebuild and restart pi after code changes

Guidelines

  • Always build before installing to catch compile errors early
  • Only call restart after a successful build
  • Show full build output on failure so the user can diagnose issues

© dimetron, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .pi-go/skills/pi-rebuild of dimetron/pi-go.

Open the folder on GitHubat commit c4c83e6

Compare with similar skills

Pi Rebuild next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Pi Rebuild compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Pi Rebuild this skilldimetron/pi-go209—~213Automated safety check: PassMIT
Binary Diffsickn33/agentic-awesome-skills47k1 repos~2.1kAutomated safety check: PassMIT
Rebuilding Flutter Toolflutter/flutter179k—~167Automated safety check: PassBSD-3-Clause
Decompress BinaryClickHouse/ClickHouse50k—~1.1kAutomated safety check: PassApache-2.0
N8n Binary And Datasickn33/agentic-awesome-skills47k1 repos~4.1kAutomated safety check: PassMIT
Binary Analysis Patternswshobson/agents40k8 repos~2kAutomated safety check: PassMIT

Similar skills

  • Binary Diff

    sickn33/agentic-awesome-skills

    Cross-version binary symbol migration: diff updated binaries, recover function names without PDBs, and propagate annotations after software updates using BinDiff-style tooling.

    47k GitHub starsUsed in 1 repo~2.1k tokens
    Auto-check passed
  • Rebuilds the Flutter tool and CLI. An agent skill from flutter/flutter.

    179k GitHub stars~167 tokensUpdated today
    MobileAuto-check passed
  • Decompress Binary

    ClickHouse/ClickHouse

    Extract the inner ELF from a ClickHouse self-extracting clickhouse binary, including when its architecture differs from the host (e.g.

    50k GitHub stars~1.1k tokensUpdated today
    DatabasesAuto-check passed
  • N8n Binary And Data

    sickn33/agentic-awesome-skills

    Handle n8n files and binary data across uploads, downloads, transforms, multimodal inputs, agent tools, and chat surfaces.

    47k GitHub starsUsed in 1 repo~4.1k tokens
    Productivity & AutomationAuto-check passed
  • Master binary analysis patterns including disassembly, decompilation, control flow analysis, and code pattern recognition.

    40k GitHub starsUsed in 8 repos~2k tokens
    SecurityAuto-check passed
  • Official

    Publish Remotion Lambda Chrome binaries to the eu-central-1 test region and update hosted layer and Chrome version references.

    63k GitHub stars~1.4k tokensUpdated today
    Media & CreativeAuto-check passed

More from dimetron/pi-go

All 21 skills in this repo
  • Vhs E2E Gif

    dimetron/pi-go

    Record a test run, a TUI session, or any terminal command as a GIF with VHS and attach it to a GitHub PR as a release-hosted asset, never a repo commit.

    209 GitHub stars~1.7k tokensUpdated yesterday
    Auto-check passed
  • Agents Md

    dimetron/pi-go

    Generate AGENTS.md files for Go, Rust, TypeScript, and Java projects.

    209 GitHub stars~1.7k tokensUpdated yesterday
    Auto-check passed
  • Bubbletea Testing

    dimetron/pi-go

    A skill your agent uses whenever writing tests for Bubble Tea (charmbracelet/bubbletea) TUI applications in Go.

    209 GitHub stars~3.6k tokensUpdated yesterday
    Auto-check passed
  • Memory Index

    dimetron/pi-go

    Index a folder's contents into the MemPalace semantic memory for search and retrieval.

    209 GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • Nightly Session Watch

    dimetron/pi-go

    Nightly sweep of the last 24h of pi-go sessions — anomalous runs, loop aborts, tool error rates, token waste, real prompt-token spend, and whether the observation and palace pipelines are still…

    209 GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • Osx Tuning

    dimetron/pi-go

    Tune macOS resource limits and sysctls for best performance with Go development, Docker/OrbStack, and Linux VMs.

    209 GitHub stars~1.6k tokensUpdated yesterday
    Auto-check: notes

Questions about Pi Rebuild

What does Pi Rebuild do?

Rebuild, reinstall and restart the pi binary from source. An agent skill from dimetron/pi-go. Pi Rebuild is an agent skill from dimetron/pi-go. Rebuild, reinstall and restart the pi binary from source.

How do I install Pi Rebuild in Claude Code?

Run `npx skills add dimetron/pi-go --skill pi-rebuild -a claude-code`. Or copy the skill folder (.pi-go/skills/pi-rebuild in dimetron/pi-go) into .claude/skills/pi-rebuild in your project. Claude Code loads it when a task matches its description.

How do I install Pi Rebuild in Codex?

Run `npx skills add dimetron/pi-go --skill pi-rebuild -a codex`. Or copy the skill folder (.pi-go/skills/pi-rebuild in dimetron/pi-go) into .agents/skills/pi-rebuild in your project. Codex loads it when a task matches its description.

Can I use Pi Rebuild in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dimetron/pi-go --skill pi-rebuild -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pi-rebuild, .gemini/skills/pi-rebuild, .github/skills/pi-rebuild and .opencode/skills/pi-rebuild in your project.

What does Pi Rebuild need to run?

SKILL.md names no scripts, command-line tools or credentials: Pi Rebuild is instructions for the agent only.

Does Pi Rebuild access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Pi Rebuild safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Pi Rebuild use?

Pi Rebuild is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Pi Rebuild use?

About 213 tokens (SKILL.md is roughly 852 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Pi Rebuild?

Skills that share tags, products or a category with Pi Rebuild: Binary Diff (sickn33/agentic-awesome-skills, 47k stars), Rebuilding Flutter Tool (flutter/flutter, 179k stars), Decompress Binary (ClickHouse/ClickHouse, 50k stars) and N8n Binary And Data (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Pi Rebuild?

dimetron (a GitHub user) maintains it in dimetron/pi-go, which has 209 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on October 9, 2026.

Source: dimetron/pi-go on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.