Agent Skill
2/7/2026lgtm-context
Review Claude's last response in lgtm for line-by-line feedback
H
hapticdata
4GitHub Stars
1Views
npx skills add hapticdata/lgtm
SKILL.md
| Name | lgtm-context |
| Description | Review Claude's last response in lgtm for line-by-line feedback |
name: lgtm-context description: Review Claude's last response in lgtm for line-by-line feedback allowed-tools: Bash(bun run *), Bash(bunx *), Bash(tmux *), Read
Open Claude's last response in lgtm so the user can review it with line-by-line commenting.
When to use
When the user wants to review your previous response and provide detailed feedback on specific parts.
Steps
-
Run lgtm with the --context flag and export-on-quit. Check if
${CLAUDE_PLUGIN_ROOT}/node_modulesexists to determine the run command:- If
${CLAUDE_PLUGIN_ROOT}/node_modulesexists (local dev):bun run ${CLAUDE_PLUGIN_ROOT}/src/cli.ts --context --export-on-quit /tmp/lgtm-context-feedback.md - If
node_modulesdoes not exist (marketplace install):bunx @hapticdata/lgtm --context --export-on-quit /tmp/lgtm-context-feedback.md
- If
-
After the TUI exits, read the exported feedback file:
Read /tmp/lgtm-context-feedback.md -
Present the user's feedback and address their comments.
Requirements
This skill requires the CLAUDE_SESSION_ID environment variable to be set, which Claude Code sets automatically.
Note: If the user has LGTM_TMUX=1 set, this will open in a tmux split. Otherwise it opens in the current terminal.
Skills Info
Original Name:lgtm-contextAuthor:hapticdata
Download