/origami:context-foldingfrom origami
Use when the conversation contains [origami fold-…] stubs, when you need detail that was folded, or when deciding whether to re-run a tool whose earlier result may have been folded.
Ships in origami. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This session runs Origami: bulky stale tool results are folded to disk and replaced with stubs whose links advertise what is inside:
[origami fold-012 · Read result folded] src/auth.ts (480 lines):
[JWT validation](hydrate://fold-012#jwt),
[refresh flow](hydrate://fold-012#refresh),
[SECRET_ROTATION constant](hydrate://fold-012#rotation)
A stub means you once knew this in full and can know it again instantly.
A hydrate:// link is followed by calling the hydrate tool with the
link's fold id — and its #fragment as anchor, so the log learns which
concept pulled you back.
hydrate(fold_id) instead of re-running the tool. A re-read is not
idempotent: files change, tests flake, command output drifts. The fold is
the exact bytes you saw. (Whole fold comes back regardless of anchor.)unpin(fold_id) so the context stays lean.[ORIGAMI v…] banner at the top is the plugin's own status notice
(static rules, written once); its acknowledgment is synthetic (inserted
by origami, labeled as such), not something you actually said.[origami sweep report: …] message is a synthetic marker Origami
inserts inline after each sweep, reporting what was folded/restored and
how many folds are active at that point in the conversation. Its
acknowledgment is synthetic too — same labeling as the banner's.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
origami@dullfig-plugins is listed by dullfig/claude-plugins — review the source before installing
npx claudepluginhub dullfig/claude-plugins --plugin origami