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 ★
- Claude SEO — Multi-Platform Agent Instructions — For Cursor, Cursor Cloud Agents, Google Antigravity, and Gemini CLI 5k ★
- Haft — Engineering decisions engine that know when they're stale 1.4k ★
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
Herdr Reviewr
Review your coding agent's diff in a terminal pane and send line comments back to Claude Code, Codex, OpenCode
Mulligan
Undo for coding agents. Snapshots your project at every prompt and tool call, shell commands included, so you
Coding Agent Session Search
Unified TUI and CLI to index and search your local coding agent session history across 11+ providers (Codex, C
Agent Run Monitor
Desktop app for Windows, macOS and Linux that shows what your coding agents are doing, live. Watch Claude Code
Align Agent
ALIGN (Agent Line-Index Guard and Notices): keep coding agents' views of their files current (Claude Code, Cod
Momo Hop
Momo Hop: one-click project launcher for macOS. Lists your projects from Claude Code, Codex, Gemini CLI, OpenC
Related Agents
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
Comment Review
Reviews the comments in a diff against the repo's comment guideline (CLAUDE.md → Coding Standards → Comments)