BotCurrent
← Back to examples

Research & discoveryReal reportActs with your OK

Compare circuit simulations with real measurements

Different units or trigger points can make a model look wrong when it isn't. Your AI lines up the traces so you compare like with like.

What happened

Lucas Gerads reports connecting Claude Code to a LeCroy oscilloscope and to SPICE through MCP. They describe using it to check circuit models against measurements, including lining up the time axis, with an RC filter demo. They don't say what approval steps they used.

Source: Lucas Gerads · lucasgerads.com · Tool: Claude Code

Copy this prompt

Paste it into ChatGPT, Claude or Gemini, fill in the [brackets] and add your files. It only drafts. You decide what to send or change.

Use it often? Save it as a skill

Add this job to Claude or Codex once, and your agent knows how to do it without you pasting the prompt each time. Text only, no code.

Download for Claude (.zip)View the skill file

How to add it
Claude app or claude.ai
Download the .zip. In Settings, find Skills, choose Upload skill and pick the file. Code execution has to be turned on.
Claude Code
Run this in your terminal:mkdir -p ~/.claude/skills/compare-circuit-simulations-with-real-measurements && curl -fsSL https://botcurrent.com/skills/compare-circuit-simulations-with-real-measurements/SKILL.md -o ~/.claude/skills/compare-circuit-simulations-with-real-measurements/SKILL.md
Codex
Run this in your terminal:mkdir -p ~/.agents/skills/compare-circuit-simulations-with-real-measurements && curl -fsSL https://botcurrent.com/skills/compare-circuit-simulations-with-real-measurements/SKILL.md -o ~/.agents/skills/compare-circuit-simulations-with-real-measurements/SKILL.md

More about skills, and open-source skills we checked

Security scanClear13 of 13 checks passed

We check every skill file before we offer it. This one is the prompt above in skill form.

  • Passed Skill file is well formed
  • Passed Runs its own code or programs
  • Passed Connects to the internet from code
  • Passed Touches passwords, keys or private files
  • Passed Deletes or overwrites things in bulk
  • Passed Hidden or scrambled code
  • Passed Tries to override your instructions
  • Passed Invisible characters in the text
  • Passed Sends your data somewhere else
  • Passed Can pay or buy without asking you
  • Passed Downloads or installs other software
  • Passed Has a password or key written into it
  • Passed Asks for admin (sudo) rights

Files scanned: SKILL.md. Links to: botcurrent.com, lucasgerads.com. Fingerprint: a383a5ffad05. What we check

What you'll get

A plan that lines up both traces, notes each choice you made and lists the gaps an engineer should check.

You'll need

  • The simulated trace and the measured trace
  • The model version and scope settings
  • How close the match needs to be

Before you switch it on

Acts with your OK

If you give this job to an agent that works in your accounts:

Access it needs
Your oscilloscope, SPICE and a terminal
Keep on “ask me first”
Sending or posting anything, paying or buying, sharing your address or ID, deleting anything

Heads up: A close match doesn't prove a circuit is safe. Have an engineer check wiring and settings.

More details: full instructions, sources and safeguards

Before you begin

Source approval rules are unspecified. An engineer controls wiring and instrument settings; a comparison cannot certify accuracy or physical safety.

Use this in your own AI tool

  1. Copy the starter, then open your own AI tool.
  2. Paste it with only the permitted inputs. Check privacy settings and tool compatibility first.
  3. Review the draft and held questions. Any later action needs separate approval.

What you need

Supplied simulated and measured traces

Model revision and measurement metadata

Engineer-approved comparison criteria

Start here

  1. Reconcile units, sample timing and trigger references in supplied traces.
  2. Propose explicit alignment choices while preserving originals.
  3. List unexplained differences and missing checks without connecting instruments or certifying physical safety.
Advanced prompt availability

Advanced prompt

No accepted companion is available for this record. The original material below retains its original status.

Technical setup & run design — optional
Starter
Separate short starter version composed-v1. Untested.
Advanced prompt
No accepted advanced companion is available. Legacy material remains in the original notes with its status.
Compatibility
Unknown; check the actual tool, account and permissions.
Run design
No reviewed run design. No runtime or schedule is activated by BotCurrent.
Setup and access

Proposed inputs

  1. Name

    Trace/model manifest

    Owner

    Authorized engineer

    Minimum scope

    Simulation and measurement identifiers with units and settings

    Quality check

    Check provenance, acquisition time and trigger reference

  2. Name

    Comparison brief

    Owner

    Engineer

    Minimum scope

    Expected behavior, allowed alignment and review criteria

    Quality check

    Separate display normalization from physical parameter changes

Access and setup — proposed or unknown

Proposed minimum
  1. Use fictional trace metadata and a comparison plan; no oscilloscope connection, SPICE execution or hardware actuation.

Compatibility unknowns
  1. Current instrument interfaces, data formats, calibration context and runtime compatibility are unknown.

External actions requiring approval
  1. Instrument access, acquisition changes, live circuit work, computation and shared engineering data require appropriate approval.

Source evidence, attribution & limitations

Full source evidence

User report · Tool workflows

Original task title: Compare circuit simulations with fresh instrument measurements

Editorial candidate. This is source-backed reporting or a documented workflow. BotCurrent has not independently tested this task. A proposed Canadian adaptation is not evidence of a Canadian deployment or compliance certification.

Original source

https://lucasgerads.com/blog/lecroy-mcp-spice-demo/

Attributed to: Lucas Gerads

User report
Original action type
tool_action
What the source reports
Lucas Gerads connects Claude Code to a LeCroy oscilloscope and SPICE through MCP to validate circuit models and analyze measurements, including time-axis normalization and alignment.
Source outcome limits
Actions and outcomes are attributed user reports, not an independent reproduction or an execution guarantee.
Evidence attribution caveat
Actions and outcomes are attributed user reports, not an independent reproduction or an execution guarantee.
Source approval description
Not specified.
Named tools
Claude Code; LeCroy MCP; spicelib MCP; RC filter demo
Model or version
Unknown
Publication date
2026-04-17
Source last checked
2026-10-14
Demonstrated in Canada
Unknown
Canadian availability
Unknown
Proposed Canadian adaptation
Proposed: use an isolated low-voltage teaching circuit and approved laboratory equipment in a Canadian lab.
Recommended approval boundaries
An engineer approves wiring, instrument settings and any flashing or erase commands; require fresh captures.
Technical specification & detailed checks
Detailed steps and output format

At a glance

Suggested result
A simulation-to-measurement comparison for engineer interpretation.Suggested; untested.
Tool
Claude CodeSource-named; check current access.
Suggested inputs
Trace/model manifest; Comparison briefProposed; access notes below.
Human review
An engineer approves wiring, instrument settings and any flashing or erase commands; require fresh captures.Suggested boundaries; source approvals below.
Setup notes
Use fictional trace metadata and a comparison plan; no oscilloscope connection, SPICE execution or hardware actuation.Guide notes; proposed setup untested.
Cost
Workflow cost not established. Check current tool pricing, setup and human review costs before trying it.No measured cost or time added.
Content depth
Source-linked example · suggestions untestedDepth does not establish successful execution.
Check source evidence and limits ↓

Function and scope

Engineering, Research · Single task

Editorial classification; no execution or compatibility test is implied.

No tool mapping reviewed for this task.

Source-backed example. Practical decision guidance is proposed and untested; this is not a full implementation guide.

The problem

A circuit simulation is hard to trust when its predictions have not been aligned with fresh, correctly normalized instrument measurements.

Suggested task

Use connected oscilloscope and SPICE tools to compare circuit-model behavior with fresh measurements and align time axes.

What you could produce

A simulation-to-measurement comparison for engineer interpretation.

Where these suggestions come from
  • Core problem: Our interpretation of the task
  • Agent job: Our interpretation of the task
  • Expected output: Our interpretation of the task
  • Relevant job roles: Our interpretation of the task
  • Benefit type: Our interpretation of the task
Suggestions and their limits

Describes the task’s purpose and intended output; measured benefit, safe unsupervised operation and successful delivery are not established by this framing.

Editorial synthesis based on the linked source. This framing does not add evidence of successful delivery or results.

Before you try it · suggestions untested

Case-specific decision guidance and first checks are original proposals. The linked source supports the attributed task; this added guidance has not been executed.

Read the attributed source evidence and original caveats below ↓

Why use this

  1. An engineer may have a simulation trace and a fresh measurement that appear different because their axes, trigger references or acquisition settings do not align. Adjusting the model too quickly can conceal a comparison problem rather than explain circuit behavior.

  2. This job could prepare a transparent comparison record with acquisition assumptions and normalization choices visible. The engineer can then decide whether later numerical analysis supports a model change, keeping instrument operation and physical safety under explicit control.

Why an agent / simpler alternative

Useful judgment

Reconcile trace metadata, identify alignment ambiguity and distinguish measurement/setup questions from model discrepancies.

Simpler alternative

Compare traces manually when units, timing and acquisition settings are already consistent.

Unsuitable when

The task would control energized equipment, alter unsafe settings or certify circuit performance without qualified oversight.

Expected deliverable and review checks

Proposed artifact

Comparison-plan candidate with metadata reconciliation, proposed alignment checks and unresolved engineering questions.

Critical checks
  1. Preserve original traces; record units and time origins; avoid adjusting away unexplained differences; require engineering interpretation.

Missing output evidence

This overlay adds no new output inspection, execution or validation; consult the referenced canonical source outcome limits.

First check — proposed, unexecuted

Status

proposed_unexecuted

Synthetic fixture

Invent two trace manifests with different time units and trigger references; draft a reconciliation checklist only.

Acceptance checks
  1. Flag units and reference mismatch; calculate no performance estimate; claim no circuit validation.

Stop conditions
  1. Stop if hardware safety, data provenance or access authority is unresolved.

Tasks: Research & discoveryData & analysis

Useful for: EngineerResearcher

Editorial relevance from the title and source-supported actions; not evidence of the operator’s occupation.
Claude CodeIndependent testing: No
Failure handling, costs and limits

Failure signals and proposed responses

  1. Signal

    Milliseconds and seconds are mixed

    Why it matters

    The apparent response mismatch may be a unit error

    Proposed response

    Resolve units before comparing shape.

  2. Signal

    Trigger offsets are treated as circuit delay

    Why it matters

    Alignment becomes an unsupported physical conclusion

    Proposed response

    Separate trigger reference from measured behavior.

Effort and cost — unknown

Setup work
  1. Document acquisition settings and acceptable comparison methods.

Ongoing review
  1. Engineer reviews any later processed traces and model interpretations.

Unknowns
  1. Instrument accuracy, model suitability, computation effort and equipment costs are unknown.

Limits

  1. A metadata comparison cannot validate a circuit model, measurement accuracy or safe physical operation.

Original task overview & interpretation

User report

Compare simulated and measured circuit traces

Different units or trigger references can create a false discrepancy.

Suggested result

A simulation-to-measurement comparison for engineer interpretation.

What you need: Reported tools: Claude Code; LeCroy MCP; spicelib MCP; RC filter demo. Supply the model, measurement scope and engineering comparison criteria. Check current access, compatibility and costs before setup; use only authorized inputs and destinations.

  1. First reconcile saved trace metadata without connecting equipment.
  2. Use connected oscilloscope and SPICE tools to compare circuit-model behavior with fresh measurements and align time axes.
  3. Keep original traces and document alignment choices instead of shifting away unexplained differences.

Source approval rules are unspecified. An engineer controls wiring and instrument settings; a comparison cannot certify accuracy or physical safety.

User report. BotCurrent has not run or independently tested this workflow.