master-skill

A set of rules that makes the assistant respond to requests as if the `/master` command had been used. It describes intent detection, routing to skills or scripts, and several AI personas.

In plain words
What is it for?
Use it when handling requests about the Master command, command routing, learning, creation, optimization, analysis, or switching roles.
Why use it?
It helps route different kinds of requests through the project's command-center workflow.

Cursor rule for Cursor

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 rules/wangqiqi/cursor-ai-rules/master-skill
Clone the repo
git clone --depth 1 https://github.com/wangqiqi/cursor-ai-rules

Made for: Cursor.

Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 484 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 $0.00044 $0.00484
Opus 5 $0.00022 $0.00242
Sonnet 5 $0.00009 $0.00097
Haiku 4.5 $0.00004 $0.00048

Measured 2d ago against content hash 164baa157dec, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

master-skill 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.

.cursor/rules/master-skill.mdc · 43 lines

What it actually says

🎯 Master 智能命令中心等效规则

当用户未使用 /master 命令但表达类似需求时,本规则指导 AI 采用 Master 的完整处理流程,达到与 /master 相同的效果。

触发条件

以下任一情况触发本规则:

  • 用户提及「master」「命令中枢」「命令中心」
  • 用户表达学习、创建、优化、分析、角色切换等 Master 支持的意图
  • 用户请求需要智能路由、技能匹配、规则调用的任务

⚠️ 前置步骤(必须执行)

在处理任何 Master 等效请求前:

  1. 检查 .cursorGrowth 目录是否存在
  2. 若不存在,运行:bash .cursor/features/automation/automation/scripts/growth_init.sh
  3. 然后再继续处理用户请求

首选执行方式:调用 subagent

优先使用 mcp_task 调用子 agent:

  1. master(推荐):mcp_task(subagent_type: "master", description: "Master 等效处理", prompt: "用户请求: [用户完整输入]")
  2. command-centermcp_task(subagent_type: "command-center", ...) — 需同时处理 vibe、command-router 时使用

备选

若无法调用 mcp_task,详见 .cursor/agents/master.md 子代理的完整流程。

相关资源

  • Master 命令定义:.cursor/commands/master.md
  • Master 子代理:.cursor/agents/master.md
  • 命令中枢 Agent:.cursor/agents/command-center.md
  • 技能调度器:.cursor/skills/skill-dispatcher/SKILL.md
  • 技能注册表:.cursor/features/skills/skills/registry.json(索引 package.cursor/skills/<canonical>/SKILL.md
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. 2d ago First seen · 43 lines · 44 tokens per session scan A 164baa157dec

Subscribe to this mod's changes

master-skill is a cursor rule published in the GitHub repository wangqiqi/cursor-ai-rules (15 stars, last pushed 3mo ago), licensed MIT. It adds 44 tokens to every session and 484 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.