context-editor
by Alexandr Yavorsky · ★ 0 · updated 6 days ago
0
Lets the agent replace processed tool outputs and dead-end steps in its own context with compact summaries.
Install
/plugin marketplace add yavfast/ClaudeMods/plugin install context-editor@claudemodsThen 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.callturn.startcommand.runsession.appendturn.completesession.compactprompt.attachmentprompt.submit- API calls
$.clock.after$.clock.sleep$.command.register$.command.run$.env.get$.env.set$.fs.exists$.fs.list$.fs.read$.fs.stat$.fs.write$.model.fork$.process.run$.prompt.submit$.session.id$.session.messages$.session.model$.session.root$.session.usage$.session.version$.tool.register$.ui.invalidate$.ui.log$.ui.status$.ui.toast- Can see
mcp__context-editor__context_list callsmcp__context-editor__context_edit callsmcp__context-editor__context_tag calls/"^mcp__context-editor__context_note$"/ calls/"^mcp__context-editor__context_recall$"/ calls/"^mcp__context-editor__context_handoff$"/ callscompactionevery tool callevery prompt- Reach
- level 2 of 3 runs processeswrites filessets env varsdrives 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/yavfast/ClaudeMods
- Path in repo
mods/context-editor- Source commit
0068a2bthe exact code the scan read- Author
- Alexandr Yavorsky @yavfast
- License
- No license declared — ask the author before reusing code.
- 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.