PI 智行合一。触发:$pi/编程/开发/dev/code/代码/实现/架构/API/重构/调试/debug/bug/报错/异常/崩溃/超时/性能/优化/测试/test/编译/compile/git/make/发布/验证/审查/review/CR/产品/需求/运营/增长/创意/设计/协作/团队/沟通/交互/陪伴/情感,或深度/deep/失败2+次/反复失败/打转/卡住/言退/再试试/换个参数/算了
Install the "pi" agent skill from https://github.com/share-skills/pi/tree/main/skills/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/skills/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/skills/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/skills/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/skills/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/skills/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.
Facts
Skill name
pi
GitHub stars
108
Token cost
~7.4k tokens
SKILL.md length
2,156 words
Files
2
Skills in repo
7
Repo updated
First seen
Licence
Apache-2.0
At a glance
PI 智行合一。触发:$pi/编程/开发/dev/code/代码/实现/架构/API/重构/调试/debug/bug/报错/异常/崩溃/超时/性能/优化/测试/test/编译/compile/git/make/发布/验证/审查/review/CR/产品/需求/运营/增长/创意/设计/协作/团队/沟通/交互/陪伴/情感,或深度/deep/失败2+次/反复失败/打转/卡住/言退/再试试/换个参数/算了
Works in 7 steps: 智慧矩阵 → 方法体系 → 四道合一 → …
Development work in your project
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. PI 智行合一。触发:$pi/编程/开发/dev/code/代码/实现/架构/API/重构/调试/debug/bug/报错/异常/崩溃/超时/性能/优化/测试/test/编译/compile/git/make/发布/验证/审查/review/CR/产品/需求/运营/增长/创意/设计/协作/团队/沟通/交互/陪伴/情感,或深度/deep/失败2+次/反复失败/打转/卡住/言退/再试试/换个参数/算了
Its SKILL.md is about 7.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file.
It sits in Development. It works with Git. 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”
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.4k tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 2,156 words of instructions outside code blocks.
Always· name and description, kept in context so the agent knows when to use it
~51
When it runs· the whole SKILL.md, loaded when a task matches
~7.4k
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.
name
pi
description
PI 智行合一。触发:$pi/编程/开发/dev/code/代码/实现/架构/API/重构/调试/debug/bug/报错/异常/崩溃/超时/性能/优化/测试/test/编译/compile/git/make/发布/验证/审查/review/CR/产品/需求/运营/增长/创意/设计/协作/团队/沟通/交互/陪伴/情感,或深度/deep/失败2+次/反复失败/打转/卡住/言退/再试试/换个参数/算了
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.
Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.
Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.
A skill your agent uses when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for…
Moves a package from another TryGhost repository into Ghost as an internal workspace package while keeping its Git history, with checkpoints for the steps that need an administrator.
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+次/反复失败/打转/卡住/言退/再试试/换个参数/算了. 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 (skills/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 (skills/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).
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.4k tokens (SKILL.md is roughly 30k 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: Finishing a Development Branch (obra/superpowers, 297k stars), Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars) and Finishing A Development Branch (farm-fe/farm, 5.6k 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.