click-to-fix

click-to-fix is a skill for Claude Code from johnkozaris/web-interact-plugin. It costs 117 tokens per session (863 once invoked), scanned A, original, MIT.

A browser inspection tool that lets a developer click an on-screen element and receive its component name, source file, and line number. It is intended for apps running in development mode, where this source information is available.

In plain words
What is it for?
Use it to locate the code behind a page element before fixing or changing it, especially in React, Vue, or Svelte development builds.
Why use it?
It removes the guesswork of finding which code creates a visible button, form, or other interface element. This makes it easier to jump from a browser problem to the relevant source code.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the web-interact plugin — 4 skills shipped together

Good fit Use it to locate the code behind a page element before fixing or changing it, especially in React, Vue, or Svelte development builds.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/johnkozaris/web-interact-plugin/click-to-fix
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.

Any agent
npx skills add johnkozaris/web-interact-plugin --skill click-to-fix
Clone the repo
git clone --depth 1 https://github.com/johnkozaris/web-interact-plugin

Made for: Claude Code.

Or install web-interact, the plugin that ships this one along with the rest of its 4 skills.

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 click-to-fix

README.md
[![agentmods](https://agentmods.dev/badge/skills/johnkozaris/web-interact-plugin/click-to-fix/github.svg)](https://agentmods.dev/skills/johnkozaris/web-interact-plugin/click-to-fix)
Your own site
<a href="https://agentmods.dev/skills/johnkozaris/web-interact-plugin/click-to-fix"><img src="https://agentmods.dev/badge/skills/johnkozaris/web-interact-plugin/click-to-fix/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for click-to-fix

Your own site · 80×15
<a href="https://agentmods.dev/skills/johnkozaris/web-interact-plugin/click-to-fix"><img src="https://agentmods.dev/badge/skills/johnkozaris/web-interact-plugin/click-to-fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 863 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00117 $0.00863
Opus 5.5 $0.00047 $0.00345
Sonnet 5.5 $0.00023 $0.00173
Haiku 4.5 $0.00012 $0.00086

Measured 3mo ago against content hash 6059701040d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

click-to-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 3mo 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.

skills/click-to-fix/SKILL.md · 96 lines

How it starts

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

click-to-fix

Let the user click any element in their browser to trace it back to its source code.

This is a user-interactive command. You run it, then the USER physically clicks an element in their browser. The command blocks until they click (up to 2 minutes). Do NOT poll or retry — just run the command and wait for the result.

Workflow

Step 1 — Make sure a page is open

The user's app must be running in a browser. If not already open:

web-interact open "http://localhost:3000"
# Or connect to the user's running browser:
web-interact --own-browser discover

For best results, the app should be running in development mode (React/Vue/Svelte dev builds include source metadata that gives exact file + line number).

Step 2 — Run click-to-fix

web-interact click-to-fix

Tell the user:

Inspect mode is active. A purple overlay is now visible in the browser. Hover over elements to see their component name and source file. Click the element you want to fix.

The command blocks until the user clicks. Do NOT interrupt it — wait for the JSON result.

Step 3 — Parse the result

The command outputs JSON like:

{
  "tag": "button",
  "id": "submit-btn",
  "classes": ["btn", "btn-primary"],
  "text": "Submit Order",
  "attributes": { "data-testid": "checkout-submit" },
  "source": { "file": "src/components/Checkout/SubmitButton.tsx", "line": 42, "column": 8 },
  "component": "SubmitButton",
  "outerSnippet": "<button class=\"btn btn-primary\">Submit Order</button>"
}

Step 4 — Locate and open the source

If source.file exists (framework dev metadata found):

  1. Read the file at the reported line number (±15 lines for context)
  2. Show the user the component and ask what they'd like to change

If source is null (production build or unsupported framework):

  1. Use component name to search: grep -r "function ComponentName\|const ComponentName" src/
  2. Use data-testid or unique CSS classes to search: grep -r "data-testid=\"value\"" src/
  3. Use text content: grep -r "Submit Order" src/
  4. See references/source-resolver.md for detailed fallback strategies

Read the full file on GitHub · 96 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 96 lines · 117 tokens per session scan A 6059701040d1

Subscribe to this mod's changes

click-to-fix is a skill published in the GitHub repository johnkozaris/web-interact-plugin (2 stars, last pushed 8mo ago), licensed MIT. It adds 117 tokens to every session and 863 once invoked, about $0.0005 per session on Opus 5.5. 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-31.

Related

click-to-fix compared with skills from other repositories

click-to-fix next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
click-to-fixjohnkozaris/web-interact-pluginSkill28mo agoMITA117Claude Code
chrome-controlvre/flow-stateSkill122mo agoMITA29Claude Code, Codex
moli-webfetchlexmount/moliSkill25ktodayApache-2.0A90Codex
moli-cdp-serverlexmount/moliSkill25ktodayApache-2.0A74Codex
opencli-autofixjackwener/OpenCLISkill32k24d agoApache-2.0A61Claude Code
axiom-sreopenclaw/clawhubSkill9.6ktodayMITA48Claude Code, Codex
pinchtab-devpinchtab/pinchtabSkill11k7d agoMITA77Claude Code, Codex