qspice-power-electronics

qspice-power-electronics is a skill for Claude Code, Codex from kh6570/HAbedini-qspice-mcp. It costs 55 tokens per session (1,071 once invoked), scanned A, original, MIT.

A QSpice workflow for testing switching power converters, such as buck and boost converters that change one DC voltage into another.

In plain words
What is it for?
Use it to simulate and characterize power converters, including output ripple, load-step response, loop gain, phase margin, and gain margin.
Why use it?
It goes beyond checking whether a circuit runs by organizing measurements of efficiency, response to load changes, and control-loop stability.

Skill for Claude CodeCodex

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

Good fit Use it to simulate and characterize power converters, including output ripple, load-step response, loop gain, phase margin, and gain margin.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kh6570/habedini-qspice-mcp/qspice-power-electronics
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 kh6570/HAbedini-qspice-mcp --skill qspice-power-electronics
Clone the repo
git clone --depth 1 https://github.com/kh6570/HAbedini-qspice-mcp

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 qspice-power-electronics

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kh6570/habedini-qspice-mcp/qspice-power-electronics"><img src="https://agentmods.dev/badge/skills/kh6570/habedini-qspice-mcp/qspice-power-electronics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,071 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.00055 $0.01071
Opus 5 $0.00028 $0.00535
Sonnet 5 $0.00011 $0.00214
Haiku 4.5 $0.00006 $0.00107

Measured 12d ago against content hash c6151f7f9138, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

qspice-power-electronics 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 12d 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.

src/qspice_mcp/data/skills/qspice-core/qspice-power-electronics/SKILL.md · 86 lines

How it starts

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

QSpice: Power Electronics

A workflow for switching converters (buck, boost, SMPS): get a working transient, then characterize efficiency, transient response, and control-loop stability.

When to use

  • Designing or analyzing a DC-DC converter or other switching power stage.
  • You need efficiency, output ripple, load-step response, or loop-gain / phase-margin numbers — not just "does it run."

When NOT to use

  • The run won't converge or stops early → qspice-convergence-debugging first.
  • Generic single-node waveform reads/metrics → qspice-waveform-analysis.

Workflow

  1. Get a circuit. materialize_reference_circuit for a bundled starting point (e.g. buck_converter_cpp), or author your own. inspect_schematic to confirm topology; check_schematic for a conservative ERC pass (floating nets, single-pin nets, missing ground) before spending sim time.
  2. Transient first. prepare_transient to stage a .tran directive long enough to reach steady state plus the events you care about, then run_simulation.
  3. Characterize the output. read_waveform on the switching node and output; measure_step_response for rise time / overshoot / settling on a load or reference step; measure_efficiency from input/output power traces.
  4. Assess the loop. For a switched (non-averaged) SMPS prefer .bode: prepare_bode_analysis on the settled circuit, run_simulation, then measure_stability_margins. For small-signal/averaged models use prepare_loop_gain_analysis (Tian or Middlebrook injection) + prepare_ac.
  5. Verify suspicious Bode points. .bode uses aggressive numerical methods and can carry artifacts (spectral leakage, aperture diffraction). Spot-check the crossover with prepare_meas(kind="fra", ...) — it stages .meas <name> fra <freq> <input> <output>, the most reliable frequency-domain measurement QSpice offers — then re-run and read_measures.

Closed-loop .bode details

  • Injection point: the perturbing source goes between the SMPS output and the top of the feedback divider (low impedance driving high impedance).
  • Settling first: run prepare_transient + run_simulation to learn how long the supply takes to settle; pass that as settling_time to prepare_bode_analysis. No settling acceleration is attempted by QSpice.
  • Reference node: if the feedback reference is not at AC ground, pass reference_node (stages .options boderef=<node> alongside .bode).
  • Amplitude shaping: perturbation amplitude rises away from the geometric mean of the sweep by default. Tune with bode_amplitude_frequency, bode_low_power, and bode_high_power (.options bodeampfreq/bodelopow/bodehipow), or set bode_amplitude_frequency="0" for constant amplitude.
  • Low FSTART is expensive: each decade down multiplies simulation time.

Read the full file on GitHub · 86 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 86 lines · 55 tokens per session scan A c6151f7f9138

Subscribe to this mod's changes

qspice-power-electronics is a skill published in the GitHub repository kh6570/HAbedini-qspice-mcp (5 stars, last pushed 1mo ago), licensed MIT. It adds 55 tokens to every session and 1,071 once invoked, about $0.0003 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