Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
sickn33 avatar

Cc Skill Strategic Compact

  • 604 installs
  • 44k repo stars
  • Updated July 27, 2026
  • sickn33/antigravity-awesome-skills

cc-skill-strategic-compact is a Claude Code hook skill that suggests timely manual context compaction at logical breakpoints for developers running long agent sessions instead of letting context degrade mid-task.

About

cc-skill-strategic-compact is a community Claude Code skill sourced from everything-claude-code that runs a Strategic Compact Suggester on PreToolUse hooks. Instead of waiting for automatic compaction that may truncate critical context mid-task, the skill prompts developers to manually compact at logical breakpoints like phase completions or before large tool batches. Developers reach for cc-skill-strategic-compact during extended refactoring, multi-file features, or debugging marathons where Claude context windows fill and quality drops. The bash-based hook evaluates session state and nudges compaction before degradation affects code quality.

  • Suggests manual compaction after exploration before execution
  • Triggers on transition from research to implementation
  • Runs on PreToolUse hook for Edit|Write actions
  • Preserves context through logical phases instead of arbitrary auto-compaction
  • 3 clear criteria for when to compact: session length, tool call volume, milestone transitions

Cc Skill Strategic Compact by the numbers

  • 604 all-time installs (skills.sh)
  • Ranked #1,557 of 16,659 AI & Agent Building skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill cc-skill-strategic-compact

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs604
repo stars44k
Security audit2 / 3 scanners passed
Last updatedJuly 27, 2026
Repositorysickn33/antigravity-awesome-skills

When should you compact Claude Code context?

Receive timely suggestions to manually compact Claude context at logical breakpoints instead of letting it degrade mid-task.

Who is it for?

Developers running long Claude Code sessions who need proactive compact prompts before context degradation hurts multi-file tasks.

Skip if: Developers on short single-file edits where context limits are never approached.

When should I use this skill?

A long Claude Code session approaches context limits or the developer needs guidance on when to manually compact.

What you get

Timed compact suggestions, preserved critical context, PreToolUse hook notifications at session breakpoints

  • Compact timing suggestions
  • Breakpoint notifications

By the numbers

  • Hooks into Claude Code PreToolUse lifecycle events
  • Sourced from the everything-claude-code community skill collection

Files

SKILL.mdMarkdownGitHub ↗

cc-skill-strategic-compact

Development skill skill.

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

Related skills

How it compares

Pick cc-skill-strategic-compact over generic productivity skills when the problem is Claude Code context window management during long agent runs.

FAQ

What does cc-skill-strategic-compact do in Claude Code?

cc-skill-strategic-compact runs a Strategic Compact Suggester on PreToolUse hooks, recommending manual context compaction at logical breakpoints before automatic truncation degrades agent output mid-task.

Why use manual compaction instead of automatic?

cc-skill-strategic-compact favors manual compaction at phase boundaries so developers control what context is summarized, avoiding mid-task auto-compact that can drop critical file or decision history.

Is Cc Skill Strategic Compact safe to install?

skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

AI & Agent Buildingagentsautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.