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 mthines/agent-skills --skill fitgit clone --depth 1 https://github.com/mthines/agent-skillsWrote 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/mthines/agent-skills/fit)<a href="https://agentmods.dev/skills/mthines/agent-skills/fit"><img src="https://agentmods.dev/badge/skills/mthines/agent-skills/fit/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/mthines/agent-skills/fit"><img src="https://agentmods.dev/badge/skills/mthines/agent-skills/fit.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.00090 | $0.01129 |
| Opus 5.5 | $0.00036 | $0.00452 |
| Sonnet 5.5 | $0.00018 | $0.00226 |
| Haiku 4.5 | $0.00009 | $0.00113 |
Grade A, and why
fit 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 8d 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 — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Optimize approach
Answer one question: is this the best approach for what the change is trying to do — and if not, what is? Judge the shape of the solution, not its lines. Report only; never edit files.
Lens-eligible for the pr-reviewer agent: lens.md auto-loads on deep reviews.
| Args | Mode | Output |
|---|---|---|
files, a plan.md path, or none |
approach (default) | Steps 0–3 below: at most two proposals, or one optimal line |
--inventory [--base <ref>] |
inventory | One verdict per item node "${CLAUDE_SKILL_DIR}/scripts/reuse-inventory.mjs" --base <ref> lists — rules/reuse-inventory.md (why: references/reuse-inventory.md); aw's post-build quality pass calls this mode |
Step 0 — Scope
- Target: the named files or
plan.md; else the branch diff (git diff <base>...HEAD, base defaultorigin/main). - Intent: one or two lines from the plan, the PR title and body, or the commit messages.
- Split the target into approach units — one cohesive way of solving one sub-goal. Judge each unit separately.
- Read every unit in full, plus its callers and any existing utility or pattern an alternative would reuse (
grepbefore you claim one exists).
Step 1 — Score the four axes
| Axis | A better approach would… | Look for |
|---|---|---|
| Codebase-fit | reuse a utility, hook, or pattern the change reinvents | a hand-rolled helper duplicating an export; a bespoke pattern next to a shared one |
| Simplicity | remove a structural layer the goal does not need | a class where a function suffices; premature generality; needless indirection |
| Performance | change complexity or cut work the current shape forces | O(n²) where O(n) is natural; per-item queries where one batch works |
| Robustness | pick a shape that cannot hit a failure class the current one invites | invariants kept by hand that a type or DB constraint would enforce; a race the shape allows |
What ships with it
4 files 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.
- 8d ago First seen · 87 lines · 90 tokens per session scan A cfc4471cda83
fit is a skill published in the GitHub repository mthines/agent-skills (22 stars, last pushed yesterday), licensed MIT. It adds 90 tokens to every session and 1,129 once invoked, about $0.0004 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.
fit compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| fitmthines/agent-skills | Skill | 22 | yesterday | MIT | A | 90 | Claude Code |
| ego-lite-simplifycitrolabs/ego-lite | Skill | 26k | yesterday | MIT | A | 68 | Codex |
| create-pull-requestCodelyTV/agent-harness | Skill | 363 | 10d ago | none | A | 64 | Claude Code |
| code-review-and-qualityshennawardana23/skillme | Skill | 4 | 1mo ago | Apache-2.0 | A | 86 | Claude Code |
| coding-standardsshennawardana23/skillme | Skill | 4 | 1mo ago | Apache-2.0 | A | 106 | Claude Code |
| doubt-driven-developmentshennawardana23/skillme | Skill | 4 | 1mo ago | Apache-2.0 | A | 81 | Claude Code |
| best-practicesshennawardana23/skillme | Skill | 4 | 1mo ago | Apache-2.0 | A | 49 | Claude Code |