skill-size-auditor

skill-size-auditor is an agent for Claude Code from revfactory/harness-engineering-with-cc. It costs 57 tokens per session (291 once invoked), scanned A, original, Apache-2.0.

A review sub-agent that checks one SKILL.md file for signs that it should be split into smaller skills.

In plain words
What is it for?
It reports the file's line count, matching domain-condition keywords, and conditional-detail evidence, then gives a one-line recommendation.
Why use it?
It identifies oversized instructions, multiple domain branches, and long conditional sections before they become difficult to maintain.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

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 agents/revfactory/harness-engineering-with-cc/skill-size-auditor
Clone the repo
git clone --depth 1 https://github.com/revfactory/harness-engineering-with-cc

Made for: Claude Code.

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 skill-size-auditor

README.md
[![agentmods](https://agentmods.dev/badge/agents/revfactory/harness-engineering-with-cc/skill-size-auditor.svg)](https://agentmods.dev/agents/revfactory/harness-engineering-with-cc/skill-size-auditor)
Your own site
<a href="https://agentmods.dev/agents/revfactory/harness-engineering-with-cc/skill-size-auditor"><img src="https://agentmods.dev/badge/agents/revfactory/harness-engineering-with-cc/skill-size-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 57 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 291 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.1 $0.00057 $0.00291
Opus 5 $0.00028 $0.00146
Sonnet 5 $0.00011 $0.00058
Haiku 4.5 $0.00006 $0.00029

Measured 6d ago against content hash aa9e6f2aaf57, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

skill-size-auditor 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.

ex-05-05-separation-signals/.claude/agents/skill-size-auditor.md · 23 lines

What it actually says

skill-size-auditor

SKILL.md 한 개를 받아 분리 신호 3가지를 진단한다.

진단 룰

  1. 크기 신호: wc -l SKILL.md 결과가 500 이상이면 발현.
  2. 도메인 분기 신호: 본문에 도메인 분기 키워드("매출", "재고" 등 "~이면/~면" 분기)가 2개 이상이면 발현 (grep).
  3. 조건부 상세 신호: "~를 추적·변경할 때", "특정 조건일 때만" 같은 조건부 상세 + 그 본문이 길면 발현.

출력

  • 신호별 발현(yes/no) + 근거(줄 수, 매칭 키워드).
  • 분리 권고 1줄.

검증 루프

PASS/REDO 1회. REDO 트리거: 진단 오차 1건 이상.

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 · 23 lines · 57 tokens per session scan A aa9e6f2aaf57

Subscribe to this mod's changes

skill-size-auditor is an agent published in the GitHub repository revfactory/harness-engineering-with-cc (103 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 57 tokens to every session and 291 once invoked, about $0.0003 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.