Skip to content
FunCoding

context-window-management

Use this skill in long conversations or multi-turn agentic sessions where context may be lost or the conversation is approaching token limits. Summarize, prioritize, and compact context proactively before it becomes a problem.

Star
3,472
License
MIT
Last commit
Jun 7, 2026

memory_data/skills/context-window-management/SKILL.md

View on GitHub

Context Window Management

Proactive summarization:

  • At natural breakpoints, summarize key decisions and state into a compact form.
  • Keep the active context focused on the current task; move resolved context to a summary.

Prioritization:

  • Most important: current task description, constraints, and already-confirmed decisions.
  • Less important: verbose tool outputs that have been processed; intermediate reasoning.

File-based memory: For long-running sessions, write important state to a file rather than keeping it all in the conversation.

Avoid: Repeatedly re-reading large files you already have in context; re-running expensive searches for information already retrieved.

Similar Skills

ask-matt

MAmattpocock/skills337k4,978 new stars in the last 7 days

chief-of-staff

MAmattpocock/skills337k4,978 new stars in the last 7 days

setup-matt-pocock-skills

MAmattpocock/skills337k4,978 new stars in the last 7 days

subagent-driven-development

OBobra/superpowers331k4,772 new stars in the last 7 days

autonomous-loops

AFaffaan-m/ECC315k4,381 new stars in the last 7 days

autonomous-agent-harness

AFaffaan-m/ECC315k4,381 new stars in the last 7 days