Install the "pi" agent skill from https://github.com/share-skills/pi/tree/main/opencode/pi into .claude/skills/pi/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pi", then confirm the skill loads.
Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Type this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
skills CLI
$ npx skills add share-skills/pi --skill pi -a codex
Project install goes to .agents/skills/; add -g for ~/.codex/skills/.
GitHub CLI
$ gh skill install share-skills/pi pi --agent codex
Project scope by default (.agents/skills/); add --scope user for a personal install.
Install the "pi" agent skill from https://github.com/share-skills/pi/tree/main/opencode/pi into .agents/skills/pi/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pi", then confirm the skill loads.
Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add share-skills/pi --skill pi -a cursor
Project install goes to .agents/skills/; add -g for ~/.cursor/skills/.
GitHub CLI
$ gh skill install share-skills/pi pi --agent cursor
Project scope by default (.agents/skills/); add --scope user for a personal install.
Install the "pi" agent skill from https://github.com/share-skills/pi/tree/main/opencode/pi into .cursor/skills/pi/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pi", then confirm the skill loads.
Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
skills CLI
$ npx skills add share-skills/pi --skill pi -a gemini-cli
Project install goes to .agents/skills/; add -g for ~/.gemini/skills/.
GitHub CLI
$ gh skill install share-skills/pi pi --agent gemini-cli
Project scope by default (.agents/skills/); add --scope user for a personal install.
Install the "pi" agent skill from https://github.com/share-skills/pi/tree/main/opencode/pi into .gemini/skills/pi/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pi", then confirm the skill loads.
Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
GitHub CLI
$ gh skill install share-skills/pi pi
Installs for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
skills CLI
$ npx skills add share-skills/pi --skill pi -a github-copilot
Project install goes to .agents/skills/; add -g for ~/.copilot/skills/.
Install the "pi" agent skill from https://github.com/share-skills/pi/tree/main/opencode/pi into .github/skills/pi/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pi", then confirm the skill loads.
GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add share-skills/pi --skill pi -a opencode
OpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
GitHub CLI
$ gh skill install share-skills/pi pi --agent opencode
Project scope by default (.agents/skills/); add --scope user for a personal install.
Install the "pi" agent skill from https://github.com/share-skills/pi/tree/main/opencode/pi into .opencode/skills/pi/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pi", then confirm the skill loads.
OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
SKILL.md covers 1. 智慧矩阵, 3. 方法体系, 4. 四道合一 and 5. 动态响应, plus 1 more section
Calls docker and curl
What it does
Pi is an agent skill from share-skills/pi. 通过搜-读-验-交付工作流、结构化7步调试、证据驱动的代码审查和失败升级协议,引导迭代式问题解决,覆盖编程开发、产品设计和团队协作场景。适用于:处理复杂开发任务、调试持续错误(失败2+次)、执行严格代码审查,或协调需要逐步验证的多步骤项目交付。
Its SKILL.md is about 7.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file.
It sits in Development. The repository describes itself as: PI(π)—— When The Art of War Meets Cognitive Science for Ai. The licence is Apache-2.0.
When your agent uses it
Development work in your project
Example prompts
“/pi”
Requirements
Docker
Workflow steps
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit eafbd6d. 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
Shell commands in SKILL.md call:
docker
curl
From the folder's file list and the shell code blocks in SKILL.md.
Network
No URLs in SKILL.md. Its commands use docker and curl, which can reach the network depending on how they are called.
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 loads about 7.1k tokens when it runs. Until then it costs about 31 tokens; SKILL.md has 2,092 words of instructions outside code blocks.
Always· name and description, kept in context so the agent knows when to use it
~31
When it runs· the whole SKILL.md, loaded when a task matches
~7.1k
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.
Download SKILL.mdSave it as .claude/skills/pi/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
Pi 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.
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.
Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.
Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.
PI 智行合一。触发:$pi/编程/开发/dev/code/代码/实现/架构/API/重构/调试/debug/bug/报错/异常/崩溃/超时/性能/优化/测试/test/编译/compile/git/make/发布/验证/审查/review/CR/产品/需求/运营/增长/创意/设计/协作/团队/沟通/交互/陪伴/情感,或深度/deep/失败2+次/反复失败/打转/卡住/言退/再试试/换个参数/算了
PI 智行合一。触发:$pi/编程/开发/dev/code/代码/实现/架构/API/重构/调试/debug/bug/报错/异常/崩溃/超时/性能/优化/测试/test/编译/compile/git/make/发布/验证/审查/review/CR/产品/需求/运营/增长/创意/设计/协作/团队/沟通/交互/陪伴/情感,或深度/deep/失败2+次/反复失败/打转/卡住/言退/再试试/换个参数/算了
通过搜-读-验-交付工作流、结构化7步调试、证据驱动的代码审查和失败升级协议,引导迭代式问题解决,覆盖编程开发、产品设计和团队协作场景。适用于:处理复杂开发任务、调试持续错误(失败2+次)、执行严格代码审查,或协调需要逐步验证的多步骤项目交付。. Pi is an agent skill from share-skills/pi.
When should I use Pi?
Pi fits situations like: development work in your project.
How do I install Pi in Claude Code?
Run `npx skills add share-skills/pi --skill pi -a claude-code`. Or copy the skill folder (opencode/pi in share-skills/pi) into .claude/skills/pi in your project. Claude Code loads it when a task matches its description.
How do I install Pi in Codex?
Run `npx skills add share-skills/pi --skill pi -a codex`. Or copy the skill folder (opencode/pi in share-skills/pi) into .agents/skills/pi in your project. Codex loads it when a task matches its description.
Can I use Pi 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 share-skills/pi --skill pi -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, .gemini/skills/pi, .github/skills/pi and .opencode/skills/pi in your project.
What does Pi need to run?
Going by SKILL.md and its folder, Pi needs the command-line tools its instructions call (docker and curl). Our summary lists: Docker.
Does Pi access the network?
SKILL.md contains no URLs. Its commands use docker and curl, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Is Pi 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 use?
Pi is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
How many tokens does Pi use?
About 7.1k tokens (SKILL.md is roughly 28k 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?
Skills that share tags, products or a category with Pi: Vercel Composition Patterns (supabase/supabase, 111k stars), Finishing a Development Branch (obra/superpowers, 297k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars) and PR Babysitter (openinterpreter/openinterpreter, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Who maintains Pi?
share-skills (a GitHub organization) maintains it in share-skills/pi, which has 108 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on June 23, 2026.
Source: share-skills/pi on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.