Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/sergeiwallace/ai-cli-utilsnpx agentmods add skills/sergeiwallace/ai-cli-utils/delete-commentWrote 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/sergeiwallace/ai-cli-utils/delete-comment)<a href="https://agentmods.dev/skills/sergeiwallace/ai-cli-utils/delete-comment"><img src="https://agentmods.dev/badge/skills/sergeiwallace/ai-cli-utils/delete-comment/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/sergeiwallace/ai-cli-utils/delete-comment"><img src="https://agentmods.dev/badge/skills/sergeiwallace/ai-cli-utils/delete-comment.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.00062 | $0.01310 |
| Opus 5.5 | $0.00025 | $0.00524 |
| Sonnet 5.5 | $0.00012 | $0.00262 |
| Haiku 4.5 | $0.00006 | $0.00131 |
Grade A, and why
delete-comment 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 2d 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 — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Delete comments
Repeat the comment-deletion pass on a path. The rule, the lexers and the decision-record
test are in docs/procedures/comment-ratchet.md; read it first.
The argument is a path (file or directory). With none, the pass covers the whole repository.
1. List what is there
python3 scripts/comment_ratchet.py --list <path>
Each line is path:line: text. The last line, total: N comments in F files; L comment-only lines, is the estimate before the pass: L lines go if every comment goes.
Keep it for the report.
If the repository has no baseline yet, fill it first, in its own commit:
python3 scripts/comment_ratchet.py --init.
2. Skip lines that come from the template
A file copier manages (it exists in the template) can hold two kinds of comment line: lines from the template source, and lines this repository added. Only the second kind is this pass's work. The template's lines are fixed in project-template, then arrive here with a copier update.
To tell them apart, render the template at the commit this repository was last updated to, and diff:
render=$(mktemp -d)
commit=$(sed -n 's/^_commit: //p' .copier-answers.yml)
src=$(sed -n 's/^_src_path: //p' .copier-answers.yml)
copier copy --trust --defaults --skip-tasks --vcs-ref "$commit" \
--data-file .copier-answers.yml "$src" "$render/out"
diff "$render/out/<file>" "<file>"
$src may be replaced with a local clone of project-template (~/projects/project-template)
to avoid a network fetch; the _commit must exist in it.
Paths listed in comment-skip.txt are copied in by the fleet installer and are not
counted. Leave them alone: their comments are deleted in the platform's source hooks.
Paths listed in comment-skip.local.txt are files this repository does not author, such
as vendored bundles, and are not counted either. Leave them alone too.
A comment line that appears only on the repository side of the diff (>) is the
repository's. A comment line that also appears in the render is the template's: leave it,
and name it in the report as a template line. Remove the render directory with
rm -r "$render" when done. A repository without .copier-answers.yml owns every line.
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.
- 2d ago First seen · 118 lines · 62 tokens per session scan A 718fc650a69e
delete-comment is a skill published in the GitHub repository sergeiwallace/ai-cli-utils (1 stars, last pushed today), licensed MIT. It adds 62 tokens to every session and 1,310 once invoked, about $0.0002 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-27.
delete-comment compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| delete-commentsergeiwallace/ai-cli-utils | Skill | 1 | today | MIT | A | 62 | Claude Code |
| code-review-pythonsoulcodex/agentic | Skill | 10 | 10d ago | MIT | A | 59 | Claude Code, Codex |
| crit-clitomasz-tomczyk/crit | Skill | 1.4k | 2d ago | MIT | A | 110 | Claude Code |
| crittomasz-tomczyk/crit | Skill | 1.4k | 2d ago | MIT | A | 55 | Claude Code, Codex |
| crit-storytomasz-tomczyk/crit | Skill | 1.4k | 2d ago | MIT | A | 47 | Claude Code, Codex |
| python-servicesiliaal/whetstone | Skill | 37 | yesterday | MIT | A | 48 | Claude Code, Codex |
| patch-editwolfenazz/YzPzCode | Skill | 20 | yesterday | Apache-2.0 | A | 30 | Claude Code, Codex |