metrics
Skill1 starsChanged 4 months agoMITView on GitHub
에이전트 사용량 리포트. 전체 집계(기간·프로젝트별 세션·토큰, 워크플로 순위, docs 읽힘, 페르소나 위임, 에러/가드 신호) 또는 세션 1개 정밀 리포트(session 모드). 조회 전용. 하네스 도입 효과·설치 전후 비교는 harness-impact.
22 other projects use a version of this.
Adopted by
Most recently taken up by
- annsa-ai/business-of-agentstheir own version, first seen Nov 29, 2026
- scolladon/crafttheir own version, first seen Nov 15, 2026
- zedarvates/frugal-skillstheir own version, first seen Nov 8, 2026
- AsiaOstrich/EngramGraphtheir own version, first seen Nov 8, 2026
- SatanshuMishra/interphasetheir own version, first seen Nov 1, 2026
- hiper2d/werewolf-ai-party-gametheir own version, first seen Nov 1, 2026
Used with
Projects with it also use docgen, knowledge-graph and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
prsolansSkilldocgen
Generate professional contract/agreement PDFs (and .docx CLM templates) from a declarative YAML config using the yaml-doc-generator tool ("docgen"). Use this whenever the user wants to create, manufacture, or mock up agreement documents — an MSA, NDA, SaaS/subscription agreement, amendment, exhibit, SOW, renewal notice, loan/credit agreement, fund/investment doc, BAA/DPA, government contract, or a whole document FAMILY between named parties — especially demo/test documents to load into Docusign Navigator/CLM or to feed an agreement-lifecycle agent. Triggers include "generate an MSA/NDA/agreement", "make demo contracts", "create a document family for <party> and <party>", "use docgen", or "use the yaml-doc-generator". Produces real PDFs with parties, clauses, and a manifest of critical dates (renewal/expiration).
Also in 3 projects that use this
ddehartSkillknowledge-graph
Search, capture, and query the claude-code-plugins knowledge graph. Use when asked to "capture this", "add this to the graph", "what do we know about X", "update the graph", "check the graph for X", or when a decision, pattern, or non-obvious fact surfaces mid-session that's worth recording. Also: "log an observation", "what patterns do we have about skill triggering", "any decisions on the knowledge-commons plugin", "what do we know about the commit-creator agent".
Also in 3 projects that use this
rajnavakotiSkillscan
Run the AI dashboard scanner and generate the HTML report.
Also in 3 projects that use this
MicrosoftSkillretrospective
Review how work went and improve the next round. USE WHEN asked for a retro, delays, or process lessons. DO NOT USE for code review or transcript replay.
Also in 3 projects that use this
OpenAISkillobservability
Vercel Observability expert guidance — Drains (logs, traces, speed insights, web analytics), Web Analytics, Speed Insights, runtime logs, custom events, OpenTelemetry integration, and monitoring dashboards. Use when instrumenting, debugging, or optimizing application performance and user experience on Vercel.
Also in 3 projects that use this
BlockSkillplan
Draft a TDD, PRD, or lightweight plan in the conversation without committing it.
Also in 5 projects that use this
Other versions22 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 22
- google-gemini/gemini-cli★ 109ksame name
- ZimoLiao/scholaraio★ 589same name
- menkesu/awesome-pm-skills★ 441same name
- ai-analyst-lab/ai-analyst★ 304same name
- AsiaOstrich/universal-dev-standards★ 86same name
- BULDEE/ai-craftsman-superpowers★ 35same name
- hiper2d/werewolf-ai-party-game★ 22same name
- ariaxhan/kernel-claude★ 16same name
- AsiaOstrich/EngramGraph★ 4same name
- ffsshhttiikk/opencode-agents-skills★ 2same name
12 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository33 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- design-auditSkill
- design-polishSkill
- fix-bugSkill
- implement-featureSkill
- investigateSkill
- releaseSkill
- reviewSkill
- ui-reviewSkill
- design-auditSkill
- ui-reviewSkill
- autofixSkill
- boardSkill
- design-polishSkill
- design-referencesSkill
- design-screenSkill
- design-system-builderSkill
- diagramSkill
- emil-design-engSkill
- explain-forSkill
- handsfreeSkill
- handsfree-uiSkill
- harness-impactSkill
- harness-initSkill
- harness-updateSkill
- harvestSkill
- landing-pageSkill
- setupSkill
- understand-changeSkill
- ux-writing-auditSkill
- ux-writing-builderSkill
- web-design-guidelinesSkill
The file
Files
/metrics — 에이전트 사용량 리포트
~/.ai-harness/ 데이터를 집계해 리포트를 출력한다. 프로젝트 파일·PR에는 조회 전용이며, 로컬 event cache와 harvest 대기 상태는 최신 transcript/extractor 기준으로 갱신한다 (개선 작업은 /harvest).
경로 표기: 아래 $ROOT = 이 SKILL.md가 있는 디렉토리의 두 단계 상위(플러그인 루트).
인자: $ARGUMENTS
- 기간:
7d/30d/90d/all(기본30d) - 프로젝트명 (예:
my-service) — 지정 시 해당 프로젝트만 session [sid앞부분]— 세션 1개 정밀 모드 (아래 "session 모드"). sid 생략 시 현재 세션- 예:
/metrics 7d my-service,/metrics all,/metrics session,/metrics session a7e2fc6f
session 모드 (첫 인자가 session일 때)
$ROOT/scripts/session.sh [sid|latest]실행 — sid 미지정이면latest. 스크립트가 CodexCODEX_THREAD_ID또는 Claude session ID를 우선하고, 없을 때만 현재 프로젝트의 최신 transcript를 선택한다- 표를 그대로 붙이지 말고 요약: 한 줄 개요(턴·토큰·서브에이전트 토큰·주 활동) → 눈에 띄는 포인트 2~3개 (토큰 비대 원인, 컨텍스트 최대치와 그것을 채운 툴 결과·docs 상위, docs/워크플로 경유 vs 직접 편집, error·guard_block 지점). 컨텍스트 수치는 transcript의 호출별 usage와 결과 크기(UTF-8 바이트/4)로 낸 추정이며, 시스템 프롬프트·툴 정의 같은 항목별 내역은 transcript에 없어
/context로만 볼 수 있음을 필요하면 밝힌다 - 진행 중 세션이면 "현재까지" 기준임을 명시
절차 (전체 집계 모드)
- 데이터 갱신 + 집계:
$ROOT/scripts/backfill.sh
$ROOT/scripts/health.sh status
$ROOT/scripts/stats.sh --days <N> [--project <P>]all이면 --days 생략. 추세 언급을 위해 직전 동일 기간과 비교하고 싶으면 --days 2N 결과와 차분. 특정 날짜 구간은 --since YYYY-MM-DD [--until YYYY-MM-DD](until 날짜 미포함). 하네스 설치 전후 비교 요청이면 harness-impact로 넘긴다.
프로젝트가 지정됐으면 과거 event cache도 누적량 판정에 포함하고 준비 상태를 확인한다.
$ROOT/scripts/harvest-queue.sh import --project <P>
$ROOT/scripts/harvest-queue.sh status --project <P>
$ROOT/scripts/harvest-queue.sh history --project <P>has_analysis_batch:true이면 리포트 마지막에 묶음 생성 사유와 세션·교정·오류·차단·권한 거부 수를 요약하고 /harvest <P>를 안내한다. metrics에서는 mark-reviewed하지 않는다.
history가 있으면 review.outcome별 improved/no-change 횟수와 최근 summary·artifact를 짧게 보여준다. 이는 분석 묶음 수가 아니라 실제 개선 산출률이며, outcome이 없는 legacy reviewed 항목은 별도로 표시한다.
health.sh status에서 최근 last_result가 failure인 구성요소가 있으면 해당 시각·오류와 함께 수집 건강 경고를 표시한다. 이벤트 상세가 보관 정책으로 정리된 기간은 rollups/ 통계가 자동 포함되며, 교정 원문은 이미 검토 완료되어 [reviewed]로 비식별화됐음을 명시한다.
프로젝트가 지정됐고 그 프로젝트 경로를 알면(cwd 등) 0회 문서 산출: 해당 프로젝트 .ai-harness/docs/**/*.md 파일 목록과 stats의 doc_read 목록을 차집합. 단, stats의 수집 범위에서 doc_read 지원 세션만 분모로 사용하고, 지원 세션이 0개면 0회/죽은 문서 판정을 하지 않는다. 경로를 모르면 "최저 읽힘"까지만 언급.
재작업 비율 (사용자가 재작업·후속 PR 비율을 물었거나 인자에 rework가 있을 때만): 이벤트 데이터가 아니라 git 머지 기록으로 잰다. 대상 저장소 경로를 모르면 사용자에게 묻는다.
$ROOT/scripts/rework.sh --repo <저장소> [--repo <저장소>]... --author <이메일 또는 이름 패턴> \
--since <YYYY-MM-DD> --until <YYYY-MM-DD> [--window 7] [--exclude-key <설정용 키>]정의: 기간 안에 머지된 PR(작성자 커밋 포함) 중, 머지 뒤 window일 안에 같은 이슈 키로 새 PR 작업이 시작된 비율. 시작 시각은 후속 PR이 들여온 가장 이른 커밋이라 원본 머지 전에 시작한 분할 PR은 세지 않는다. window가 아직 끝나지 않은 PR은 pending_prs로 분모에서 빠진다 — 이번 주 값이 비어 보이면 기간을 window만큼 앞당겨 다시 잰다. 원격 브랜치(git fetch)만 보므로 먼저 fetch하고, 머지되지 않은 후속 PR은 세지 못한다(과소 추정)는 점을 함께 쓴다.
같은 이슈 키의 후속이 모두 결함 수정은 아니다. 결과의 rework[].title·followups[].title(머지 커밋 본문 첫 줄)을 보고 사람이 판정한 TSV를 --judgments <파일>로 넘기면 보정값을 함께 낸다. 한 줄에 repo<TAB>원본PR<TAB>후속PR<TAB>verdict<TAB>메모, repo는 by_repo의 이름, verdict는 defect(앞선 PR 결함 수정)·scope(합의로 늘어난 범위)·preexisting(기존 코드 결함)·planned(계획된 단계 분할) 중 하나다. # 주석과 빈 줄은 건너뛰고, 그 밖의 verdict는 usage 오류(exit 2)다. 결과에 judged_rework_prs(defect이거나 판정 없는 후속이 있는 재작업)·judged_ratio(settled 기준)·unjudged(판정 없는 후속)가 붙고 rework_ratio는 그대로다. 판정 없는 후속은 재작업으로 남으므로, 보정값을 보고할 때 unjudged가 비어 있지 않으면 그 수를 함께 쓴다.
- 원본 표를 그대로 붙이지 말고 요약해서 출력:
## 사용량 리포트 (<기간>, <범위>)
**한 줄 요약**: 세션 N개 · 턴 N · in/out 토큰 N/N (cache hit ~N%) · 서브에이전트 in/out N/N · source별 관측 범위
**어디에 썼나**: 프로젝트 상위 2~3개 + 세션/토큰 비중
**비율**: 워크플로 경유 세션 %(하네스 프로젝트 활성 세션 기준)와 워크플로 대상 세션 경유 %(그중 워크플로를 경유했거나 구현 페르소나에 위임했거나 코드 파일을 고친 세션 기준 — 조회·빌드/CI 설정·문서만 바꾼 세션 제외), 저장소 정보 활용 %(대상 세션 중 `.ai-harness/docs/`·`.ai-harness/workflows/` 문서를 읽은 세션 — 자동 로드되는 AGENTS.md·CLAUDE.md는 근거 아님) — stats `## 비율` 값을 분자/분모와 함께 그대로 옮긴다. 낮은 프로젝트 1~2개만 짚는다(프로젝트 표의 `대상 경유`·`정보 활용` 열 우선). 서브에이전트가 읽은 문서는 부모 세션의 정보 활용으로 잡히지 않는다(Claude는 `subagents/` 기록을 토큰만 합산하고, Codex는 롤아웃 파일마다 따로 추출한다. 서브에이전트 대화가 같은 파일에 `isSidechain`으로 담긴 구형 Claude transcript만 부모로 센다) — 위임만 하고 메인이 직접 읽지 않은 세션은 미활용으로 셈해 과소 추정임을 밝힌다. 재작업 비율을 쟀으면 `rework_prs/settled_prs`(pending 수)와 저장소별 상위만 덧붙인다
**뭘로 썼나**: 워크플로/커맨드 상위 3~5 + 페르소나 위임 상위 3
**docs 활용**: 최다 읽힘 2~3개 / 관측 지원 세션 기준 0회 문서 명단. 미지원은 0회로 쓰지 않음
**컨텍스트**: 프로젝트별 시작(첫 호출 입력 — 시스템·툴·첫 턴 첨부 포함, `/context` 고정 항목 합보다 큼)·최대 중앙값, 창 대비(Codex만) — 높은 프로젝트만 짚는다. docs 컨텍스트 비용 상위(1회당 크기가 큰 문서는 분할 후보), 툴 결과 크기 상위 2~3
**신호**: error·guard_block·permission_deny·compact 합계 — 눈에 띄는 것만 코멘트
**Jira**: 언급 상위 3 이슈- 마지막에 눈에 띄는 포인트 1~3개만 짚는다 (예: "docs X 30일째 0회", "error 급증"). 근거 수치 없이 해석하지 않는다. 개선까지 원하면
/harvest안내.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

