ASSERT: Command for GitHub Copilot

.github/prompts/run-assert-eval.prompt.md

run-assert-eval is a command for GitHub Copilot from responsibleai/ASSERT. It costs 125 tokens per session (8,492 once invoked), scanned A, original, MIT.

An evaluation workflow for testing how an AI agent or model handles described risks. It uses existing Clarity tools and the ASSERT command-line tool to find and report failure cases.

In plain words
What is it for?
Use it to evaluate risks from a design document, threat model, red-team finding, or risk assessment, then review the resulting examples and findings.
Why use it?
It helps reveal failures and overlooked risk scenarios before relying on an agent's behaviour. It reports problems rather than attempting to fix the agent.

Command for GitHub Copilot

Written for GitHub Copilot: a Copilot chat mode or prompt. Also seen: agent in frontmatter; reads .claude/ paths; mentions subagents.

This is responsibleai/ASSERT's own configuration. It tells GitHub Copilot how to work on ASSERT itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ASSERT configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python .claude/skills/run-assert-eval/smoke_slice.py \.

Reuse

Borrowing it

Nothing to install: this file belongs to responsibleai/ASSERT. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/responsibleai/ASSERT/main/.github/prompts/run-assert-eval.prompt.md
Clone the repo
git clone --depth 1 https://github.com/responsibleai/ASSERT

Made for: GitHub Copilot.

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 run-assert-eval

README.md
[![agentmods](https://agentmods.dev/badge/commands/responsibleai/assert/run-assert-eval/github.svg)](https://agentmods.dev/commands/responsibleai/assert/run-assert-eval)
Your own site
<a href="https://agentmods.dev/commands/responsibleai/assert/run-assert-eval"><img src="https://agentmods.dev/badge/commands/responsibleai/assert/run-assert-eval/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for run-assert-eval

Your own site · 80×15
<a href="https://agentmods.dev/commands/responsibleai/assert/run-assert-eval"><img src="https://agentmods.dev/badge/commands/responsibleai/assert/run-assert-eval.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 125 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 8,492 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00125 $0.08492
Opus 5.5 $0.00050 $0.03397
Sonnet 5.5 $0.00025 $0.01698
Haiku 4.5 $0.00013 $0.00849

Measured 1mo ago against content hash 98d658fcf5b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

run-assert-eval 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 1mo 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.

.github/prompts/run-assert-eval.prompt.md · 246 lines

How it starts

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

Run an ASSERT evaluation

You help the user run an end-to-end ASSERT evaluation. Risks come from Clarity (recommended) or directly from the user. You drive the existing Clarity MCP tools and assert-ai CLI — you do not reimplement Clarity's questioning or any pipeline logic.

Read AGENTS.md at the repository root for full orientation on the ASSERT project, terminology, and target selection.

When to use

The user wants evidence of how their agent or model actually behaves. This skill finds and reports failures — it is not for fixing the agent.

This skill has two entry modes:

  • Run mode — no usable results exist yet. Establish a risk source (Steps 1-2): Clarity (recommended) — an existing .clarity-protocol/ directory or a fresh discovery run via the Clarity MCP run_clarity tool, driven in-IDE — or risks the user supplies directly. Then turn each selected risk into an atomic config, run the pipeline (Steps 3-5), then report (Step 6).
  • Results Q&A mode — judged artifacts already exist under artifacts/results/<suite>/<run>/ and the user asks a question about them ("what are the highlights?", "top 3 examples of the worst failure mode?", "why did case X fail?"). Skip to Step 6 and answer THAT question from the artifacts — do not re-run, and do not fall back to the full canned report unless asked.

Choosing a risk source (Clarity recommended, never required)

Every eval starts from a risk. There are two supported sources, and the user chooses — never decide for them and never block on Clarity.

  • Path A — Clarity discovery (recommended — present it first, but never alone). An existing .clarity-protocol/ or a fresh run via run_clarity. Clarity's value is finding failure modes the user has not thought of, plus severity and causal chains. Recommend it whenever the user is unsure what to measure or wants coverage rather than one known bug.
  • Path B — user-supplied risks. The user names the risk themselves, as prose or by pointing at a PRD, design doc, threat model, red-team finding, incident report, or risk assessment. Right when they already know what they want measured.

Read the full file on GitHub · 246 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. 1mo ago First seen · 246 lines · 125 tokens per session scan A 98d658fcf5b0

Subscribe to this mod's changes

run-assert-eval is a command published in the GitHub repository responsibleai/ASSERT (352 stars, last pushed 4d ago), licensed MIT. It adds 125 tokens to every session and 8,492 once invoked, about $0.0005 per session on Opus 5.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-09-07.