본문으로 건너뛰기
Skillpedia
에이전트33k · #8877

claude-code-sessions

하는 일

이 스킬은 에이전트가 저장된 Claude Code 세션 기록을 살펴보도록 합니다. 과거 작업을 찾거나, 사용량을 확인하거나, 이전 작업을 이어 가고 싶은 개발자에게 맞습니다.

사용하는 경우

  • ✓논의한 내용으로 과거 세션을 찾고 싶을 때.
  • ✓토큰 사용량을 확인하거나 가장 많이 쓴 도구를 보고 싶을 때.
  • ✓이전 세션의 작업을 다시 이어 가고 싶을 때.

스킬 링크

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/productivity/claude-code-sessions/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/productivity/claude-code-sessions/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“지난주 결제 버그를 작업한 세션을 찾아서, 이어서 할 수 있도록 요약해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 컴퓨터에 있는 Claude Code 세션 파일을 읽고, 검색, 통계, 목록, 내보내기 명령을 실행합니다. 삭제와 정리 명령은 사용자가 요청할 때만 실행합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Claude Code Sessions

Session intelligence plugin for Claude Code. Reads the JSONL session files that Claude Code writes to ~/.claude/projects/ and makes them searchable and analyzable.

What It Does

Claude Code records every session as a JSONL file — messages, tool calls, token counts, diffs, tasks. This plugin reads those files and provides two interfaces. Most operations are read-only; delete and cleanup skills can remove session files when explicitly invoked.

11 skills usable directly in Claude Code:

Skill Purpose
/session-search "query" Full-text search across every session
/session-stats Token usage, model distribution, tool breakdown
/session-list List sessions sorted by recency, size, or duration
/session-detail Deep dive into a specific session
/session-diff Compare two sessions — files, tools, topics
/session-timeline Chronological view of sessions on a project
/session-resume Generate a context recovery prompt from any session
/session-tasks Find pending and orphaned tasks across sessions
/session-export Export a session as clean markdown
/session-cleanup Find empty, tiny, or stale sessions
/session-delete Delete sessions and their associated tasks

Web dashboard at localhost:3000 with four views: Dashboard (summary stats), Sessions (sortable table with bulk operations), Search (full-text with context snippets), Tasks (grouped by status with orphan detection).

Install

/plugin marketplace add apappascs/claude-code-sessions
/plugin install claude-code-sessions@claude-code-sessions

No API keys. No config. No runtime dependencies. It reads what's already on disk.

For the dashboard:

bun run ui
# → http://localhost:3000

Architecture

Same TypeScript modules power skills, dashboard, and CLI:

lib/formatters.ts      — pure utilities, no I/O
lib/session-parser.ts  — parses one JSONL file into structured data
lib/session-store.ts   — scans all sessions, aggregates, searches
ui/server.ts           — HTTP endpoints + static file serving

Each lib file doubles as a standalone CLI:

bun run lib/session-store.ts list --sort recency --limit 10
bun run lib/session-store.ts search "database migration" --since 2025-01-01
bun run lib/session-parser.ts stats path/to/session.jsonl

Use Cases

  • Find the session where you solved a specific problem weeks ago
  • See which projects consume the most tokens
  • Track pending tasks across all sessions and projects
  • Resume a past session with full context
  • Compare how two sessions approached the same problem
  • Export session transcripts for documentation

Links

자주 묻는 질문

세션은 어디에서 읽나요?

컴퓨터의 사용자 프로젝트 폴더에 Claude Code가 기록하는 세션 파일에서 읽습니다.

세션을 삭제할 수 있나요?

네. 다만 사용자가 명시적으로 요청할 때만 가능합니다. 정리와 삭제 명령은 세션 파일을 지울 수 있습니다.

대시보드도 있나요?

네. 스킬은 여러 보기로 세션을 보여주는 웹 대시보드를 언급합니다.

상세 정보

작성자의 원본 설명

Search, analyze, and manage Claude Code session history. Use when the user wants to find past sessions, check token usage, review tool breakdowns, resume previous work, or manage tasks across sessions. Provides 11 skills and a web dashboard.

repo: davila7/claude-code-templates

인기도

GitHub 스타
33k
순위
#8877
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬