Agent skill
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.
Install this agent skill to your Project
npx add-skill https://github.com/LearnPrompt/cc-harness-skills/tree/main/skills/structured-context-compressor
SKILL.md
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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
verification-gate
Run a read-only verification pass after implementation to check whether completion claims are real, validation actually ran, and obvious edge cases or regressions were missed.
kairos-lite
Build a lightweight proactive mode with scheduled checks, sleep intervals, concise user briefs, and expiry safeguards so an agent can work in the background without becoming an uncontrolled daemon.
dream-memory
Consolidate recent logs, sessions, and existing memory files into durable topic memories, normalize dates, prune stale entries, and keep MEMORY.md short enough for prompt use.
swarm-coordinator
Coordinate multiple agents by splitting work into research, synthesis, implementation, and verification, assigning ownership, and keeping the coordinator focused on integration rather than raw exploration.
memory-extractor
Extract durable memories from recent conversation turns into user, feedback, project, and reference categories while avoiding stale code-state facts.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
Didn't find tool you were looking for?