t00-rules-check

t00-rules-check is a command for Claude Code from maysunAI/T00-zh. It costs 29 tokens per session (662 once invoked), scanned A, original, MIT.

A command that checks whether project rules follow a four-level priority system called L1–L4. It reads specified files and produces a compliance report with suggested improvements.

In plain words
What is it for?
Use it to review rule-file length, inspect the latest reply block, find files in the wrong location, check RESUME.md, and optionally guide a full rule cleanup after confirmation.
Why use it?
It helps identify overloaded, duplicated, delayed, or misplaced rules that may make an agent follow instructions inconsistently. It also checks whether required reply and project-organization details are present.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

Good fit Use it to review rule-file length, inspect the latest reply block, find files in the wrong location, check RESUME.md, and optionally guide a full rule cleanup after confirmation.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/maysunai/t00-zh/t00-rules-check
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/maysunAI/T00-zh

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 t00-rules-check

README.md
[![agentmods](https://agentmods.dev/badge/commands/maysunai/t00-zh/t00-rules-check/github.svg)](https://agentmods.dev/commands/maysunai/t00-zh/t00-rules-check)
Your own site
<a href="https://agentmods.dev/commands/maysunai/t00-zh/t00-rules-check"><img src="https://agentmods.dev/badge/commands/maysunai/t00-zh/t00-rules-check/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.

agentmods 80×15 button for t00-rules-check

Your own site · 80×15
<a href="https://agentmods.dev/commands/maysunai/t00-zh/t00-rules-check"><img src="https://agentmods.dev/badge/commands/maysunai/t00-zh/t00-rules-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 662 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.00029 $0.00662
Opus 5 $0.00015 $0.00331
Sonnet 5 $0.00006 $0.00132
Haiku 4.5 $0.00003 $0.00066

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

Security

Grade A, and why

t00-rules-check 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 10d 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.

AI00_Common/.claude/commands/t00-rules-check.md · 69 lines

What it actually says

用户说「/t00-rules-check」时,执行以下检查:

也可用于完整8步规则优化(用户说「规则优化」时执行 Step A-H): Step A: 复制全部规则 → Step B: 分类 → Step C: 组合整合 → Step D: 优先级排序 Step E: 低优先级测试(废弃标准:与高优先矛盾/95%重复/无法量化) Step F: 输出废弃清单+报告 → Step G: 等用户确认 → Step H: 整合+备份+替换


Step 1:L1 效率检查

读取以下文件,统计自动加载总行数:

  • F:\T00\CLAUDE.md
  • F:\T00\AI00_Common\CLAUDE.md
  • F:\T00\AI00_Common\rules\R06_trust_levels.md
  • 任何在 F:\T00\.claude\rules\ 下的文件

判断:

  • ≤ 150 行 → ✅ 优秀
  • 151-200 行 → 🟡 偏多,建议精简
  • 201-333 行 → ⚠️ 危险区(规则开始被忽略)
  • 333 行 → 🔴 严重超载

同时检查 F:\T00\.claude\rules\ 下是否有项目专用规则(应该是空的)。

Step 2:L2 Reply 格式检查

读取 temp03_reply.md 最近一个 ══ 区块,检查:

  • 包含原文(逐字)
  • 包含日期时间
  • 包含 📌 行号标注
  • 无"下一步再做"等延迟项(reply 必须当场完整)

Step 3:L3 框架规则检查

  • 检查是否有内容散落在 T00 根目录(不在任何 PJ 文件夹)
  • 检查 RESUME.md 是否最近更新(最后一次「再见」后是否更新)

Step 4:输出报告

=== T00 规则合规检查报告 ===

📏 L1 效率
  自动加载总行数:XXX 行
  状态:✅/🟡/⚠️/🔴
  问题:[如有]

📝 L2 Reply 格式
  最近区块:[日期]
  原文完整:✅/❌
  含时间:✅/❌
  含行号:✅/❌
  无延迟项:✅/❌

📁 L3 框架
  根目录散落文件:[列出/无]
  RESUME.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. 10d ago First seen · 69 lines · 29 tokens per session scan A 17440347cc83

Subscribe to this mod's changes

t00-rules-check is a command published in the GitHub repository maysunAI/T00-zh (2 stars, last pushed 1mo ago), licensed MIT. It adds 29 tokens to every session and 662 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-31.