classify-ai-risk

classify-ai-risk is a command for Claude Code from lexbeam-software/eu-ai-governance-plugin. It costs 23 tokens per session (520 once invoked), scanned A, original, Apache-2.0.

A workflow for classifying an AI system under the European Union AI Act and preparing a cited list of duties and supporting evidence.

In plain words
What is it for?
It is for gathering decisive system details, checking prohibited and high-risk uses, considering exceptions and general-purpose AI rules, mapping provider or deployer obligations, and checking deadlines.
Why use it?
It separates confirmed facts, vendor claims, and assumptions, then checks the system’s use, role, location, and risk category against the law.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the eu-ai-governance plugin — 6 skills, 6 commands, 1 MCP server shipped together

Good fit It is for gathering decisive system details, checking prohibited and high-risk uses, considering exceptions and general-purpose AI rules, mapping provider or deployer obligations, and checking deadlines.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/lexbeam-software/eu-ai-governance-plugin/classify-ai-risk
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.

Clone the repo
git clone --depth 1 https://github.com/lexbeam-software/eu-ai-governance-plugin

Made for: Claude Code.

Or install eu-ai-governance, the plugin that ships this one along with the rest of its 6 skills, 6 commands, 1 MCP server.

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 classify-ai-risk

README.md
[![agentmods](https://agentmods.dev/badge/commands/lexbeam-software/eu-ai-governance-plugin/classify-ai-risk.svg)](https://agentmods.dev/commands/lexbeam-software/eu-ai-governance-plugin/classify-ai-risk)
Your own site
<a href="https://agentmods.dev/commands/lexbeam-software/eu-ai-governance-plugin/classify-ai-risk"><img src="https://agentmods.dev/badge/commands/lexbeam-software/eu-ai-governance-plugin/classify-ai-risk.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 520 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.00023 $0.00520
Opus 5 $0.00012 $0.00260
Sonnet 5 $0.00005 $0.00104
Haiku 4.5 $0.00002 $0.00052

Measured 8d ago against content hash 74ea6b441b7e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

classify-ai-risk 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 8d 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.

commands/classify-ai-risk.md · 33 lines

How it starts

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

/eu-ai-governance:classify-ai-risk

Classify the supplied system or GPAI model using the ai-act-classification skill. Follow the legal source protocol. See connected sources.

Workflow

  1. Ingest evidence. Read supplied descriptions and documents. Identify date, version, author, and whether each statement is fact, vendor claim, or assumption.
  2. Ask only decisive questions. Establish intended purpose, affected persons, decision effect, roles, geography, data, profiling, biometrics, synthetic content, workplace use, Annex I product-law context, and exact Annex III use.
  3. Ground the analysis. When available, call euaiact_classify_system; use euaiact_get_article for a versioned summary and official URL, then read the complete official provision; use euaiact_assess_art6_3_exception for a possible Annex III exception; call euaiact_get_obligations for provider and deployer roles only, map other actor duties from the official text, and call euaiact_check_deadlines.
  4. Apply every gate. Scope and role; all Article 5 points; Article 6(1) including 1a to 1c; Article 6(2) and exact Annex III item; Article 6(3); Article 50; GPAI Articles 51 to 55; national and sector issues.
  5. Challenge the answer. Identify the strongest alternative classification and the fact or legal boundary that resolves it. Read the complete provision before making a negative legal claim.

Output

Return:

  • executive classification, allowing parallel labels
  • scope, facts, assumptions, and missing decisive evidence
  • gate-by-gate table with exact citation and rationale
  • Article 6(3) assessment where relevant
  • obligations by actor and operative date
  • evidence requests and no more than five next actions
  • confidence and source note

Use not established on supplied facts when evidence is incomplete. Do not claim certification, guaranteed compliance, or regulator acceptance.

With --lang de, write idiomatic German with umlauts and preserve official EU-law terms and citations.

Read the full file on GitHub · 33 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. 8d ago First seen · 33 lines · 23 tokens per session scan A 74ea6b441b7e

Subscribe to this mod's changes

classify-ai-risk is a command published in the GitHub repository lexbeam-software/eu-ai-governance-plugin (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 23 tokens to every session and 520 once invoked, about $0.0001 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.