Strategic Compact

Write what worked, what failed, and what is still open to a file, then compact at a phase boundary. Use when a long session is about to cross from research into editing, or from a finished milestone into the next task.

48 stars 6 forksResearch & Science Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add frankxai/claude-skills-library

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add frankxai/claude-skills-library --skill strategic-compact
Manual install
git clone --depth 1 https://github.com/frankxai/claude-skills-library.git /tmp/claude-skills-library
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills-library/absorbed/harness/strategic-compact ~/.claude/skills/strategic-compact

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Compact on a phase boundary

Auto-compact fires when the window is full. That often cuts a multi-file edit in half. Compact when a phase is actually done, and only after the next phase can be resumed from disk.

## Write this file first

Use `~/.claude/sessions/ecc-YYYY-MM-DD.md`, or the handover file the repo already uses. The note needs these three headings:

- What worked, with the command output or the commit that proves it.
- What failed, including the command that failed.
- What is still open, as the next concrete action.

If a heading is missing, add it. Do not paste an untrusted transcript into starlight-memory.

## When to compact

- Research is done and the plan is a file.
- A milestone is committed and the next task is different.
- A failed approach is recorded and you are starting a different one.

## When to keep the window

- You are mid-edit across several files.
- The next step needs a path, a diff, or an error you have not written down.

The todo list may not survive compaction on current Claude models. The file is the record. The estate already runs `pre-compact.js`. Do not add a second compact hook that double-fires.

## Where this came from

The phase-boundary idea follows affaan-m/ECC `skills/strategic-compact` at `4eb71d92a39cab44ad40ac9d8a6a5ccb4029d6c2` (MIT). The three buckets, the session path, and the ban on a second hook are estate choices.

Built on SIP.
Read the full skill on GitHub

Details

Skill name
strategic-compact
Path
absorbed/harness/strategic-compact/SKILL.md
License
MIT
Repo updated
18 November 2026

FAQ

What does the Strategic Compact skill do?

Write what worked, what failed, and what is still open to a file, then compact at a phase boundary. Use when a long session is about to cross from research into editing, or from a finished milestone into the next task.

How do I install the Strategic Compact skill?

Claude Code plugin: /plugin marketplace add frankxai/claude-skills-library. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Strategic Compact popular?

It lives in frankxai/claude-skills-library, which has 48 GitHub stars and 6 forks.

Related skills

Acos Meta

48

frankxai/claude-skills-library

ACOS self-description and configuration skill. Documents how ACOS works, how to extend it, how to add new skills/commands/agents, and how to debug the hook system. Use when building new ACOS capabilities, understanding the system architecture, or onboarding to ACOS for the first time.

Software Development

Acos Visual Gen

48

frankxai/claude-skills-library

Generate research-grounded visuals using the InfoGenius pipeline. Use when creating infographics, diagrams, educational visuals, or any image that benefits from factual accuracy. Supports 8 visual styles (3D, technical, minimalist, photorealistic, futuristic, vintage, cartoon, standard) and 4 audience levels.

Images, Video & Audio

Agent Harness Construction

48

frankxai/claude-skills-library

Shape an agent's tools, observations, and recovery without adding a second coordinator. Use when defining a tool, a skill, a hook, or a worktree lane.

AI, LLMs & Agents

Analyze Tensegrity System

45

pjt222/agent-almanac

Analyze a tensegrity system by identifying compression struts and tension cables, classifying type (class 1/2, biological/architectural), computing prestress equilibrium, verifying stability via Maxwell's rigidity criterion, and mapping biological tensegrity (microtubules, actin, intermediate filaments). Use when evaluating tensegrity in architecture, robotics, cell biology, or any system with isolated compression in continuous tension.

Research & ScienceIn 1 list

Health Nutrition Expert

48

frankxai/claude-skills-library

Apply cutting-edge 2025 nutrition science on longevity, metabolic health, gut microbiome, and evidence-based dietary patterns for optimal vitality and disease prevention. Use when planning a diet, evaluating a nutrition claim, or applying evidence-based guidance on longevity, metabolic, and gut health.

Research & Science

Assess Holistic Health

45

pjt222/agent-almanac

Conduct temperament-based health assessment from Hildegard von Bingen's Causae et Curae. Evaluates the four temperaments (sanguine, choleric, melancholic, phlegmatic), elemental correspondences (air, fire, earth, water), and provides dietary and lifestyle recommendations for rebalancing. Use when understanding constitutional type in Hildegardian terms, experiencing imbalance (fatigue, digestive issues, mental fog) needing holistic guidance, seeking dietary recommendations by temperament, or researching medieval humoral medicine.

Research & ScienceIn 1 list

Browse the most popular Claude skills, all research & science skills, or write your own with the skills generator.