factory-no-comments

factory-no-comments is a command for Claude Code from watt-mind/factory. It costs 29 tokens per session (381 once invoked), scanned A, original, Apache-2.0.

A command that starts a review workflow for comments and lint or type suppressions in selected files or changes. It uses an independent reviewer, then checks the findings before making allowed edits.

In plain words
What is it for?
Run it with file paths, a directory, or a Git diff range, or let it inspect the current diff. It can remove accepted noise, apply small underlying fixes, and propose code or tests that enforce constraints instead of documenting them.
Why use it?
It turns comment cleanup into a repeatable command rather than an informal manual pass. The checks help prevent deleting comments that record legal, API, or external-system requirements.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions subagents.

Part of the core plugin — 38 skills, 22 commands, 5 agents, 1 hook shipped together

Good fit Run it with file paths, a directory, or a Git diff range, or let it inspect the current diff. It can remove accepted noise, apply small underlying fixes, and propose code or tests that enforce constraints instead of documenting them.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/watt-mind/factory/factory-no-comments
Install

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.

Clone the repo
git clone --depth 1 https://github.com/watt-mind/factory

Made for: Claude Code.

Or install core, the plugin that ships this one along with the rest of its 38 skills, 22 commands, 5 agents, 1 hook.

Wrote 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.

agentmods badge for factory-no-comments

README.md
[![agentmods](https://agentmods.dev/badge/commands/watt-mind/factory/factory-no-comments/github.svg)](https://agentmods.dev/commands/watt-mind/factory/factory-no-comments)
Your own site
<a href="https://agentmods.dev/commands/watt-mind/factory/factory-no-comments"><img src="https://agentmods.dev/badge/commands/watt-mind/factory/factory-no-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.

agentmods 80×15 button for factory-no-comments

Your own site · 80×15
<a href="https://agentmods.dev/commands/watt-mind/factory/factory-no-comments"><img src="https://agentmods.dev/badge/commands/watt-mind/factory/factory-no-comments.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 381 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.00381
Opus 5.5 $0.00012 $0.00152
Sonnet 5.5 $0.00006 $0.00076
Haiku 4.5 $0.00003 $0.00038

Measured 6d ago against content hash 017e57b92ec7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

factory-no-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 6d 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.

plugins/core/commands/factory-no-comments.md · 14 lines

What it actually says

Run a cold comment and suppression hygiene pass using shared/skills/factory-no-comments/SKILL.md and the factory-comment-sicko read-only subagent.

  1. Scope: Use $ARGUMENTS (file paths, directory, or diff range) when provided; otherwise audit the current diff against origin/<base> including the working tree. Never sweep an entire large repository in one pass.
  2. Spawn factory-comment-sicko: Pass worktree: <absolute path> and the exact scope without restating its rules.
  3. Audit the report: Reject scope escapes, protected keep-list deletions, or misstated MUST KILLs; check for missed lint/type suppressions; verify thin IMPORTANT / do not remove claims with /factory-why. Allow at most one rerun on rejection.
  4. Delete & fix: Remove accepted comments, apply trivial MUST KILL fixes directly, sketch non-trivial shapes first, and implement the smallest root-cause fix inside Owned Paths (file out-of-scope root causes to Triage).
  5. Encode constraints: For constraint comments (do not remove, must stay, etc.), offer the cheapest in-scope type, runtime check, test, or lint rule; encode on approval, then delete the comment.
  6. Verify & report: Run targeted tests plus lint/format/typecheck on touched files and report deletions, skips, reruns, fixes, encodings, and open follow-ups.
Changes

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.

  1. 6d ago First seen · 14 lines · 29 tokens per session scan A 017e57b92ec7

Subscribe to this mod's changes

factory-no-comments is a command published in the GitHub repository watt-mind/factory (24 stars, last pushed yesterday), licensed Apache-2.0. It adds 29 tokens to every session and 381 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-25.

Related

factory-no-comments compared with commands from other repositories

factory-no-comments next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
factory-no-commentswatt-mind/factoryCommand24yesterdayApache-2.0A29Claude Code
code-review-swarmruvnet/rufloCommand83ktodayMITA0Claude Code
pr-managerruvnet/rufloCommand83ktodayMITA0Claude Code
code-reviewruvnet/rufloCommand83ktodayMITA0Claude Code
pr-enhanceruvnet/rufloCommand83ktodayMITA0Claude Code
conveneHabitat-Thinking/ai-literacy-superpowersCommand124todaynoneA59Claude Code
model-cardHabitat-Thinking/ai-literacy-superpowersCommand124todaynoneA44Claude Code