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 iusztinpaul/squid --skill squid-refactorgit clone --depth 1 https://github.com/iusztinpaul/squidWrote 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/iusztinpaul/squid/squid-refactor)<a href="https://agentmods.dev/skills/iusztinpaul/squid/squid-refactor"><img src="https://agentmods.dev/badge/skills/iusztinpaul/squid/squid-refactor/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/iusztinpaul/squid/squid-refactor"><img src="https://agentmods.dev/badge/skills/iusztinpaul/squid/squid-refactor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00047 | $0.02469 |
| Opus 5.5 | $0.00019 | $0.00988 |
| Sonnet 5.5 | $0.00009 | $0.00494 |
| Haiku 4.5 | $0.00005 | $0.00247 |
Grade A, and why
squid-refactor 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 1mo 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 — 177 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Refactor — plan a no-behaviour-change structural improvement
A refactor is not a feature and not a bug, so the Product Architect's feature-grooming flow doesn't fit. This skill produces a Tasks Plan whose tasks are commit-grain (each one keeps main shippable, suite green at every commit) and whose AC are structural: imports, types, signatures, dependency direction, public surface, test coverage ("module X no longer imports module Y"). The output feeds /squid-implement-night directly.
You are the planner — you may delegate exploration but do NOT write code, do NOT execute steps. Your output is the plan file plus a hand-off message.
$ARGUMENTS is one of:
- A free-form refactor goal ("extract
auth.sessioninto its own package", "replace ad-hoc retries withtenacity", "renameUser.idtoUser.uidrepo-wide"). - A path to a markdown spec.
- A tracker reference.
If empty, ask the user for one.
Read AGENTS.md first to confirm the active tracker mode (file or gh) and the pipeline map this plan plugs into.
When NOT to use
- A feature with new user-visible behaviour — use
/squid-plan(PA grooming) instead. - A rewrite — it's a feature whose user-visible behaviour is "the new system, but the same"; don't smuggle it in here.
- A bug fix — use
/squid-triage-issue, then/squid-implement-taskor/squid-implement-night. - A one-file rename you can finish in five minutes — just do it; don't ceremony.
Step 1 — Resolve and frame the refactor
Identify what to refactor from $ARGUMENTS (same resolution rules as /squid-triage-issue's Step 1).
Capture three things explicitly — ask the user via AskUserQuestion if any are missing, one round of questions max:
- Goal — one sentence, structural. ("Move all auth code out of
core/and intoauth/.") - Definition of done — concrete, testable structural invariants. ("
grep -r 'from core.auth' src/returns nothing"; "auth/has no imports fromcore/except types"). At least 2. - Hard constraints — what must not change. ("Public API of
core.session.Sessionunchanged"; "no DB schema changes"; "feature flag X stays toggleable throughout").
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.
- 1mo ago Changed · -17 lines e85f5dfa9338
- 1mo ago First seen · 194 lines · 47 tokens per session scan A fdf8ff7ff2e0
squid-refactor is a skill published in the GitHub repository iusztinpaul/squid (210 stars, last pushed yesterday), licensed Apache-2.0. It adds 47 tokens to every session and 2,469 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-08-30.
Other skills, from other repositories
fastapi
A Python framework for building web APIs, which are interfaces that let programs communicate over HTTP. It supports request validation, automatic API documentation, asynchronous code, reusable dependencies, and common authentication methods.
fzf
A command-line tool for finding items by typing partial text, with results updating as you type. It can search files, shell command history, processes, directories, Git branches, commits, and other text output.
glances
A guide for using Glances, a cross-platform system-monitoring tool that displays computer resource and process information in a terminal, browser, or API.
lazydocker
A keyboard-driven terminal interface for managing Docker, a system for running applications in isolated containers.
paper-checking
A Windows application for finding copied text in documents. It compares files with a reference collection or compares documents in the same batch with one another.
you-get
A command-line tool for downloading videos, audio, and images from websites such as YouTube and Bilibili.