rules-audit
Run my monthly AIOS rules audit (the budget check, /doctor prompt-audit and /skill-doctor) and save the findings to a dated file. Use for /rules-audit, the monthly audit, a new model release, or "what should I cut from my rules".
- License 许可
- MIT
- 最近更新
- 2026-11-06
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- rules-audit
- description
- Run my monthly AIOS rules audit (the budget check, /doctor prompt-audit and /skill-doctor) and save the findings to a dated file. Use for /rules-audit, the monthly audit, a new model release, or "what should I cut from my rules".
03 SKILL.md 正文
The monthly rules audit
Run it on the first working day of each month and on the day a new Claude model ships. The audit reports. It never edits the member's rules. Changes happen only when they tick them.
Find the command
- Claude Code:
aios-rulesis on PATH from this plugin'sbin/. - Codex or Cursor:
~/.local/bin/aios-rules, or resolve this SKILL.md's symlink and runpython3 <pack>/bin/aios-rules, two folders aboveskills/rules-audit.
1. Run it
From the member's AIOS folder:
aios-rules audit
It writes 80_aios/audits/YYYY-MM-DD_rules-audit_v1.md (_v2 if one exists today) with:
- the budget check for Claude Code, Codex and Cursor;
/doctor prompt-audit: old-model instructions, dead references, contradictions;/skill-doctor: what each skill costs and which are never used;- a decisions checklist.
Steps 2 and 3 run claude -p on the member's own Claude Code sign-in, with read-only tools
(Read, Glob, Grep; Edit, Write and Bash denied). They use the member's subscription, never an API key.
Each can take several minutes. Use --out <folder> for another location and --no-claude for
the budget check only.
2. Read the file honestly
- The last line gives each step's status:
ok,unavailable,failed,skippedornot-run. unavailable: the command is not offered in that session (for example,/skill-doctorneeds a terminal session that fetches feature flags). Ask the member to run it in Claude Code in their terminal and paste the report under its heading. Never fill a section yourself.failed: show the error and fix the cause (not signed in,claudenot on PATH, timeout).
3. Decide, then change
Walk the checklist with the member, one finding at a time:
- Cut lines from AGENTS.md that an agent no longer gets wrong. Move procedures to skills and
one-folder rules to
.claude/rules/withpaths:. - Hide skills
/skill-doctorshows as unused:/skills, then press Space to cycle to name-only or off. Plugin skills are turned off in/plugin. - Apply prompt-audit edits only for the findings they tick. Show the diff first.
Then run
aios-rules checkagain and record the new totals in the audit file.
4. Make it monthly
Offer a calendar reminder first. If they want it automatic on an always-on Mac, show this
crontab line and add it only with their yes (cron needs the full path to claude):
0 9 1 * * cd "$HOME/my-aios" && PATH="$HOME/.local/bin:/opt/homebrew/bin:$PATH" aios-rules audit
Audit files can hold private details. Keep them out of public repositories. End with the file path, each step's status, and one next action. British English.
04 同仓库更多 Skills
your-voice
Help them build THEIR voice skill from their recordings and line edits. Use when they type /your-voice. Never install daniel-voice.
your-ops
Help them componentize THEIR invoice or ops template from a real document they sent. Use when they type /your-ops. Never ship NavAIgate letterhead or KG register facts.
your-brain
Help them start THEIR memory and keep it in step across machines. Use when they type /your-brain. Never install brain-sync or turso-search.
writing-style
Scrub AI slop from prose they are about to ship. Use when they type /writing-style, or when they ask to de-slop a draft. Voice itself is /your-voice — this skill is the editor.
web-scrape
Search the web semantically and pull clean content from pages, including JavaScript-heavy ones. Use whenever you need live web data during a task: finding docs, API references, code examples, articles, papers, or current info (Exa semantic search), or extracting the readable content of a specific URL — especially a JS-rendered, dynamic, or paywalled-by-script page a plain fetch returns empty (Firecrawl). Trigger even when the tools aren't named: "scrape this page", "search the web for", "pull the content from this URL", "find docs/articles about", "extract data from this site", "what does this page say", "research X online", "get me the latest on". Also bundles source clients — keyless Reddit (practitioner sentiment), Academic (OpenAlex papers + Unpaywall free PDFs, citations), Substack (newsletters, long-form), and paid Supadata (YouTube search + multi-platform transcripts) — plus a multi-source deep-research method: reach here for "what do people on Reddit say", "find research papers / citations on", "read this Substack / newsletter", "YouTube transcript", "video transcript", or "do a rigorous deep research pass on X".
transcripts
Pull YouTube, TikTok, Instagram or file transcripts via Supadata. Use when they type /transcripts or paste a video URL and want the words.