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/identify-diff-pairs/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/identify-diff-pairs)<a href="https://agentmods.dev/skills/drandyhaas/kicadroutingtools/identify-diff-pairs"><img src="https://agentmods.dev/badge/skills/drandyhaas/kicadroutingtools/identify-diff-pairs/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/identify-diff-pairs"><img src="https://agentmods.dev/badge/skills/drandyhaas/kicadroutingtools/identify-diff-pairs.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.00064 | $0.01548 |
| Opus 5.5 | $0.00026 | $0.00619 |
| Sonnet 5.5 | $0.00013 | $0.00310 |
| Haiku 4.5 | $0.00006 | $0.00155 |
Grade A, and why
identify-diff-pairs 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 5d 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 — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Identify Differential Pairs
When this skill is invoked with a KiCad PCB file, find all differential pairs — including ones name-based detection misses — and recommend routing parameters per interface.
Step 1: Baseline Name-Based Detection
python3 py_router/list_nets.py path/to/file.kicad_pcb --diff-pairs
This catches pairs following P/N naming conventions. Record the result as the baseline.
route_diff.py finds pairs with the same name matcher
(net_queries.extract_diff_pair_base: _P/_N, P/N, _P0/_N0, +/-,
DP/DM/DN, DPLUS/DMINUS, DDR _t/_c) and selects pairs only through
it, so this baseline is the set it can route (list_nets also drops a P/N-named
pair on a two-terminal crystal, #145). Naming the two nets of a pair whose
names fit none of these conventions routes nothing as a pair ("No differential
pairs found matching the patterns").
Step 2: Datasheet-Based Detection by Pin Function
For each IC likely to have differential interfaces (footprint/value keywords: FPGA, PHY, SERDES, USB, ETH, HDMI, LVDS, MIPI, SATA, PCIE, DDR, transceiver, redriver):
- Check pad metadata first — KiCad symbols often carry it:
import sys
sys.path.insert(0, "py_router")
from kicad_parser import parse_kicad_pcb
pcb = parse_kicad_pcb('path/to/file.kicad_pcb')
fp = pcb.footprints['U3']
for pad in fp.pads:
print(pad.pad_number, pad.pinfunction, pad.net_name)
Differential pin functions usually pair as ..._P/..._N, TX+/TX-, D+/D-.
-
Where
pinfunctionis missing or generic, WebSearch the part's datasheet pinout and map differential pin pairs to pad numbers, then to nets via the pads. -
Trace through series passives: if a differential pin connects to a 2-pad R/C/L, follow to the net on the component's other pad — the pair often gets its "real" net name on the far side of AC coupling caps or series resistors.
A pair is confirmed when both nets trace back to a documented differential pin pair. Nets that look paired only by name or topology are suspected — list them separately for the user to confirm.
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.
- 5d ago Changed · +11 lines c66705f96e22
- 18d ago Changed · +2 lines cb4d7040e804
- 2mo ago First seen · 81 lines · 64 tokens per session scan A 787ba6b71174
identify-diff-pairs is a skill published in the GitHub repository drandyhaas/KiCadRoutingTools (706 stars, last pushed today), licensed MIT. It adds 64 tokens to every session and 1,548 once invoked, about $0.0003 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-30.
Other skills, from other repositories
tao-train-visual-changenet
Visual ChangeNet for binary image classification and segmentation in AOI defect detection. Use when training, evaluating, exporting, or running inference for PCB defect detection or visual inspection, comparing image pairs for PASS/NOPASS classification, or producing change-segmentation masks. Trigger phrases include…
cad-skills
Use when doing parametric 3D modeling, 2D drafting, geometric kernel development, BIM/IFC processing, PCB design, or AutoCAD .NET development. Index of 21 skills: FreeCAD, OpenSCAD, OCCT, CadQuery, Blender, KiCad, SolveSpace, QCAD, xBIM, Clipper2, TongWen and more.
altium-library
Create and verify Altium schematic symbols (.SchLib) and PCB footprints (.PcbLib) from datasheets and 2D drawings, as code. Use whenever a part library must be made, fixed, measured from a drawing, or checked. Triggers: "make a footprint", "create a symbol", "add this part to the library", "SchLib", "PcbLib"…
universal-netlist
Query EDA netlists from the shell with the universal-netlist command line: Cadence OrCAD .DSN, Altium .PrjPcb, KiCad .kicadpro and Universal Netlist .netlist.json. Finds designs, searches nets and components, traces connectivity across passives (XNETs), and runs electrical rule checks. Use when reviewing a schematic…
pcb-design
Design, modify, review, validate, or export a KiCad schematic or PCB from natural-language hardware requirements. Use for circuit design, component selection, schematic capture, footprint assignment, board layout, routing, ERC/DRC, BOM, Gerbers, and manufacturing handoff through the KiCad MCP tools.
kicad-copilot-mcp
Use when KiCad Copilot MCP tools are available. Entry point for KiCad schematic and PCB workflows.