strategic-compact

Suggest manual context compaction based on context size and tool call counts.

Updated Jun 22, 2026
One-click install
npx skills add https://github.com/hector-manny/bussbot --skill strategic-compact-hector-manny
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: strategic-compact
Source: https://github.com/hector-manny/bussbot/tree/main/.cursor/.agents/skills/strategic-compact
Command: npx skills add https://github.com/hector-manny/bussbot --skill strategic-compact-hector-manny

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses the issue of arbitrary auto-compaction, which can disrupt workflow and lead to loss of important context during tasks.

Core Features & Use Cases

  • Strategic Compaction: Encourages manual context compaction at logical intervals, preserving context through task phases.
  • Context Size Monitoring: Suggests compaction based on the size of the context, with configurable thresholds.
  • Tool-Call Counting: Suggests compaction after a configurable number of tool calls.
  • Use Case: Ideal for long sessions, multi-phase tasks, and when switching between unrelated tasks to maintain focus and context integrity.

Quick Start

Run the strategic-compact skill to suggest context compaction at strategic points in your workflow.

Frequently Asked Questions about strategic-compact

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent arbitrary context compaction from disrupting my AI workflow?

To prevent arbitrary context compaction, you can trigger manual context compaction at logical intervals. This preserves important context during multi-phase tasks and maintains workflow focus.

When should I manually compact context in long-term AI workflows?

You should manually compact context in long-term AI workflows based on context size thresholds or tool usage counts. This targets multi-phase tasks requiring context preservation and enhanced focus.

Does context size monitoring help with multi-phase task focus?

Yes, context size monitoring helps with multi-phase task focus by suggesting manual compaction at strategic points. This prevents context loss when switching between unrelated tasks during long sessions.

How does tool-call counting trigger context compaction?

Tool-call counting triggers context compaction by suggesting manual context reduction after a configurable number of tool calls. This preserves context through task phases and enhances productivity.

What is the best way to preserve context when switching between unrelated tasks?

The best way to preserve context when switching between unrelated tasks is strategic compaction. Encouraging manual context compaction at logical intervals maintains context integrity and workflow focus.

Why does auto-compaction cause context loss in multi-phase workflows?

Auto-compaction causes context loss in multi-phase workflows because it triggers arbitrarily, disrupting workflow and losing important context. Strategic compaction suggests manual compaction to preserve context through task phases.