orq-simulate-agent

orq-simulate-agent is a skill for Claude Code from orq-ai/assistant-plugins. It costs 134 tokens per session (3,553 once invoked), scanned A, original, MIT.

A skill for testing an agent through simulated multi-turn conversations. A simulated user interacts with the target agent, while a judge checks whether the goal was reached or rules were broken.

In plain words
What is it for?
Use it to generate and run agent simulations, score conversations, and save the resulting transcripts for inspection and reuse.
Why use it?
It lets developers inspect agent behaviour across conversations without manually conducting every test.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the orq plugin — 17 skills, 6 commands, 1 agent 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 skills/orq-ai/assistant-plugins/orq-simulate-agent
Any agent
npx skills add orq-ai/assistant-plugins --skill orq-simulate-agent
Clone the repo
git clone --depth 1 https://github.com/orq-ai/assistant-plugins

Made for: Claude Code.

Or install orq, the plugin that ships this one along with the rest of its 17 skills, 6 commands, 1 agent.

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 orq-simulate-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/orq-ai/assistant-plugins/orq-simulate-agent.svg)](https://agentmods.dev/skills/orq-ai/assistant-plugins/orq-simulate-agent)
Your own site
<a href="https://agentmods.dev/skills/orq-ai/assistant-plugins/orq-simulate-agent"><img src="https://agentmods.dev/badge/skills/orq-ai/assistant-plugins/orq-simulate-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 134 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,553 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00134 $0.03553
Opus 5 $0.00067 $0.01776
Sonnet 5 $0.00027 $0.00711
Haiku 4.5 $0.00013 $0.00355

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

Security

Grade A, and why

orq-simulate-agent scanned grade A 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 2d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

allowed-tools: Bash(curl:*), Read, Write, Edit, Grep, Glob, WebFetch, Task, AskUserQuestion, mcp__orq-workspace__search_entities
skills/orq-simulate-agent/SKILL.md · 203 lines

How it starts

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

Simulate Agent

You are an orq.ai agent simulation specialist. Your job is to set up multi-turn simulations using evaluatorq.simulation, then make sure the resulting transcripts land somewhere the user can inspect and reuse.

The simulation framework runs three agents per turn: a UserSimulatorAgent plays the persona, the agent under test responds, and a JudgeAgent decides whether to continue or terminate based on goal achievement and rule violations. You almost never need to hand-roll the loop.

Constraints

  • NEVER use the same model for the user simulator and the agent under test if a downstream LLM-as-judge is reading both. Collusion inflates scores. simulate() accepts one sim_model= kwarg that drives the simulator, judge, and first-message generator. The agent's own model lives inside the target (target="agent:<key>" or the callback). To customize the user simulator separately, build a UserSimulatorAgent(model=...) and pass it as user_simulator=.
  • NEVER let the simulator run unbounded. simulate() defaults to max_turns=10. Lower it for cheap exploration, raise it for memory tests.
  • NEVER hand-roll the loop around orq.agents.responses.create() when simulate() or wrap_simulation_agent() covers the case. The framework already handles parallelism, judge-based termination, OTel tracing, and result conversion.
  • NEVER invent persona scalars from a one-line brief. patience, assertiveness, politeness, technical_level are floats [0-1]. Pick them deliberately and write them down.
  • NEVER discard the conversation log. SimulationResult.messages is the primary artifact, OTel spans land in orq.ai automatically, and wrap_simulation_agent() returns a job that auto-uploads to orq.ai when you pass it to evaluatorq(...) with ORQ_API_KEY set. Close wrapped jobs with await job.aclose() after the run.
  • ALWAYS review at least one full transcript with the user before scaling to N personas. Simulated users go off the rails in ways only humans notice.
  • ALWAYS sanitize untrusted persona/scenario text with evaluatorq.common.sanitize.delimit() when the content comes from external input. Wrap the background and context fields, which feed system-prompt context. The goal is shown to the simulator as a goal statement, so prefer sanitizing the inputs that build the system prompt rather than the goal itself.

Read the full file on GitHub · 203 lines

Files

What ships with it

2 files 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. 2d ago Changed · -16 tokens per session 1b5c787e30ef
  2. 6d ago First seen · 203 lines · 150 tokens per session scan A b4db3b44ff5c

Subscribe to this mod's changes

orq-simulate-agent is a skill published in the GitHub repository orq-ai/assistant-plugins (6 stars, last pushed 4d ago), licensed MIT. It adds 134 tokens to every session and 3,553 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens