Borrowing it
Nothing to install: this file belongs to drandyhaas/KiCadRoutingTools. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/drandyhaas/KiCadRoutingTools/main/.claude/skills/diagnose-routing-failures/SKILL.mdgit clone --depth 1 https://github.com/drandyhaas/KiCadRoutingToolsWrote 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.
[](https://agentmods.dev/skills/drandyhaas/kicadroutingtools/diagnose-routing-failures)<a href="https://agentmods.dev/skills/drandyhaas/kicadroutingtools/diagnose-routing-failures"><img src="https://agentmods.dev/badge/skills/drandyhaas/kicadroutingtools/diagnose-routing-failures/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.
<a href="https://agentmods.dev/skills/drandyhaas/kicadroutingtools/diagnose-routing-failures"><img src="https://agentmods.dev/badge/skills/drandyhaas/kicadroutingtools/diagnose-routing-failures.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00075 | $0.02105 |
| Opus 5 | $0.00037 | $0.01052 |
| Sonnet 5 | $0.00015 | $0.00421 |
| Haiku 4.5 | $0.00007 | $0.00211 |
Grade A, and why
diagnose-routing-failures 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 10d 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.
How it starts
The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Diagnose Routing Failures
When this skill is invoked with a board file and routing log file(s), root-cause the failures and produce a targeted retry command. Routing runs should always be captured with 2>&1 | tee /tmp/<step>.txt so the logs are available.
Step 1: Parse the Structured Outputs
JSON summary
grep "JSON_SUMMARY" /tmp/route_output.txt | sed 's/.*JSON_SUMMARY: //' | python3 -m json.tool
Key fields:
failed_single: failed single-ended net names — nets with NO result at allopen_single: nets that KEPT a result whose copper still leaves pads disconnected (non-multipoint only; a multipoint shortfall is already the pad deficit). Always read this alongsidefailed_single— a board can ship open copper withfailed_single: [], so a run is only clean when both are empty. These nets also appear by name infailed_multipoint.terminal_restores:{net: outcome}for rip victims restored at terminal failure.fullis the only success;full_openrestored copper that never covered every pad, andstubkept only the escape stubs — both ship broken and are worth reporting as failures with a distinct cause (the reroute failed and the pre-rip copper could not be fully put back).stacked_copper: same-net duplicate copper KiCad's DRC will never flag. Not a routing failure, but if present, say so — it is invisible to every other check.failed_multipoint: nets with unconnected pads, including pad coordinatesblockers: per still-failed net, the run's LAST frontier blocking analysis (#409):{net, stage, blocked_by: [{net, blocked_count, unique_cells, track_cells, via_cells, near_target_cells, near_source_cells}], more?}— "net X failed BECAUSE nets Y,Z wall it off" as data. Key absent when no failed net has an attributable (routed-copper) blocker.multipoint_pads_connectedvsmultipoint_pads_total: connection success rate. Derived from the final-board union-find (the same checkcheck_connected.pyuses), so it credits pads reached via planes/zones, fanout stubs, and rip-up/retry reroutes and agrees withcheck_connected.py(issue #184).pad_pairs_connected/pad_pairs_total: pad-pair routability tallies (#409 follow-up; PRR = connected/total downstream). Per graded multi-pad net: connected = |pads| − pad components from the same final-board union-find, total = |pads| − 1 (clamped so a net whose pads are invisible to the union-find grades as connected). Population: the routing scope after already-routed filtering, pre-existing rippable nets the run graded, and disturbed coverage-gate nets. NOT reconcilable withmultipoint_edges_*(those count component-MST edges — pre-existing copper joins terminals first, so there are fewer edges than pad pairs). Computed before the final reconciliation, likeblockers. Single-outline semantics for now (a cross-outline split counts as open pairs).pad_pairs_open: per net shipping a pair deficit:{net, pairs_connected, pairs_total, outcome, open_subtype}, sorted by net; key absent when none.outcomeis always"open"today — route.py runs no DRC, so a route-time failure is definitionally an open; shorts arecheck_drc.py's domain and the field exists so a DRC-integrated emitter can add"short"without a schema break. (Distinct namespace from route_diffpair_reports.outcome.)open_subtype:collision_refused(left open because restoring the ripped track would collide — a short was averted, #134),coverage_gate(disturbed out-of-scope net shipping broken),unrouted(scope net, no result at all),partial(routed a result but left pads disconnected). Join withblockersonnetfor cause + outcome per failed net.
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.
- 10d ago First seen · 133 lines · 75 tokens per session scan A b887a0c7497f
diagnose-routing-failures is a skill published in the GitHub repository drandyhaas/KiCadRoutingTools (401 stars, last pushed today), licensed MIT. It adds 75 tokens to every session and 2,105 once invoked, about $0.0004 per session on Opus 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-30.
Other skills, from other repositories
gke-ai-troubleshooting-tpu-dynamic-slices-monitoring
Monitors, troubleshoots, and manages GKE TPU Dynamic Slices custom resources. Use when checking TPU slice lifecycle states, troubleshooting slice provisioning failures, validating single-slice or multi-slice (JobSet) workload manifests, or safely patching stuck finalizers and disabling the slice controller. Don't use…
gke-ai-troubleshooting-tpu-vbar-oom
Diagnoses and prevents vbarcontrolagent segfaults, out-of-memory (OOM) errors, and TPU device initialization failures on TPU v6e nodes in GKE caused by race conditions during TPU device resets or high-frequency metrics polling. Use when troubleshooting vbarcontrolagent crashes, memory cgroup OOMs in serial console…
competition-firmware-layout
Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for firmware images, partition tables, boot chains, update packages, extracted filesystems, embedded configs, and device-facing trust boundaries. Use when the user asks to unpack firmware, map partition layout, inspect bootloader or init…
doca-flow
Build and debug DOCA Flow applications on supported NVIDIA NICs/DPUs: define match/action pipes, initialize ports and representors, choose forwarding targets, validate pipes before hardware programming, read counters, match the Flow version to the installed DOCA release, and diagnose Flow API errors. Trigger on DOCA…
diagnose-driver-install
Diagnose NVIDIA driver installation failures on DeepOps-managed nodes — nvidia-smi errors, "No devices were found", DKMS build failures, or GPU pods crash-looping. Use before reinstalling anything.
catc-troubleshoot
Catalyst Center troubleshooting workflows - device unreachable investigation, client connectivity issues, interface down analysis, site-wide outage triage, wireless roaming problems, integration with pyATS for CLI-level diagnostics. Use when a device is unreachable, a user reports connectivity problems, an interface…