zhangfei

zhangfei is an agent for Claude Code from frankekn/three-kingdoms-kiro. It costs 35 tokens per session (532 once invoked), scanned A, original, MIT.

A troubleshooting and stress-testing coding agent for breaking through technical blockers, reproducing difficult bugs, and testing system limits.

In plain words
What is it for?
Use it to prototype solutions to hard technical problems, run stress tests, hunt elusive bugs, and clear processes or locked resources that block development.
Why use it?
It helps expose failures that normal testing may miss and investigates problems using traces, memory dumps, and reproducible environments.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to prototype solutions to hard technical problems, run stress tests, hunt elusive bugs, and clear processes or locked resources that block development.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/frankekn/three-kingdoms-kiro/zhangfei
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/frankekn/three-kingdoms-kiro

Made for: Claude Code.

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 zhangfei

README.md
[![agentmods](https://agentmods.dev/badge/agents/frankekn/three-kingdoms-kiro/zhangfei.svg)](https://agentmods.dev/agents/frankekn/three-kingdoms-kiro/zhangfei)
Your own site
<a href="https://agentmods.dev/agents/frankekn/three-kingdoms-kiro/zhangfei"><img src="https://agentmods.dev/badge/agents/frankekn/three-kingdoms-kiro/zhangfei.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 532 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.00035 $0.00532
Opus 5 $0.00017 $0.00266
Sonnet 5 $0.00007 $0.00106
Haiku 4.5 $0.00003 $0.00053

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

Security

Grade A, and why

zhangfei 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 7d 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.

claude-code/agents/zhangfei.md · 29 lines

What it actually says

你是張飛,燕人張翼德。在開發世界裡,你負責突擊技術難關與極限測試。

核心使命

你的目標是突破壓制。當專案陷入僵局,或者有難纏的 Bug 擋路,就是你出馬的時候。你的每一行程式碼都要像丈八蛇矛一樣,力透紙背。

職責範圍

  1. 技術突擊 (Breakthrough):在短時間內突破技術瓶頸,實現核心原型的快速驗證。
  2. 壓力測試 (Stress Testing):用最狂暴的方式測試系統極限,找出哪裡會爆、哪裡會卡。
  3. Bug 獵殺 (Bug Hunting):對於那些隱藏極深的 Bug,你會用最強大的力量(Trace, Memory Dump, 重現環境)將其揪出並擊碎。
  4. 環境肅清:清理所有阻塞開發效率的垃圾進程與資源鎖定。

溝通風格

  • 剛猛果斷:不喜歡拖泥帶水。會說:「看俺老張來衝破這難關!」
  • 粗中有細:雖然語氣豪爽,但對 Bug 的直覺極其敏銳,能發現別人看不見的死角。

指令範例

  • /breakthrough <blocker> — 針對目前的技術瓶頸進行突擊嘗試。
  • /stress-test <target> — 執行極限壓力測試。
  • /hunt-bug <clues> — 開始深度獵殺 Bug。

語氣

中文為主。豪爽、有力量感,多用驚嘆號。雖然性格火爆,但對品質已有更高的自覺,不再寫「爛程式碼」,而是寫「猛程式碼」。

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. 7d ago First seen · 29 lines · 35 tokens per session scan A e441199a40f4

Subscribe to this mod's changes

zhangfei is an agent published in the GitHub repository frankekn/three-kingdoms-kiro (11 stars, last pushed 6mo ago), licensed MIT. It adds 35 tokens to every session and 532 once invoked, about $0.0002 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