About session-documenter
session-documenter is an agent skill for recording work, decisions, and next steps in daily project session files. It redacts secrets and can update durable project memory when decisions affect it.
Key features
- 01Start and load daily session context
- 02Append redacted session entries
- 03Update durable project memory
- 04Require confirmation for history rewrites
Use cases
- 01Record work and decisions at session end
- 02Resume work using the current day's context
- 03Capture project-changing architectural decisions
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ shipshitdev/ skills --skill session-documenterAfter installing, type/session-documenterin Claude Code to confirm it loaded.
Bundled filesplugin.jsonreferences/full-guide.md
Details
From the project READMESession Documenter Skill
Document work, decisions, and context.
Contract
Inputs:
- Current session context, redacted for secret-like values
- Files changed, decisions made, blockers, and next steps
- Optional task or PRD references
Outputs:
- Appended session entry in
.agents/sessions/YYYY-MM-DD.mdwith secrets removed - Related summary/task updates when needed
Creates/Modifies:
.agents/sessions/daily session file.agents/memory/*.mdwhen a decision changes durable project context (architecture, deployment, migrations, gotchas)
External Side Effects:
- None
Confirmation Required:
- Before rewriting existing session history
- Before promoting session notes into permanent rules or skills
Delegates To:
rules-capturefor reusable preferences discovered during the sessionskill-capturefor reusable workflows discovered during the sessionsession-endfor wrap-up flow
Commands
| Command | Action |
|---|---|
/start | Begin new session - creates/appends to today's file, loads context |
/end | Finalize session - writes entry with all tracked work, updates related files |
How It Works
/start- Creates.agents/sessions/YYYY-MM-DD.mdif missing, or loads existing context- During session - Track decisions, files changed, mistakes
/end- Write a redacted session entry with flowcharts, decisions, next steps
Critical Rules
Session File Naming (ONE FILE PER DAY)
✅ CORRECT: .agents/sessions/2025-11-15.md
❌ WRONG: .agents/sessions/2025-11-15-feature-name.md
Multiple sessions same day → Same file, Session 1, Session 2, etc.
Flowcharts (MANDATORY for features)
Include flowchart for:
- New features
- Feature modifications
- Multi-component bug fixes
Redaction (MANDATORY)
Before writing session notes:
- Replace API keys, tokens, passwords, cookies, private credentials, and secret
values with
[REDACTED_SECRET]. - Summarize sensitive command output instead of copying it verbatim.
- Do not store full request/response payloads if they contain personal data, private URLs, or credentials; record only the decision-relevant fields.
Session Entry Structure
- Session number and title
- System flow diagram (mermaid or text)
- Affected components (frontend, backend, data, external)
- What was done (task checklist)
- Key decisions (with rationale)
- Files changed
- Mistakes and fixes
- Next steps
Related Files to Update
.agents/memory/*.md— when a decision changes durable repo context (architecture, deployment, migrations, gotchas). Bump the file'slast_verifieddate when you touch it.
References
Comments
Markdown supported