agentleFS
BuilderCedBuilderCed/agent-skills/skills/compliance/eu-nis2-compliance/SKILL.md

eu-nis2-compliance

Skill2 starsChanged 8 months agoMITView on GitHub

Implement NIS2 Directive (2022/2555) cybersecurity obligations for essential and important entities — risk management, incident reporting, supply chain security.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Management body: must approve cybersecurity risk management measures

    line 113
  2. Distinctive:

    Management body: must oversee implementation

    line 114
  3. Distinctive:

    Management body members: must receive cybersecurity training

    line 115
  4. Distinctive:

    Does not perform penetration testing

    line 133
  5. Distinctive:

    Does not configure security tools (firewalls, SIEM, etc.)

    line 134
  6. Distinctive:

    Does not manage incident response execution

    line 135
  7. Distinctive:

    Does not replace ANSSI or national authority guidance

    line 136

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

EU NIS2 Compliance

DISCLAIMER: This skill provides guidance only. It does not constitute legal or cybersecurity advice. Always verify with qualified professionals.

When to Use

  • Determining if your organization falls under NIS2 scope
  • Implementing cybersecurity risk management measures
  • Setting up incident reporting procedures
  • Auditing supply chain security
  • Preparing for national authority inspections

Step 1: Scope — Am I Affected?

NIS2 applies to entities in these sectors meeting size thresholds:

Essential Entities (stricter obligations)

SectorExamples
EnergyElectricity, oil, gas, hydrogen, district heating
TransportAir, rail, water, road
BankingCredit institutions
Financial marketTrading venues, CCPs
HealthHospitals, laboratories, pharma, medical devices
Drinking waterSupply and distribution
Waste waterTreatment
Digital infrastructureDNS, TLD, cloud, data centers, CDNs, trust services
ICT service management (B2B)Managed service providers, managed security providers
Public administrationCentral government (excluding judiciary, parliament, central banks)
SpaceGround-based infrastructure operators

Important Entities (lighter obligations)

SectorExamples
Postal & courierServices
Waste managementCollection, treatment
ChemicalsManufacturing, production, distribution
FoodProduction, processing, distribution
ManufacturingMedical devices, computers, electronics, machinery, motor vehicles
Digital providersOnline marketplaces, search engines, social networks
ResearchResearch organizations

Size Thresholds

  • Medium: 50-249 employees OR turnover EUR 10-50M
  • Large: 250+ employees OR turnover > EUR 50M
  • Some entities included regardless of size (DNS, TLD, qualified trust services)

Step 2: Risk Management Measures (Article 21)

Implement at minimum:

  1. Risk analysis and information system security policies
  2. Incident handling — detection, response, recovery
  3. Business continuity and crisis management — backups, disaster recovery
  4. Supply chain security — assess security of direct suppliers
  5. Security in network and information system acquisition, development, and maintenance — vulnerability handling, disclosure
  6. Policies and procedures to assess effectiveness — testing, auditing
  7. Basic cyber hygiene and cybersecurity training
  8. Cryptography and encryption policies
  9. Human resources security, access control, and asset management
  10. Multi-factor authentication or continuous authentication — where appropriate

Step 3: Incident Reporting (Article 23)

Timeline

DeadlineReportContent
24 hoursEarly warningIs it suspected malicious? Could it have cross-border impact?
72 hoursIncident notificationInitial assessment, severity, impact, indicators of compromise
1 monthFinal reportRoot cause, mitigation, cross-border impact if any

Significant Incident Criteria

An incident is significant if it:

  • Caused or can cause severe operational disruption or financial loss
  • Has affected or can affect other natural or legal persons by causing material or non-material damage

Reporting Authority

Report to the national CSIRT or competent authority. In France: ANSSI (Agence nationale de la securite des systemes d'information).

Step 4: Supply Chain Security

For each critical supplier:

  1. Assess their cybersecurity maturity
  2. Include security requirements in contracts
  3. Monitor their security posture continuously
  4. Have contingency plans for supplier failure or compromise

Step 5: Governance (Article 20)

  • Management body must approve cybersecurity risk management measures
  • Management body must oversee implementation
  • Management body members must receive cybersecurity training
  • Personal liability possible for management body members in case of non-compliance

Penalties

Entity TypeMax Fine
EssentialEUR 10M or 2% of worldwide annual turnover (whichever is higher)
ImportantEUR 7M or 1.4% of worldwide annual turnover (whichever is higher)

Key Dates

  • 17 October 2024: Transposition deadline (member states must transpose into national law)
  • 17 April 2025: List of essential and important entities established
  • 17 October 2027: Commission review of the Directive

What This Skill Does NOT Do

  • Does not perform penetration testing
  • Does not configure security tools (firewalls, SIEM, etc.)
  • Does not manage incident response execution
  • Does not replace ANSSI or national authority guidance

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.