devfix

devfix is a skill for Claude Code, Codex from GuitarAlchemist/ga. It costs 0 tokens per session (621 once invoked), scanned A, original, MIT.

A troubleshooting routine for the Guitar Alchemist development stack, including a Vite front end, an API server, and a Cloudflare tunnel. Vite is a development server and build tool; a 502 error means a gateway could not reach the service behind it.

In plain words
What is it for?
Use it when the demo shows a 502, the Vite server or API is down, or the user reports that the site is unreachable. It checks the relevant ports and health endpoint, reports the likely outage, and gives quick or full restart commands.
Why use it?
It quickly distinguishes whether the front end, API, or tunnel is unavailable when the demo site fails. It then points to commands for restarting the affected services.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when the demo shows a 502, the Vite server or API is down, or the user reports that the site is unreachable. It checks the relevant ports and health endpoint, reports the likely outage, and gives quick or full restart commands.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/guitaralchemist/ga/devfix
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 GuitarAlchemist/ga --skill devfix
Clone the repo
git clone --depth 1 https://github.com/GuitarAlchemist/ga

Made for: Claude Code, Codex.

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 devfix

README.md
[![agentmods](https://agentmods.dev/badge/skills/guitaralchemist/ga/devfix/github.svg)](https://agentmods.dev/skills/guitaralchemist/ga/devfix)
Your own site
<a href="https://agentmods.dev/skills/guitaralchemist/ga/devfix"><img src="https://agentmods.dev/badge/skills/guitaralchemist/ga/devfix/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 devfix

Your own site · 80×15
<a href="https://agentmods.dev/skills/guitaralchemist/ga/devfix"><img src="https://agentmods.dev/badge/skills/guitaralchemist/ga/devfix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 621 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00621
Opus 5.5 $0.00000 $0.00248
Sonnet 5.5 $0.00000 $0.00124
Haiku 4.5 $0.00000 $0.00062

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

Security

Grade A, and why

devfix scanned grade A with 1 finding 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s http://localhost:5176 -o /dev/null -w "%{http_code}" 2>&1 # Vite
.agent/skills/devfix/SKILL.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.

/devfix — Emergency Dev Stack Recovery

When to use

  • Site shows 502 Bad Gateway on demos.guitaralchemist.com
  • Vite dev server is down (port 5176 not responding)
  • API server is down or unhealthy (port 5232)
  • User says "site is down", "502", "cloudflare error", "can't access demos"

What it does

Diagnoses and fixes the dev stack in 30 seconds:

Step 1: Diagnose

# Check what's running
curl -s http://localhost:5176 -o /dev/null -w "%{http_code}" 2>&1  # Vite
curl -s http://localhost:5232/health 2>&1                           # API
curl -s -o /dev/null -w "%{http_code}" https://demos.guitaralchemist.com 2>&1  # Tunnel

Step 2: Report

Tell the user exactly what's wrong:

  • Vite down (port 5176) → 502 on demos site. Most common issue.
  • API down (port 5232) → API calls fail, but static site may work.
  • Both down → Full outage.
  • Tunnel down (cloudflared not running) → Rare. Check Get-Process cloudflared.

Step 3: Fix

Tell the user to run ONE of these:

Quick fix (Vite only):

! cd ReactComponents/ga-react-components && npx vite --host --port 5176

Full fix (Vite + API):

! pwsh Scripts/start-dev.ps1

Nuclear option (everything including Aspire):

! pwsh Scripts/start-all.ps1 -NoBuild -Dashboard

Step 4: Verify

# Wait 10s then check
curl -s -o /dev/null -w "%{http_code}" https://demos.guitaralchemist.com

Architecture

  • Cloudflare Tunnel (cloudflared) → routes demos.guitaralchemist.com to localhost:5176
  • Vite (port 5176) → serves React frontend, proxies /api/* to localhost:5232
  • GaApi (port 5232) → .NET backend
  • Tunnel process usually survives reboots (Windows service), but Vite/API don't auto-restart

Common causes of 502

  1. Vite crashed or was never started after a reboot
  2. npm run build killed the dev server process
  3. Port conflict (another process on 5176)
  4. Windows update restarted the machine

Do NOT

  • Don't restart cloudflared unless the tunnel itself is broken
  • Don't run start-all.ps1 with -Dashboard unless Aspire is needed
  • Don't rebuild — use -NoBuild flag for speed

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. 1mo ago First seen · 68 lines · 0 tokens per session scan A d60b7a33fa39

Subscribe to this mod's changes

devfix is a skill published in the GitHub repository GuitarAlchemist/ga (2 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 621 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

systematic-debugging

Use when debugging a failing test, build error, or runtime issue that isn't immediately obvious. Guides a 4-phase root cause analysis instead of random fix attempts.

open-metadata/OpenMetadata · 37 tokens

log-error-digest

Analyze log files to troubleshoot errors, identify peak error periods, and produce error clustering, frequency statistics, and time distribution reports. Supports JSON, syslog, and Nginx formats with automatic detection. Use when a user uploads a .log file and asks to analyze errors, find patterns, debug issues, or…

zebbern/claude-code-guide · 71 tokens

cwv-optimizer

Diagnose and fix Core Web Vitals issues on AEM Edge Delivery Services pages. Goes deeper than generic CWV advice by understanding EDS-specific performance patterns including the 100KB LCP budget, E-L-D loading phases, block rendering behavior, and third-party script impact. Produces specific fixes for LCP, CLS, and…

adobe/skills · 112 tokens

incident-response-incident-response

Coordinate production incident triage, mitigation, investigation, recovery, and follow-up. Use when responding to outages or other incidents that require structured operational coordination.

rmyndharis/antigravity-skills · 36 tokens

ci-fixer

CI failures - read error, minimal fix, verify.

sipyourdrink-ltd/bernstein · 15 tokens