How this skill is triggered — by the user, by Claude, or both
Slash command
/cairn:analytics-usage-reporthaikuThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
<!-- personal 모드는 단순 집계라 haiku로 충분. team 모드의 "인사이트 제안"(D항목)이
사용 패턴을 분석하여 인사이트 리포트를 생성합니다.
/usage-report [personal|team] [기간: 7d|30d|90d (기본: 30d)]
personal (기본): 본인의 사용 패턴team: 팀 전체 비교 (각 팀원 usage-log 집계).cairn/personal/{사번}/usage-log.jsonl
각 라인은 /wrap 실행 시 자동 생성된 세션 로그:
{
"date": "2026-03-12",
"session_id": "abc123",
"duration_min": 45,
"commands": ["/work-start", "/work-tasks", "/worklog"],
"rules_triggered": ["jira-workflow", "daily-workflow"],
"agents_used": ["code-reviewer", "dba"],
"commits": 3,
"files_changed": 8,
"categories": ["docs", "rules"]
}
git log --author={이메일} — 커밋 패턴.cairn/personal/{사번}/worklog/ — 작업일지# usage-log.jsonl 읽기
LOGFILE=".cairn/personal/$(git config user.name | sed 's/.*//;')/usage-log.jsonl"
# 폴백: 사번 직접 사용
# LOGFILE=".cairn/personal/<YOUR_USER_ID>/usage-log.jsonl"
usage-log에서 commands 배열을 집계:
usage-log에서 rules_triggered 배열을 집계:
usage-log에서 agents_used 배열을 집계:
팀원별 usage-log.jsonl을 집계 (.cairn/personal/*/usage-log.jsonl):
<YOUR_NAME> <YOUR_NAME> <YOUR_NAME> <YOUR_NAME> <YOUR_NAME>
/work-start 12 8 5 3 2
/work-tasks 15 10 3 2 1
/code-review 8 2 0 0 0
/tdd 3 0 0 0 0
데이터 기반으로 자동 생성:
╔══════════════════════════════════════════════════╗
║ USAGE REPORT (personal · 30d) ║
╠══════════════════════════════════════════════════╣
📊 요약
├─ 기간: 2026-02-11 ~ 2026-03-12
├─ 총 세션: 42회 · 평균 세션: 52분
├─ 총 커밋: 68건 · 변경 파일: 312개
└─ 활성 커맨드: 14/27 (52%)
🔧 커맨드 TOP 10
├─ /worklog ████████████████ 38회
├─ /work-tasks ██████████████ 32회
├─ /work-start ████████████ 28회
├─ /code-review ████████ 18회
├─ /wrap ██████ 14회
├─ /plan ████ 8회
├─ /tdd ███ 6회
├─ /brainstorm ██ 4회
├─ /e2e ██ 4회
└─ /build-fix █ 2회
📋 규칙 트리거 TOP 5
├─ daily-workflow ████████████ 42회
├─ jira-workflow ██████████ 38회
├─ git-workflow ████████ 28회
├─ doc-organization ██████ 22회
└─ impact-analysis ████ 8회
⚠️ 미사용 (활용 기회?)
├─ 커맨드: /create-service, /add-project, /update-codemaps
└─ 규칙: apidog-workflow, patterns
📈 트렌드
├─ 이번 주: 12세션 (지난 주 대비 +20%)
├─ 신규 사용: /e2e (이번 주부터)
└─ 감소: /session-insights (3주 미사용)
╚══════════════════════════════════════════════════╝
Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub kt-cloud-infra-ops/cairn