session
Skill1 starsChanged 5 months agoMITView on GitHub
Generate an end-of-session log for any project
8 other projects use a version of this.
Adopted by
Most recently taken up by
- kimkon1011/orgiast-claude-rulestheir own version, first seen Sep 25, 2026
- getCurrentThread/claude-session-kittheir own version, first seen Sep 18, 2026
- lesdo/ClaudeCode-ContextPlugintheir own version, first seen Jul 1, 2026
- maxwell2732/claudecode-research-harness-workflowtheir own version, first seen May 29, 2026
- Tiendil/donnatheir own version, first seen May 16, 2026
- anthropics/claude-for-legaltheir own version, first seen May 15, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- anthropics/claude-for-legal★ 9.6ksame name
- xiaobei930/cc-best★ 48same name
- maxwell2732/claudecode-research-harness-workflow★ 40same name
- Tiendil/donna★ 28same name
- lesdo/ClaudeCode-ContextPlugin★ 1same name
- getCurrentThread/claude-session-kit★ 0same name
- J-Krush/skills★ 0same name
- kimkon1011/orgiast-claude-rules★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository13 other files it gives its agents.
- a11ySkill
- cohesionSkill
- couplingSkill
- designSkill
- driftSkill
- full-sweepSkill
- onboardSkill
- perfSkill
- privacySkill
- seoSkill
- shipSkill
- thatsweirdSkill
- walkthroughSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. 0 are common, 9 are distinctive, and 8 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
No args: auto-detect the project from the current working directory
- Distinctive: line 26
If the user provides a path directly, use that.
- Distinctive: line 32
Check whether the project already has session logs:
- Very specific: line 34
Look for docs/sessions/ directory (the established convention)
- Very specific: line 35
If it exists, read docs/sessions/README.md to understand the index format
- Very specific: line 36
If it doesn't exist, create docs/sessions/ and a README.md index (see Bootstrap below)
- Distinctive: line 41
Check if a session log already exists for today's date
- Very specific: line 42
If it does, append a counter: YYYY-MM-DD_session_2.md, YYYY-MM-DD_session_3.md
- Distinctive: line 62
Read the previous session log (if any) to check whether planned "next tasks" were addressed
- Distinctive: line 63
Check for any new TODO/FIXME comments added during this session
- Very specific: line 67
Create docs/sessions/YYYY-MM-DD_session.md with this format:
- Very specific: line 106
Add a one-line summary to the sessions table in docs/sessions/README.md.
- Very specific: line 122
When a project has no docs/sessions/ directory:
- Distinctive: line 143
Keep the one-line README summary under 200 characters.
- Distinctive: line 144
Check the previous session's "Next tasks" list.
- Distinctive: line 145
Don't fabricate accomplishments.
- Very specific: line 150
After completing this skill, append a log entry to ~/.claude/skill-log.md under the Run Log table.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Session Log Generator
Generate a session log summarizing what was accomplished in the current session. Works for any project.
Arguments
The user may specify:
- No args: auto-detect the project from the current working directory
- A project name or path (e.g.,
myapp,~/code/marketing-site)
Parse the argument string. Examples:
/session-- log for current project/session myapp-- log for myapp
Project Aliases
| Alias | Path |
myapp | (add your projects here) |
If the user provides a path directly, use that. If a name isn't in the alias table, search for it.
Process
Step 1: Detect session log location
Check whether the project already has session logs:
- Look for
docs/sessions/directory (the established convention) - If it exists, read
docs/sessions/README.mdto understand the index format - If it doesn't exist, create
docs/sessions/and aREADME.mdindex (see Bootstrap below)
Step 2: Determine the filename
- Base format:
YYYY-MM-DD_session.md - Check if a session log already exists for today's date
- If it does, append a counter:
YYYY-MM-DD_session_2.md,YYYY-MM-DD_session_3.md
Step 3: Gather context
Collect information from multiple sources to build the log:
From the conversation:
- Review the conversation history to identify what was accomplished
- Note any decisions made, approaches tried and abandoned, trade-offs weighed
From git:
cd [project-root]
# What changed this session (files modified since last commit before session, or today's commits)
git log --since="$(date +%Y-%m-%d) 00:00" --oneline
git diff --stat HEAD
git diff --cached --statFrom the project:
- Read the previous session log (if any) to check whether planned "next tasks" were addressed
- Check for any new TODO/FIXME comments added during this session
Step 4: Write the session log
Create docs/sessions/YYYY-MM-DD_session.md with this format:
# Session: YYYY-MM-DD
## Status: Complete
## What was accomplished
### [Category 1]
- Bullet points of what was done
- Include file names and specific changes
### [Category 2]
- More bullets
## Files created
- List any new files (or "None")
## Files modified
- List any modified files (or "None")
## Key decisions
- Any decisions made about architecture, approach, brand, etc. (or "None")
## Next tasks (prioritized)
1. Most important next task
2. Second priority
3. etc.
## Known issues
- Any issues discovered (or "None")
## Blockers
- Any blockers (or "None")Step 5: Update the index
Add a one-line summary to the sessions table in docs/sessions/README.md.
Match the existing index format. If the README uses a table, add a table row. If it uses a bullet list, add a bullet. If you just bootstrapped it, use the table format shown in Bootstrap below.
Step 6: Commit
Stage and commit the session log and README update:
cd [project-root]
git add docs/sessions/YYYY-MM-DD_session.md docs/sessions/README.md
git commit -m "Add session log for [date] ([brief summary])"Bootstrap (new projects)
When a project has no docs/sessions/ directory:
- Create
docs/sessions/ - Create
docs/sessions/README.md:
# Session Logs
| Date | Summary |
|------|---------|- Proceed with writing the session log as normal.
Note: if the project has no docs/ directory at all, create docs/ first. This is a standard convention.
Notes
- Be specific about files and changes, not vague. "Updated Header component" is bad. "Added mobile nav toggle to
src/components/Header.tsx, swaps text vianav-full/nav-shortspans at 768px" is good. - Prioritize next tasks based on what's time-sensitive or blocks other work.
- Include key decisions so future sessions don't re-litigate them. "Decided to use Stripe Checkout instead of custom form because..." is valuable context.
- Keep the one-line README summary under 200 characters.
- Check the previous session's "Next tasks" list. If any were completed, note that. If any were skipped, note why.
- Don't fabricate accomplishments. If the session was mostly debugging one issue, say that. A short honest log is more useful than a padded one.
Skill Run Logging
After completing this skill, append a log entry to ~/.claude/skill-log.md under the Run Log table. New entries at the top (most recent first).
Format: | YYYY-MM-DD | /skill-name | target (details) | one-line result |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

