strategic-compact

Manage and compress context to preserve token budgets and task continuity.

Updated Dec 1, 2025
One-click install
npx skills add https://github.com/tadokoro-ryusuke/cc-plugins --skill strategic-compact-tadokoro-ryusuke
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: strategic-compact
Source: https://github.com/tadokoro-ryusuke/cc-plugins/tree/main/dev-core/skills/strategic-compact
Command: npx skills add https://github.com/tadokoro-ryusuke/cc-plugins --skill strategic-compact-tadokoro-ryusuke

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps users optimize Claude Code context usage by minimizing loaded data and selectively enabling MCPs to preserve token budgets and improve performance.

Core Features & Use Cases

  • Context minimization: load only the necessary data and functions to complete a task.
  • Selective MCP activation: enable only required MCP modules per project to reduce token usage.
  • Task compression and state management: summarize progress and preserve essential context for seamless continuation.

Quick Start

Audit your current context and selectively enable only the MCP modules needed for the project.

Frequently Asked Questions about strategic-compact

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

FAQPage Schema
How do I optimize Claude Code context usage to save tokens and memory?

To optimize Claude Code context usage, you can minimize loaded data and selectively enable MCP modules to preserve token budgets and improve performance. This involves loading only necessary data and functions to complete a task.

What is the best way to manage MCP context for projects with large files?

Managing MCP context for large projects requires selective loading and controlled memory use. The skill implements a structured workflow with pre-compact hooks, automated and manual compression triggers, and clear state restoration guidance.

How does context compression preserve task continuity in Claude Code?

Context compression preserves task continuity by summarizing progress and preserving essential context for seamless continuation. It uses automated and manual compression triggers to maximize your token budget without losing critical state information.

Can I selectively enable MCP modules to reduce token usage per project?

Yes, you can selectively enable MCP modules per project to reduce token usage. The skill allows you to audit your current context and enable only the required MCP modules, minimizing loaded data and functions.

When should I use context compression and state restoration?

You should use context compression and state restoration when working with projects that have large files or multiple MCP modules. It is essential when selective loading and controlled memory use are needed to preserve your token budget.

Does context minimization work without manually triggering compression?

Context minimization supports both automated and manual compression triggers. This structured workflow ensures that token efficiency and memory management are maintained continuously without requiring constant manual intervention.