
History Insight
This pulls your Claude Code session history from the JSONL files stored in ~/.claude/projects and analyzes them for patterns and insights. You can scope it to the current project or search across all your sessions. It's smart about handling large datasets, automatically splitting files and using parallel processing when needed. The main use case is when you want to capture what happened in a conversation, extract themes from past work, or reference "what we discussed" as source material. The implementation is thorough with date filtering, error handling, and even OS-specific stat commands, though you'll need jq installed. Honestly feels like the kind of meta-analysis tool you don't think you need until you've been working in Claude Code for a few months and want to surface what you actually built.
- skills.sh installs
- 1.3K
- GitHub stars
- 19
- last updated
- Aug 21, 2026
Install
$ npx -y skills add ai-native-camp/camp-2 --skill history-insight --agent claude-codeInstalls into .claude/skills of the current project.
Files
History Insight
Claude Code 세션 히스토리를 분석하고 인사이트를 추출합니다.
Data Location
~/.claude/projects/<encoded-cwd>/*.jsonl
Path Encoding: /Users/foo/project → -Users-foo-project
상세 파일 포맷:
${baseDir}/references/session-file-format.md
Execution Algorithm
Step 1: Ask Scope [MANDATORY]
스코프 결정:
-
명시된 경우 (AskUserQuestion 생략 가능):
- "현재 프로젝트만" / "이 프로젝트" →
current_project - "모든 세션" / "전체" →
all_sessions
- "현재 프로젝트만" / "이 프로젝트" →
-
명시되지 않은 경우 - AskUserQuestion 호출:
question: "세션 검색 범위를 선택하세요" options: - "현재 프로젝트만" → ~/.claude/projects/<encoded-cwd>/*.jsonl - "모든 Claude Code 세션" → ~/.claude/projects/**/*.jsonl
Step 2: Find Session Files
# Current project only
find ~/.claude/projects/<encoded-cwd> -name "*.jsonl" -type f
# All sessions (모든 프로젝트)
find ~/.claude/projects -name "*.jsonl" -type f
날짜 필터링: 파일의 mtime(수정시간) 확인 후 필터. OS별 stat 옵션 다름:
- macOS:
stat -f "%Sm" -t "%Y-%m-%d" <file> - Linux:
stat -c "%y" <file>
Step 3: Process Sessions
Decision Tree
Sponsors
Details
- Repository
- github.com/ai-native-camp/camp-2
- Category
- AI & Agent Building
- First seen
- Apr 16, 2026