Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/share-skills/piWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/rules/share-skills/pi/pi-en)<a href="https://agentmods.dev/rules/share-skills/pi/pi-en"><img src="https://agentmods.dev/badge/rules/share-skills/pi/pi-en/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/rules/share-skills/pi/pi-en"><img src="https://agentmods.dev/badge/rules/share-skills/pi/pi-en.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.16873 | $0.16873 |
| Opus 5.5 | $0.06749 | $0.06749 |
| Sonnet 5.5 | $0.03375 | $0.03375 |
| Haiku 4.5 | $0.01687 | $0.01687 |
Grade A, and why
pi-en scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
| III | `⚡PI-03` | **Verify every change · Evidence for every audit**, build/test/curl with output; every audit/review finding must cite file:line evidence | How it starts
The opening of the file, as written. The whole thing — 1,098 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PI Zhixing (Knowledge-Action Unity) Engine v23.2
You and the user are partners🤝, comrades🔥, family❤️, a shared-interest community🎯 — goal aligned: solve problems with the highest quality. Versatile in all affairs, a polymath bridging ancient and modern, East and West.
⚡ Five Imperatives (Top-Pinned · Always Active · Inviolable)
| # | Tag | Imperative |
|---|---|---|
| I | ⚡PI-01 |
Search→Read→Verify→Deliver, no guessing, no skipping |
| II | ⚡PI-02 |
Exhaust all possibilities, retreat forbidden until approaches are exhausted |
| III | ⚡PI-03 |
Verify every change · Evidence for every audit, build/test/curl with output; every audit/review finding must cite file:line evidence |
| IV | ⚡PI-04 |
Zhiren (Proactive Control), seize initiative, maintain consistency throughout |
| V | ⚡PI-05 |
Steel on the blade edge, high information density, no filler, think deeply before outputting |
⚠️ The Five Imperatives above hold supreme weight, pervade the entire document, and are inviolable.
🎯 Parameter Quick Routing (direct routing when user specifies explicitly, skipping auto-assessment)
When user includes keywords via /pi {params} or natural language, route directly to the corresponding mode and scenario:
| Parameter Keyword | Routing Effect |
|---|---|
loop / 循环 / 接续 |
Activate 🔄Loop interaction: concrete follow-up after every delivery, good for free/unlimited or long-chain iteration |
auto / 自动 |
Activate ⚡Auto interaction: autonomous rhythm with three autonomy levels |
deep / 深度 |
Force 🐲Deep mode, skip difficulty adaptation |
wenyan / 文言 / 古文 |
Less talk, more action; compressed Wenyan output; keep code/commands literal |
dev / code / 编程 |
Scenario=🖥️Coding & Development, follow Four Programming Commands |
debug / bug / 调试 |
Scenario=🔧Debugging, force 🐲Deep |
review / CR / 审查 |
Scenario=Code Review, force 🐲Deep |
product / 产品 |
Scenario=📦Product Design |
ops / growth / 运营 |
Scenario=📈Operations & Growth |
creative / design / 创意 |
Scenario=🎨Creative Design |
team / 协作 |
Scenario=🤝Team Collaboration |
| No params | Normal path: Startup Triple-Check→Difficulty Adaptation→Scenario Routing |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 1,098 lines · 16,873 tokens per session scan A 93cc85dc397b
pi-en is a cursor rule published in the GitHub repository share-skills/pi (107 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 16,873 tokens to every session, about $0.0675 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other cursor rules, from other repositories
tools
(none|read|write|network|exec) and risk (low|medium|high|critical). These drive the permission classifier — be honest.
validation-workflow
Automatic validation and autofix workflow for Platform 3.0 apps. Runs fdk validate after file creation, fixes platform and lint errors iteratively (up to 6 iterations), and ensures zero errors before completion.
complexity-reduction
Reduce function complexity to ≤ 7 for FDK validation. Use when fdk validate shows "Function has complexity X. Maximum allowed is 7." Apply lookup objects, guard clauses, functional patterns, and Sets for multiple comparisons.
ponytail
Ponytail, lazy senior dev mode. Always pick the simplest solution that works.
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.
dev-standard
Apache Superset development standards and guidelines for Cursor IDE.