session-recover
短期记忆恢复技能。用于快速回顾当前 session 或上一个 session 的完整内容。适用于:想知道"这次 session 聊了什么"、session 被意外重置后需要恢复上下文、或想提取对话精华。
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/axelhu/session-recoverWhat This Skill Does
The session-recover skill is an essential recovery tool for OpenClaw agents, designed to restore context and continuity after an unexpected session reset or when an agent simply needs to review the history of a previous engagement. By interfacing with local JSONL session logs, it allows the agent to parse, summarize, and extract critical information from past dialogues. It does not rely on transient memory hooks; instead, it performs direct forensic analysis on saved session data, ensuring you never lose track of technical decisions, pending tasks, or nuanced conclusions reached in earlier sessions. This makes it an indispensable utility for maintaining long-term progress across fragmented conversations.
Installation
To install this skill, use the ClawHub command within your OpenClaw terminal:
clawhub install openclaw/skills/skills/axelhu/session-recover
Use Cases
- Context Recovery: When a session is accidentally reset, use this skill to quickly retrieve the preceding state and continue from the last successful checkpoint.
- Session Summarization: Perfect for long-running projects; trigger a report to consolidate the dialogue into actionable insights, key conclusions, and pending items.
- Historical Auditing: Search through previous sessions using specific keywords to find technical configurations, code snippets, or decisions made weeks ago.
- Progress Tracking: Maintain momentum by extracting pending items and "next steps" from archives, preventing tasks from falling through the cracks.
Example Prompts
- "/recover – can you check the last 20 messages of this session to remind me where we left off with the API integration?"
- "/recover – search the current session logs for 'database migration' and pull out any pending steps we haven't finished yet."
- "/recover – I think our previous session was reset; please look for the most recent .reset file and summarize the key technical points we discussed."
Tips & Limitations
- Log Parsing: The effectiveness of this skill depends on the availability of local JSONL files. Ensure your agent's
sessionsdirectory is correctly mapped. - Efficiency: Use the
--tailflag for quick check-ins, and the--keywordflag to filter through large session logs quickly. This prevents unnecessary overhead. - Data Privacy: Because this skill reads local file system logs, ensure that sensitive info in those logs is stored according to your local security protocols, as the script will process everything contained within the JSONL structures.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-axelhu-session-recover": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, code-execution
Related Skills
Openclaw Sleep
Skill by axelhu
superpowers-overview
Use when starting any development work or when unsure which superpowers development skill to use - provides entry point and navigation to the full superpowers skill suite for OpenClaw agents
superpowers-subagent-dev
Use when executing implementation plans with independent tasks - coordinates task execution by dispatching subagents per task with verification checkpoints, adapted for OpenClaw's isolated session model
contacts
通讯录查询与维护技能。用于查找联系人信息(open_id、chat_id、account_id 等)、记录新联系人、或查询历史沟通偏好。触发时机:(1) 需要 @某人或向某渠道发消息时 (2) 认识新联系人后需要录入通讯录时 (3) 查询某人的联系方式或交流偏好时 (4) 询问"谁知道xxx的飞书ID"或"怎么联系xxx"时。
superpowers-executing-plans
Use when executing a written implementation plan in the current session with sequential task execution and review checkpoints - for when subagent-driven mode is not available