Context Optimization
guanyang/open-agent-hub
This skill should be used for improving context efficiency: context budgeting, observation masking, prefix or KV-cache strategy, partitioning, token-cost reduction, retrieval scoping, and extending…
Pulls a prior session's checkpoint as fenced, scrubbed recovery context.
$ npx skills add alexgreensh/token-optimizer --skill resume-checkpoint -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install alexgreensh/token-optimizer resume-checkpoint --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/alexgreensh/token-optimizer.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/resume-checkpoint .claude/skills/resume-checkpoint && rm -rf skills-srcUse ~/.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/
Install the "resume-checkpoint" agent skill from https://github.com/alexgreensh/token-optimizer/tree/main/skills/resume-checkpoint into .claude/skills/resume-checkpoint/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "resume-checkpoint", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/alexgreensh/token-optimizer/tree/main/skills/resume-checkpointType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add alexgreensh/token-optimizer --skill resume-checkpoint -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install alexgreensh/token-optimizer resume-checkpoint --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/alexgreensh/token-optimizer.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/resume-checkpoint .agents/skills/resume-checkpoint && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "resume-checkpoint" agent skill from https://github.com/alexgreensh/token-optimizer/tree/main/skills/resume-checkpoint into .agents/skills/resume-checkpoint/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "resume-checkpoint", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add alexgreensh/token-optimizer --skill resume-checkpoint -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install alexgreensh/token-optimizer resume-checkpoint --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/alexgreensh/token-optimizer.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/resume-checkpoint .cursor/skills/resume-checkpoint && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "resume-checkpoint" agent skill from https://github.com/alexgreensh/token-optimizer/tree/main/skills/resume-checkpoint into .cursor/skills/resume-checkpoint/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "resume-checkpoint", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/alexgreensh/token-optimizer.git --path skills/resume-checkpoint--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add alexgreensh/token-optimizer --skill resume-checkpoint -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install alexgreensh/token-optimizer resume-checkpoint --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/alexgreensh/token-optimizer.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/resume-checkpoint .gemini/skills/resume-checkpoint && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "resume-checkpoint" agent skill from https://github.com/alexgreensh/token-optimizer/tree/main/skills/resume-checkpoint into .gemini/skills/resume-checkpoint/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "resume-checkpoint", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install alexgreensh/token-optimizer resume-checkpointInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add alexgreensh/token-optimizer --skill resume-checkpoint -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/alexgreensh/token-optimizer.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/resume-checkpoint .github/skills/resume-checkpoint && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "resume-checkpoint" agent skill from https://github.com/alexgreensh/token-optimizer/tree/main/skills/resume-checkpoint into .github/skills/resume-checkpoint/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "resume-checkpoint", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add alexgreensh/token-optimizer --skill resume-checkpoint -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install alexgreensh/token-optimizer resume-checkpoint --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/alexgreensh/token-optimizer.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/resume-checkpoint .opencode/skills/resume-checkpoint && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "resume-checkpoint" agent skill from https://github.com/alexgreensh/token-optimizer/tree/main/skills/resume-checkpoint into .opencode/skills/resume-checkpoint/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "resume-checkpoint", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
resume-checkpointPulls a prior session's checkpoint as fenced, scrubbed recovery context.
Resume Checkpoint is an agent skill from alexgreensh/token-optimizer. Pulls a prior session's checkpoint as fenced, scrubbed recovery context. Use when the user is continuing prior work; skip it on a fresh, unrelated task.
Its SKILL.md is about 840 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/pull_checkpoint.py`).
It sits in Agent Workflows. The repository describes itself as: Find the ghost tokens. Fix them. Survive compaction. Avoid context quality decay.
Read from SKILL.md and the folder at commit 723c19b. It shows what the files ask for, not the result of running them.
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.
Ships 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
python3From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Resume Checkpoint loads about 838 tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 302 words of instructions outside code blocks.
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.
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); the scripts in this folder are not scanned.
Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 302 words (~838 tokens).
“A model-invokable tool that fetches and judges a prior session's checkpoint on demand, when the user is continuing prior work and the SessionStart pointer was not enough (or was declined).”
SKILL.md and 1 other file (scripts) in skills/resume-checkpoint of alexgreensh/token-optimizer.
Open the folder on GitHubat commit 723c19b
Resume Checkpoint 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Resume Checkpoint this skillalexgreensh/token-optimizer | 2.5k | — | ~838 | Automated safety check: Pass | Custom licence | |
| Context Optimizationguanyang/open-agent-hub | 977 | 2 repos | ~4k | Automated safety check: Pass | MIT | |
| Sop PlanStanshy/AgentHub | 202 | — | ~437 | Automated safety check: Notes | MIT | |
| Planzereight/gitlab-mcp | 2k | 1 repos | ~509 | Automated safety check: Pass | MIT | |
| Vc Autoresearchwithkynam/vibecode-pro-max-kit | 1.1k | — | ~3.7k | Automated safety check: Pass | MIT | |
| Ops ResumeLifecycle-Innovations-Limited/claude-ops | 542 | — | ~753 | Automated safety check: Notes | MIT |
guanyang/open-agent-hub
This skill should be used for improving context efficiency: context budgeting, observation masking, prefix or KV-cache strategy, partitioning, token-cost reduction, retrieval scoping, and extending…
Stanshy/AgentHub
L1 計畫模式 SOP — 強制上下文載入 + Plan Mode 評估 + 任務拆解. An agent skill from Stanshy/AgentHub.
zereight/gitlab-mcp
Strategic planning with optional interview workflow. An agent skill from zereight/gitlab-mcp.
withkynam/vibecode-pro-max-kit
Loop: find gaps → fix → repeat until agents find no gaps or a metric goal is hit.
Lifecycle-Innovations-Limited/claude-ops
OPS on-demand: This skill should be used when the user asks to "resume sessions", "reopen ghostty…
LeoYeAI/openclaw-master-skills
Multi-agent stock trading signal analysis framework with two-round debate mechanism.
alexgreensh/token-optimizer
Audits a Claude Code or Codex setup for context-window waste, fixes it with the user's approval, and measures the saving.
alexgreensh/token-optimizer
Audits token waste and cost across Claude Code, Codex, OpenClaw, Hermes and OpenCode, with dollar savings.
alexgreensh/token-optimizer
Coaches a token-efficient Claude Code or Codex setup from the user's own usage data.
alexgreensh/token-optimizer
Opens the Token Optimizer dashboard in the browser (context usage, quality, savings).
alexgreensh/token-optimizer
Audit your OpenClaw setup for token waste, context bloat, and cost optimization opportunities
Categories
Pulls a prior session's checkpoint as fenced, scrubbed recovery context. Resume Checkpoint is an agent skill from alexgreensh/token-optimizer. Pulls a prior session's checkpoint as fenced, scrubbed recovery context.
Resume Checkpoint fits situations like: the user is continuing prior work; skip it on a fresh.
Run `npx skills add alexgreensh/token-optimizer --skill resume-checkpoint -a claude-code`. Or copy the skill folder (skills/resume-checkpoint in alexgreensh/token-optimizer) into .claude/skills/resume-checkpoint in your project. Claude Code loads it when a task matches its description.
Run `npx skills add alexgreensh/token-optimizer --skill resume-checkpoint -a codex`. Or copy the skill folder (skills/resume-checkpoint in alexgreensh/token-optimizer) into .agents/skills/resume-checkpoint in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add alexgreensh/token-optimizer --skill resume-checkpoint -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/resume-checkpoint, .gemini/skills/resume-checkpoint, .github/skills/resume-checkpoint and .opencode/skills/resume-checkpoint in your project.
Going by SKILL.md and its folder, Resume Checkpoint needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.
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.
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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Resume Checkpoint has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.
About 838 tokens (SKILL.md is roughly 3.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Resume Checkpoint: Context Optimization (guanyang/open-agent-hub, 977 stars), Sop Plan (Stanshy/AgentHub, 202 stars), Plan (zereight/gitlab-mcp, 2k stars) and Vc Autoresearch (withkynam/vibecode-pro-max-kit, 1.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
alexgreensh (a GitHub user) maintains it in alexgreensh/token-optimizer, which has 2,534 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 10, 2026.
Source: alexgreensh/token-optimizer on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.