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.
npx skills add cboone/agent-harness-plugins --skill trim-commentsgit clone --depth 1 https://github.com/cboone/agent-harness-pluginsWrote 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/cboone/agent-harness-plugins/trim-comments)<a href="https://agentmods.dev/skills/cboone/agent-harness-plugins/trim-comments"><img src="https://agentmods.dev/badge/skills/cboone/agent-harness-plugins/trim-comments/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/cboone/agent-harness-plugins/trim-comments"><img src="https://agentmods.dev/badge/skills/cboone/agent-harness-plugins/trim-comments.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.00053 | $0.00460 |
| Opus 5.5 | $0.00021 | $0.00184 |
| Sonnet 5.5 | $0.00011 | $0.00092 |
| Haiku 4.5 | $0.00005 | $0.00046 |
Grade A, and why
trim-comments 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 28d 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.
What it actually says
Trim Comments
Compatibility alias for comment trimming through trim-text's code-comments profile. Keep this name, its triggers and its existing options working while the common standard and workflow live in trim-text.
Handoff
Confirm that the trim-text skill is available. If unavailable, report unavailable, name the missing dependency, and leave files unchanged. Never recreate a second copy of its standard or workflow.
Invoke the trim-text skill with --profile code-comments and the original paths, named comment and options (--dry-run, --no-commit, --no-codex). With no paths or named comment, pass branch explicitly: the equivalent is trim-text branch --profile code-comments, using the verified remote default branch as the base. Do not choose a PR body or use its target branch as the base for this alias. With explicit paths, every comment in those files is in scope; a named comment is the whole scope. Pass paths as data without interpreting words such as branch, pr or issue as scope selectors: prefix a literal path with ./ when it conflicts with a selector.
The target resolves scope, classifies comments, edits, verifies, commits when allowed, and reports. It skips prose documents and symlinks, keeps code and protected comments unchanged, flags ticketless TODOs, and never pushes. Report-only proposals keep the target's read-only Codex sandbox and completion checks. Return its checked report directly; do not run another trim pass.
Apply the target's moved/copied-text scope and current-code retention checks. Return all declined proposals with their reasons, supporting evidence and unresolved checks, including in dry runs.
Skill dependencies
- Required:
trim-text - Optional: None
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 28d ago Changed · -342 lines d0b4f451c2dd
- 1mo ago Changed 960c7f3a6edf
- 1mo ago Changed · +21 lines 86cebb5e9d1b
- 1mo ago First seen · 349 lines · 53 tokens per session scan A 76e5ef1eb362
trim-comments is a skill published in the GitHub repository cboone/agent-harness-plugins (3 stars, last pushed 5d ago), licensed MIT. It adds 53 tokens to every session and 460 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-10-08.
trim-comments compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| trim-commentscboone/agent-harness-plugins | Skill | 3 | 5d ago | MIT | A | 53 | Claude Code |
| chat-complex-documentsvellum-ai/vellum-assistant | Skill | 1.5k | 6d ago | MIT | A | 90 | Claude Code, Codex |
| tui-migrate-setupwarpdotdev/warp | Skill | 66k | today | AGPL-3.0 | B | 75 | Claude Code, Codex |
| agent-qa-testingvibeeval/vibecosystem | Skill | 554 | 19d ago | MIT | A | 58 | Claude Code, Codex |
| sync-local-reposvinta/hal-9000 | Skill | 144 | today | MIT | A | 38 | Claude Code, Codex |
| bootstrap-prdjoshukraine/dotfiles | Skill | 430 | 7d ago | MIT | A | 25 | Claude Code |
| talk-stage1-extractFlorianBruniaux/claude-code-plugins | Skill | 47 | today | MIT | A | 64 | Claude Code |