ワンクリックで
compactor
Context management — compact session, recall history, run code, search content.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Context management — compact session, recall history, run code, search content.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Long-running iterative development loops. Run arbitrarily-long tasks without diluting model attention. Triggers: ralph, ralph loop, iterative loop, long-running task, development loop.
Full compactor reference — tool parameters, anti-patterns, sandbox languages, context budget, workflows.
Diagnostics — validate config, session DB, runtimes, and troubleshoot compactor issues.
Stats display — context savings, session metrics, compactions, sandbox and recall/search counters.
Helps you use the /unipi:btw side-conversation workflow effectively. Use when you want to think in parallel, ask side questions without interrupting ongoing work, or inject a side thread back into the main agent.
CocoIndex content indexing and search — use when you need to search indexed project content or trigger re-indexing
| name | compactor |
| description | Context management — compact session, recall history, run code, search content. |
context_budget → check % full. compact → free tokens (zero-LLM, 98%+ reduction).
Compact BEFORE complex work. compact(dryRun: true) to preview without compacting.compactor_stats → check savings. compactor_doctor → diagnose.session_recall(query) → search this session (BM25 or regex), including raw messages that may no longer be in live context after compaction.cocoindex_search) when installed; content indexing no longer lives in compactor.sandbox(lang, code) → single script. sandbox_batch(items) → atomic.
sandbox_file(lang, path) → run file. Only stdout enters context.⚠ When the task spans many operations, PREFER Ralph loops
(/unipi:work, ralph_start) if available — they manage
context pressure better than monolithic runs.
session_recall instead of scrolling history.