log-session — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited log-session (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Capture the why and the what-next of a working session — the context that git history alone never records. A commit says what changed; a session log says what you were trying to do, what you decided, and where to resume.
Deliberately cheap (sonnet/medium): this is structured summarization, not judgment. It must never reach for an expensive model.
to be able to resume cold.
This is the manual, rich counterpart to the lightweight auto-logging hooks the template/ ships (see template/.claude/). The hooks capture the mechanical facts for free on every exit; this skill writes the thoughtful entry when you want one.
Per the agent guide's Workflow conventions + documentation map, locate the session log. Default path: docs/LOGS.md. If the documentation map names a different location, use that. If no log file exists yet, create it from the shape in template/docs/LOGS.md (a short header + the entry format below) and say so.
If a session-start marker exists (.claude/.session-*.start, written by the template's SessionStart hook), read it to bound the session precisely — it holds the HEAD sha and start time at session open.
marker_sha..HEAD plus anyuncommitted work.
what happened this session, and corroborate with git log of the recent commits and git status / git diff --stat for uncommitted changes.
git branch --show-current),git log --oneline <since>..HEAD),git diff --stat <since>..HEAD + uncommitted).actually got done.
would otherwise be lost). Link related docs/issues.
thread, the open question. Write it so a cold reader knows exactly where to resume.
docs/LOGS.md, newest at the bottom (append-only,chronological). Use this format so the auto-hook entries and these stay compatible:
## <ISO-8601 timestamp> — <branch> — manual
- **Commits:** <n> (`<short-sha>…<short-sha>`)
- **Files:** <comma-separated paths, or a count if many>
- **Summary:** <what this session did>
- **Decisions:** <key choices + why; omit the line if none>
- **Next:** <the concrete next step>If the user passed a note as an argument, prepend it to the Summary.
docs/LOGS.md is documentation — keep it coherent, but donot open a PR just for a log entry. If you're mid-feature on a branch, the entry rides along with the next commit. If the working tree is otherwise clean and the user wants it persisted, ask before committing a standalone docs(log): session <date> commit. Never push without the project's push convention.
sonnet is theceiling, and the hooks do the free mechanical version.
(your context + git), not plausible-sounding filler. If a section has nothing real, omit its line rather than padding.
or "tidy" them. Same reasoning as not rewriting a delivered feature's planning artifacts.
template/'s SessionEnd hook (free, mechanical, automaticon /clear and exit) and the opt-in SessionStart restore hook (re-injects the last entry to resume context). This skill is the rich, manual entry.
execute-phase's per-feature progress.md: that tracks progresswithin a feature; the session log is cross-cutting — whatever you touched this session, across features/fixes.
docs/LOGS.md with at least Summary and Next./clear is now safe (the session iscaptured), or the resume command named in the entry's Next line.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.