fix

fix is a command for coding agents from mnvsk97/eyeroll. It costs 0 tokens per session (531 once invoked), scanned A, original, MIT.

A command that uses eyeroll to inspect a bug video or screenshot, diagnose the problem, change the code, run tests, and open a pull request. A pull request is a proposed set of code changes for review.

In plain words
What is it for?
Use it with a Loom URL, video file, or screenshot to investigate a bug, make a focused fix, test it, and create a pull request.
Why use it?
It connects visual bug evidence with code investigation and the usual testing and review steps, reducing manual handoffs.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/mnvsk97/eyeroll/fix
Clone the repo
git clone --depth 1 https://github.com/mnvsk97/eyeroll

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fix

README.md
[![agentmods](https://agentmods.dev/badge/commands/mnvsk97/eyeroll/fix.svg)](https://agentmods.dev/commands/mnvsk97/eyeroll/fix)
Your own site
<a href="https://agentmods.dev/commands/mnvsk97/eyeroll/fix"><img src="https://agentmods.dev/badge/commands/mnvsk97/eyeroll/fix.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 531 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00531
Opus 5 $0.00000 $0.00266
Sonnet 5 $0.00000 $0.00106
Haiku 4.5 $0.00000 $0.00053

Measured 3d ago against content hash c596b603afd1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

fix scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

docs-site/docs/commands/fix.md · 84 lines

How it starts

The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/eyeroll:fix

Watch a bug video, diagnose the issue, fix the code, and raise a PR -- all in one command.

Usage

/eyeroll:fix <url-or-path> [--context "..."]

What it does

/eyeroll:fix extends /eyeroll:watch with a full fix workflow:

  1. Analyze -- runs eyeroll watch to produce a structured report
  2. Diagnose -- extracts error messages, URLs, and search patterns from the report
  3. Search -- greps the codebase using suggested patterns and reads identified files
  4. Fix -- implements minimal, focused changes
  5. Test -- runs the project's test suite; writes a test if one would catch the bug
  6. PR -- creates a branch, commits, pushes, and opens a pull request

Examples

/eyeroll:fix https://loom.com/share/abc123
/eyeroll:fix ./bug.mp4 --context "checkout broken after PR #432"
/eyeroll:fix ./screenshot.png --context "this 500 error started yesterday"

Diagnosis flow

The agent extracts from the report:

  • Exact error messages and status codes
  • URLs and routes visible in the recording
  • Search patterns from the Fix Directions section
  • File references from codebase context

It then searches the codebase:

grep -r "TypeError: Cannot read properties" .
grep -r "stripe_id" .

If the context mentions a regression, it checks recent changes:

gh pr view 432
git log --since="1 week ago" -- src/checkout/

PR format

The generated PR includes:

## Summary
What was broken and why.

## Bug Evidence
- Video: <source URL>
- Error: <exact error message>

## Changes
- src/checkout/handler.py: Added null check for stripe_id

## Test Plan
- Verify checkout flow completes without error

Confidence gates

The agent adjusts its behavior based on diagnosis confidence:

Confidence Behavior
High Implements fix, opens PR
Medium Implements fix, opens PR as draft
Low Presents findings, asks before implementing

!!! warning "Low confidence" When the video is ambiguous or the codebase context is missing, the agent will stop and ask for confirmation rather than making changes it is unsure about.

Read the full file on GitHub · 84 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 84 lines · 0 tokens per session scan A c596b603afd1

Subscribe to this mod's changes

fix is a command published in the GitHub repository mnvsk97/eyeroll (17 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 531 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.