
Session Logger
Automatically saves your conversation history to timestamped markdown files in a sessions directory when you say "save session" or "保存对话". It structures the logs with metadata, summaries, decisions made, technical notes, and follow-up items, which is genuinely useful for tracking what you accomplished across multiple sessions. The template format is solid, and there's a nice touch where it extracts structured data about skill executions, errors, and code patterns for a self-improving agent to learn from. Sessions stay local and aren't committed to git, so you can log sensitive stuff. It's basically a structured journal for your AI pair programming sessions.
- skills.sh installs
- 680
- GitHub stars
- 66
- last updated
- Jul 14, 2026
Install
$ npx -y skills add charon-fan/agent-playbook --skill session-logger --agent claude-codeInstalls into .claude/skills of the current project.
Files
Session Logger
Create a compact recovery artifact without treating raw conversation history as durable memory.
Use This Skill When
- The user explicitly asks to save or record the current session.
- A supported host invokes the Agent Playbook
SessionEndhook with a transcript path. - A later task needs a concise handoff artifact and the user has authorized writing it.
Do not silently persist raw transcripts, credentials, private customer data, or unbounded agent output. Host support and write authority must be visible; skill metadata alone does not execute a hook.
CLI Runtime Contract
Claude Code installation can invoke:
agent-playbook session-log
The command reads the host-provided JSONL transcript and stores only bounded, redacted details:
- message counts;
- the last user prompt, truncated after redaction;
- up to 12 detected commands and file references;
- up to 8 detected questions;
- a hashed session reference and project identity.
By default, files are private local artifacts:
~/.agent-playbook/sessions/<project-id>/YYYY-MM-DD-<topic>.md
Sponsors
Details
- Repository
- github.com/charon-fan/agent-playbook
- Category
- AI & Agent Building
- First seen
- May 16, 2026
More from charon-fan/agent-playbook
All 24- Debugger678
- Qa Expert678
- Code Reviewer665
- Refactoring Specialist663
- Prd Implementation Precheck646
- Api Documenter641
- Api Designer639
- Documentation Engineer630
- Performance Engineer629
- Auto Trigger628
- Commit Helper619
- Deployment Engineer611
- Create Pr600
- Long Task Coordinator599
- Self Improving Agent31.9K
- Planning With Files1.1K
- Security Auditor950
- Architecting Solutions788
- Skill Router780
- Prd Planner742
- Test Automator736
- Figma Designer729
- Workflow Orchestrator726