/complisec:complisec [setup]from complisec
Enforces EU compliance (NIS2, GDPR, ISO 27001) for AI agents by reading a .compliance/profile.json to enforce data residency, supplier checks, secret blocking, audit logging, and risk appetite on code generation, cloud deployments, data exports, and API integrations.
Ships in complisec. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
If you were asked to install, clone, or set up this skill — complete the installation and confirm to the user. Do NOT run the onboarding questionnaire during installation. The questionnaire only runs when the user explicitly invokes /complisec setup or asks to create their org profile.
When this skill is first loaded, execute these steps IN ORDER. Do not skip any step.
Determine what you can do:
| Capability | How to check | Examples |
|---|---|---|
| File read/write | Can you read/write files on disk? | Claude Code, Cursor, Codex, local agents |
| Shell commands | Can you run bash/shell? | Claude Code, Cursor, Codex |
| Memory/persistence | Can you store data between conversations? | ChatGPT memory, Claude.ai projects, LangDock workspace |
| Web fetch | Can you fetch URLs? | Claude.ai, some ChatGPT configs |
Record your capabilities silently — do not explain them to the user.
Search for "complisec_profile" in this order. Stop at the first match:
.compliance/profile.json"complisec_profile"If profile found: respond with exactly this format (fill in the values from the profile):
complisec loaded — [org name] ([jurisdiction])
Critical assets: [count] | Data residency: [constraint] | Legal: [regulations]
Compliance enforcement active. Type /complisec setup to update the profile.
Then proceed with the user's request, applying enforcement rules below.
If NO profile found: respond with exactly this:
complisec loaded — no organisation profile found.
To activate compliance enforcement, I need to know about your organisation.
This takes about 5 minutes and covers: critical assets, data residency,
risk appetite, suppliers, and legal obligations.
Ready? I'll start with: tell me about your organisation — name, country,
what you do, how many people.
(Or type /complisec setup later to do this at any time.)
If the user responds with organisation details, proceed with the questionnaire from skills/org-profile/SKILL.md. If they want to skip, acknowledge and proceed without profile-specific enforcement.
The profile must persist between conversations. How depends on the platform:
| Platform | How to persist |
|---|---|
| Claude Code / Cursor / Codex | Save to .compliance/profile.json — the skill reads it automatically |
| ChatGPT | Save to memory. Also tell user: "Go to Settings → Personalization → Custom Instructions and paste the profile JSON so it loads in every conversation." |
| Claude.ai (Projects) | Tell user: "Open your project → Project Instructions. Paste the profile JSON at the top." |
| LangDock | Tell user: "Go to workspace settings → find complisec → paste the profile JSON in the system prompt." |
| Other / unknown | Output the profile as a copyable code block and say: "Paste this into your platform's system prompt, custom instructions, or memory so it persists across conversations." |
If $ARGUMENTS equals "setup", read skills/org-profile/SKILL.md and run the onboarding questionnaire.
Otherwise, once the profile is loaded, apply these rules when relevant:
Scan for credentials, API keys, tokens, passwords, private keys, connection strings, national IDs. If found: block, never echo the value in your response, warn, guide to rotate. See skills/data-sensitivity/SKILL.md.
Does the conversation touch a critical asset from complisec_profile.critical_assets? If yes:
risk_appetite?legal?Does the action involve cloud services, hosting, external APIs, or SaaS? Check data_residency. Flag violations: "Your profile restricts data to [regions]. This action sends data to [violating region]."
Architectural decisions, trade-offs, cost vs security? Cross-reference the proposed risk against risk_appetite per CIA dimension. If risk exceeds appetite for an affected critical asset: warn. If within appetite: proceed.
New service or integration? Check complisec_profile.suppliers. Unknown supplier = flag: DPA needed, hosting location check. See skills/vendor-risk/SKILL.md.
Never hardcode secrets. Include structured audit logging for data access. Respect data residency. See skills/audit-logging/SKILL.md.
Modification to a critical asset? Impact assessment + rollback plan before proceeding. See skills/change-management/SKILL.md.
Security incident, breach, or outage reported? Start the incident lifecycle immediately. Calculate notification deadlines using incident_reporting. See skills/incident-management/SKILL.md.
Before installing a new skill: does it access critical assets? Send data outside allowed regions? Request credentials? Flag against the profile.
Read when needed — don't load everything at once. If you have file access, read from the skills/ directory. If not, these are included in the ZIP that was uploaded.
| Sub-skill | When to read |
|---|---|
skills/org-profile/SKILL.md | Create or update the org profile |
skills/nis2-gap-analysis/SKILL.md | NIS2 gap analysis |
skills/data-sensitivity/SKILL.md | Data classification, secret blocking |
skills/audit-logging/SKILL.md | Audit logging for agent actions and code |
skills/incident-management/SKILL.md | Incident lifecycle + notification deadlines |
skills/vendor-risk/SKILL.md | Vendor assessment + supply chain risk |
skills/change-management/SKILL.md | Change records for critical assets |
skills/compliance-hub/SKILL.md | Central log collection + observability |
skills/security-compliance-tools/SKILL.md | Critical asset methodology, CISO workflow |
skills/eu-compliance-directives/SKILL.md | EU regulation source index |
skills/risk-assessment-writer/SKILL.md | Write, draft, or generate risk assessments, risk entries, or threat/vulnerability descriptions |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
eu-compliance, nis2, gdpr, iso-27001, data-residency, audit-logging
npx claudepluginhub eyesecurity/skills --plugin complisec12 skills in this plugin
/audit-loggingACTIVATE on ANY request that involves writing, generating, reviewing, modifying, or outputting source code in any programming language — Python, JavaScript, TypeScript, Go, Java, Rust, C#, SQL, Terraform, or any other. This includes functions, endpoints, scripts, migrations, infrastructure-as-code, config files with logic, and code snippets in responses. Every piece of code the LLM produces must include structured audit logging for security-relevant operations. Also activate when the user asks about audit logs, compliance logging, or traceability. Ensures NIS2 and ISO 27001 compliant logging (structured, no string interpolation, no secrets in logs).
/change-managementACTIVATE when making changes that affect critical assets: deployments, database migrations, schema changes, Terraform/IaC modifications, access control or IAM changes, firewall rules, TLS certificates, environment variables on production, or dependency upgrades. Ensures every change is documented, impact-assessed, approved, and reversible per NIS2 Art. 21(2)(e) and ISO 27001 A.8.32.
/compliance-hubACTIVATE when the user asks about centralising compliance records, log collection, audit trail persistence, log retention, SIEM integration, or agent observability. Central collection point for all complisec output: audit logs, incident records, change records, and vendor assessments. Configures immutable cloud storage and optionally connects observability platforms.
/data-sensitivityACTIVATE when the user's message contains secrets, credentials, API keys, passwords, tokens, private keys, AWS access keys, connection strings, database URLs, national IDs (BSN/SSN), or any sensitive data — even if the user did not ask about security. Also activate when asked to classify data, scan for PII, or review code for credential exposure. This skill BLOCKS secrets in prompts and enforces EU data protection rules (GDPR, NIS2, ISO 27001).
/eu-compliance-directivesCurated index of official EU and national (member state) compliance sources, including directives, transposition laws, and regulatory guidance. ACTIVATE when answering questions about EU regulations or national implementations (NIS2, GDPR, DORA, AI Act, Cyberbeveiligingswet, etc.) — especially differences between EU directives and local laws, applicability, enforcement, timelines, or legal obligations. Also activate for conceptual or comparative questions ("what changed", "how does NL differ from the EU directive"). Always verify current legal status and ground answers in authoritative sources instead of relying on general knowledge.
/incident-managementACTIVATE when a security incident, data breach, outage, or suspicious event is reported, discussed, or detected. Guides structured incident documentation through the full lifecycle: detection → triage → response → notification → recovery → lessons learned. Ensures NIS2 24/72h/30d notification deadlines and GDPR 72h breach reporting are met. Also activate when the user asks about incident response procedures, or breach notification obligations.
Other plugins' skills for the same job