editor-context

by Tal Barina · ★ 0 · updated 23 days ago

BandsReskinsCommandsPromptwarnings

0

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 editor-context

Install

/plugin marketplace add talbarina/claude-editor-context
/plugin install editor-context@talbarina

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
command.runsession.startsession.attachprompt.submitui.renderui.messageui.close
API calls
$.clock.sleep$.command.register$.http.fetch$.process.run$.process.spawn$.session.cwd$.session.surfaces$.session.turns$.state.get$.state.set$.store.get$.store.set$.ui.resolve
Draws
UserMessageAbovePrompt
Can see
every prompt
Reach
level 3 of 3 networkruns processesreads mod statepersists 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
Source commit
0a7db9a the exact code the scan read
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

Tal Barina@talZz23

@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