/ai-governance-legal-uk:aia-generation [describe the use case or system, or pass a triage result]from AI Governance Legal UK
Runs a structured AI impact assessment covering intake, risk analysis, UK regulatory classification (UK GDPR/DPA 2018, ICO guidance, sector-specific regulation), EU AI Act analysis where applicable, policy consistency diff, and recommendation with conditions.
Ships in AI Governance Legal UK. 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.
~/.claude/plugins/config/uk-legal-plugins/ai-governance-legal-uk/CLAUDE.md. Confirm impact assessment house style is populated.~/.claude/plugins/config/uk-legal-plugins/ai-governance-legal-uk/CLAUDE.md AI policy commitments./ai-governance-legal-uk:aia-generation "AI résumé screening for HR"
Matter context. Check ## Matter workspaces in the practice-level CLAUDE.md. If Enabled is ✗ (the default for in-house users), skip the rest of this paragraph — skills use practice-level context and the matter machinery is invisible. If enabled and there is no active matter, ask: "Which matter is this for? Run /ai-governance-legal-uk:matter-workspace switch <slug> or say practice-level." Load the active matter's matter.md for matter-specific context and overrides. Write outputs to the matter folder at ~/.claude/plugins/config/uk-legal-plugins/ai-governance-legal-uk/matters/<matter-slug>/. Never read another matter's files unless Cross-matter context is on.
An AI impact assessment is a documented decision, not a form. It answers: what does this AI system do, how does it reach its outputs, who's affected if it's wrong, what's the oversight, and is it okay to deploy. This skill structures that conversation and writes the output in this team's format — the one learned from the seed impact assessment during cold-start.
An AI impact assessment is not the same as a UK GDPR Article 35 DPIA. A DPIA asks whether personal data is handled lawfully. An AIA asks whether the AI system is designed and deployed responsibly. They often need to happen in parallel; they're not substitutes. For AI systems processing personal data at scale, both are likely required — the DPIA under UK GDPR Art. 35, and the AIA under the company's AI governance framework. The ICO expects organisations to maintain evidence of their assessments; the AIA provides that evidence for AI-specific risks.
Read ~/.claude/plugins/config/uk-legal-plugins/ai-governance-legal-uk/CLAUDE.md → ## Impact assessment house style. That has:
If the seed structure is in ~/.claude/plugins/config/uk-legal-plugins/ai-governance-legal-uk/CLAUDE.md, use it. The point is that this assessment looks like the other assessments this team produces.
Jurisdictional scope. This assessment applies the regulatory regimes listed in ## Regulatory footprint in ~/.claude/plugins/config/uk-legal-plugins/ai-governance-legal-uk/CLAUDE.md. UK AI legal rules and obligations are evolving and apply differently across England & Wales, Scotland, and Northern Ireland in some respects, and EU AI Act obligations apply only where EU nexus exists. If this system is (or will be) deployed outside that footprint, re-run or expand the footprint.
Check the trigger criteria in ~/.claude/plugins/config/uk-legal-plugins/ai-governance-legal-uk/CLAUDE.md.
Also check these UK-specific triggers regardless:
If none of the above and the house trigger isn't met:
"Doesn't look like this needs a full impact assessment. Here's a one-paragraph record for the file explaining why — in case the ICO or another regulator asks later."
Before intake, determine which track to run. The tier definitions and the fast-track criteria come from ~/.claude/plugins/config/uk-legal-plugins/ai-governance-legal-uk/CLAUDE.md, not from any hardcoded regime-specific framework.
Research the applicable risk classification framework for each regime in the user's regulatory footprint:
Note that most UK regulatory frameworks treat employee data as personal data and employee monitoring as consequential; don't assume internal-only systems are out of scope.
No silent supplement. If a research query to the configured legal research tool (uk-legal MCP, govuk MCP, legislation.gov.uk, or firm platform) returns few or no results for a regime's risk tiers or triggers, report what was found and stop. Do NOT fill the gap from web search or model knowledge without asking. Say: "The search returned [N] results from [tool]. Coverage appears thin for [regime / topic]. Options: (1) broaden the search query, (2) try a different research tool, (3) search the web — results will be tagged
[web search — verify]and should be checked against the issuing authority before relying, or (4) flag as unverified and stop. Which would you like?"Source attribution tiering. Tag every citation in the AIA — regulatory text, delegated acts, guidance, standards — with its source. For model-knowledge citations, use one of three tiers:
[settled]— stable, well-known statutory and regulatory references unlikely to have changed (e.g., UK GDPR Art. 22 as a concept, DPA 2018 structure, ICO as the UK supervisory authority).[verify]— model-knowledge citations that are real but should be verified: specific ICO guidance versions, FCA publications, sector regulator guidance, Data (Use and Access) Act 2025 provisions, effective dates, thresholds.[verify-pinpoint]— pinpoint citations (specific article numbers, section references, subsection letters) carry the highest fabrication risk and should ALWAYS be verified against a primary source.Tool-retrieved citations keep their source tag (
[uk-legal MCP],[govuk MCP],[legislation.gov.uk]); web-search citations remain[web search — verify]; user-supplied citations remain[user provided].For non-lawyer users, uncertain dates go in a confirm-list, not inline. Read
## Who's using thisin~/.claude/plugins/config/uk-legal-plugins/ai-governance-legal-uk/CLAUDE.md. If Role is Non-lawyer and a date, deadline, phase-in, threshold, or effective-date assertion is uncertain, replace the inline assertion with "effective date: confirm with your solicitor/barrister" and collect all uncertain assertions in a final AIA section titled:Things I'm not certain about — ask your solicitor or barrister to confirm before relying on this:
Fast track vs. full assessment: ~/.claude/plugins/config/uk-legal-plugins/ai-governance-legal-uk/CLAUDE.md defines what qualifies for abbreviated treatment.
If in doubt, run the full assessment.
Before writing anything, get answers to these. Conversational is fine.
Ask:
Stage changes the assessment: a proposed system gets a design review. A pilot gets a design review plus a "before you scale" gate. A live system gets a retrospective impact check AND a go-forward review.
Step 3 pre-check — footprint freshness. Before iterating over the captured ## Regulatory footprint, compare the use case's affected population and decision type (from Step 2) against the footprint as written. If the use case introduces an affected population or a decision type that the footprint does not contemplate, re-derive the applicable regimes.
For each regime in ~/.claude/plugins/config/uk-legal-plugins/ai-governance-legal-uk/CLAUDE.md → ## Regulatory footprint that applies to this system — plus any regime surfaced by the re-derivation above — research the currently operative risk classification framework and determine where the system lands.
Research tasks:
UK domestic (primary for all UK-based organisations):
[model knowledge — verify against current ICO guidance]EU AI Act (only if EU nexus exists):
[verify-pinpoint].Provider-vs-deployer split (when AI role: Both for EU AI Act purposes). If the company is both a provider/builder and a deployer, produce per regime:
| Obligation | As provider | As deployer |
|---|---|---|
| [specific obligation, pinpoint cite] | [what applies] | [what applies] |
Use the seed structure from ~/.claude/plugins/config/uk-legal-plugins/ai-governance-legal-uk/CLAUDE.md. If none was captured, use this default:
[WORK-PRODUCT HEADER — per plugin config ## Outputs — differs by role; see `## Who's using this`]
# AI Impact Assessment: [System/Feature Name]
**Prepared by:** [name] | **Date:** [date] | **Status:** DRAFT / APPROVED
**System owner:** [name] | **AI governance reviewer:** [name]
**Governance tier:** [Standard / Elevated / High]
**Track:** [Fast track / Full assessment]
---
## Executive summary
[Two sentences: what this AI does and whether it's okay to deploy. E.g., "This
system uses a third-party LLM to draft initial responses to customer support
tickets before human agent review. Processing is consistent with the company's AI
policy; three conditions required before production deployment."]
**Overall risk:** 🟢 Low / 🟡 Medium / 🟠 High / 🔴 Very high
---
## 1. System description
**What it does:** [plain English — not marketing]
**Model / vendor:** [who's providing the AI]
**Deployment mode:** [Assistive / Augmentative / Automated]
**Output type:** [text / score / classification / recommendation / action]
**Status:** [Not started / Pilot / Production]
---
## 2. Affected parties
**Who it acts on:** [employees / customers / third parties]
**UK nations:** [E&W / Scotland / NI / all UK — and EU if applicable]
**Scale:** [how many people, how often]
**Harm if wrong:** [most realistic worst case — specific, not generic]
**Vulnerable groups in scope:** [yes — [who] / no]
---
## 3. Data inputs
**Data categories used:** [specific fields, not "user data"]
**Personal data:** [yes — [whose] / no]
**Special category data:** [yes — [what] / no]
**Data leaves perimeter?** [yes — to [vendor] / no]
**Model training:** [company data used / foundation model / fine-tuned on [dataset]]
---
## 4. Decision-making and oversight
**Human in the loop:** [Always / Nominally (rubber-stamp risk) / No]
**Art. 22 UK GDPR position:** [Not triggered / Triggered — [lawful basis] / Unclear [review]]
**Override mechanism:** [how a human can intervene or correct]
**Appeals / correction for affected parties:** [yes — [how] / no]
**Named owner:** [name or role]
---
## 5. Accuracy and bias
**Error rate:** [known / estimated / untested]
**Failure mode:** [what happens when it's wrong — surfaced? logged? corrected?]
**Bias testing:** [done — [results] / not done / not applicable — ICO expects bias testing for consequential AI on personal data]
---
## 6. Regulatory classification
*[One subsection per regime in the regulatory footprint that applies to this system.]*
### 6.1 UK domestic
**UK GDPR / DPA 2018:**
- **Art. 22 automated decision-making:** [Not triggered / Triggered — lawful basis: [contract / statutory / explicit consent] / Unclear [review]]
- **Art. 35 DPIA required?** [Yes — DPIA should be run in parallel / No / Unclear [review]]
- **Special category data:** [Not present / Present — [what] — additional safeguards required under Art. 9]
- **Lawful basis for processing:** [cite basis and provision] `[verify]`
**ICO AI guidance:**
- **Explainability obligations:** [applicable / not applicable — reason]
- **High-risk processing under ICO guidance:** [yes / no / unclear [review]]
- **ICO AI auditing framework relevance:** [applicable / not applicable]
`[model knowledge — verify against current ICO AI guidance versions]`
**Sector-specific (complete only if applicable to this company's regulatory footprint):**
- **FCA/PRA model risk (PS7/24 / SS1/23):** [applicable / not applicable — reason] `[verify]`
- **Online Safety Act / Ofcom:** [applicable / not applicable — reason] `[verify]`
- **MHRA AIaMD:** [applicable / not applicable — reason] `[verify]`
- **ATRS (public sector):** [applicable / not applicable — reason] `[verify]`
### 6.2 EU AI Act (complete only if EU nexus exists)
**EU nexus confirmed:** [Yes / No — skip this section]
**Classification under EU AI Act:**
- **Prohibited practices triggered (Art. 5):** [none identified / [specific provision and why]] `[verify-pinpoint]`
- **Risk tier:** [prohibited / high_risk — Annex III [area] / limited / minimal / GPAI] `[verify-pinpoint]`
- **Applicable obligations:** [researched list with citations] `[verify]`
- **FRIA required (EU AI Act Art. 27)?** [Yes — separate deliverable required / No / Not applicable] `[verify-pinpoint]`
- **Effective / enforcement date:** [date(s)] `[verify]`
**Provider-vs-deployer obligation split (required if `AI role: Both` for EU purposes):**
| Obligation | As provider | As deployer |
|---|---|---|
| [specific obligation + pinpoint cite] | [what applies] | [what applies] |
---
## 7. AI policy consistency
| Policy commitment | Consistent? | Notes |
|---|---|---|
| [commitment from `~/.claude/plugins/config/uk-legal-plugins/ai-governance-legal-uk/CLAUDE.md` AI policy section] | 🟢 / 🟡 / 🟠 / 🔴 | |
[If any item is 🟡 or worse: policy update needed before deployment, or design needs to change. One of them has to change — not both flagged and left open.]
---
## 8. Risks and mitigations
| # | Risk | Likelihood | Impact | Mitigation | Status | Owner |
|---|---|---|---|---|---|---|
| 1 | [specific risk tied to this design — not "AI hallucination" generically] | L/M/H | L/M/H | [specific control] | Done / Planned / Gap | [name] |
**Residual risk after mitigations:** [assessment]
---
## 9. Recommendation
**[APPROVED / APPROVED WITH CONDITIONS / CHANGES REQUIRED / NOT APPROVED]**
**Conditions (if any):**
- [ ] [specific action before deployment — owner, deadline]
**UK GDPR Art. 35 DPIA required?** [Yes — run `/privacy-legal-uk:pia-generation`, if the plugin is installed / No]
**EU AI Act FRIA required?** [Yes — separate deliverable / No / Not applicable — no EU nexus]
**Sign-off:** [name, date]
---
## Cite check
Regulatory citations in Section 6 (and anywhere else) were generated by an AI model and have not been verified against primary sources. Before the assessment is certified or relied on, run a verification pass against a legal research tool (uk-legal MCP, legislation.gov.uk, govuk MCP, or your firm's platform) for each cited provision — confirm the pinpoint, currency, and any implementing guidance. The UK AI regulatory landscape is moving quickly; verify before advising. Source tags on each citation show where it came from; `verify` and `verify-pinpoint` tags carry higher fabrication risk and should be checked first.
Before certifying the AIA (the Sign-off step, marking Status: APPROVED): Read ## Who's using this in ~/.claude/plugins/config/uk-legal-plugins/ai-governance-legal-uk/CLAUDE.md. If the Role is Non-lawyer:
Certifying this AIA has legal consequences — it becomes the record the company relies on if the ICO, FCA, CMA, or another regulator asks how this use case was assessed. Have you reviewed this with a solicitor or barrister? If yes, proceed. If no, here's a brief to bring to them:
[Generate a 1-page summary: the system, the UK GDPR Art. 22 and Art. 35 position, the sector regulatory flags, the risks identified, the mitigations in place, residual risk, open questions, what to ask the solicitor before certifying.]
If you need to find a solicitor or barrister: sra.org.uk (SRA), barcouncil.org.uk (Bar Council) for England & Wales; lawscot.org.uk (Law Society of Scotland); lawsoc-ni.org (Law Society of Northern Ireland).
Do not proceed past this gate without an explicit yes.
Risks must be specific and tied to the design.
| Bad risk | Why bad | Better |
|---|---|---|
| "AI hallucination" | Applies to every LLM; says nothing | "Model may generate plausible but incorrect legal citations — support agents have no current verification step before sending to customers" |
| "Bias" | Too vague | "CV scoring model trained on historical hires; if historical cohort was demographically homogeneous, underrepresented candidates may be systematically scored lower — Art. 22 automated significant decision risk" |
| "Vendor risk" | Circular | "Vendor's terms permit training on API inputs by default; unless the opt-out is confirmed in the agreement, customer support messages may be used to train the model" |
Aim for 2-5 real risks, not 12 padded ones.
Every assessment should cross-check against the AI policy commitments in ~/.claude/plugins/config/uk-legal-plugins/ai-governance-legal-uk/CLAUDE.md.
Common drift:
Flag every mismatch. One of them has to change before deployment.
/privacy-legal-uk:pia-generation [system name] in parallel, if the plugin is installed — the AIA doesn't substitute for a DPIA."/ai-governance-legal-uk:vendor-ai-review before production."End with the next-steps decision tree per CLAUDE.md ## Outputs. The tree is the output; the solicitor picks.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub uk-agents/uk-legal-plugins --plugin ai-governance-legal-uk10 skills in this plugin
/ai-inventoryPer-system AI inventory — track each AI system's EU AI Act role and risk tier (where EU nexus exists), UK regulatory flags (ICO DPIA trigger, CMA, FCA model risk, MHRA, Ofcom), and UK GDPR Art. 22 automated decision-making status. Role and tier are assessed per system, not per company. Use when the user says "ai inventory", "add an ai system", "what systems do we have", "classify this ai system", "eu ai act register", "ai system registry", or "uk gdpr automated decisions register".
/cold-start-interviewRun the cold-start interview — learns your UK AI governance practice and writes `~/.claude/plugins/config/uk-legal-plugins/ai-governance-legal-uk/CLAUDE.md` from your AI policy, a reference impact assessment, and key vendor AI agreements. Use when the practice profile is missing or contains `[PLACEHOLDER]` markers, or when user says "set up ai governance plugin", "onboard me", "configure ai governance".
/customizeGuided customisation of your UK AI governance practice profile — change one thing without re-running the whole cold-start interview. Adjust risk posture, escalation contacts, use-case registry entries, vendor AI positions, AI policy commitments, impact-assessment house style, or matter workspace paths. Use when the user says "change my [thing]", "update my profile", "edit my config", "tune my playbook", or "customise".
Other plugins' skills for the same job