Session History Timeline
rohitg00/agentmemory
Shows a clean, reverse-chronological timeline of recent sessions on a project, using only the data a memory tool actually returned, never a remembered summary.
Search, analyze, and manage Claude Code session history. An agent skill from davila7/claude-code-templates.
$ npx skills add davila7/claude-code-templates --skill claude-code-sessions -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install davila7/claude-code-templates claude-code-sessions --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cli-tool/components/skills/productivity/claude-code-sessions .claude/skills/claude-code-sessions && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "claude-code-sessions" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/productivity/claude-code-sessions into .claude/skills/claude-code-sessions/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "claude-code-sessions", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/productivity/claude-code-sessionsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add davila7/claude-code-templates --skill claude-code-sessions -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install davila7/claude-code-templates claude-code-sessions --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .agents/skills && cp -r skills-src/cli-tool/components/skills/productivity/claude-code-sessions .agents/skills/claude-code-sessions && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "claude-code-sessions" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/productivity/claude-code-sessions into .agents/skills/claude-code-sessions/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "claude-code-sessions", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add davila7/claude-code-templates --skill claude-code-sessions -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install davila7/claude-code-templates claude-code-sessions --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/cli-tool/components/skills/productivity/claude-code-sessions .cursor/skills/claude-code-sessions && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "claude-code-sessions" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/productivity/claude-code-sessions into .cursor/skills/claude-code-sessions/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "claude-code-sessions", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/davila7/claude-code-templates.git --path cli-tool/components/skills/productivity/claude-code-sessions--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add davila7/claude-code-templates --skill claude-code-sessions -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install davila7/claude-code-templates claude-code-sessions --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/cli-tool/components/skills/productivity/claude-code-sessions .gemini/skills/claude-code-sessions && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "claude-code-sessions" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/productivity/claude-code-sessions into .gemini/skills/claude-code-sessions/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "claude-code-sessions", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install davila7/claude-code-templates claude-code-sessionsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add davila7/claude-code-templates --skill claude-code-sessions -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .github/skills && cp -r skills-src/cli-tool/components/skills/productivity/claude-code-sessions .github/skills/claude-code-sessions && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "claude-code-sessions" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/productivity/claude-code-sessions into .github/skills/claude-code-sessions/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "claude-code-sessions", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add davila7/claude-code-templates --skill claude-code-sessions -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install davila7/claude-code-templates claude-code-sessions --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/cli-tool/components/skills/productivity/claude-code-sessions .opencode/skills/claude-code-sessions && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "claude-code-sessions" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/productivity/claude-code-sessions into .opencode/skills/claude-code-sessions/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "claude-code-sessions", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
claude-code-sessionsSearch, analyze, and manage Claude Code session history. An agent skill from davila7/claude-code-templates.
Claude Code Sessions is an agent skill from davila7/claude-code-templates. 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.
Its SKILL.md is about 790 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: CLI tool for configuring and monitoring Claude Code. The licence is MIT.
Read from SKILL.md and the folder at commit 4c82aba. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
bunFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
github.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Claude Code Sessions loads about 789 tokens when it runs. Until then it costs about 66 tokens; SKILL.md has 277 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from davila7/claude-code-templates at commit 4c82aba, republished under its MIT licence (© davila7). 277 words, ~789 tokens.
.claude/skills/claude-code-sessions/SKILL.md (or your agent's skills folder).Session intelligence plugin for Claude Code. Reads the JSONL session files that Claude Code writes to ~/.claude/projects/ and makes them searchable and analyzable.
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).
/plugin marketplace add apappascs/claude-code-sessions
/plugin install claude-code-sessions@claude-code-sessionsNo API keys. No config. No runtime dependencies. It reads what's already on disk.
For the dashboard:
bun run ui
# → http://localhost:3000Same 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 servingEach 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© davila7, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in cli-tool/components/skills/productivity/claude-code-sessions of davila7/claude-code-templates.
Open the folder on GitHubat commit 4c82aba
Claude Code Sessions next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Claude Code Sessions this skilldavila7/claude-code-templates | 32k | — | ~789 | Automated safety check: Pass | MIT | |
| Session History Timelinerohitg00/agentmemory | 29k | — | ~465 | Automated safety check: Pass | Apache-2.0 | |
| Session History Searchslopus/happy | 24k | — | ~3.1k | Automated safety check: Pass | MIT | |
| Session Handoffsickn33/agentic-awesome-skills | 47k | — | ~1.8k | Automated safety check: Notes | MIT | |
| Sessionanthropics/claude-for-legal | 9.6k | 3 repos | ~478 | Automated safety check: Pass | Apache-2.0 | |
| Read Sessionasgeirtj/system_prompts_leaks | 69k | — | ~2.4k | Automated safety check: Pass | CC0-1.0 |
rohitg00/agentmemory
Shows a clean, reverse-chronological timeline of recent sessions on a project, using only the data a memory tool actually returned, never a remembered summary.
slopus/happy
Searches past Claude Code, Codex and Cursor sessions and summarizes what was worked on, tried or decided, using extraction scripts instead of reading raw logs.
sickn33/agentic-awesome-skills
A skill your agent uses when context approaches capacity, before /clear or /compact, when switching tasks, or when ending a coding session: produces a structured handoff artifact for the next session.
anthropics/claude-for-legal
Run a focused N-question study session on a subject — MBE, essay, or flashcards.
asgeirtj/system_prompts_leaks
Locate and read Muse Code's OWN session logs — the current session or a prior one.
code-yeongyu/oh-my-openagent
Finds, reads and reconstructs past coding-agent sessions across Codex, Claude, OpenCode, Senpi and many other local agent logs.
davila7/claude-code-templates
Runs web-grounded searches through Perplexity's Sonar models over OpenRouter for current events, recent literature and cited facts beyond the model's training cutoff.
davila7/claude-code-templates
Analyzes Neuropixels recordings from SpikeGLX or Open Ephys through preprocessing, drift correction, Kilosort4 spike sorting, quality metrics and curation.
davila7/claude-code-templates
Supplies LaTeX templates and formatting rules for journals, conferences, posters, and grant proposals, then can check a draft against them.
davila7/claude-code-templates
Analyzes a brand's existing writing to lock in a consistent voice, then builds SEO blog posts and platform-specific social content around it.
davila7/claude-code-templates
Guides corrective and preventive action (CAPA) work in a quality management system, from initiation and root cause analysis through effectiveness verification.
davila7/claude-code-templates
Senior FDA consultant and specialist for medical device companies including HIPAA compliance and requirement management.
Search, analyze, and manage Claude Code session history. An agent skill from davila7/claude-code-templates. Claude Code Sessions is an agent skill from davila7/claude-code-templates. Search, analyze, and manage Claude Code session history.
Claude Code Sessions fits situations like: the user wants to find past sessions; check token usage; review tool breakdowns; resume previous work.
Run `npx skills add davila7/claude-code-templates --skill claude-code-sessions -a claude-code`. Or copy the skill folder (cli-tool/components/skills/productivity/claude-code-sessions in davila7/claude-code-templates) into .claude/skills/claude-code-sessions in your project. Claude Code loads it when a task matches its description.
Run `npx skills add davila7/claude-code-templates --skill claude-code-sessions -a codex`. Or copy the skill folder (cli-tool/components/skills/productivity/claude-code-sessions in davila7/claude-code-templates) into .agents/skills/claude-code-sessions in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add davila7/claude-code-templates --skill claude-code-sessions -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/claude-code-sessions, .gemini/skills/claude-code-sessions, .github/skills/claude-code-sessions and .opencode/skills/claude-code-sessions in your project.
Going by SKILL.md and its folder, Claude Code Sessions needs the command-line tools its instructions call (bun).
SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Claude Code Sessions is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 789 tokens (SKILL.md is roughly 3.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Claude Code Sessions: Session History Timeline (rohitg00/agentmemory, 29k stars), Session History Search (slopus/happy, 24k stars), Session Handoff (sickn33/agentic-awesome-skills, 47k stars) and Session (anthropics/claude-for-legal, 9.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
davila7 (a GitHub user) maintains it in davila7/claude-code-templates, which has 32,432 GitHub stars. The repository holds 477 skills in this directory. The repository was last updated on October 7, 2026.
Source: davila7/claude-code-templates on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.