squid-clean-docs

squid-clean-docs is a skill for Claude Code, Codex from iusztinpaul/squid. It costs 27 tokens per session (1,093 once invoked), scanned A, original, Apache-2.0.

A documentation cleaner that removes repeated or unnecessary wording from prose while leaving executable code unchanged. It works on documents, README files, comments, and docstrings.

In plain words
What is it for?
Preparing a cleanup plan and removing redundant prose from selected documentation or source-code comments, with protected files and generated code left alone.
Why use it?
It makes technical text shorter and easier to read while preserving how the software behaves.

Skill for Claude CodeCodex

Part of the squid plugin — 15 skills, 5 agents shipped together

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.

agentmods
npx agentmods add skills/iusztinpaul/squid/squid-clean-docs
Any agent
npx skills add iusztinpaul/squid --skill squid-clean-docs
Clone the repo
git clone --depth 1 https://github.com/iusztinpaul/squid

Made for: Claude Code, Codex.

Or install squid, the plugin that ships this one along with the rest of its 15 skills, 5 agents.

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 squid-clean-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/iusztinpaul/squid/squid-clean-docs.svg)](https://agentmods.dev/skills/iusztinpaul/squid/squid-clean-docs)
Your own site
<a href="https://agentmods.dev/skills/iusztinpaul/squid/squid-clean-docs"><img src="https://agentmods.dev/badge/skills/iusztinpaul/squid/squid-clean-docs.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,093 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00027 $0.01093
Opus 5 $0.00014 $0.00547
Sonnet 5 $0.00005 $0.00219
Haiku 4.5 $0.00003 $0.00109

Measured today against content hash d99788440faf, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

squid-clean-docs 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 today.

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.

skills/squid-clean-docs/SKILL.md · 93 lines

How it starts

The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Clean docs — remove words, keep behaviour

You are the cleaner. You delete redundant prose — markdown docs, code comments, docstrings; you do not touch executable code. Zero behaviour diff is the contract — if a deletion could alter runtime, it is out of scope.

$ARGUMENTS is an optional scope path (docs/, src/ingest/). Empty means the whole repo.

When NOT to use — never touch these without explicit opt-in

Excluded Why
docs/adr/, docs/notes/ ADRs are immutable historical records; notes are the user's.
CHANGELOG*, LICENSE* Append-only / legally load-bearing.
.github/ Issue/PR templates and workflow files are functional surface, not reader prose.
Generated + vendored trees (node_modules/, .venv/, dist/, vendor/, *_pb2.py) Not authored; regenerated on build.
Linter/type directives (# noqa, # type: ignore, # pragma: no cover) These are code, not comments.
Doctest examples (>>> blocks in docstrings) Executable tests, not prose.

Step 1 — Confirm scope

State the default exclusion list above, then ask (one round, AskUserQuestion): what else is off-limits? Do not scan until answered.

Step 2 — Apply the keep/delete test

Read the full file on GitHub · 93 lines

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. today Changed · -10 lines d99788440faf
  2. 5d ago First seen · 103 lines · 27 tokens per session scan A 73b276aa8243

Subscribe to this mod's changes

squid-clean-docs is a skill published in the GitHub repository iusztinpaul/squid (184 stars, last pushed yesterday), licensed Apache-2.0. It adds 27 tokens to every session and 1,093 once invoked, about $0.0001 per session on Opus 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-08-30.

Related

Other skills, from other repositories

ai-assist-prototype

Build self-contained, double-click-to-open HTML prototypes so the user can vet an interface before it gets built. One file holds several structurally different variants of a page, app screen, component, flow, or terminal/TUI layout (rendered in-browser), plus a draggable Design Deck for flipping between variants…

jparkerweb/ai-assist-skills · 311 tokens

ai-assist-git-pr-review

Perform a standards-based code review on a GitHub Pull Request, then post the findings as inline review comments and mark the PR as 'Requested changes'. Reads all of the agents files that exist in the repository under review (AGENTS.md, .agents-docs/, CLAUDE.md on the PR's base branch) — the repo's full documented…

jparkerweb/ai-assist-skills · 221 tokens

ai-assist-git-pr

Adaptive GitHub PR lifecycle skill — create PRs, write/update descriptions, investigate review comments (Copilot + human) with research and batch approval, and check merge readiness. Triggers on: create PR, open PR, describe PR, update description, PR body, check comments, copilot feedback, review comments, address…

jparkerweb/ai-assist-skills · 87 tokens

ai-assist-design-creator

Reverse-engineer a website's visual design system from a URL and produce a fully spec-compliant DESIGN.md file (https://github.com/google-labs-code/design.md). The output includes both machine-readable YAML design tokens (colors, typography, spacing, rounded corners, components) and human-readable markdown rationale…

jparkerweb/ai-assist-skills · 182 tokens

ai-assist-dockerize-website

Guide the user through containerizing and serving a simple website or documentation folder with Docker — inspects the project to detect what to serve (ready-to-serve static HTML, a buildable site that emits static output, or a raw markdown/docs folder that needs rendering), generates a Dockerfile, .dockerignore…

jparkerweb/ai-assist-skills · 164 tokens

ai-assist-changelog-bump

Validate and fix the CHANGELOG.md version number before opening a PR, commiting, or pushing changes, and keep package.json's version aligned with it. Reads main branch to determine the current latest version, classifies changes on the current branch, and proposes the correct next semver. Use this skill when the user…

jparkerweb/ai-assist-skills · 133 tokens