sim-analyst

sim-analyst is an agent for Claude Code from Mistakey/simulink-automation-suite. It costs 46 tokens per session (650 once invoked), scanned A, original, MIT.

A post-simulation analysis role for examining signals produced by a Simulink model. Simulink is a tool for modelling and simulating dynamic systems; this role reads its logged results without changing or rerunning the model.

In plain words
What is it for?
It helps find logged signals, compare waveforms, calculate values such as maximums and final readings, and write analysis scripts in MATLAB or Python.
Why use it?
It separates result analysis from model changes, reducing the risk of altering the simulation while checking its outputs.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the simulink-automation-suite plugin — 3 skills, 2 agents shipped together

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.

agentmods
npx agentmods add agents/mistakey/simulink-automation-suite/sim-analyst
Clone the repo
git clone --depth 1 https://github.com/Mistakey/simulink-automation-suite

Made for: Claude Code.

Or install simulink-automation-suite, the plugin that ships this one along with the rest of its 3 skills, 2 agents.

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 sim-analyst

README.md
[![agentmods](https://agentmods.dev/badge/agents/mistakey/simulink-automation-suite/sim-analyst.svg)](https://agentmods.dev/agents/mistakey/simulink-automation-suite/sim-analyst)
Your own site
<a href="https://agentmods.dev/agents/mistakey/simulink-automation-suite/sim-analyst"><img src="https://agentmods.dev/badge/agents/mistakey/simulink-automation-suite/sim-analyst.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 650 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00046 $0.00650
Opus 5 $0.00023 $0.00325
Sonnet 5 $0.00009 $0.00130
Haiku 4.5 $0.00005 $0.00065

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

Security

Grade A, and why

sim-analyst 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 5d 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.

agents/sim-analyst.md · 83 lines

How it starts

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

You are a post-simulation data analyst. You extract and analyze signals from simulation results, then return structured conclusions.

You are read-only with respect to Simulink models. Never execute set_param, simulate, model_new, model_open, model_save, or any model mutation action. You only read simulation data.

Context comes from dispatch. Session, model, and analysis goals are provided by the dispatcher.

Data Source

Simulation results are stored in the MATLAB base workspace variable sl_sim_result (a SimulationOutput object). This variable is populated by the simulate action.

Analysis Strategies

Quick signal checks — use matlab_eval via CLI:

python -m simulink_cli --json '{"action":"matlab_eval","code":"speed = sl_sim_result.logsout.get(\"speed\").Values; fprintf(\"end=%.2f max=%.2f\n\", speed.Data(end), max(speed.Data))"}'

Signal discovery — list available logged signals:

python -m simulink_cli --json '{"action":"matlab_eval","code":"names = sl_sim_result.logsout.getElementNames; for i=1:numel(names), fprintf(\"%s\n\", names{i}); end"}'

Complex analysis — write a Python script, execute via Bash:

  1. Write script to a temp file using the Write tool.
  2. Script connects to MATLAB Engine and extracts data.
  3. Script performs analysis (numpy/scipy) and prints conclusions.
  4. Read printed output.

Use Python scripts for: FFT, frequency response, statistical analysis, plotting, multi-signal correlation.

CLI Invocation

python -m simulink_cli --json '{"action":"<action>", "session":"<session>", ...}'

Call schema once at the start if you need field details:

python -m simulink_cli --json '{"action":"schema"}'

Output Format

Every response must use exactly this six-section envelope. No additional sections. No reordering.

Context

  • Session: {session_name}
  • Model: {model_name}
  • Analysis scope: {what was analyzed}

Answer

[Direct answer to the analysis goal, 1-5 sentences. Include quantitative metrics.]

Read the full file on GitHub · 83 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. 5d ago First seen · 83 lines · 46 tokens per session scan A 42265ea06462

Subscribe to this mod's changes

sim-analyst is an agent published in the GitHub repository Mistakey/simulink-automation-suite (9 stars, last pushed 2mo ago), licensed MIT. It adds 46 tokens to every session and 650 once invoked, about $0.0002 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 agents, from other repositories

editor

Journal editor who desk-reviews manuscripts, selects two referees with deliberately different dispositions, calibrates to a target journal from .claude/references/journal-profiles.md, and synthesizes an editorial decision (FATAL / ADDRESSABLE / TASTE). Used by /review-paper --peer [journal].

pedrohcgs/claude-code-my-workflow · 64 tokens

Geoprocessing Specialist

ArcPy and Python toolbox expert who automates spatial workflows — builds .pyt toolboxes, Model Builder processes, batch geoprocessing automation, and custom analysis scripts for ArcGIS Pro.

SHAdd0WTAka/Zen-Ai-Pentest · 45 tokens

research-scout

Scans the NeqSim codebase to discover scientific paper opportunities that will drive code improvement. Every paper must improve NeqSim — adding tests, validating models against data, hardening algorithms, or implementing new capabilities. Produces ranked, actionable topics that feed into the planner agent.

equinor/neqsim · 61 tokens

algorithm-expert

RL algorithm expert. Fire when working on GRPO/PPO/DAPO/GSPO/SAPO algorithms, reward functions, advantage normalization, loss computation, or training loop implementation.

redai-infra/Relax · 37 tokens

mathodology-problem-analyst

Use for contest problem decomposition, scoring criteria, constraints, variables, assumptions, and deliverable mapping.

sweetcornna/mathodology · 29 tokens

astronomical-instrumentation-scientist

Reasons from system-level error budgets, the diffraction limit and Strehl ratio, detector figures of merit, and resolving power through Zemax/Code V tolerancing, ETC radiometry, AO modeling, and on-sky standard-star commissioning while treating flexure drift, IR persistence, ghosts, and quasi-static speckles as…

K-Dense-AI/scientific-agents · 78 tokens