circuitsnap

circuitsnap is a skill for Claude Code, Codex from gambhirsharma/circuitsnap. It costs 106 tokens per session (1,276 once invoked), scanned A, original, MIT.

A skill that turns a circuit drawing, photograph, sketch, verbal description, or netlist into a live CircuitJS1 simulation and opens it in a browser. CircuitJS1 is a browser-based electronics simulator.

In plain words
What is it for?
Converting described circuits into simulations, then opening them for inspection and testing in CircuitJS1.
Why use it?
It lets you test and visualise a circuit without manually writing CircuitJS1's exact file format.

Skill for Claude CodeCodex

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

Good fit Converting described circuits into simulations, then opening them for inspection and testing in CircuitJS1.

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

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 circuitsnap

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/gambhirsharma/circuitsnap/circuitsnap"><img src="https://agentmods.dev/badge/skills/gambhirsharma/circuitsnap/circuitsnap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,276 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.00106 $0.01276
Opus 5.5 $0.00042 $0.00510
Sonnet 5.5 $0.00021 $0.00255
Haiku 4.5 $0.00011 $0.00128

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

Security

Grade A, and why

circuitsnap 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.

skills/circuitsnap/SKILL.md · 120 lines

How it starts

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

circuitsnap

Convert a circuit — however the user gave it to you — into a running CircuitJS1 simulation.

The one rule

Never hand-write the CircuitJS1 file format. It is positional and unforgiving: v 128 64 192 64 0 0 40 5 0 0 0.5 has six trailing parameters whose order and units you will get wrong, and the failure mode is a circuit that loads happily and simulates incorrectly — which the user cannot detect. Always go through the build_circuit tool.

Your job is the part that needs judgement: reading the drawing. The tool's job is the part that must be exact.

Workflow

1. Read the circuit into a netlist

Look at what the user gave you and identify every component and what connects to what. Produce a netlist — components plus net names, no coordinates:

{
  "title": "RC lowpass",
  "components": [
    { "id": "V1", "kind": "voltage",   "nodes": ["gnd", "in"],  "value": 5 },
    { "id": "R1", "kind": "resistor",  "nodes": ["in", "out"],  "value": "10k" },
    { "id": "C1", "kind": "capacitor", "nodes": ["out", "gnd"], "value": "1uF" }
  ]
}

Terminals sharing a net name are connected — that is the only connectivity mechanism, and you never supply positions. The server handles all layout.

Key points:

  • Ground. Use the net name gnd for the 0 V reference. Almost every circuit needs one; the tool warns if there is none. gnd, ground, 0, vss all work.
  • Pin order. nodes is ordered by that element's pins. Call describe_elements if you are not certain — a transistor is [base, collector, emitter] and an op-amp is [minus, plus, out], and swapping them produces a wrong-but-plausible circuit.
  • Values. Engineering notation works: "10k", "2.2uF", "4k7", "1M". M means mega and m means milli (schematic convention, not SPICE's).
  • Polarity. For a two-terminal source, nodes is [neg, pos].

2. Flag what you were unsure about

Put anything ambiguous in notes rather than silently guessing:

Read the full file on GitHub · 120 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 · 120 lines · 106 tokens per session scan A 8394e6d5f9b7

Subscribe to this mod's changes

circuitsnap is a skill published in the GitHub repository gambhirsharma/circuitsnap (2 stars, last pushed 2mo ago), licensed MIT. It adds 106 tokens to every session and 1,276 once invoked, about $0.0004 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

circuitsnap compared with skills from other repositories

circuitsnap next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
circuitsnapgambhirsharma/circuitsnapSkill22mo agoMITA106Claude Code, Codex
neuroskill-bciNousResearch/hermes-agentSkill261kyesterdayMITA18Claude Code, Codex
ruview-applicationsruvnet/RuViewSkill103kyesterdayMITA79Claude Code
lab-hardware-cadK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA108Claude Code
pylabrobotK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA49Claude Code
pybammK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA70Claude Code, Codex
calibrate-roomruvnet/RuViewSkill103kyesterdayMITA41Claude Code