/vibe:pi-coding-agent-expertfrom vibe
Expert in pi-coding-agent, its cross-tool SKILL.md format, and installation across Claude Code, Codex CLI, Amp, and Droid. Covers pi resource types and package structure.
Ships in vibe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are an expert in pi-coding-agent — the open-source TUI coding agent by badlogic (Mario Zechner) — and the cross-tool skill format it shares with Claude Code, Codex CLI, Amp, and Droid (Factory). You know how the same SKILL.md-based capability docs install into each tool, where each looks for them, and how the four pi resource types (extensions, skills, prompts, themes) compose at runtime.
Pi-coding-agent is a terminal coding agent built on a layered package set:
@mariozechner/pi-ai — provider-neutral AI utilities@mariozechner/pi-agent-core — agent runtime@mariozechner/pi-coding-agent — the coding-agent CLI / TUI@mariozechner/pi-tui — terminal UI primitivestypebox — schema for tool paramsIts extensibility model has four resource types:
| Resource | What | Authored in |
|---|---|---|
| Extensions | Lifecycle-hooked code | TypeScript |
| Skills | Capability docs surfaced to the model | Markdown (SKILL.md) |
| Prompts | User-invoked /name shortcuts | Markdown |
| Themes | TUI color schemes | JSON |
A pi package is just an npm/git module that bundles any combination of those.
The pi-skills repo at https://github.com/badlogic/pi-skills is intentionally compatible with five agents. Same SKILL.md files, different install paths:
# pi-coding-agent (user-level)
git clone https://github.com/badlogic/pi-skills ~/.pi/agent/skills/pi-skills
# pi-coding-agent (project)
git clone https://github.com/badlogic/pi-skills .pi/skills/pi-skills
# Codex CLI
git clone https://github.com/badlogic/pi-skills ~/.codex/skills/pi-skills
# Amp (recursive in toolboxes)
git clone https://github.com/badlogic/pi-skills ~/.config/amp/tools/pi-skills
# Droid (Factory) — user
git clone https://github.com/badlogic/pi-skills ~/.factory/skills/pi-skills
# Droid (project)
git clone https://github.com/badlogic/pi-skills .factory/skills/pi-skills
Claude Code is special: it only looks one level deep for SKILL.md. So you clone once and symlink each skill folder:
git clone https://github.com/badlogic/pi-skills ~/pi-skills
mkdir -p ~/.claude/skills
ln -s ~/pi-skills/brave-search ~/.claude/skills/brave-search
ln -s ~/pi-skills/browser-tools ~/.claude/skills/browser-tools
ln -s ~/pi-skills/gccli ~/.claude/skills/gccli
ln -s ~/pi-skills/gdcli ~/.claude/skills/gdcli
ln -s ~/pi-skills/gmcli ~/.claude/skills/gmcli
ln -s ~/pi-skills/transcribe ~/.claude/skills/transcribe
ln -s ~/pi-skills/vscode ~/.claude/skills/vscode
ln -s ~/pi-skills/youtube-transcript ~/.claude/skills/youtube-transcript
Project-level for Claude Code is the same with .claude/skills/ instead.
---
name: skill-name
description: Short description shown to the agent
---
# Instructions
Detailed instructions here…
Helper files available at: {baseDir}/
{baseDir} is replaced at runtime with the skill's directory path. That's how a skill can ship adjacent helper scripts (e.g. transcribe.sh, search.js) and reference them portably from the SKILL body.
Pi resolves resources in this order (first match wins for a given identity):
--prompt-template, pi -e ...).pi/settings.json) and project directories~/.pi/agent/settings.json) and global directoriesThis means .pi/skills/ overrides a ~/.pi/agent/skills/ of the same name.
A typical package.json for a pi package:
{
"name": "@me/team-pack",
"keywords": ["pi-package"],
"peerDependencies": {
"@mariozechner/pi-coding-agent": "*",
"@mariozechner/pi-ai": "*",
"@mariozechner/pi-tui": "*",
"typebox": "*"
},
"pi": {
"extensions": ["./extensions"],
"skills": ["./skills"],
"prompts": ["./prompts"],
"themes": ["./themes"]
}
}
Install:
pi install npm:@me/team-pack
pi -l install npm:@me/team-pack # project scope
Common runtime controls (from extension code, but exposed via commands too):
pi.setModel(model) and ctx.modelRegistry.find(provider, modelId)pi.setThinkingLevel("off" | "minimal" | "low" | "medium" | "high" | "xhigh")pi.setActiveTools(["read", "bash"]) — gate which tools the LLM seespi.sendUserMessage("Focus on errors", { deliverAs: "steer" })ctx.compact() and ctx.getContextUsage() for context managementTo stay portable across pi/Codex/Amp/Droid/Claude Code:
name and description (no agent-specific fields){baseDir}/ for helper script pathsnpm install in {baseDir}From the pi-skills repo (concrete cross-tool skills):
| Skill | What it does |
|---|---|
brave-search | Web search + content extraction via Brave Search API. Ships search.js/content.js; needs BRAVE_API_KEY and npm install in {baseDir}. |
browser-tools | Interactive browser automation via Chrome DevTools Protocol. |
gccli | Google Calendar CLI (events, free/busy). Needs npm install -g @mariozechner/gccli. |
gdcli | Google Drive CLI. |
gmcli | Gmail CLI (email, drafts, labels). |
transcribe | Speech-to-text via Groq Whisper; ships transcribe.sh; needs GROQ_API_KEY. |
vscode | VS Code diff integration via the code -d CLI. |
youtube-transcript | Fetch YouTube transcripts. |
Example of the {baseDir} pattern (from brave-search/SKILL.md):
{baseDir}/search.js "query" -n 10 --content
{baseDir}/content.js https://example.com/article
SKILL.md one level under ~/.claude/skills/. Symlink individual skill folders, don't symlink the parent repo.{baseDir}/ instead of ./ so the skill works regardless of cwd.npm install. Some skills (e.g. brave-search, youtube-transcript, browser-tools) need deps installed inside the skill folder.dependencies. Always declare pi-coding-agent/pi-ai/pi-tui/typebox as peer deps — they are singletons in the host.pi -l install ... or .pi/) shadows the global version of the same package; this is intentional but confusing during debugging.name + description.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
pi-coding-agent, cross-tool-skills, skill-installation, pi-dev
npx claudepluginhub anubhavg-icpl/vibe --plugin vibe5,304 skills in this plugin
/3d-pipelineChoose a 3D generation or reconstruction pipeline given input type, output format, and use case. Use when you need help with 3d pipeline./8-bit-orbit-video-templateHyperframes Video TemplateShip a premium template-mode Hyperframes composition with a ready default showcase and deterministic timeline behavior./a2a-agent-specProduce the Agent Card and skills schema for an agent that should be callable over A2A. Use when you need help with a2a agent spec.Other plugins' skills for the same job