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.
npx skills add lisihao/Solar --skill restoregit clone --depth 1 https://github.com/lisihao/SolarWrote 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.
[](https://agentmods.dev/skills/lisihao/solar/restore)<a href="https://agentmods.dev/skills/lisihao/solar/restore"><img src="https://agentmods.dev/badge/skills/lisihao/solar/restore/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.
<a href="https://agentmods.dev/skills/lisihao/solar/restore"><img src="https://agentmods.dev/badge/skills/lisihao/solar/restore.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00016 | $0.00534 |
| Opus 5 | $0.00008 | $0.00267 |
| Sonnet 5 | $0.00003 | $0.00107 |
| Haiku 4.5 | $0.00002 | $0.00053 |
Grade A, and why
restore 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.
What it actually says
/restore - 快速恢复会话
功能
从 .solar/session.md 恢复上次会话状态,极大减少 token 消耗。
执行步骤
-
检查检查点文件
# 检查是否存在 ls .solar/session.md -
读取会话状态
- 只读取
.solar/session.md(精简的状态摘要) - 不要 重新读取所有源文件
- 不要 重新分析整个项目
- 只读取
-
输出恢复摘要
═══════════════════════════════════════ 🔄 Session Restored ═══════════════════════════════════════ 📋 任务: [任务摘要] 📍 阶段: P[x] [阶段名称] 📁 项目: [项目路径] 🌿 分支: [git 分支] ⏰ 上次保存: [时间] 📝 待办事项: - [ ] 任务1 - [ ] 任务2 ➡️ 下一步: [下一步行动] ═══════════════════════════════════════ -
询问用户
继续上次的任务,还是开始新任务?
Token 优化原则
⚠️ 关键: 恢复时只读取 .solar/session.md
禁止在恢复时:
- 读取所有源代码文件
- 重新分析项目结构
- 执行构建或测试
- 调用其他 Agent
只有在用户确认继续后:
- 按需读取必要文件
- 继续之前的任务流程
无检查点时
如果 .solar/session.md 不存在:
⚠️ 未找到会话检查点
建议:
1. 描述你想继续的任务
2. 或开始新任务
提示: 使用 /checkpoint 保存当前状态
历史恢复
如果需要恢复更早的会话:
ls .solar/history/
# session_20240128_143022.md
# session_20240128_120515.md
用户可指定: /restore 20240128_143022
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.
- 7d ago First seen · 92 lines · 16 tokens per session scan A ad2980948820
restore 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 534 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.
Other skills, from other repositories
Cortex
Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…
Migrate
Intakes external content, classifies chunks against LifeOS taxonomy, commits with provenance. Sources: .md/.txt, stdin, LifeOS dirs, CLAUDE.md/Cursor/OpenAI Custom Instructions, Obsidian/Notion/Apple Notes exports. MigrateScan classifies → routing table. MigrateApprove with…
daily-briefing
Proactive daily briefing that fires on a recurring schedule, pulls recent memory and workspace context, composes a structured summary (action items, progress, radar, next steps), and delivers it to all active channels. Enable with a time like "set up my daily briefing at 9am". Disable, reschedule, or check status at…
company-brain
Your team's shared, AI-ready knowledge base — people, companies, meetings, SOPs, and decisions structured so Claude can answer questions on your team's behalf. Team-scope sibling to second-brain (which is personal-scope). Seven modes — capture (drop something into the right structured dir), compile (process into wiki…
calendar
Manage calendar events via CalDAV (Google/iCloud/Nextcloud) or local ICS files. View, create, and query events.
email-assistant
Read, search, draft, and send emails via Himalaya CLI or Python IMAP/SMTP. Requires email account configuration.