save

save is a skill for Claude Code from lisihao/Solar. It costs 16 tokens per session (512 once invoked), scanned A, original, MIT.

A session checkpoint tool that saves the project's current state, task summary, decisions, changed files, and next steps to a Markdown file.

In plain words
What is it for?
Use it to save progress at important workflow points and keep a history of recent checkpoints for later restoration.
Why use it?
It makes it easier to recover after a crash, pause, or change of task without reconstructing the previous context.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it to save progress at important workflow points and keep a history of recent checkpoints for later restoration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lisihao/solar/save
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 lisihao/Solar --skill save
Clone the repo
git clone --depth 1 https://github.com/lisihao/Solar

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/lisihao/solar/save/github.svg)](https://agentmods.dev/skills/lisihao/solar/save)
Your own site
<a href="https://agentmods.dev/skills/lisihao/solar/save"><img src="https://agentmods.dev/badge/skills/lisihao/solar/save/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for save

Your own site · 80×15
<a href="https://agentmods.dev/skills/lisihao/solar/save"><img src="https://agentmods.dev/badge/skills/lisihao/solar/save.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 512 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.00016 $0.00512
Opus 5 $0.00008 $0.00256
Sonnet 5 $0.00003 $0.00102
Haiku 4.5 $0.00002 $0.00051

Measured 7d ago against content hash d7f173331fda, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

save 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 7d 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/SKILL.md · 82 lines

What it actually says

/save - 会话检查点

功能

保存当前会话状态到 .solar/session.md,包括:

  • 项目状态 (git 分支、未提交变更)
  • 当前任务和待办事项
  • 关键决策和进展摘要
  • 最近修改的文件

执行步骤

  1. 收集项目状态

    # 在项目根目录创建 .solar 目录
    mkdir -p .solar/history
    
  2. 生成会话摘要 (用一段话总结)

    • 当前正在做什么任务
    • 已完成的关键步骤
    • 下一步计划
    • 遇到的问题或阻塞
  3. 写入检查点文件 .solar/session.md

    # Session Checkpoint
    
    > 保存时间: [时间戳]
    > 恢复命令: `/restore`
    
    ## 任务摘要
    [一段话描述当前任务和进展]
    
    ## 当前阶段
    - 阶段: P[0-5]
    - 状态: [进行中/阻塞/待验证]
    
    ## 待办事项
    - [ ] 任务1
    - [x] 已完成任务
    
    ## 关键文件
    - `file1.ts` - 作用描述
    - `file2.py` - 作用描述
    
    ## 关键决策
    - 决策1: 原因
    - 决策2: 原因
    
    ## 下一步
    1. 具体行动1
    2. 具体行动2
    
  4. 备份历史 (保留最近10个)

自动触发

以下情况应主动调用 /save:

  • 完成一个阶段 (P1/P2/P3/P4/P5)
  • 做出重要决策
  • 遇到需要用户确认的问题
  • 任务暂停或切换

输出

✓ Checkpoint saved: .solar/session.md
  任务: [任务摘要]
  阶段: P[x]
  下一步: [下一步行动]
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. 7d ago First seen · 82 lines · 16 tokens per session scan A d7f173331fda

Subscribe to this mod's changes

save is a skill published in the GitHub repository lisihao/Solar (2 stars, last pushed 28d ago), licensed MIT. It adds 16 tokens to every session and 512 once invoked, about $0.0001 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-09-03.

Related

Other skills, from other repositories

things-mac

Manage Things 3 via the things CLI on macOS (add/update projects+todos via URL scheme; read/search/list from the local Things database). Use when a user asks Otto to add a task to Things, list inbox/today/upcoming, search tasks, or inspect projects/areas/tags.

elizaOS/eliza · 67 tokens

gsd-ns-manage

Route to the appropriate management skill based on the user's intent. gsd-config (settings + advanced + integrations + profile) and gsd-workspace (new + list + remove) are post-#2790 consolidated entries.

open-gsd/gsd-core · 16 tokens

slack-tools

Slack workspace management and automation specialist.

RightNow-AI/openfang · 10 tokens

triage-inbox

Triage academic email and calendar (Gmail / Google Calendar via the session's MCP) into a prioritized digest plus a referee-obligations tracker — classifying referee requests, R&R and editor correspondence, co-author threads, seminar and conference invites, and grant/admin deadlines, and proposing a human-gated action…

pedrohcgs/claude-code-my-workflow · 132 tokens

ceo-setup

One-time onboarding for the executive/manager commitment workflow — delegation-heavy, meeting prep, decision capture, morning and evening digests. Creates a commitments project and installs two dashboard widgets. After successful setup this skill is excluded from selection until the marker file is deleted.

suyoumo/ClawProBench · 60 tokens

service-desk

Runs the IT service desk — intake, triage, prioritization, escalation, knowledge, and the metrics that improve service rather than distort it. Use this to set up or fix a service desk, design ticket priority and escalation, reduce repeat contacts, structure a knowledge base, or work out why a desk hitting its targets…

cbrock84/headcount · 73 tokens