← 返回 Skills 市场
nadalpiantini

Pre-Compact Resume Card

作者 nadalpiantini · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
102
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install pre-compact-resume-card
功能描述
Generates an operational resume card before Claude context compaction — so the next session knows exactly where it left off, what mode it was in, and what to...
安全使用建议
This appears to be what it says: a local pre-compact snapshot generator. Before installing, (1) confirm python3 and git are available in your environment (the metadata omits these required binaries), (2) inspect and, if necessary, redact sensitive content from transcripts, memory/MEMORY.md, brain/*.md, and .claude/current-task.md because the resume card will include excerpts (up to ~200 characters) and backups are kept (last 30 by default), (3) review or adjust retention/backup locations and file permissions to limit exposure, and (4) test in a non-production repo to verify behavior. There are no network calls or secret exfiltration in the provided scripts.
功能分析
Type: OpenClaw Skill Name: pre-compact-resume-card Version: 1.0.0 The skill is designed to maintain operational context for an AI agent across sessions by generating a 'resume card' and backing up conversation transcripts. The scripts (pre-compact.sh and session-start.sh) perform local file operations such as reading git status, parsing JSONL transcripts via embedded Python, and writing summaries to the .claude/ directory. There is no evidence of network activity, data exfiltration, or unauthorized access to sensitive system files outside the project scope.
能力评估
Purpose & Capability
The skill claims to capture pre-compaction state and the scripts implement that: they read transcripts, parse last messages, inspect git state, and write .claude/session-resume-card.md. One minor inconsistency: the registry metadata lists no required binaries, but the scripts invoke python3 and git (and bash). Those binaries are necessary for correct operation and should be declared.
Instruction Scope
The SKILL.md and scripts stay within the described purpose: backing up transcripts, extracting last user/assistant text, heuristically detecting mode, and injecting the resume card at session start. However, the scripts read a variety of project files (transcripts, .claude/*.jsonl, .claude/current-task.md, memory/MEMORY.md, brain/*.md) and list packages/apps. That is expected for a resume summary but it means the skill will access potentially sensitive project content and will write files into the repo (.claude/ and thinking/session-logs).
Install Mechanism
Instruction-only install (copy scripts or use npx clawhub installer) — no archive downloads or external installers embedded in the package. No high-risk install behavior is present in the provided files.
Credentials
The skill does not request credentials or environment variables in metadata. It does optionally honor CLAUDE_PROJECT_DIR if set. The scripts read many local files (transcripts, memory/brain notes, git state) — appropriate for the stated function but users should recognize that excerpts of recent messages and local project data will be aggregated into the resume card.
Persistence & Privilege
always:false (normal). The skill writes to its own paths (.claude/session-resume-card.md and thinking/session-logs) and does not modify other skills or system-wide settings. It can run autonomously as a hook when registered; this is expected for hook scripts.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install pre-compact-resume-card
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /pre-compact-resume-card 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of pre-compact-resume-card skill. - Automatically saves an operational resume card before context compaction, capturing branch, commit, user/assistant actions, mode, and next step. - Transcript is backed up to `thinking/session-logs/` and last 30 are kept. - Resume card (`.claude/session-resume-card.md`) is injected into context on session start, restoring previous state automatically. - Installation via Clawhub or manual script setup; example hook registration provided. - Ensures Claude resumes work exactly where the last session ended, without manual intervention.
元数据
Slug pre-compact-resume-card
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Pre-Compact Resume Card 是什么?

Generates an operational resume card before Claude context compaction — so the next session knows exactly where it left off, what mode it was in, and what to... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 102 次。

如何安装 Pre-Compact Resume Card?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install pre-compact-resume-card」即可一键安装,无需额外配置。

Pre-Compact Resume Card 是免费的吗?

是的,Pre-Compact Resume Card 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Pre-Compact Resume Card 支持哪些平台?

Pre-Compact Resume Card 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Pre-Compact Resume Card?

由 nadalpiantini(@nadalpiantini)开发并维护,当前版本 v1.0.0。

💬 留言讨论