ui-fix.template

ui-fix.template is a command for Claude Code from evan043/claude-cli-advanced-starter-pack. It costs 0 tokens per session (642 once invoked), scanned A, original, MIT.

A command template for fixing user-interface problems in source code. It guides you through finding the relevant component, identifying the cause, applying a small fix, and optionally adding a regression test.

In plain words
What is it for?
Describe a UI issue, inspect its component, fix the code, and optionally create and run a test.
Why use it?
It turns a reported UI issue into a focused code change with an optional check that helps prevent the same problem from returning. It can work without live browser screenshots.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: names the AskUserQuestion tool; mentions Claude Code; mentions Codex.

Good fit Describe a UI issue, inspect its component, fix the code, and optionally create and run a test.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/evan043/claude-cli-advanced-starter-pack/ui-fix.template
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.

Clone the repo
git clone --depth 1 https://github.com/evan043/claude-cli-advanced-starter-pack

Made for: Claude Code.

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 ui-fix.template

README.md
[![agentmods](https://agentmods.dev/badge/commands/evan043/claude-cli-advanced-starter-pack/ui-fix.template/github.svg)](https://agentmods.dev/commands/evan043/claude-cli-advanced-starter-pack/ui-fix.template)
Your own site
<a href="https://agentmods.dev/commands/evan043/claude-cli-advanced-starter-pack/ui-fix.template"><img src="https://agentmods.dev/badge/commands/evan043/claude-cli-advanced-starter-pack/ui-fix.template/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 ui-fix.template

Your own site · 80×15
<a href="https://agentmods.dev/commands/evan043/claude-cli-advanced-starter-pack/ui-fix.template"><img src="https://agentmods.dev/badge/commands/evan043/claude-cli-advanced-starter-pack/ui-fix.template.svg" alt="Reviewed on agentmods" width="80" 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 642 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.00000 $0.00642
Opus 5.5 $0.00000 $0.00257
Sonnet 5.5 $0.00000 $0.00128
Haiku 4.5 $0.00000 $0.00064

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

Security

Grade A, and why

ui-fix.template 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 2mo 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.

templates/commands/ui-fix.template.md · 68 lines

How it starts

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

Codex Runtime Compatibility

This prompt was authored for Claude-style slash workflows. In Codex runtime, adapt tool calls as follows:

  • AskUserQuestion => ask the user directly in chat.
  • WebSearch/WebFetch => use available web tools (search_query, open, find) and cite links.
  • Read/Write => use shell/filesystem tools in this workspace.
  • Claude-only MCP calls (for example Playwright MCP names) => use available equivalents or clearly state fallback.
  • Keep intent and output format identical; only adapt execution mechanics.

ui-fix — Codex Runtime

Fix a UI issue. Playwright MCP screenshot/browser tools are unavailable in Codex, but I can fix code directly.

Describe what needs to be fixed and I'll:

  1. Read the relevant component files
  2. Identify the issue
  3. Apply the fix
  4. Optionally generate a regression test

For live browser visual debugging, use Claude Code CLI: /ui-fix


description: Debug and fix Neovim UI issues with guided workflow

Neovim UI Fix

Guided workflow to debug and fix nvim-ccasp UI issues. Reads a bug report or test failure, locates the root cause in Lua code, applies the smallest fix, and re-runs tests to verify.

Usage

/ui-fix
/ui-fix "flyout doesn't close on Esc"
/ui-fix --from-test ui_smoke_spec

Workflow

  1. Understand - Read the bug report or test failure output
  2. Locate - Identify the Lua module and function involved
  3. Diagnose - Read the code, trace the logic, find the root cause
  4. Fix - Apply the smallest change that resolves the issue
  5. Verify - Run the specific test that failed (or smoke test)
  6. Report - Summarize what was wrong and what was changed

Fix Principles

  • Smallest fix first - Don't refactor while fixing
  • One bug, one change - Don't combine fixes
  • Test before and after - Capture snapshot before fix, verify after
  • Don't break other tests - Run full suite after fix

Read the full file on GitHub · 68 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. 2mo ago First seen · 68 lines · 0 tokens per session scan A 76324cb88341

Subscribe to this mod's changes

ui-fix.template is a command published in the GitHub repository evan043/claude-cli-advanced-starter-pack (62 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 642 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-09-03.

Related

ui-fix.template compared with commands from other repositories

ui-fix.template next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ui-fix.templateevan043/claude-cli-advanced-starter-packCommand624mo agoMITA0Claude Code
verify-loopsangrokjung/claude-forgeCommand8882mo agoMITA21Claude Code
quick-fixdamusix/atomic-claudeCommand117todayMITA73Claude Code
diagnose-synapseSynkraAI/aiox-coreCommand3.2kyesterdaynoneB0Claude Code
build-fixsangrokjung/claude-forgeCommand8882mo agoMITA12Claude Code
hatch3r-diagnosehatch3r/hatch3rCommand262mo agoMITA54Claude Code
bootstraptravisjneuman/.claudeCommand115todayMITC8Claude Code