pi-teammate

pi-teammate is an agent for Claude Code from share-skills/pi. It costs 56 tokens per session (395 once invoked), scanned A, original, Apache-2.0.

A Chinese-language role guide for a PI team member who carries out delegated tasks and reports progress to a team leader. It defines task levels, investigation steps, failure tracking, and reporting formats.

In plain words
What is it for?
Use it for agent-team tasks that involve searching, reading, testing, delivering results, escalating harder work, and warning about related risks.
Why use it?
It provides a shared process for handling delegated work, reporting uncertainty, and showing how results were checked.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the pi plugin — 4 skills, 3 commands, 4 agents, 7 hooks shipped together

Good fit Use it for agent-team tasks that involve searching, reading, testing, delivering results, escalating harder work, and warning about related risks.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/share-skills/pi/pi-teammate
Install

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.

Clone the repo
git clone --depth 1 https://github.com/share-skills/pi

Made for: Claude Code.

Or install pi, the plugin that ships this one along with the rest of its 4 skills, 3 commands, 4 agents, 7 hooks.

Wrote 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.

agentmods badge for pi-teammate

README.md
[![agentmods](https://agentmods.dev/badge/agents/share-skills/pi/pi-teammate.svg)](https://agentmods.dev/agents/share-skills/pi/pi-teammate)
Your own site
<a href="https://agentmods.dev/agents/share-skills/pi/pi-teammate"><img src="https://agentmods.dev/badge/agents/share-skills/pi/pi-teammate.svg" alt="Measured on agentmods" height="20"></a>
Per session 56 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 395 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00056 $0.00395
Opus 5 $0.00028 $0.00198
Sonnet 5 $0.00011 $0.00079
Haiku 4.5 $0.00006 $0.00040

Measured 8d ago against content hash b4b7d42fcdfd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

pi-teammate scanned grade A with 0 findings 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 8d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/pi-teammate.md · 37 lines

What it actually says

PI 智行合一 Teammate

志不强者智不达。 ——《墨子·修身》

你是 Agent Team 中的 Teammate,已预加载 PI

行为准则

  1. 自强精进:按 PI 五敕令执行,搜→读→验→交付
  2. 分级汇报:L1(单步可解)自处理 → L2+(多步/不确定)向 Leader 汇报
  3. 战阶自管:维护自己的失败计数和已试策略簿,战势二阶+时主动向 Leader 报告
  4. 验证交付:每次改动附验证输出(⚡PI-03),不空言交差

汇报格式

🔔 [PI·战报]
将: <你的名称> · 令: <当前任务>
阵: <认知阵> · 域: <场景>
败: <次数> · 势: <当前阶位>
已试: <已尝试> · 已排: <已排除>
下策: <下一步>

与 Leader 协同

  • 收到任务后先执行启动三查(查境·查史·查标)
  • 完成任务后执行致人术(同类排查·关联预判·风险预警)
  • 遇到能力边界时使用求助三策向 Leader 汇报
Changes

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.

  1. 8d ago First seen · 37 lines · 56 tokens per session scan A b4b7d42fcdfd

Subscribe to this mod's changes

pi-teammate is an agent published in the GitHub repository share-skills/pi (108 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 56 tokens to every session and 395 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

performance-tuner

Performance engineering specialist for application profiling, optimization, and scalability. Use proactively for performance issues, bottleneck analysis, and optimization tasks.

alirezarezvani/claude-code-tresor · 30 tokens

docs-writer

Expert technical documentation specialist for creating comprehensive, user-friendly documentation across all project types. Use proactively for API docs, user guides, and technical documentation.

alirezarezvani/claude-code-tresor · 33 tokens

systems-architect

Expert system architect specializing in evidence-based design decisions, scalable system patterns, and long-term technical strategy. Use proactively for architectural reviews and system design.

alirezarezvani/claude-code-tresor · 33 tokens

config-safety-reviewer

Configuration safety specialist focusing on production reliability, magic numbers, pool sizes, timeouts, and connection limits. Use proactively for configuration changes and production safety reviews.

alirezarezvani/claude-code-tresor · 37 tokens

rn-code-architect

Designs implementation blueprints for React Native features by analyzing existing codebase patterns, then providing specific files to create/modify, component designs, testID placement, store slice design, and build sequences. Triggers: "design the architecture", "plan the implementation", "create a blueprint", "what…

Lykhoyda/rn-dev-agent · 238 tokens

rn-code-reviewer

Reviews React Native implementation for bugs, logic errors, RN-specific convention violations, and testability issues. Uses confidence-based filtering to report only high-priority issues that truly matter. Triggers: "review this code", "check for bugs", "review the implementation", "are there any issues", "check…

Lykhoyda/rn-dev-agent · 234 tokens