Install
openclaw skills install @vnbochkarev-netizen/context-compactor-cliCondense a long agent session transcript into a compact handoff memo: decisions, tasks, risks, facts & links. Credential values are auto-redacted before output (best-effort - review memos before sharing; --strict drops whole suspect lines). EN/RU heuristics, zero dependencies. The CLI prints what it reads and where it writes. Use ONLY with the user's explicit consent: tell the user which transcript file will be read.
openclaw skills install @vnbochkarev-netizen/context-compactor-cliLocal-first. No telemetry, no cloud sync — the transcript you feed it never leaves your machine.
# from this package (or the git repo: github.com/vnbochkarev-netizen/context-compactor)
python3 compactor.py --input session.md
python3 compactor.py --input session.md --output handoff.md
python3 compactor.py --self-test
Handoff memos travel to other agents and files. Context Compactor redacts credential values
before scoring: password, token, api key, secret, sk-…/ghp_… tokens,
JWTs, URL-embedded credentials and PEM private-key blocks become <REDACTED: …>.
The surrounding decision/context is kept — the secret value is not.
⚠️ Redaction is best-effort pattern matching — review memos before sharing them.
--strict drops whole lines that still carry a credential marker.
--self-test asserts the covered cases (incl. URL creds, JWT, Cyrillic, PEM > 600 chars).
| What | Where | How to delete |
|---|---|---|
| Transcript file you point at | in memory only | nothing is written |
| Output memo | stdout or --output <file> you choose | delete the file |
Get explicit consent before processing a transcript: tell the user which file will be read. The tool writes nothing by itself, phones nothing and keeps no logs.
--output path the user provides.MIT © 2026 Viacheslav Bochkarev. Free to use, modify and redistribute.