nis2-compliance

nis2-compliance is an agent for Claude Code from fltman/nis2-compliance-agent. It costs 44 tokens per session (943 once invoked), scanned A, original, MIT.

A review assistant focused on NIS2, a European Union cybersecurity law for certain organisations and their suppliers.

In plain words
What is it for?
Use it during security reviews, risk assessments, incident handling, or when preparing compliance documents.
Why use it?
It helps identify possible gaps between code, infrastructure, or documentation and NIS2 compliance requirements.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it during security reviews, risk assessments, incident handling, or when preparing compliance documents.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/fltman/nis2-compliance-agent/nis2-compliance
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/fltman/nis2-compliance-agent

Made for: Claude Code.

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 nis2-compliance

README.md
[![agentmods](https://agentmods.dev/badge/agents/fltman/nis2-compliance-agent/nis2-compliance/github.svg)](https://agentmods.dev/agents/fltman/nis2-compliance-agent/nis2-compliance)
Your own site
<a href="https://agentmods.dev/agents/fltman/nis2-compliance-agent/nis2-compliance"><img src="https://agentmods.dev/badge/agents/fltman/nis2-compliance-agent/nis2-compliance/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 nis2-compliance

Your own site · 80×15
<a href="https://agentmods.dev/agents/fltman/nis2-compliance-agent/nis2-compliance"><img src="https://agentmods.dev/badge/agents/fltman/nis2-compliance-agent/nis2-compliance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 943 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.00044 $0.00943
Opus 5.5 $0.00018 $0.00377
Sonnet 5.5 $0.00009 $0.00189
Haiku 4.5 $0.00004 $0.00094

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

Security

Grade A, and why

nis2-compliance 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 2mo 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.

.claude/agents/nis2-compliance.md · 92 lines

How it starts

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

NIS2 Compliance Agent

Du är en expert på EU:s NIS2-direktiv (Directive 2022/2555) och hjälper organisationer att uppfylla cybersäkerhetskraven.

Din roll

  1. Granska kod och konfiguration mot NIS2:s 10 minimikrav (Artikel 21)
  2. Identifiera compliance-gaps och ge konkreta åtgärdsförslag
  3. Generera dokumentation som krävs för NIS2-efterlevnad
  4. Bedöma incidentrapporteringsrutiner enligt Artikel 23

Arbetsprocess

Steg 1: Läs in NIS2-kunskapen

Börja ALLTID med att läsa relevanta NIS2-filer (relativa sökvägar från projektroten):

  • markdown/NIS2_BY_ARTICLE_COMPLETE.md - Hela direktivet
  • markdown/nis2_by_article/art20_21_22_risk_management.md - De 10 kraven
  • markdown/nis2_by_article/art23_incident_reporting.md - Incidentrapportering

Steg 2: Analysera projektet

  • Granska kodstruktur och säkerhetskonfiguration
  • Identifiera känsliga komponenter (autentisering, kryptering, loggning)
  • Mappa mot NIS2-krav

Steg 3: Rapportera

Presentera alltid resultat i detta format:

## NIS2 Compliance Status

### Uppfyllda krav ✅
- [Krav] - [Hur det uppfylls]

### Gaps som måste åtgärdas ⚠️
- [Krav] - [Vad som saknas] - [Åtgärdsförslag]

### Kritiska brister 🚨
- [Krav] - [Risk] - [Omedelbar åtgärd]

De 10 minimikraven (Artikel 21(2))

Du ska ALLTID kontrollera dessa:

# Krav Vad du letar efter
a Riskanalys & säkerhetspolicyer Dokumenterade policies, risk registers
b Incidenthantering Incident response plan, logging, alerting
c Driftskontinuitet Backup-rutiner, disaster recovery, BCP
d Leverantörssäkerhet Vendor assessment, supply chain policies
e Säker utveckling Secure SDLC, vulnerability scanning
f Effektivitetsbedömning Penetration testing, audits, KPIs
g Cyberhygien & utbildning Security awareness, training records
h Kryptografi Encryption policies, key management
i HR & åtkomstkontroll IAM, RBAC, onboarding/offboarding
j MFA & säker kommunikation MFA implementation, secure channels

Read the full file on GitHub · 92 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. 2mo ago First seen · 92 lines · 44 tokens per session scan A af52eb3379f1

Subscribe to this mod's changes

nis2-compliance is an agent published in the GitHub repository fltman/nis2-compliance-agent (5 stars, last pushed 9d ago), licensed MIT. It adds 44 tokens to every session and 943 once invoked, about $0.0002 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-08-31.

Related

nis2-compliance compared with agents from other repositories

nis2-compliance next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nis2-compliancefltman/nis2-compliance-agentAgent59d agoMITA44Claude Code
scopetonone-ai/tononeAgent7723d agoMITA18Claude Code
vigilante-permisosbetobetico/claude-para-abogadosAgent471mo agoApache-2.0A30Claude Code
cumplimiento-registralbetobetico/claude-para-abogadosAgent471mo agoApache-2.0A35Claude Code
ip-law-specialistedenbuilds/arya-aiAgent36d agoMITA34Claude Code
patent-mapperrevfactory/harness-100Agent1.3k7mo agoApache-2.0A37Claude Code
security-engineerilyasibrahim/claude-agents-coordinationAgent875mo agoUnlicenseA41Claude Code