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 agentmods add skills/greatsumini/cc-system/cc-usage-auditnpx skills add greatSumini/cc-system --skill cc-usage-auditgit clone --depth 1 https://github.com/greatSumini/cc-systemWrote 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/greatsumini/cc-system/cc-usage-audit)<a href="https://agentmods.dev/skills/greatsumini/cc-system/cc-usage-audit"><img src="https://agentmods.dev/badge/skills/greatsumini/cc-system/cc-usage-audit.svg" alt="Measured on agentmods" 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 | $0.00172 | $0.01235 |
| Opus 5 | $0.00086 | $0.00617 |
| Sonnet 5 | $0.00034 | $0.00247 |
| Haiku 4.5 | $0.00017 | $0.00123 |
Grade A, and why
cc-usage-audit 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 5d 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 — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.
cc-usage-audit
사용자의 실제 프롬프트(지어낸 것이 아니라 transcript에서 추출한 발화)를 원자료로, 사용 패턴 → 개발 철학 → 메타 시스템 audit → 개선점 발굴까지 정량적·추적가능하게 수행하는 skill.
핵심 원칙(어기지 말 것):
- 철학을 지어내지 말 것 — 사용자의 발화에서 추출하고 직접 인용으로 뒷받침.
- "자주/많이" 대신 수치로 ("70건 중 12건, 17%").
- 사용자가 최종 검증자 — 추출한 철학은 가설이며 어긋날 수 있음을 명시.
- 이 skill은 발굴·문서화까지. 발견한 문제를 즉시 고치지 않는다(사용자가 별도 지시하거나 다른 skill로 이어감).
상세 절차·휴리스틱·템플릿은 references/methodology.md 에 있다. 분석을
시작하기 전에 반드시 읽을 것.
워크플로
1. 프롬프트 추출
대상 프로젝트의 transcript 디렉터리를 찾아 사용자 프롬프트만 뽑는다. 스크립트가 harness 주입(tool 결과·system-reminder·task-notification·command stdout)을 걸러낸다.
SK=.claude/skills/cc-usage-audit/scripts/extract-prompts.mjs # cc-system repo 기준 경로
# (선택) 어떤 프로젝트 dir들이 있는지 + 프롬프트 수 먼저 보기
node "$SK" --list
# 분석 대상 프로젝트의 cwd(또는 worktree)에서 실행하거나 --match로 지정.
# 한 프로젝트가 여러 worktree에 걸쳐 있으면 공유 토큰(repo명/worktree 그룹id)으로 매칭.
node "$SK" --match <substr> --json /tmp/cc-prompts.json
--match 없이 실행하면 현재 git 루트에서 토큰을 자동 도출한다. 매칭 0건이면
--list로 후보를 확인하고 적절한 substr를 골라 재실행한다(막혀도 사용자에게
묻지 말고 --list 결과로 스스로 판단).
스크립트는 프롬프트 수·길이 분포·시간대·워크트리별 분포와 모든 프롬프트 전문을 출력한다. 이걸 다 읽는다.
2. 사용 패턴 정량화
methodology.md §1의 분류 축으로 프롬프트를 주제별로 묶어 빈도를 센다(반복
잡일 / 메타 의문 / 비판적 논쟁 / 재확인 / 언어교정 / 재전송 / 시간대 집중).
간단한 빈도는 /tmp/cc-prompts.json에 대고 한 줄 node -e로 센다.
3. 개발 철학 추출
신호에서 반복되는 가치를 5~9개 원칙으로 압축한다. 각 원칙 = 주장 / 근거
(직접 인용+날짜) / 함의. 긴장하는 원칙쌍은 그 긴장을 해소하는 규칙까지.
(methodology.md §2 템플릿 사용.)
4. 메타 시스템 audit
추출한 철학을 의심 질문 + 검증 방법 + 판정으로 바꿔 대상 산출물(게이트/
하니스/CI/프로세스 문서)에 적용한다. 정량 측정(LOC, 비율, 실행비용) → 의심
질문 → 반박 테스트 → 판정(KEEP/TRIM/MOVE-TO-TEST/DELETE/DEFER). 검증 약화로
통과시키는 것은 절대 금지. (methodology.md §3.)
프로젝트에 이미 audit 지침(예:
guidelines/meta-system-audit.md)이 있으면 단일 출처로 삼고 중복 생성 금지.
5. 개선점 발굴 + 우선순위 + 보고
audit + 패턴 신호로 개선점을 뽑아 영향 × 근거강도로 정렬하고, 각 항목에
신뢰도 라벨(높음/중간/참고)을 붙인다. 5개 관점(품질게이트/하니스/코드구조/
기능/skill) 또는 프로젝트에 맞는 축으로 표를 만든다. (methodology.md §4·§5.)
마지막에 사용자에게: 추출한 철학을 프로젝트 지침 문서로 남길지, 발굴한 개선점 중 무엇을 먼저 실행할지 제안한다(즉시 수정은 하지 않음).
What ships with it
2 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.
- 5d ago First seen · 79 lines · 172 tokens per session scan A 322bebac1bab
cc-usage-audit is a skill published in the GitHub repository greatSumini/cc-system (436 stars, last pushed 2mo ago), licensed MIT. It adds 172 tokens to every session and 1,235 once invoked, about $0.0009 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.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…
imagegen
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…