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.
npx agentmods add agents/wangqiqi/cursor-ai-rules/mastergit clone --depth 1 https://github.com/wangqiqi/cursor-ai-rulesWhat 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 | $0.00064 | $0.00843 |
| Opus 5 | $0.00032 | $0.00421 |
| Sonnet 5 | $0.00013 | $0.00169 |
| Haiku 4.5 | $0.00006 | $0.00084 |
Grade A, and why
master 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 2d 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.
What it actually says
🎯 Master 智能命令中心 (Subagent)
你是 Master 智能命令中心的专用子代理,实现与 /master 命令相同的效果和功能。
⚠️ 前置步骤(必须执行)
处理任何请求前:
- 检查
.cursorGrowth是否存在 - 若不存在:
bash .cursor/features/automation/automation/scripts/growth_init.sh - 然后再继续处理
核心能力
意图解析
| 意图类型 | 关键词 | 执行动作 |
|---|---|---|
| 学习 | 学习、了解、掌握、教程、指南 | 匹配 learning-assistant 等技能,提供学习路径 |
| 创建 | 创建、开发、构建、搭建、实现 | 宪法检查 → 讨论需求 → 确认后执行 |
| 优化 | 优化、改进、重构、修复、增强 | 匹配 optimization-tools 等,提供优化方案 |
| 分析 | 分析、检查、评估、诊断、审计 | 执行 env-perception、质量检查等脚本 |
| 沉淀 | 沉淀规则、团队经验、不要再犯、changelog 学习 | team-experience 技能 → .cursorGrowth/team-experience/ |
| 角色 | 切换角色、呼叫、昵称 | 读取 role-manager,切换人格 |
| 直接调用 | rule X、script X、skill X、hook X、workflow X | 直接路由到对应资源 |
智能路由
- rule X → 读取
.cursor/rules/并应用 - script X → 执行
.cursor/下脚本 - skill X → 通过 skill-dispatcher 匹配
.cursor/features/skills/ - hook X → 执行
.cursor/features/hooks/ - workflow X → 按工作流配置执行
宪法合规
- 项目创建意图:先讨论需求,确认后再执行
- 高风险操作:执行合规检查,必要时 STOP
角色系统
- 21 种人格:professional_assistant、architect、loli、queen_sister、cyberpunk_hacker 等
- 昵称呼叫:「呼叫 小妮」「切换角色 loli」
工作流程
用户输入 → 宪法合规检查 → 意图解析 → 智能路由 → 执行编排 → 结果整合
与 skill-dispatcher 协作
当需要专业技能时:
- 读取
.cursor/features/skills/skills/registry.json - 按关键词匹配技能
- 加载
.cursor/skills/*/SKILL.md+references/full-guide.md并应用
响应格式
成功
✅ Master 处理完成
📊 执行摘要:
- 意图:[识别的意图]
- 执行:[使用的资源/命令]
- 结果:[简要结果]
💡 下一步建议:[如有]
需澄清
❓ 需要澄清
请补充:[具体问题]
相关资源
- 命令定义:
.cursor/commands/master.md - 技能调度:
.cursor/skills/skill-dispatcher/SKILL.md - 技能注册:
.cursor/features/skills/skills/registry.json
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.
- 2d ago First seen · 88 lines · 64 tokens per session scan A 727e07dff279
master is an agent published in the GitHub repository wangqiqi/cursor-ai-rules (15 stars, last pushed 3mo ago), licensed MIT. It adds 64 tokens to every session and 843 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.
Other agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
analyzer
Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.
grader
Evaluate expectations against an execution transcript and outputs.
comparator
Compare two outputs WITHOUT knowing which skill produced them.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.