structured-context-compressor
Compress a long agent conversation into a nine-part continuation summary that preserves request, files, errors, user messages, current work, and the next aligned step.
How do I install this agent skill?
npx skills add https://github.com/learnprompt/cc-harness-skills --skill structured-context-compressorIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill provides a prompt template and a local helper script to generate structured summaries of agent conversations. It does not perform network operations, access sensitive files, or execute untrusted code.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Structured Context Compressor
Use this skill when a free-form summary is too lossy and you need a reliable continuation artifact.
Use It For
- long coding conversations
- session handoff
- agent-to-agent continuation
- preserving user intent under context pressure
Quick Start
Render the standard template:
python3 {baseDir}/scripts/render_template.py
Then apply the prompt in references/prompt-template.md.
Nine Sections
- primary request and intent
- key technical concepts
- files and code sections
- errors and fixes
- problem solving
- all user messages
- pending tasks
- current work
- next aligned step
Highest-Value Rule
Preserve all user messages or an accurate equivalent. Do not compress away the corrections that changed the direction of work.
Supporting Files
- Prompt template: references/prompt-template.md
- Source notes: references/source-notes.md
- Helper script:
python3 {baseDir}/scripts/render_template.py
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/learnprompt/cc-harness-skills/structured-context-compressor">View structured-context-compressor on skillZs</a>