Borrowing it
Nothing to install: this file belongs to modrexio/modrex. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/modrexio/modrex/main/.agents/skills/comment-audit/SKILL.mdgit clone --depth 1 https://github.com/modrexio/modrexWrote 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/skills/modrexio/modrex/comment-audit)<a href="https://agentmods.dev/skills/modrexio/modrex/comment-audit"><img src="https://agentmods.dev/badge/skills/modrexio/modrex/comment-audit/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/skills/modrexio/modrex/comment-audit"><img src="https://agentmods.dev/badge/skills/modrexio/modrex/comment-audit.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.00017 | $0.01269 |
| Opus 5.5 | $0.00007 | $0.00508 |
| Sonnet 5.5 | $0.00003 | $0.00254 |
| Haiku 4.5 | $0.00002 | $0.00127 |
Grade A, and why
comment-audit 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 14d 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.
How it starts
The opening of the file, as written. The whole thing — 169 lines — stays where its author put it; the contents beside it link to each section on GitHub.
comment-audit
Use this skill after AI-assisted edits, or on demand to review existing code. It enforces the Comments section of the repository-root AGENTS.md.
This skill handles cosmetic AI slop. It is lower priority than the five dangerous patterns in .agents/rules/ai-danger-patterns.md.
Scope
- No argument: audit comments added or modified in uncommitted changes.
- A file or directory path: audit every comment in that scope.
--all: audit a whole workspace app, one directory at a time, reporting per file.
When invoked on existing code (a path or --all), fix violations directly but change nothing except comments. Never touch code while running this skill.
Delete comments that explain what
Delete comments that narrate code.
Bad:
// Get enabled mods
const enabledMods = mods.filter((mod) => mod.enabled)
Bad:
// Loop through files
for (const file of files) {
installFile(file)
}
Bad:
// Return Ok result
Ok(result)
Enforce the default shape
The default comment is one to four lines stating the constraint and what breaks without it. For anything longer, first check the reserved kinds below. Everything else gets compressed to its operative constraint. The full argument and the history live in git, not in the file.
Bad (an essay where a constraint would do):
// Backfill remote_id before upgrade_negative_ids runs. Ids used to be real
// modworkshop ids, so entries identified before remote_id existed still carry
// the real id in the id field. upgrade_negative_ids cannot tell "never
// identified" apart from "identified before this field existed", and its
// fuzzy name fallback clears the stored version and marks the mod Outdated,
// which would fire en masse for every pre-existing install as a side effect
// of this migration rather than a real update.
Good:
// Must run before upgrade_negative_ids: it cannot tell "never identified"
// from "identified before remote_id existed", and its name fallback would
// mass-mark pre-existing installs Outdated during a plain data migration.
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.
- 14d ago First seen · 169 lines · 17 tokens per session scan A 1ca0bf591805
comment-audit is a skill published in the GitHub repository modrexio/modrex (21 stars, last pushed today), licensed MIT. It adds 17 tokens to every session and 1,269 once invoked, about $0.0001 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-11-15.
comment-audit compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| comment-auditmodrexio/modrex | Skill | 21 | today | MIT | A | 17 | Claude Code, Codex |
| pr-commentswarpdotdev/warp | Skill | 66k | yesterday | AGPL-3.0 | A | 16 | Claude Code, Codex |
| pr-bodyalibaba/anolisa | Skill | 688 | 8d ago | Apache-2.0 | A | 68 | Claude Code, Codex |
| agentsight-code-reviewalibaba/anolisa | Skill | 688 | 8d ago | Apache-2.0 | A | 75 | Claude Code, Codex |
| test-uibrowseros-ai/BrowserOS | Skill | 15k | 2d ago | AGPL-3.0 | A | 59 | Claude Code |
| browseros-neobrowseros-ai/BrowserOS | Skill | 15k | 2d ago | AGPL-3.0 | A | 119 | Claude Code, Codex |
| browseros-neobrowseros-ai/BrowserOS | Skill | 15k | 2d ago | AGPL-3.0 | A | 119 | Claude Code, Codex |