Simulator simulate

From corezoid/simulator-ai-plugin · View interactive version

Simulator simulate is an AI agent skill from the GitHub repository corezoid/simulator-ai-plugin. Simulator.Company behaviour simulation specialist ("what if" on a graph). Use when the user wants to simulate, forecast or compare scenarios on a layer: describe how actors behave, change parameters (price, capacity, delivery time, growth, AI share), play model time forward and compare metrics. Any

How to use this skill

Skill file

Simulate a Simulator graph

The simulation engine runs inside this MCP server. It reads a layer (actors, links, account

values), runs behaviour rules in model time for each scenario and returns metrics. It never

writes to Simulator: the source layer is only read.

Format of models and scenarios: $CLAUDE_PLUGIN_ROOT/docs/simulation/model-format.md — read

it before writing a model. Worked examples: $CLAUDE_PLUGIN_ROOT/docs/simulation/examples/.

1. Pick the graph — always ask

If a tool answers "not authenticated", call login and repeat the call.

(getLayerActorsPaginated, layerStats) and confirm which one.

<layerId>.sim.yaml with every actor, link and account value the simulation will see.

values become the turnover of the last period. Check for accounts that are breakdowns of

the same total (by service, region, operation): summing them counts one bill many times.

2. Write the model with the user

Ask only what changes the result: which actors behave and how, what the scenarios change,

the horizon, what to measure. Show the rules in plain words before running, and label

assumptions (durations, probabilities, growth rates) as assumptions.

A model is YAML (spec §5): value_types, refs, params, horizon, initial_events,

behaviors.<actor type>.<event>: [actions], metrics, goals, optional helper actors

(people or resources that are not on the graph). Actor types are form titles.

Rules of thumb:

Things that only grow (hours worked, missed sales): not conserved, add.

enqueue / release.

with pick(where(actor(self.at).children(), …)) (see examples/process_flow).

3. Check, then run

simulationCheck(model, scenarios, layerId | graphPath)

simulationRun checks the model too and refuses a model with errors. Warnings (an event

nobody handles, a param typo) usually mean the model does not do what the user thinks.

simulationRun(model, scenarios, layerId, period?, scenario?, runs?, goals?, logEvents?)

report a single run. Use runs: 100 and report the median, the 10–90 % range and the share

of runs meeting each goal.

failed or stopped before the horizon (stopped_by_time, stopped_by_limit), say how many

and why (the lines under the table): a scenario that stops early is not cheaper or faster,

it is unfinished. Raise timeLimit or shorten the horizon rather than compare it.

with simulationSnapshot(layerId, overwrite: true) before trusting any result.

happened.

4. Explain

every number; separate results from assumptions.

for the real world.

totals checked on every step); whether the rules match reality is a separate question,

best answered by comparing with history.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.