Orca CLI
stablyai/orca
Operate Orca-managed worktrees, folder contexts, terminals, repos, automations, artifacts, skill sharing, worktree comments, and Orca's embedded browser…
Save the current Claude Code or Codex session state to a temporary state file before running /compact.
$ npx skills add u-ichi/compact-plus --skill compact-plus -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install u-ichi/compact-plus compact-plus --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/u-ichi/compact-plus.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/compact-plus .claude/skills/compact-plus && 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 "compact-plus" agent skill from https://github.com/u-ichi/compact-plus/tree/main/skills/compact-plus into .claude/skills/compact-plus/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "compact-plus", 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/u-ichi/compact-plus/tree/main/skills/compact-plusType 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 u-ichi/compact-plus --skill compact-plus -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install u-ichi/compact-plus compact-plus --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/u-ichi/compact-plus.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/compact-plus .agents/skills/compact-plus && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "compact-plus" agent skill from https://github.com/u-ichi/compact-plus/tree/main/skills/compact-plus into .agents/skills/compact-plus/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "compact-plus", 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 u-ichi/compact-plus --skill compact-plus -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install u-ichi/compact-plus compact-plus --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/u-ichi/compact-plus.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/compact-plus .cursor/skills/compact-plus && 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 "compact-plus" agent skill from https://github.com/u-ichi/compact-plus/tree/main/skills/compact-plus into .cursor/skills/compact-plus/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "compact-plus", 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/u-ichi/compact-plus.git --path skills/compact-plus--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 u-ichi/compact-plus --skill compact-plus -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install u-ichi/compact-plus compact-plus --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/u-ichi/compact-plus.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/compact-plus .gemini/skills/compact-plus && 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 "compact-plus" agent skill from https://github.com/u-ichi/compact-plus/tree/main/skills/compact-plus into .gemini/skills/compact-plus/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "compact-plus", 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 u-ichi/compact-plus compact-plusInstalls 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 u-ichi/compact-plus --skill compact-plus -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/u-ichi/compact-plus.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/compact-plus .github/skills/compact-plus && 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 "compact-plus" agent skill from https://github.com/u-ichi/compact-plus/tree/main/skills/compact-plus into .github/skills/compact-plus/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "compact-plus", 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 u-ichi/compact-plus --skill compact-plus -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install u-ichi/compact-plus compact-plus --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/u-ichi/compact-plus.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/compact-plus .opencode/skills/compact-plus && 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 "compact-plus" agent skill from https://github.com/u-ichi/compact-plus/tree/main/skills/compact-plus into .opencode/skills/compact-plus/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "compact-plus", 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.
compact-plusSave the current Claude Code or Codex session state to a temporary state file before running /compact.
Compact Plus is an agent skill from u-ichi/compact-plus. Save the current Claude Code or Codex session state to a temporary state file before running /compact. MANDATORY TRIGGERS: /compact-plus, compact-plus, compact plus, compaction plus handoff, pre-compact state save. DO NOT TRIGGER: post-compact recovery, ordinary progress updates, plan creation, or casual context-usage discussion.
Its SKILL.md is about 890 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 Session handoff. The repository describes itself as: Claude Code plugin: preserve and restore working state around /compact. The licence is MIT.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit acb5b80. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
BashReadWriteEditGrepFrom allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).
From 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.
Compact Plus loads about 892 tokens when it runs. Until then it costs about 86 tokens; SKILL.md has 367 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 noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Bash, Read, Write, Edit, GrepAutomated 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.
The full file from u-ichi/compact-plus at commit acb5b80, republished under its MIT licence (© u-ichi). 367 words, ~892 tokens.
.claude/skills/compact-plus/SKILL.md (or your agent's skills folder).In Claude Code and Codex, the PreCompact hook automatically saves a pre-compaction state file when /compact runs.
This skill is a manual fallback for richer recovery notes.
Before /compact, save working state that is not reliably preserved by the compaction summary to the
runtime-specific state directory.
/compact.$CLAUDE_CODE_SESSION_ID in Claude Code.$CODEX_THREAD_ID in Codex.$CODEX_COMPANION_SESSION_ID is the final compatibility fallback.${TMPDIR:-/tmp}/claude-compact-state/${SESSION_ID}.md.${TMPDIR:-/tmp}/codex-compact-state/${SESSION_ID}.md.~/.claude/plans/ when one is present.Not used.# Compact Prep State
## Active Plan
## Current Phase
## TaskList Summary
## Session Decisions
## Constraints and Blockers
## Worker Topology
## Skills Invoked
## Editing Files
## Failed Attempts
## Recovery NotesPreparation complete. Please run /compact.Include the following when complete:
Preparation complete. Please run /compact.© u-ichi, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/compact-plus of u-ichi/compact-plus.
Open the folder on GitHubat commit acb5b80
Compact Plus 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 |
|---|---|---|---|---|---|---|
| Compact Plus this skillu-ichi/compact-plus | 205 | — | ~892 | Automated safety check: Notes | MIT | |
| Orca CLIstablyai/orca | 87k | 2 repos | ~593 | Automated safety check: Pass | MIT | |
| Coding Agent Session Findercode-yeongyu/oh-my-openagent | 70k | 1 repos | ~2.8k | Automated safety check: Pass | Custom licence | |
| Beads Task Memorygastownhall/beads | 28k | — | ~1.2k | Automated safety check: Pass | MIT | |
| Session History Searchslopus/happy | 24k | — | ~3.1k | Automated safety check: Pass | MIT | |
| Paseo Agent Handoffgetpaseo/paseo | 20k | 1 repos | ~606 | Automated safety check: Pass | Custom licence |
stablyai/orca
Operate Orca-managed worktrees, folder contexts, terminals, repos, automations, artifacts, skill sharing, worktree comments, and Orca's embedded browser…
code-yeongyu/oh-my-openagent
Finds, reads and reconstructs past coding-agent sessions across Codex, Claude, OpenCode, Senpi and many other local agent logs.
gastownhall/beads
Tracks multi-session work with dependencies in the bd issue tracker so the agent can find ready tasks and recover its context after conversation compaction.
slopus/happy
Searches past Claude Code, Codex and Cursor sessions and summarizes what was worked on, tried or decided, using extraction scripts instead of reading raw logs.
getpaseo/paseo
Hands off the current task, including context, decisions and failed attempts, to a fresh agent through Paseo by writing a self-contained briefing prompt and launching that agent.
MemoriLabs/Memori
Connects Claude Code to Memori Cloud for long-term memory, recalling stored context before substantive replies and saving new context afterward.
Categories
Save the current Claude Code or Codex session state to a temporary state file before running /compact. Compact Plus is an agent skill from u-ichi/compact-plus. Save the current Claude Code or Codex session state to a temporary state file before running /compact.
Compact Plus fits situations like: tasks that involve Session handoff.
Run `npx skills add u-ichi/compact-plus --skill compact-plus -a claude-code`. Or copy the skill folder (skills/compact-plus in u-ichi/compact-plus) into .claude/skills/compact-plus in your project. Claude Code loads it when a task matches its description.
Run `npx skills add u-ichi/compact-plus --skill compact-plus -a codex`. Or copy the skill folder (skills/compact-plus in u-ichi/compact-plus) into .agents/skills/compact-plus 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 u-ichi/compact-plus --skill compact-plus -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-plus, .gemini/skills/compact-plus, .github/skills/compact-plus and .opencode/skills/compact-plus in your project.
SKILL.md names no scripts, command-line tools or credentials: Compact Plus is instructions for the agent only. Its frontmatter pre-approves these tools: Bash, Read, Write, Edit, Grep.
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 notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Compact Plus is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 892 tokens (SKILL.md is roughly 3.6k 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 Compact Plus: Orca CLI (stablyai/orca, 87k stars), Coding Agent Session Finder (code-yeongyu/oh-my-openagent, 70k stars), Beads Task Memory (gastownhall/beads, 28k stars) and Session History Search (slopus/happy, 24k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
u-ichi (a GitHub user) maintains it in u-ichi/compact-plus, which has 205 GitHub stars. The repository was last updated on July 27, 2026.
Source: u-ichi/compact-plus on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.