Agent Line Comments — Development skill for Claude Code
Comment on a specific line or diff change in VS Code/Cursor and send it to a coding agent (Claude Code, Codex, Gemini CLI, Cursor Agent, Aider).
How to install Agent Line Comments
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open ybriki/agent-line-comments and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Line Comments does
Comment on a specific line or diff change in VS Code/Cursor and send it to a coding agent (Claude Code, Codex, Gemini CLI, Cursor Agent, Aider).
Alternatives in Development
- Understand Anything — Graphs that teach graphs that impress 80.7k ★
- Vibe Kanban — Get 10X more out of Claude Code, Gemini CLI, Codex, Amp and other coding agents 23.5k ★
- Claude SEO — Multi-Platform Agent Instructions — For Cursor, Cursor Cloud Agents, Google Antigravity, and Gemini CLI 5k ★
README
agent-line-comments
A VS Code / Cursor extension that lets you comment on a specific line or diff change and send that comment to a coding agent (Claude Code, Codex, Gemini CLI, Cursor Agent, Aider, or your own CLI).
Instead of writing "in `server.ts` around line 400, handle the null case" in a chat, you click the line and write "handle the null case". The agent gets the file, the line numbers, the surrounding code and the git diff for that spot.
How it works
- Hover next to a line number and click the + (works in normal files and in diff views). Drag to select several lines.
- Write your comment and choose:
- Send: the agent runs now, edits the file, and replies in the thread.
- Add to Review: queue it. When you're done, click N pending in the status bar to send all comments in one request.
- Send to…: send this one comment to a different agent.
- Reply in the thread to follow up. It continues the same agent session.
Other ways to start a comment: right-click → **Comment on This Line**, or `Cmd+Shift+Alt+C` (`Ctrl+Shift+Alt+C` on Windows/Linux).
The current agent is shown in the status bar. Click it to switch.
What the agent receives
I left a review comment on `app.js` line 6
Code (lines marked `>` are the ones I commented on):
```javascript
5 | count = values.length;
> 6 | return total / count;
7 | }
```
Uncommitted git diff touching these lines:
```diff
@@ -3,7 +3,7 @@ function average(values) {
...
```
My comment:
> handle the case where values is empty
Install
You need at least one agent CLI installed and logged in (for example `claude` or `codex`).
git clone https://github.com/ybriki/agent-line-comments.git
cd agent-line-comments
npm install
npm run package
code --install-extension agent-line-comments-*.vsix # or: cursor --install-extension ...
Supported agents
| Agent | Command used | Tested |
|---|---|---|
claude |
claude -p --output-format stream-json |
yes |
Related Skills
Coding Agent Session Search
Unified TUI and CLI to index and search your local coding agent session history across 11+ providers (Codex, C
Pbi Comment
Add inline // comments and a structured description property to a single DAX measure. Comments explain busines
Codecast
See, steer, and remember every coding agent session — Claude Code, Codex, Cursor, Gemini. Team memory, live st
Zlog
Multi-agent session log compressor and storage optimizer for Claude Code, Cursor, Antigravity, Gemini, Ollama,
Wife
Local, persistent and auditable memory layer for Claude Code, Codex, Cursor & Gemini CLI. Your coding agent st
Agent Mux
unified TypeScript SDK and CLI (amux) for driving heterogeneous coding-agent harnesses — Claude Code, Codex, G
Related Agents
Comment Review
Reviews the comments in a diff against the repo's comment guideline (CLAUDE.md → Coding Standards → Comments)
Agent Of Empires
Claude Code, OpenCode, Mistral Vibe, Codex CLI, Gemini CLI Coding Agent Terminal Session manager via tmux and
Developer Overview
code-container (container) creates isolated Docker environments for AI coding harnesses (Claude Code, OpenCode