spice

spice is a skill for Claude Code, Codex from biosshot/easyeda-copilot. It costs 40 tokens per session (1,144 once invoked), scanned B, original, MIT.

A circuit-simulation procedure built around ngspice, a program that calculates how an electronic circuit behaves. It can use circuit descriptions or netlists, find local component models, and produce numerical results and PNG plots through Node.js scripts.

In plain words
What is it for?
Use it to simulate supplies, inputs, loads, and operating conditions; search for SPICE models; save selected models; and inspect calculated results or plots.
Why use it?
It lets an agent test circuit behavior without requiring an electronic design editor or a Python setup. It also provides a way to check that the selected component model is appropriate before simulation.

Skill for Claude CodeCodex

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/copy-model.mjs "<modelId from search>" --out ./simulation/models.

Good fit Use it to simulate supplies, inputs, loads, and operating conditions; search for SPICE models; save selected models; and inspect calculated results or plots.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/biosshot/easyeda-copilot
agentmods
npx agentmods add skills/biosshot/easyeda-copilot/spice

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 spice

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/biosshot/easyeda-copilot/spice"><img src="https://agentmods.dev/badge/skills/biosshot/easyeda-copilot/spice.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,144 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 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.00040 $0.01144
Opus 5.5 $0.00016 $0.00458
Sonnet 5.5 $0.00008 $0.00229
Haiku 4.5 $0.00004 $0.00114

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

Security

Grade B, and why

spice scanned grade B 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.

The scan reads SKILL.md. This mod also ships 9 executable files (examples/custom-plot.mjs, scripts/common.mjs, scripts/copy-model.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Strips warnings and disclaimersmediumAnti-refusal

Omitting safety caveats hides risk from the user and is a common jailbreak preamble.

Library `compiled` means load and generic instantiation passed without warnings on ngspice 45.2 with `ltpsa`. It does not guarantee convergence, correct pin assignments, or accuracy for the requested analysis. The runner
mcp/docs/spice/SKILL.md · 41 lines

How it starts

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

SPICE simulation

This skill is independent of an EDA editor and MCP. Requires Node.js >=20.19. The scripts run directly as JavaScript; no compilation or Python is needed. Resolve script paths relative to this SKILL.md, not the current working directory.

Workflow

  1. Obtain component values and actual net connections from the caller's schematic tools, supplied netlist, or circuit description. State the question being tested, supplies, input stimulus, load, and operating conditions. Detected circuit blocks are optional context, not a restriction on what can be simulated.
  2. Find device models with node scripts/search.mjs "MPN". On first use it prepares two cache files: library.jsonl and index.json with byte offsets. It returns matching models, their text, exact modelId, original sourcePath, matching reasons, and validation scope. sourcePath is an archive identifier, not an existing filesystem path. Use --include-review only when ordinary results are insufficient. Similar names do not establish an equivalent component.
  3. Save the selected model with node scripts/copy-model.mjs "<modelId from search>" --out ./simulation/models. This reads only that JSONL record and writes one .lib, returning its absolute path, model name and .include directive. Existing identical copies are reused; edited files are never overwritten. Read the complete saved model, including any text truncated in search. Establish port order from comments and the .SUBCKT declaration. Internal structure can support an inference but does not establish physical package pin numbers. Record inferred assignments; prefer another clearly documented model if important ports remain uncertain. No external pin-mapping table is required.
  4. Write a standard .cir file with a title on its first line, .include/.lib declarations, sources, .save, analysis directives, and .end. Use .op, .dc, .ac, and .tran as needed. The runner owns .control; do not include a control block. Use separate circuits for repeated parameter cases. Include only selected model files to avoid name collisions.
  5. Run node scripts/simulate.mjs circuit.cir --out results/run-01. Output directory must be new. The runner finds/prepares ngspice, sets ngbehavior=ltpsa before reading the netlist, runs with -n -b, exports ASCII raw/CSV/JSON and creates PNGs through Sharp. Numerical settings belong in .options in the netlist, not CLI flags. Relative includes resolve from each original file's directory and are copied recursively into the result's models/ directory.
  6. Read result.json, measurements in ngspice.log, numerical data, and the PNGs. Check operating points, expected magnitudes, loading, saturation, and timestep/frequency resolution. Successful execution is not proof of model fidelity or correct circuit behavior. Compare important results with an independent calculation or a meaningful known limit.
  7. Report what was simulated, the selected models and assumptions, quantitative results, and material limitations. Keep the complete result directory with the user's research: it contains the rewritten circuit and referenced model snapshots, with original paths and hashes recorded in result.json. External stimulus data files (e.g. file-backed sources) are not bundled; use inline sources or copy such data into the run explicitly.

Read the full file on GitHub · 41 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 · 41 lines · 40 tokens per session scan B b4b1e1bd5a87

Subscribe to this mod's changes

spice is a skill published in the GitHub repository biosshot/easyeda-copilot (178 stars, last pushed yesterday), licensed MIT. It adds 40 tokens to every session and 1,144 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-13.

Related

Other skills, from other repositories

ginkgo-cloud-lab

Submit and manage protocols on Ginkgo Bioworks Cloud Lab (cloud.ginkgo.bio), a web-based interface for autonomous lab execution on Reconfigurable Automation Carts (RACs). Use when the user wants to run cell-free protein expression (validation or optimization), generate fluorescent pixel art, or interact with Ginkgo…

LeonChaoX/qinyan-academic-skills · 87 tokens

circuit-design-ngspice

Design, simulate, and render kind-scoped SPICE/PCB/analog-IC schematics with ngspice and netlistsvg for the Vibe Analog project canvas. Use when designing circuits, creating or simulating SPICE netlists, rendering schematics, optimizing automatic schematic placement/routing with a vision-only model, checking layout…

DeconBear/vibe-analog · 124 tokens

pylabrobot

Vendor-agnostic lab automation framework. Use when controlling multiple equipment types (Hamilton, Tecan, Opentrons, plate readers, pumps) or needing unified programming across different vendors. Best for complex workflows, multi-vendor setups, simulation. For Opentrons-only protocols with official API…

LeonChaoX/qinyan-academic-skills · 73 tokens

opentrons-integration

Official Opentrons Protocol API for OT-2 and Flex robots. Use when writing protocols specifically for Opentrons hardware with full access to Protocol API v2 features. Best for production Opentrons protocols, official API compatibility. For multi-vendor automation or broader equipment control use pylabrobot.

LeonChaoX/qinyan-academic-skills · 66 tokens

satellite-communication-engineer

Expert-level Satellite Communication Engineer specializing in link budget analysis (EIRP, G/T, Eb/N0), LEO/MEO/GEO constellation design, DVB-S2X/DVB-RCS2 waveform engineering, ground station design, RF interference analysis, ITU coordination, FCC/OFCOM. Use when: working with...

theneoai/awesome-skills · 73 tokens

evtol-chief-designer

Expert-level eVTOL Chief Designer specializing in aerodynamic configuration design, electric propulsion system sizing, battery/power architecture, and structural layout for Part 23/27 certification. Use when: eVTOL design, electric aircraft configuration, UAM vehicle developme...

theneoai/awesome-skills · 58 tokens