strategic-compact

Suggest manual /compact checkpoints at phase transitions during long sessions.

1|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/samymity/bridge-ventures-backend --skill strategic-compact-samymity
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: strategic-compact
Source: https://github.com/samymity/bridge-ventures-backend/tree/main/.claude/skills/strategic-compact
Command: npx skills add https://github.com/samymity/bridge-ventures-backend --skill strategic-compact-samymity

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Long, multi-phase work sessions can hit context limits or become incoherent because auto-compaction removes important information at arbitrary times.

Core Features & Use Cases

  • Strategic compaction suggestions: Recommends when to run /compact based on session progress rather than random timing.
  • Tool-call thresholding: Suggests compaction after a configurable number of tool calls and then at regular checkpoints.
  • Phase-transition guidance: Encourages compaction at research→plan, plan→implementation, and milestone boundaries while avoiding mid-implementation loss.

Use Case: During a feature build that moves from research to implementation to testing, the skill helps you preserve the right “phase context” by suggesting compaction when you should start the next phase cleanly.

Quick Start

Run the Strategic Compact hook so it suggests manual compaction during long tool-heavy sessions, then decide whether to apply /compact at a logical phase transition.

Frequently Asked Questions about strategic-compact

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

FAQPage Schema
How do I prevent context loss during long Claude sessions with multiple workflow phases?

Prevent context loss by suggesting manual /compact checkpoints at meaningful phase boundaries. This approach preserves critical research, planning, and implementation context by prompting compaction before auto-compaction removes important information at arbitrary times.

When should I manually run /compact instead of relying on automatic context compaction?

Run /compact manually during logical workflow transitions, such as moving from research to planning or implementation to testing. A hook-driven counter suggests compaction after a configurable number of tool calls to avoid mid-implementation context loss.

How does a tool-call threshold trigger compaction suggestions in Claude?

A deterministic hook-driven counter tracks tool calls and suggests manual compaction once a configurable threshold is reached. It then continues emitting reminders at regular checkpoints, aligning context management with workflow phase transitions.

Can I configure compaction reminders for specific phase transitions in Claude?

Yes, the Skill entrypoint supports configurable tool-call thresholds and encourages compaction at research to plan, plan to implementation, and testing milestone boundaries. This ensures phase context is preserved while avoiding mid-implementation information loss.

What problems does strategic compaction solve for multi-phase feature development?

Strategic compaction solves session incoherence and unexpected context limits during multi-phase feature builds. By suggesting compaction at logical milestones rather than random timing, it preserves the correct phase context needed to start the next workflow stage cleanly.

Does strategic compact work without additional dependencies?

Yes, strategic compact operates as a standalone hook with no external dependencies. It uses a script component to monitor tool calls and emit compaction reminders, requiring only the Claude environment to function.