← Back to Skills Marketplace
nadalpiantini

Pre-Compact Resume Card

by nadalpiantini · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
102
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install pre-compact-resume-card
Description
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...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install pre-compact-resume-card
  3. After installation, invoke the skill by name or use /pre-compact-resume-card
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug pre-compact-resume-card
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 102 downloads so far.

How do I install Pre-Compact Resume Card?

Run "/install pre-compact-resume-card" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Pre-Compact Resume Card free?

Yes, Pre-Compact Resume Card is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Pre-Compact Resume Card support?

Pre-Compact Resume Card is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Pre-Compact Resume Card?

It is built and maintained by nadalpiantini (@nadalpiantini); the current version is v1.0.0.

💬 Comments