Agent skill

Compact Guide

by jh941213 in jh941213/my-cc-harness

Context window management and token optimization guide. An agent skill from jh941213/my-cc-harness.

No licenceAuto-check passedAgent Workflows

Install Compact Guide

skills CLI
$ npx skills add jh941213/my-cc-harness --skill compact-guide -a claude-code

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

GitHub CLI
$ gh skill install jh941213/my-cc-harness compact-guide --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/jh941213/my-cc-harness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills_en/compact-guide .claude/skills/compact-guide && 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
compact-guide
GitHub stars
126
Token cost
~621 tokens
SKILL.md length
253 words
Files
1
Skills in repo
62
Repo updated
First seen
Licence
None found

At a glance

Context window management and token optimization guide. An agent skill from jh941213/my-cc-harness.

  • Memory management
  • SKILL.md covers Core Principles (the…, Commands, Recommended Pattern and Context Management from a Cost…
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve Context engineering

What it does

Compact Guide is an agent skill from jh941213/my-cc-harness. Context window management and token optimization guide. Triggers on: context, tokens, compact, memory management. NOT for: code writing, debugging.

Its SKILL.md is about 620 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Context engineering and LLM cost and token optimization.

When your agent uses it

  • Memory management
  • Tasks that involve Context engineering
  • Tasks that involve LLM cost and token optimization

Example prompts

  • “/compact-guide”

What it can do on your machine

Read from SKILL.md and the folder at commit e9210e2. 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

    No scripts in the folder and no shell commands in SKILL.md.

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

  • Network

    No URLs in SKILL.md.

    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

Compact Guide loads about 621 tokens when it runs. Until then it costs about 40 tokens; SKILL.md has 253 words of instructions outside code blocks.

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

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 253 words (~621 tokens).

“Context is like fresh milk. The problem is freshness, not volume — polluted context deserves a reset.”

— opening of SKILL.md by jh941213
name
compact-guide
disable-model-invocation
false
user-invocable
true

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills_en/compact-guide of jh941213/my-cc-harness.

Open the folder on GitHubat commit e9210e2

Compare with similar skills

Compact Guide 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.

Compact Guide compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Compact Guide this skilljh941213/my-cc-harness126—~621Automated safety check: PassNone
Context DoctorjzOcb/context-doctor119—~642Automated safety check: PassMIT
Caveman Learn Token FixesJuliusBrussee/caveman110k—~2.8kAutomated safety check: PassApache-2.0
OmniRoute Context CLIdiegosouzapw/OmniRoute74k—~1.2kAutomated safety check: PassMIT
Subagent Brief DisciplineLichAmnesia/lich-skills234—~1.6kAutomated safety check: PassMIT
Omh Context Budget Reviewrlaope/oh-my-hermes3.2k—~2kAutomated safety check: PassMIT

Similar skills

  • Context Doctor

    jzOcb/context-doctor

    Visualize and diagnose OpenClaw context window usage. An agent skill from jzOcb/context-doctor.

    119 GitHub stars~642 tokensUpdated 6 mo ago
    Agent WorkflowsAuto-check passed
  • Caveman Learn Token Fixes

    JuliusBrussee/caveman

    Acts on a Caveman learn report: reviews ranked token sinks, applies cost-lowering edits one at a time with your consent, and reports what each fix returned.

    110k GitHub stars~2.8k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • OmniRoute Context CLI

    diegosouzapw/OmniRoute

    Manage context engineering configurations, RTK filter sets, and conversation sessions from the CLI. Apply context-relay settings and inspect active context…

    74k GitHub stars~1.2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Subagent Brief Discipline

    LichAmnesia/lich-skills

    Checks every subagent prompt before spawning, swapping pasted files and context for paths and short summaries and trimming the brief, to avoid multiplied token cost.

    234 GitHub stars~1.6k tokensUpdated 4 mo ago
    Agent WorkflowsAuto-check passed
  • Omh Context Budget Review

    rlaope/oh-my-hermes

    [omh] Context window or token budget at risk: plan compact context, token/cost budgets, summarization checkpoints, and overflow recovery before long agent work.

    3.2k GitHub stars~2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Context Engine

    borghei/Claude-Skills

    Context management engine for AI coding agents. An agent skill from borghei/Claude-Skills.

    881 GitHub stars~2.2k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed

More from jh941213/my-cc-harness

All 62 skills in this repo
  • API Design Principles

    jh941213/my-cc-harness

    REST 및 GraphQL API 설계 원칙 가이드. An agent skill from jh941213/my-cc-harness.

    126 GitHub starsUsed in 20 repos~3.4k tokens
    Auto-check passed
  • Tailwind Design System

    jh941213/my-cc-harness

    Build scalable design systems with Tailwind CSS, design tokens, component libraries, and responsive patterns.

    126 GitHub starsUsed in 10 repos~4.7k tokens
    Auto-check passed
  • Docs Architecture

    jh941213/my-cc-harness

    Generate/update architecture docs — ARCHITECTURE.md (codemap), architecture diagrams (C4 mermaid), ADRs (MADR), data model ERD.

    126 GitHub stars~923 tokensUpdated 2 mo ago
    Auto-check: notes
  • Auto Memory

    jh941213/my-cc-harness

    A skill your agent uses when starting substantial work in a repo (implementation, fixes, deploys, debugging), when first exploring a new repo, or when finishing work that produced reusable knowledge.

    126 GitHub stars~890 tokensUpdated 2 mo ago
    Auto-check passed
  • Async Python Patterns

    jh941213/my-cc-harness

    Python asyncio 및 async/await 패턴 가이드. An agent skill from jh941213/my-cc-harness.

    126 GitHub starsUsed in 14 repos~4.7k tokens
    Auto-check passed
  • Python Testing Patterns

    jh941213/my-cc-harness

    Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development.

    126 GitHub starsUsed in 17 repos~5.4k tokens
    Auto-check passed

Questions about Compact Guide

What does Compact Guide do?

Context window management and token optimization guide. An agent skill from jh941213/my-cc-harness. Compact Guide is an agent skill from jh941213/my-cc-harness. Context window management and token optimization guide.

When should I use Compact Guide?

Compact Guide fits situations like: memory management; tasks that involve Context engineering; tasks that involve LLM cost and token optimization.

How do I install Compact Guide in Claude Code?

Run `npx skills add jh941213/my-cc-harness --skill compact-guide -a claude-code`. Or copy the skill folder (skills_en/compact-guide in jh941213/my-cc-harness) into .claude/skills/compact-guide in your project. Claude Code loads it when a task matches its description.

How do I install Compact Guide in Codex?

Run `npx skills add jh941213/my-cc-harness --skill compact-guide -a codex`. Or copy the skill folder (skills_en/compact-guide in jh941213/my-cc-harness) into .agents/skills/compact-guide in your project. Codex loads it when a task matches its description.

Can I use Compact Guide 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 jh941213/my-cc-harness --skill compact-guide -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/compact-guide, .gemini/skills/compact-guide, .github/skills/compact-guide and .opencode/skills/compact-guide in your project.

What does Compact Guide need to run?

SKILL.md names no scripts, command-line tools or credentials: Compact Guide is instructions for the agent only.

Does Compact Guide access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Compact Guide 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 Compact Guide use?

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

How many tokens does Compact Guide use?

About 621 tokens (SKILL.md is roughly 2.5k 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 Compact Guide?

Skills that share tags, products or a category with Compact Guide: Context Doctor (jzOcb/context-doctor, 119 stars), Caveman Learn Token Fixes (JuliusBrussee/caveman, 110k stars), OmniRoute Context CLI (diegosouzapw/OmniRoute, 74k stars) and Subagent Brief Discipline (LichAmnesia/lich-skills, 234 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Compact Guide?

jh941213 (a GitHub user) maintains it in jh941213/my-cc-harness, which has 126 GitHub stars. The repository holds 62 skills in this directory. The repository was last updated on August 3, 2026.

Source: jh941213/my-cc-harness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.