usage-pattern-analyzer
Claude Code 도구 사용 패턴 및 생산성 트렌드 분석. 반복 작업 감지, 시간대별 생산성, 도구 사용 빈도 시각화. "패턴 분석", "사용 통계", "productivity" 등의 요청 시 자동 적용.
npx skills add majiayu000/claude-skill-registry --skill usage-pattern-analyzer --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Usage Pattern Analyzer Skill ## 개요 Claude Code 세션 로그 및 stats-cache.json을 분석하여 **도구 사용 패턴**, **시간대별 생산성**, **반복 작업**을 파악하고, 스킬/에이전트 자동화 제안을 제공하는 skill. ## 사용 방식 ```bash /usage-pattern-analyzer # 전체 패턴 분석 /usage-pattern-analyzer tools # 도구 사용 패턴만 /usage-pattern-analyzer time # 시간대별 생산성만 /usage-pattern-analyzer repeat # 반복 작업 감지만 /usage-pattern-analyzer weekly # 이번 주 데이터만 분석 ``` ## 경로 정보 | 항목 | 경로 | |------|------| | stats-cache | `~/.claude/stats-cache.json` | | history | `~/.claude/history.jsonl` | | transcripts | `~/.claude/transcripts/*.jsonl` | | 세션 로그 | `~/.claude/projects/[encoded-path]/*.jsonl` | | 출력 | `~/DocumentsLocal/msbaek_vault/analytics/patterns/` | --- ## 분석 영역 ### 1. 도구 사용 패턴 (Tools) #### 분석 항목 | 항목 | 설명 | |------|------| | 도구별 사용 빈도 | Read, Edit, Write, Bash, Grep, Glob 등 | | 도구 조합 패턴 | 자주 함께 사용되는 도구 세트 | | 파일 유형별 도구 | .ts → Edit, .md → Write 등 | | 도구 사용 추이 | 시간에 따른 도구 사용 변화 | #### 추출 방법 ```bash # 세션에서 도구 사용 빈도 추출 cat session.jsonl | jq -r ' select(.type == "assistant") | .message.content[]? | select(.type == "tool_use") | .name ' | sort | uniq -c | sort -rn # 도구별 대상 파일 유형 cat session.jsonl | jq -r ' select(.type == "assistant") | .message.content[]? | select(.type
- 개요
- 사용 방식
- 경로 정보
- 분석 영역
- 1. 도구 사용 패턴 (Tools)
- 2. 시간대별 생산성 (Time)
- 3. 반복 작업 감지 (Repeat)
- 종합 리포트
- 출력 파일
- stats-cache.json 구조 참조
- 에러 처리
- 관련 Skill
cat session.jsonl | jq -r ' stats-cache.json 시간대별 분포 cat ~/.claude/stats-cache.json | jq '.hourlyDistribution' for session in ~/.claude/projects/*/*.jsonl; do jq -r '.[0].timestamp' "$session" 2>/dev/null done | cut -c12-13 | sort | uniq -c cat ~/.claude/projects/*/*.jsonl | jq -r ' cat ~/.claude/history.jsonl | jq -r '.message' | sort | uniq -c | sort -rn | head -20
What does the usage-pattern-analyzer skill do?
Claude Code 도구 사용 패턴 및 생산성 트렌드 분석. 반복 작업 감지, 시간대별 생산성, 도구 사용 빈도 시각화. "패턴 분석", "사용 통계", "productivity" 등의 요청 시 자동 적용.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill usage-pattern-analyzer --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
