← All skills
strategic-compact
80 / 100 · Low risk
Fine to try. Some of what it can do is expected: a coding skill usually runs build and test commands.
By affaan-m/ECC (GitHub) · coding · 300,508 stars · scanned at commit d2ef268
Suggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction. Use when a session is approaching a context limit and a task phase is a natural place to compact.
Works with any agent that supports SKILL.md skills.
What this skill can do
Runs commands on your computer
The author does not mention this. It runs automatically when the plugin is installed. Expected for a coding skill.
Found in 44 places.
Show 17 more
- scripts/hooks/session-activity-tracker.js, line 13
const { spawnSync } = require('child_process'); - scripts/hooks/session-activity-tracker.js, line 346
const result = spawnSync('git', args, { - scripts/lib/llm-summary.js, line 15
const { spawnSync } = require('child_process'); - scripts/lib/llm-summary.js, line 180
const result = spawnSync('claude', ['--model', getLLMModel(), '-p'], { - scripts/lib/observer-sessions.js, line 5
const { spawnSync } = require('child_process'); - scripts/lib/observer-sessions.js, line 45
const result = spawnSync('git', args, { - scripts/lib/utils.js, line 10
const { execSync, spawnSync } = require('child_process'); - scripts/lib/utils.js, line 491
const result = spawnSync('where', [cmd], { stdio: 'pipe' }); - scripts/lib/utils.js, line 494
const result = spawnSync('which', [cmd], { stdio: 'pipe' }); - scripts/lib/utils.js, line 528
const result = execSync(cmd, { - .mcp.json, line 4
"command": "npx", - hooks/README.md, line 295
"command": "node -e \"let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{const i=JSON.parse(d);const p=i.tool_input?.file_path||'';if(/\\.py$ - hooks/codex-hooks.json, line 10
"command": "node -e \"if(!process.env.PLUGIN_ROOT)throw new Error('Missing Codex PLUGIN_ROOT');process.env.CLAUDE_PLUGIN_ROOT=process.env.PLUGIN_ROOT;const p=re - hooks/hooks.json, line 9
"command": "node -e \"const p=require('path');const r=(function(){var p=require('path'),f=require('fs'),o=require('os');var e=process.env.CLAUDE_PLUGIN_ROOT;if( - hooks/hooks.json, line 18
"command": "node -e \"const p=require('path');const r=(function(){var p=require('path'),f=require('fs'),o=require('os');var e=process.env.CLAUDE_PLUGIN_ROOT;if( - hooks/hooks.json, line 28
"command": "node -e \"const p=require('path');const r=(function(){var p=require('path'),f=require('fs'),o=require('os');var e=process.env.CLAUDE_PLUGIN_ROOT;if( - hooks/hooks.json, line 37
"command": "node -e \"const p=require('path');const r=(function(){var p=require('path'),f=require('fs'),o=require('os');var e=process.env.CLAUDE_PLUGIN_ROOT;if(
and 24 more places
Downloads and installs other software
The author does not mention this. It runs automatically when the plugin is installed.
Found in 2 places.
Other copies in this repository
affaan-m/ECC has 6 more folders with a skill named strategic-compact. This page shows the lowest-scoring copy.
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'strategic-compact' ] || [ -L ~/.agents/skills/'strategic-compact' ]; then echo 'A skill folder named strategic-compact already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/affaan-m/ECC' "$d" && git -C "$d" checkout --quiet 'd2ef2680594f9a17526a6e1a2e18b3d242c5d17b' -- 'skills/strategic-compact' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/strategic-compact' ~/.agents/skills/'strategic-compact' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'strategic-compact' ~/.claude/skills/'strategic-compact' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
The badge for affaan-m/ECC shows the score of its lowest-scoring skill.

[](https://zalavijaysinh.github.io/skilltrust/repos/affaan-m/ECC/)
Score history
| Date | Version | Score |
|---|
| 2026-11-08 | d2ef268 | 80 |
| 2026-11-06 | b38be6a | 80 |
Also found in
Identical copies of this skill exist at:
- affaan-m/everything-claude-code/skills/strategic-compact