context-fold
by ysys143 · ★ 0 · updated 22 Oct 2026
0
Fold completed tool results into one-line pointers at compaction instead of summarizing, and read them back with read_coordinate.
Install
/plugin marketplace add ysys143/context-fold/plugin install context-fold@context-foldThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.starttool.callsession.compactturn.complete- API calls
$.clock.after$.clock.now$.command.run$.config.set$.env.get$.fs.exists$.fs.list$.fs.read$.fs.stat$.fs.write$.session.append$.session.id$.session.messages$.session.usage$.tool.register$.ui.log$.ui.status- Can see
mcp__context-fold__read_coordinate callsmcp__context-fold__policy_report callsmcp__context-fold__set_policy callscompaction- Reach
- level 2 of 3 writes fileschanges configdrives Claudereads filesreads env varsreads the transcriptdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/ysys143/context-fold
- Path in repo
- repository root
- Source commit
7e8e0d7the exact code the scan read- Author
- @ysys143
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.
Related mods
Other mods in Status line, close to this one by stars.