save-session

save-session is a skill for Claude Code from vasuag09/harness-claude. It costs 48 tokens per session (324 once invoked), scanned A, original, MIT.

A session-progress recorder that saves an evidence-based summary to a dated Markdown file so later work can continue from the same point.

In plain words
What is it for?
Use it before ending a session, before context compaction, or at a milestone to record what works, what remains, which files changed, and any blockers.
Why use it?
It prevents important decisions, verified results, failed attempts, and remaining tasks from being lost when a session ends or its context is shortened.

Skill for Claude Code

Written for Claude Code: PreCompact hook event. Also seen: reads .claude/ paths.

Part of the harness-claude plugin — 32 skills, 8 agents, 6 hooks, 3 MCP servers shipped together

Good fit Use it before ending a session, before context compaction, or at a milestone to record what works, what remains, which files changed, and any blockers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vasuag09/harness-claude/save-session
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add vasuag09/harness-claude --skill save-session
Clone the repo
git clone --depth 1 https://github.com/vasuag09/harness-claude

Made for: Claude Code.

Or install harness-claude, the plugin that ships this one along with the rest of its 32 skills, 8 agents, 6 hooks, 3 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for save-session

README.md
[![agentmods](https://agentmods.dev/badge/skills/vasuag09/harness-claude/save-session.svg)](https://agentmods.dev/skills/vasuag09/harness-claude/save-session)
Your own site
<a href="https://agentmods.dev/skills/vasuag09/harness-claude/save-session"><img src="https://agentmods.dev/badge/skills/vasuag09/harness-claude/save-session.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 324 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00048 $0.00324
Opus 5 $0.00024 $0.00162
Sonnet 5 $0.00010 $0.00065
Haiku 4.5 $0.00005 $0.00032

Measured 8d ago against content hash 189e470d6a35, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

save-session scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/save-session/SKILL.md · 35 lines

What it actually says

/save-session — persist progress

Goal: a future session (or a fresh context) can pick up exactly where this left off.

File location

  • Inside a git repo: .claude/sessions/<YYYY-MM-DD>.md (append across the day).
  • Otherwise: ~/.claude/harness-claude/sessions/<YYYY-MM-DD>.md.

Create the directory if needed. Append to today's file; don't pollute it with old work — start a new dated file per day.

What to write (evidence-based, not aspirational)

# Session <date> — <project/feature>
## Goal / current objective
## What works (verified, with evidence: test names, commands, screenshots)
## What was tried and did NOT work (so we don't repeat it)
## Not yet attempted / remaining (the next concrete steps)
## Key decisions & files touched
## Open questions / blockers

How

  1. Summarize honestly: distinguish verified from assumed.
  2. Append (don't overwrite) under a timestamped subheading.
  3. Tell the user the file path so they can review/edit it.

This skill is also invoked automatically by the PreCompact and Stop hooks — keep the format stable so those writes stay consistent.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 35 lines · 48 tokens per session scan A 189e470d6a35

Subscribe to this mod's changes

save-session is a skill published in the GitHub repository vasuag09/harness-claude (2 stars, last pushed 2mo ago), licensed MIT. It adds 48 tokens to every session and 324 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

catchup

Restore context after /clear by summarizing recent work and project state.

FlorianBruniaux/claude-code-plugins · 16 tokens

potpie-repo-baseline

Use when establishing, refreshing, or deeply understanding a repository's baseline memory in Potpie: purpose, application type, features, services/modules, environments, deploy shape, dependencies, API contracts, datastores, integrations, ownership, and explicit preferences. The harness reads authored and…

potpie-ai/potpie · 75 tokens

continuous-learning-v2

Instinct-based learning system that observes sessions via hooks, creates atomic instincts with confidence scoring, and evolves them into skills/commands/agents.

sangrokjung/claude-forge · 33 tokens

handoff

End-of-session save and next-session resume. Triggers "ending session", "wrapping up", "context window", "running out of context", "done for today" (save mode); "continue where we left off", "pick up where", "last session", "previous work", "resume" (resume mode).

darkroomengineering/cc-settings · 69 tokens

pr-triage

4-phase PR backlog management with audit, deep code review, validated comments, and optional worktree setup. Use when triaging pull requests, catching up on pending code reviews, or managing a backlog of open PRs. Args: 'all' to review all, PR numbers to focus (e.g. '42 57'), 'en'/'fr' for language, no arg = audit…

FlorianBruniaux/claude-code-plugins · 86 tokens

consolidate

Audit and prune rules/skills/learnings to prevent context bloat. Triggers "consolidate", "clean up rules", "spa day", "what's redundant", degraded agent perf.

darkroomengineering/cc-settings · 43 tokens