Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By DazzleMLv0.3.19GPL-3.0In 1 marketplace
Gives every Claude Code session a local log of tool calls, prompts and reasoning, named after its working directory. Hooks record each prompt and tool call automatically, from session start onward.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Session logging, command history, and auto-naming for Claude Code
A hook-based extension for Claude Code that provides persistent session logging, automatic session naming from your working directory, and transcript discovery via symlinks.
~/.claude/sesslogs/c--code or my-project)transcript.jsonl in sesslog directories{THINK: ...} and {AGENT-THINK:<type> ...}; switchable per channel or off entirely.sesslog_* is everything; .sesslog-main_* is the same session with the agents' internal work left out{Edit: path [FAILED: anchor not found] }/renameAI command for AI-assisted session naming/sessioninfo command to inspect current session stateclaude plugin marketplace add "DazzleML/claude-session-logger"
claude plugin install session-logger@dazzle-claude-plugins
Requires the native Claude Code installer (not npm). For other install methods (local clone, manual) and for troubleshooting see the Installation Guide.
claude plugin marketplace update dazzle-claude-plugins
claude plugin update session-logger@dazzle-claude-plugins
(Note: claude plugin install does not update an existing install.) For additional details on verifying versions, multi-user machines, etc. see the Updating section of the Installation Guide.
Once installed, all Claude Code sessions are automatically logged to:
~/.claude/sesslogs/{session-name}__{session-id}_{user}/
├── .sesslog_*.log # Everything, one timeline (tool calls, prose, thinking, agents)
├── .sesslog-main_*.log # The same session without the agents' internal work
├── .shell_*.log # Shell command output
├── .tools_*.log # Tool calls without prose
├── .tasks_*.log # Task operations log
├── .convo_*.log # User prompts, AI responses, agent dialogue
├── .agents_*.log # Subagent activity
├── .agents-<type>_*.log # One file per agent type: its dispatch, work, thinking and report
├── .unknowns_*.log # Tools the plugin doesn't recognize yet
└── transcript.jsonl # Symlink to transcript file
Every channel is configurable and a few more ship switched off — see the Configuration Guide.
Sessions are automatically named based on your working directory:
| Working Directory | Auto-Generated Name |
|---|---|
C:\code\my-project | my-project |
C:\code | c--code |
C:\code\project\local | project--local |
/home/dev/app | app |
Generic folder names (code, project, local, src, etc.) trigger path-based naming with parent context.
/renameAIAI-assisted session renaming. Analyzes your conversation and suggests a descriptive name.
> /renameAI
Analyzing conversation...
Suggested name: "AuthRefactorAndTests"
/sessioninfoDisplay current session state including ID, name, run number, and log paths.
> /sessioninfo
Session ID: 833a100e-d959-47aa-9db2-d22fdb6d7659
Session Name: my-project
Run Number: 2
Sesslog Directory: ~/.claude/sesslogs/my-project__833a100e-..._User/
/rename: The built-in /rename command may fail on first use in a new session (before any tools run). Just run it again or use any tool first. See Known Quirks.The hook creates these directories automatically:
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub dazzleml/claude-session-logger --plugin session-loggerPlugins from other owners that cover similar ground