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 $0.00053 $0.00638
Sonnet 5 $0.00021 $0.00255
Haiku 4.5 $0.00011 $0.00128

Measured 10d ago against content hash 8394e6d5f9b7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 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.

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. 10d 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 (0 stars, last pushed 21d ago), licensed MIT. It adds 106 tokens to every session and 1,276 once invoked, about $0.0005 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-31.

Related

Other skills, from other repositories

neuroskill-bci

Use live BCI cognitive and mood state from NeuroSkill.

NousResearch/hermes-agent · 18 tokens

ruview-advanced-sensing

Advanced RuView capabilities — RuvSense multistatic sensing (attention-weighted fusion, geometric diversity, persistent field model), cross-viewpoint fusion across multiple nodes, RF tomography (ISTA L1 solver, voxel grids), longitudinal biomechanics drift, pre-movement intention signals, adversarial signal detection…

ruvnet/RuView · 84 tokens

ruview-applications

Run RuView sensing applications — presence/occupancy, breathing & heart rate, activity & fall detection, 17-keypoint pose estimation (WiFlow), sleep monitoring & apnea screening, environment mapping, Mass Casualty Assessment (MAT), and the 3D point-cloud fusion demo. Use when someone wants to actually do something…

ruvnet/RuView · 79 tokens

lab-hardware-cad

Design custom laboratory hardware as parametric build123d models and export fabrication-ready STEP, STL, and DXF files - microfluidic chips and molds, optomechanical mounts and breadboard adapters, cuvette and microplate holders, tube racks, animal-behavior rigs, and 3D-printed instrument fixtures. Use when a research…

K-Dense-AI/scientific-agent-skills · 106 tokens

opentrons-integration

Author, review, migrate, simulate, and troubleshoot official Opentrons Python Protocol API v2 protocols for Flex and OT-2 robots. Use for robot-specific liquid handling, deck and labware setup, pipettes, modules, runtime parameters, liquid classes, and Opentrons App analysis. Use pylabrobot instead when one workflow…

K-Dense-AI/scientific-agent-skills · 79 tokens

pylabrobot

Develop and review PyLabRobot lab-automation resources, liquid-handling plans, offline simulations, and supported-device integrations. Use for PyLabRobot protocols or API questions; keep physical execution behind an explicit operator safety gate.

K-Dense-AI/scientific-agent-skills · 49 tokens