Ctx compact

From ActiveMemory/ctx · View interactive version

Ctx compact is an AI agent skill from the GitHub repository ActiveMemory/ctx. Archive completed tasks and trim context. Use when context files are growing large.

How to use this skill

Skill file

Archive completed tasks and trim stale context entries to keep

the context directory lean and within token budgets.

When to Use

When NOT to Use

Execution

Run the compact operation:

ctx compact

This archives completed tasks from TASKS.md into the session

history and trims stale entries from other context files.

After running, confirm:

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.