context-editor

by Alexandr Yavorsky · ★ 0 · updated 6 days ago

Status lineGuardsCommandsPromptTools & agentsvalidates

0

Lets the agent replace processed tool outputs and dead-end steps in its own context with compact summaries.

install context-editor

Install

/plugin marketplace add yavfast/ClaudeMods
/plugin install context-editor@claudemods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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
0068a2b the 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.

More from yavfast/ClaudeMods

ui-probe

yavfast/ClaudeMods

Test mod: shows a numbered message through every plugin notification channel ($.ui.log, toast, status, notify, notice) to see which ones a surface draws.

★ 0Status lineGuardsCommands