원클릭으로
claude-code-history
Query and summarize Claude Code terminal session history
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Query and summarize Claude Code terminal session history
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
brief, summary, daily, weekly, end of day, EOD, digest, morning, recap, meeting prep, what's due, status update, review
Interactive web tasks, browser login, click, scroll, form interaction, authenticated sessions, Playwright MCP (project)
Email, inbox, Outlook, Microsoft 365, mail, messages, fetch emails, search emails, draft, reply, email processing (project)
fact, decision, architecture, knowledge, permanent, remember forever, always know, decisions, outcomes, lessons learned
GitHub CLI, docker commands, git operations, curl, native CLI tools, gh issue, gh pr, container, repository, API calls (project)
Create and manage Overleaf LaTeX documents. Use when transcribing handwritten work to LaTeX, creating academic documents, homework solutions, problem sets, or any LaTeX/Overleaf operations. Handles PDF/image to LaTeX conversion. Homework transcription workflow.
SOC 직업 분류 기준
| name | claude-code-history |
| description | Query and summarize Claude Code terminal session history |
| triggers | ["claude code sessions","what was I working on","terminal history","continue where I left off","last session","what did I do in claude"] |
Query the user's Claude Code terminal session history to:
Note: This is read-only and on-demand. We don't auto-sync or store this data.
Claude Code stores data at /hosthome/.claude/:
| Path | Contains |
|---|---|
history.jsonl | User messages with timestamps, projects, session IDs |
projects/<project-path>/ | Full conversation logs per session |
todos/ | Task lists from sessions |
# Get recent messages with projects and timestamps
tail -50 /hosthome/.claude/history.jsonl | \
jq -r '[.timestamp, .project, .display[:80]] | @tsv' | \
column -t -s $'\t'
# List sessions for a specific project (e.g., myproject)
ls -lt /hosthome/.claude/projects/-home-user-Workspace-myproject/ 2>/dev/null | head -10
# Or search history for project mentions
grep -i "myproject" /hosthome/.claude/history.jsonl | \
jq -r '[(.timestamp/1000 | strftime("%Y-%m-%d %H:%M")), .display[:60]] | @tsv' | \
tail -20
# Session files are JSONL with message objects
# Find the most recent session file for a project
LATEST=$(ls -t /hosthome/.claude/projects/-home-user-Workspace-myproject/*.jsonl 2>/dev/null | head -1)
# Extract user messages from that session
cat "$LATEST" | jq -r 'select(.type == "human") | .message.content' | head -50
# Search for a topic across all session history
grep -r "API design" /hosthome/.claude/projects/ 2>/dev/null | head -20
tail -30 /hosthome/.claude/history.jsonlls /hosthome/.claude/projects/ | grep -i <project>ls -t <project-dir>/*.jsonl | head -1User: "What was I working on in Claude Code recently?"
PCP:
# Get last 20 distinct project/message pairs
tail -100 /hosthome/.claude/history.jsonl | \
jq -r '[(.timestamp/1000 | strftime("%m-%d %H:%M")), .project, .display[:50]] | @tsv' | \
sort -u | tail -20
Then summarize: "In the last few hours, you worked on: