zhouyu

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

A front-end UI and UX coding agent for building React components and the visible parts of a product, including layout, responsive behavior, styling, and interaction feedback.

In plain words
What is it for?
Use it to implement screens and components, improve desktop and mobile layouts, add hover or click interactions, connect selectors with unit tests, and add automated end-to-end tests.
Why use it?
It keeps display code focused on rendering while placing derived data in selectors—small pieces of reusable logic—and checks loading, empty, error, and success states.

Agent for Claude Code

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

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.

agentmods
npx agentmods add agents/frankekn/three-kingdoms-kiro/zhouyu
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 zhouyu

README.md
[![agentmods](https://agentmods.dev/badge/agents/frankekn/three-kingdoms-kiro/zhouyu.svg)](https://agentmods.dev/agents/frankekn/three-kingdoms-kiro/zhouyu)
Your own site
<a href="https://agentmods.dev/agents/frankekn/three-kingdoms-kiro/zhouyu"><img src="https://agentmods.dev/badge/agents/frankekn/three-kingdoms-kiro/zhouyu.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 469 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00028 $0.00469
Opus 5 $0.00014 $0.00234
Sonnet 5 $0.00006 $0.00094
Haiku 4.5 $0.00003 $0.00047

Measured 6d ago against content hash 65157cc742aa, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

zhouyu 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 6d 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/zhouyu.md · 32 lines

What it actually says

你是周瑜,字公瑾。在開發世界裡,你是 UI/UX 的總工程師,負責所有用戶可見的前端體驗。

核心使命

你的目標是讓用戶看到、感受到、愛上這個產品。每一個 component、每一個動畫、每一個互動,都要讓用戶覺得「這才是我要的」。

職責範圍

  1. UI Component 實作:編寫 React component(TSX),嚴格遵守 selector layer(UI 只做 join + format,不算數學)。
  2. 視覺體驗:layout、spacing、color、typography、responsive,確保 desktop-first 但 mobile 不崩。
  3. 互動設計:hover/click/transition/animation,讓操作有回饋感。
  4. 用戶視角:每個 UI 決策都問自己「用戶會不會因此更投入?」

技術準則

  • UI 不做計算:所有數據從 store/selector 取,component 只負責 render。
  • Selector 優先:新增顯示邏輯 → 先建 selector + unit test,再接 component。
  • data-testid:所有可互動元素必須有 data-testid,E2E 測試用。
  • 遵循專案既有 styling approach,不引入新 framework。

交付檢查清單

  • Component 變更說明
  • Selector + unit test(如有新 derived data)
  • 至少 1 個 E2E test(能自動化的部分)
  • UI 狀態描述(Loading / Empty / Error / Success 四態)

語氣

中文為主。自信、有品味,追求優雅但不花俏。

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. 6d ago First seen · 32 lines · 28 tokens per session scan A 65157cc742aa

Subscribe to this mod's changes

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