Rule Curator — Security skill for Claude Code
Audit and prune the standing rules a project operates under (CLAUDE.md, memory, AGENTS.md, ADRs, conventions) in one whole-corpus pass.
How to install Rule Curator
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open bwdurst/rule-curator and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Rule Curator does
Audit and prune the standing rules a project operates under (CLAUDE.md, memory, AGENTS.md, ADRs, conventions) in one whole-corpus pass.
Alternatives in Security
- Maestro Knowledge — Intent-driven knowledge-store and Run knowledge lifecycle management — audit/prune, stage candidates (with sig 530 ★
- Review Branch — Review an existing branch holistically before merging — blast radius, conventions, security, and spec complian 55 ★
- Trustabl Rulebook — Agent reliability rulebook: the threat model and rationale behind each Agent Reliability Analyzer rule 52 ★
README
Rule Curator
A skill that audits the behavioral rules an agent operates under and helps you keep, drop, or rewrite them.
Agents accumulate rules across many files: global and project `CLAUDE.md`, a memory system, project docs like `AGENTS.md`, ADRs, conventions. Nobody prunes them. Rules go stale, contradict each other, duplicate installed skills, or restate things the model already does by default. Every rule also costs context tokens each session, and the more rules there are, the less attention each one gets.
Rule Curator gathers the rules, analyzes each one against the whole set, and builds a page in your browser where you mark each rule keep, drop, or modify. It then turns your decisions into a reviewable edit plan and, once you confirm, applies the edits to the source files.
What it does
Every rule gets two separate write-ups:
- A behavioral impact statement: what following the rule actually changes about the agent's behavior, and what it costs. Every rule gets one.
- An audit note, only when something is wrong, from a fixed set of categories: redundant, stale or superseded, misfiled, low-yield ritual, not actionable, brittle, or conflicting.
The skill checks the categories that audits usually skip (brittle rules, misfiled entries), and it does not invent problems on healthy rules to look thorough.
If your rule files live in git, the audit records the commit it ran against (`meta.commits` in rules.json, shown in the UI header and included in both exports). When you come back to your decisions days later, that record shows exactly which files changed in the meantime. If your rule files are not in git, the skill says so up front and warns you before applying anything that a deleted rule cannot be recovered.
Repo contents
SKILL.md— the workflow, the analysis contract, and the disciplinesreferences/analysis-contract.md— the full rubric with worked examplesreferences/apply-plan-format.md— the edit-plan format an
Related Skills
Kai Review Project
Audit a project's AI system against brigade conventions and project-structure rules. Reports PASS/FAIL per che
Session Audit
Self-audit pass over CLAUDE.md rules and memory files. Surfaces stale rules, undocumented workarounds, and con
Leo Frontend Checklist
Audit changed frontend files against the Front-End Checklist rule corpus via its MCP server (zero deps, report
Global Agent Rules
Standing rules file for coding agents on web apps: schema protection, security, GDPR, SEO and a tiered pre-dep
Memory Hygiene
Audit and clean up Claude Code's persistent memory system — MEMORY.md, memory files, lessons, and ADRs
Memory Checkup
Audit and repair an AI agent's memory corpus for consistency: stale numbers, dangling references, dead daily f
Related Agents
Run Lead
watchbill RUN LEAD seat (task or standing): does a chunk of a system's work under the current rules at a state
Kb Corpus Curator
Register, ingest and verify a source in this knowledge base through the kb- mise tasks, and close the loop wit
Governance Learner
Feedback Distiller. Use this agent at sprint close to audit /memory/ logs, distill systemic patterns from bug-