Context window management

From aiming-lab/MetaClaw · View interactive version

Context window management is an AI agent skill from the GitHub repository aiming-lab/MetaClaw. 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.

How to use this skill

Skill file

Context Window Management

Proactive summarization:

Prioritization:

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.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.