Skip to content
Back to skills

Scenario

ASecurity

Write a new Suwageval scenario as a file in suwageval/scenarios/ and validate it

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 21, 2026
ai-agentsgobashexpressgit

Security analysis

A100/100

Scanned November 21, 2026

npx -y skills add Manomenu/suwalski-agent-eval --skill scenario --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Scenario?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Scenario
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/manomenu-scenario/badge)](https://www.skillsdirectory.com/skills/manomenu-scenario)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: scenario
description: Write a new Suwageval scenario as a file in suwageval/scenarios/ and validate it
when_to_use: The user asks for a new test or scenario for their agent, or to turn something that just went wrong in a chat into a regression test.
argument-hint: "<what the scenario should check> — or nothing, to build it from this conversation"
allowed-tools:
  - Bash(suwageval:*)
  - Bash(curl:*)
  - WebFetch
---

Write a Suwageval scenario for:

$ARGUMENTS

If nothing is given above, build it from the conversation so far: the messages are the log, the
last user message is the one the agent answers next.

1. Read `suwageval/agent.yaml` and the existing files in `suwageval/scenarios/`; copy their
   style and key naming. Fetch the format spec,
   https://raw.githubusercontent.com/Manomenu/suwalski-agent-eval/master/docs/scenario-format.md,
   if you have not read it in this conversation.
2. Get the agent's real tool and event names from its contract (`curl` of
   `{endpointUrl}/suwageval/contract`, `endpointUrl` from `agent.yaml`): the agents' `tools` and
   `context.tools`, which the system's own code calls (no `by` for those). Never invent one. If
   the agent is not reachable, use `suwageval validate --offline` and say the names are unchecked.
   Prefer deterministic checks (`tool-called` with `by` / `result`, `tool-not-called`, `event`,
   `event-not-emitted`, `cited`, `text`, `message-count`; `$pattern` for loosely written values, anchored). Add a `type: judge` check (`criteria:` — one concrete, checkable
   statement, one thing per check, `where` to narrow it) only for what needs reading, like tone or
   whether a refusal was explained. In `args` / `result` / `data` use the exact value when it is known; for
   a value written loosely but checkable (a zip code with stray spaces, a date format) use
   `{ $pattern: "…" }` (a regular expression, anchored); for free text whose meaning matters (a reason, a
   search query, a message to a customer) use
   `{ $judge: { description: "…", examples: ["…", "…"] } }` — a precise description and 2–3 varied
   examples; it costs a model call per candidate, so use it sparingly, and never in `event-not-emitted`.
   A conversation of several real steps is several scenarios, the earlier agent answers taken from a
   real run, never invented — or, when the point is how the agent handles a whole conversation with a
   kind of user, one simulated scenario: `continuation.simulatedUser` (that user in plain words: goal,
   temperament, situation, what they know, language) and `continuation.turns`, with checks over the
   whole conversation (never `where.turn` by number). `fixtures` only if the contract declares `context.fixturesSchema`.
   A scenario written as the **guardrail of an acceptance criterion** (the user names a criterion of a spec, `AC-<feature>-<n>`, or
   asks for a scenario that guards one) gets an `acGuardrail:` section with that criterion's `id` (`acGuardrail: { id: AC-refunds-2 }`,
   the id exactly as the spec writes it; one scenario per criterion; `retryLimit: N` only when the user wants other than the agent's
   default). It needs at least one check, and its checks together must fail when the criterion breaks: `suwageval gate` passes the
   scenario on the first attempt in which every check passes. A scenario that guards no criterion has no `acGuardrail`.
3. Write the scenario as one new file in `suwageval/scenarios/`, named after what it checks
   (`refund-happy-path.yaml`), with the checks inside. Use the `user:` / `assistant:`
   shorthands where they fit.
4. Run `suwageval validate`; fix the file and run it again until it is valid.
5. Report the file and what each check asserts. Do not `push` or `run` unless the user asked.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.