VS Code Lets You Add Page Elements to Copilot, So I Built It for Any AI Agent
Highlight the element-selection button and the option showing that the context is added to Copilot Chat.Pinpoint did not invent that interaction.The gap I wanted to solve was portability. You can see the exact element, its position, its dimensions, the CSS rules affecting it, and which variable is producing the wrong color.The coding agent sees source files and has to reconstruct all of that from code.VS Code’s built-in Copilot workflow solves this when Copilot Chat is your destination. I wanted the same basic interaction while working with other agents.My manual workaround was to inspect the element in DevTools, copy its outer HTML, copy the relevant styles, and paste everything into the chat.It worked, but it flooded the prompt with a wall of text.
- ▪Highlight the element-selection button and the option showing that the context is added to Copilot Chat.Pinpoint did not invent that interaction.The gap I wanted to solve was portability.
- ▪You can see the exact element, its position, its dimensions, the CSS rules affecting it, and which variable is producing the wrong color.The coding agent sees source files and has to reconstruct all of that from code.VS Code’s built-in Copi
- ▪I wanted the same basic interaction while working with other agents.My manual workaround was to inspect the element in DevTools, copy its outer HTML, copy the relevant styles, and paste everything into the chat.It worked, but it flooded the
Opening excerpt (first ~120 words) tap to expand
Visual Studio CodeVscode ExtensionDeveloper ToolsJavaScriptAI AgentVS Code Already Lets You Add Page Elements to Copilot, So I Built a Version for Any AI AgentMarc Builds10 min read·1 day ago--1ListenShareHow Pinpoint recreates VS Code’s element-selection workflow for Codex, Claude Code, and other coding agents using the debugger, workspace files, and the clipboardPress enter or click to view image in full sizeFull Pinpoint workflow, from activation until pasting element to chatPinpoint in action: select an element in VS Code’s Integrated Browser, then paste its generated @.pinpoint/...
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at Medium.