editor-context
by Tal Barina · ★ 0 · updated 2 days ago
Shows the file and lines you have selected in Cursor or VS Code above the Claude Code prompt in the desktop app, and quietly tells Claude what you're looking at with each message
Install
/plugin marketplace add talbarina/claude-editor-context/plugin install editor-context@talbarinaThen 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
command.runsession.startsession.attachprompt.submitturn.startturn.completeui.messageui.render- API calls
$.clock.sleep$.command.register$.http.fetch$.process.run$.process.spawn$.prompt.submit$.session.cwd$.session.surfaces$.state.get$.state.set$.store.get$.store.set$.ui.resolve- Draws
AbovePrompt- Can see
every prompt- Reach
- level 3 of 3 other: $.process.spawnother: $.state.getother: $.state.setnetworkruns processesdrives Claudepersists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/talbarina/claude-editor-context
- Path in repo
plugins/editor-context- Author
- Tal Barina @talbarina
- License
- MIT
- First published
- Last pushed
- First listed here
- On X
- Mentioned in 1 post on X
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.
Posts about this repo
@lydiahallie Yes! Claude Code in the terminal already sees your IDE selection via /ide. The desktop app didn't, so I built a mod for it: your Cursor/VS Code file + selected lines show above the prompt and ride along with every message. Explain, Pin, Pause built in. https://github.com/talbarina/claude-editor-context