context-compression-summarization-sliding-windows
/context-compression-summarization-sliding-windows
Use this skill when compress lengthy conversations using progressive summarization and sliding window techniques.
- Author
- nextboxis ↗
- Repository
- library-skill-agents ↗
- Licence
- MIT
- Last repository change
- 28.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 28.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use this skill when compress lengthy conversations using progressive summarization and sliding window techniques.
Original author description
Use this skill when compress lengthy conversations using progressive summarization and sliding window techniques.
How it works
- When to use
- Core principles
- Step-by-step workflow
- Specifics & examples
- Common mistakes & pitfalls
- Verification checklist
- Related skills
SKILL.md preview
--- name: context-compression-summarization-sliding-windows description: Use this skill when compress lengthy conversations using progressive summarization and sliding window techniques. --- # Context Compression Summarization Sliding Windows ## When to use Use this skill when compress lengthy conversations using progressive summarization and sliding window techniques. This applies across software engineering lifecycles, team code reviews, production debugging, prompt design, and architectural documentation. ## Core principles - **Clarity Over Cleverness**: Code, prompts, and technical documentation must prioritize clarity, predictability, and long-term maintainability over obscure shortcuts. - **Evidence-Based Engineering**: Every decision, bug resolution, and architectural choice must be supported by empirical data, minimal reproductions, or benchmark traces. - **Cognitive Load Minimization**: Design interfaces, APIs, and documents to minimize mental parsing overhead for future engineers and autonomous agents. - **Continuous Feedback Loops**: Incorporate automated verification, peer reviews, and post-task retrospectives to drive iterative improvement. ## Step-by-step workflow 1. **Define the objective and constraints**: State the exact technical outcome, acceptance criteria, and operational boundaries. 2. **Gather baseline telemetry and context**: Inspect relevant codebases, stack traces, system architecture diagrams, or log files. 3. **Execute structured analysis or implementation**: Apply domain-specific techniques (e.g., minimal reproduction, refactoring transforms, prompt templates). 4. **Validate against automated test assertions**: Run unit tests, linters, or schema validation parsers to verify behavioral correctness. 5. **Document rationale and trade-offs**: Record the 'why' behind choices, documenting rejected alternatives and operational considerations. 6. **Conduct retrospective review**: Share findings with stakeholders or record lessons learned in the team knowledge base. ## Specifics & examples - **Standard Engineering Artifact**: - Scope: Context Compression Summarization Sliding Windows - Core Deliverable: Actionable, verifiable engineering guidance aligned with Prompt & context engineering. - Verification Rule: Tested against production workflows and peer-reviewed standards. - **Primary Focus Area**: Prompt & context engineering principles designed to elevate engineering precision and team psychological safety. ## Common mistakes & pitfalls - Jumping directly into speculative fixes or complex rewrites before isolating the root cause. - Introducing premature abstractions that increase indirection and cognitive complexity. - Failing to document context and architectural trade-offs for subsequent maintainers. ## Verification checklist [ ] The technical deliverable or fix is validated with reproducible test assertions. [ ] Changes preserve backwards compatibility and maintain existing contract invariants. [ ] Documentation or commit logs clearly explain the rationale and trade-offs. ## Related skills - system-prompt-architecture-persona-constraints - few-shot-prompting-exemplar-selection-formatting - chain-of-thought-reasoning-step-by-step-prompts - structured-output-prompting-json-yaml-parsers
Versions
The database has no other skills named context-compression-summarization-sliding-windows.
Database snapshot: 13.11.2026 · package version c974b0a6a983 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 3 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100context-compression
REDUCING context size — summarization strategies, anchored iterative summarization, tokens-per-task optimization, compaction triggers, and probe-based evaluation. Use when the user asks to "compress context", "summarize conversation history", "implement compaction", "reduce… - 100context-window-compaction-kv-cache
Use this skill when managing long-context conversations through rolling summarization, token pruning, and KV-cache reuse. - 100context-compression
This skill should be used when long-running agent sessions need context compression, structured summarization, compaction, token-per-task optimization, or durable handoff summaries that preserve decisions, files, risks, and next actions. - 100compress
Use when the user says 'tokenstack', 'compression', 'token savings', 'proxy status', or asks about context window usage. - 100doncheli-context-health
Report the current state of the context window and recommend compression or cleanup actions. Activate when user mentions "context health", "context window", "how much context", "context full", "running out of context", "compress context". - 100context-compression
Compress selected context to a target token budget while preserving decisions, evidence, constraints, and unresolved questions. Use when relevant material is already selected but too long; use context-optimization when selection, deduplication, and ordering are also required.