Agent skill

Strategic Compact

by hellangleZ in hellangleZ/burn-in-cceverywhere-ralph

Suggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction.

No licenceAuto-check passedAgent Workflows

Install Strategic Compact

skills CLI
$ npx skills add hellangleZ/burn-in-cceverywhere-ralph --skill strategic-compact -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install hellangleZ/burn-in-cceverywhere-ralph strategic-compact --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/hellangleZ/burn-in-cceverywhere-ralph.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/strategic-compact .claude/skills/strategic-compact && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
strategic-compact
GitHub stars
112
Used in
8 other repos
Token cost
~514 tokens
SKILL.md length
191 words
Files
2
Skills in repo
5
Repo updated
First seen
Licence
None found

At a glance

Suggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction.

  • Works in 3 steps: Tracks tool calls - Counts tool… → Threshold detection - Suggests at… → Periodic reminders - Reminds every 25…
  • Tasks that involve Context engineering
  • SKILL.md covers Why Strategic Compaction?, How It Works, Hook Setup and Configuration, plus 2 more sections
  • Runs Shell scripts from its folder

What it does

Strategic Compact is an agent skill from hellangleZ/burn-in-cceverywhere-ralph. Suggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction.

Its SKILL.md is about 510 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `suggest-compact.sh`).

It sits in Agent Workflows, covering Context engineering. The repository describes itself as: Claude Code Enhanced: 整合 everything-claude-code + ralph 的最佳能力,打造 Claude Code 终极增强套件.

When your agent uses it

  • Tasks that involve Context engineering

Example prompts

  • “Use the strategic-compact skill to suggest manual context compaction at logical intervals to preserve context through task phases rather than…”
  • “/strategic-compact”

Requirements

  • A Bash shell

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Tracks tool calls - Counts tool invocations in session
  2. Threshold detection - Suggests at configurable threshold (default: 50 calls)
  3. Periodic reminders - Reminds every 25 calls after threshold

What it can do on your machine

Read from SKILL.md and the folder at commit 3e1aa6b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Shell), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • x.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Strategic Compact loads about 514 tokens when it runs. Until then it costs about 38 tokens; SKILL.md has 191 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~38
When it runs · the whole SKILL.md, loaded when a task matches
~514

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 191 words (~514 tokens).

“Suggests manual /compact at strategic points in your workflow rather than relying on arbitrary auto-compaction.”

— opening of SKILL.md by hellangleZ
name
strategic-compact

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in skills/strategic-compact of hellangleZ/burn-in-cceverywhere-ralph.

  • SKILL.md
  • suggest-compact.sh

Open the folder on GitHubat commit 3e1aa6b

Used in 8 other repositories

We found 15 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 8 other GitHub owners. This page covers the copy in hellangleZ/burn-in-cceverywhere-ralph, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Strategic Compact next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Strategic Compact compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Strategic Compact this skillhellangleZ/burn-in-cceverywhere-ralph1128 repos~514Automated safety check: PassNone
Context Mode Output Sandboxmksglu/context-mode26k—~4.1kAutomated safety check: PassCustom licence
Memori Long-Term MemoryMemoriLabs/Memori17k—~2kAutomated safety check: NotesCustom licence
Picoclaw Skill Creatorsipeed/picoclaw30k—~4.4kAutomated safety check: PassMIT
ccc Semantic Code Searchcocoindex-io/cocoindex-code2.7k—~938Automated safety check: PassApache-2.0
Context Mode for Antigravity CLImksglu/context-mode26k—~850Automated safety check: PassCustom licence

Similar skills

  • Context Mode Output Sandbox

    mksglu/context-mode

    Routes large command, file, API and browser output through context-mode tools so only the needed result enters the agent's context, instead of dumping it via Bash.

    26k GitHub stars~4.1k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Memori Long-Term Memory

    MemoriLabs/Memori

    Connects Claude Code to Memori Cloud for long-term memory, recalling stored context before substantive replies and saving new context afterward.

    17k GitHub stars~2k tokensUpdated 4 days ago
    Agent WorkflowsAuto-check: notes
  • Picoclaw Skill Creator

    sipeed/picoclaw

    Guidance for creating, updating and reviewing Picoclaw skills, from the SKILL.md structure to organizing bundled scripts, references and assets.

    30k GitHub stars~4.4k tokensUpdated 12 days ago
    Agent WorkflowsAuto-check passed
  • ccc Semantic Code Search

    cocoindex-io/cocoindex-code

    Semantic code search and index management with the ccc CLI: the agent initializes, indexes and queries the project by concept, filtering by language or path.

    2.7k GitHub stars~938 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Routing rules for using context-mode MCP tools in Antigravity CLI: sandboxed code runs, file analysis, indexed search and web fetches that keep large output out of the conversation.

    26k GitHub stars~850 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Token Optimizer

    alexgreensh/token-optimizer

    Audit a Claude Code or Codex setup for context-window waste, then fix it and measure the savings.

    2.5k GitHub stars~3.6k tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed

More from hellangleZ/burn-in-cceverywhere-ralph

  • TDD Workflow

    hellangleZ/burn-in-cceverywhere-ralph

    A skill your agent uses when writing new features, fixing bugs, or refactoring code.

    112 GitHub starsUsed in 11 repos~2.4k tokens
    Auto-check passed
  • Backend Patterns

    hellangleZ/burn-in-cceverywhere-ralph

    Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.

    112 GitHub starsUsed in 17 repos~3.3k tokens
    Auto-check passed
  • Clickhouse Io

    hellangleZ/burn-in-cceverywhere-ralph

    ClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads.

    112 GitHub starsUsed in 14 repos~2.5k tokens
    Auto-check passed
  • Continuous Learning

    hellangleZ/burn-in-cceverywhere-ralph

    Automatically extract reusable patterns from Claude Code sessions and save them as learned skills for future use.

    112 GitHub starsUsed in 6 repos~518 tokens
    Auto-check passed

Categories

Questions about Strategic Compact

What does Strategic Compact do?

Suggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction. Strategic Compact is an agent skill from hellangleZ/burn-in-cceverywhere-ralph. Suggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction.

When should I use Strategic Compact?

Strategic Compact fits situations like: tasks that involve Context engineering.

How do I install Strategic Compact in Claude Code?

Run `npx skills add hellangleZ/burn-in-cceverywhere-ralph --skill strategic-compact -a claude-code`. Or copy the skill folder (skills/strategic-compact in hellangleZ/burn-in-cceverywhere-ralph) into .claude/skills/strategic-compact in your project. Claude Code loads it when a task matches its description.

How do I install Strategic Compact in Codex?

Run `npx skills add hellangleZ/burn-in-cceverywhere-ralph --skill strategic-compact -a codex`. Or copy the skill folder (skills/strategic-compact in hellangleZ/burn-in-cceverywhere-ralph) into .agents/skills/strategic-compact in your project. Codex loads it when a task matches its description.

Can I use Strategic Compact in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add hellangleZ/burn-in-cceverywhere-ralph --skill strategic-compact -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/strategic-compact, .gemini/skills/strategic-compact, .github/skills/strategic-compact and .opencode/skills/strategic-compact in your project.

What does Strategic Compact need to run?

Going by SKILL.md and its folder, Strategic Compact needs a shell for the scripts in its folder. Our summary lists: A Bash shell.

Does Strategic Compact access the network?

SKILL.md names 1 domain. As links in the text: x.com. This is read from the text; nothing was executed.

Is Strategic Compact safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Strategic Compact use?

No licence was found for Strategic Compact or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Strategic Compact use?

About 514 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Strategic Compact?

Skills that share tags, products or a category with Strategic Compact: Context Mode Output Sandbox (mksglu/context-mode, 26k stars), Memori Long-Term Memory (MemoriLabs/Memori, 17k stars), Picoclaw Skill Creator (sipeed/picoclaw, 30k stars) and ccc Semantic Code Search (cocoindex-io/cocoindex-code, 2.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Strategic Compact?

hellangleZ (a GitHub user) maintains it in hellangleZ/burn-in-cceverywhere-ralph, which has 112 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on January 26, 2026.

Source: hellangleZ/burn-in-cceverywhere-ralph on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.