pre-compact
100 / 100 · Low risk
Fine to try.
Prepare the session for context compaction - write a handoff file a fresh session can continue from, propose updates to the project's durable docs, apply them on approval or with `auto`. Use before compacting or clearing context, or on "pre-compact".
What this skill can do
We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'pre-compact' ] || [ -L ~/.agents/skills/'pre-compact' ]; then echo 'A skill folder named pre-compact already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/tenequm/skills' "$d" && git -C "$d" checkout --quiet '16996da5399d22f781a70b3d3694b4684f9b8bfd' -- 'skills/pre-compact' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/pre-compact' ~/.agents/skills/'pre-compact' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'pre-compact' ~/.claude/skills/'pre-compact' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/tenequm/skills/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-07 | 16996da | 100 |