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.
git clone --depth 1 https://github.com/movebrickschi/harness-engineering-mcpWrote 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.
[](https://agentmods.dev/rules/movebrickschi/harness-engineering-mcp/16-ai-efficiency)<a href="https://agentmods.dev/rules/movebrickschi/harness-engineering-mcp/16-ai-efficiency"><img src="https://agentmods.dev/badge/rules/movebrickschi/harness-engineering-mcp/16-ai-efficiency/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/rules/movebrickschi/harness-engineering-mcp/16-ai-efficiency"><img src="https://agentmods.dev/badge/rules/movebrickschi/harness-engineering-mcp/16-ai-efficiency.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00693 | $0.00693 |
| Opus 5.5 | $0.00277 | $0.00277 |
| Sonnet 5.5 | $0.00139 | $0.00139 |
| Haiku 4.5 | $0.00069 | $0.00069 |
Grade A, and why
16-ai-efficiency 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 3mo 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
AI Efficiency · 高效执行 & 省 Token 硬规则
与
assets/spec/AI_EFFICIENCY.md/assets/skills/ai-efficiency/SKILL.md配套。本文件是 Cursor / Claude Code 直接消费的硬规则版本——只列不可违反的最小集。
R1. 检索路径
- ✅ 知道符号名 → 先
Grep,禁止直接 Read 大文件找符号 - ✅ 知道文件名规律 → 先
Glob,再 Read - ❌ 一次 SemanticSearch 命中 ≥ 10 个文件 → 必须收紧查询,不要全读
R2. 读文件切片
- 单次 Read 必须带 offset/limit 当文件 > 500 行
- 永远不要 Read 整个
node_modules//dist//vendor/
R3. 并行调用
- 同一轮里独立的 ≥ 2 个工具调用必须一次性批发
- 顺序串行调用超过 4 次 = 违规
R4. Subagent 边界
- 检索范围 ≥ 3 文件 → 委派 subagent
- 主会话不读完整 fixture / 大日志 / 大 JSON dump,由 subagent 摘要后回报
R5. 修改原子化
- 一次
StrReplace改动 ≤ 100 行 diff - 跨文件大改 → 拆 ≥ N 次小 commit,每次均可独立通过
npm test --runRelatedTests
R6. 验证最小化
- 改完只跑被影响的测试子集(
--runRelatedTests/-pl module/ 单文件 pytest) - 全局
harness check --strict --run-tests仅在收尾跑一次
R7. 输出
- 每段
reply_message/ 主对话回复 < 2000 字符;超过即拆段或表格化 - 禁止重复粘贴 spec / rule 段落;用 URI 引用
R8. 失败处理
- 同一 bug ≥ 3 次尝试未修 → 切
systematic-debuggingskill,禁止「再试一下」式补丁 - 测试红了 → 优先根因,禁止 mock 掉测试断言来过
R9. 计划与执行
-
3 步任务 → 必须先出
writing-plansskill 的明文计划 - 用户拍板后才进入
executing-plans推进
R10. 缓存
- 不在每轮 prompt 里手抄 spec / rule / 项目 README
- 通过 MCP 资源 URI 引用,保持 prompt 前缀稳定以命中 prompt cache
任何项目可以在
.harness/config.json的modules.knowledge.ai_efficiency_strict中关闭部分硬规则,但默认全开。
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.
- 3mo ago First seen · 56 lines · 693 tokens per session scan A fcf6b8158e42
16-ai-efficiency is a cursor rule published in the GitHub repository movebrickschi/harness-engineering-mcp (2 stars, last pushed 6mo ago), licensed MIT. It adds 693 tokens to every session, about $0.0028 per session on Opus 5.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-31.
16-ai-efficiency compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| 16-ai-efficiencymovebrickschi/harness-engineering-mcp | Cursor rule | 2 | 6mo ago | MIT | A | 693 | Cursor |
| explorer-interface-briefmohitagw15856/pm-claude-skills | Cursor rule | 1.6k | today | MIT | A | 91 | Cursor |
| git-workflowgrafana/grafana-cube-datasource | Cursor rule | 20 | today | AGPL-3.0 | A | 616 | Cursor |
| feedback-enhancedMr-chen-05/rules-2.1-optimized | Cursor rule | 173 | 1y ago | MIT | A | 2,968 | Cursor |
| kiss-ponytailkellerza/hass-addons | Cursor rule | 9 | yesterday | Apache-2.0 | A | 599 | Cursor |
| 122-swift-developmentn0rvyn/cursor-rules | Cursor rule | 2 | 1y ago | none | A | 0 | Cursor |
| ponytailDietrichGebert/ponytail | Cursor rule | 205k | 14d ago | MIT | A | 604 | Cursor |