aia-generation

aia-generation is a skill for Claude Code from Buildwise-Studios/claude-for-hk-law. It costs 124 tokens per session (5,957 once invoked), scanned A, a copy of aia-generation, Apache-2.0.

A skill for producing a structured AI impact assessment: it gathers details about an AI use, analyses risks, checks applicable rules, compares it with policy, and gives a conditional recommendation.

In plain words
What is it for?
Useful for assessing AI systems such as résumé screening, classifying their regulatory risk, identifying privacy or vendor-review follow-ups, and documenting required conditions.
Why use it?
It helps teams decide what safeguards and reviews are needed before using AI in a particular situation.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md.

Part of the ai-governance-legal plugin — 10 skills, 2 MCP servers shipped together

Good fit Useful for assessing AI systems such as résumé screening, classifying their regulatory risk, identifying privacy or vendor-review follow-ups, and documenting required conditions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/buildwise-studios/claude-for-hk-law/aia-generation
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.

Any agent
npx skills add Buildwise-Studios/claude-for-hk-law --skill aia-generation
Clone the repo
git clone --depth 1 https://github.com/Buildwise-Studios/claude-for-hk-law

Made for: Claude Code.

Or install ai-governance-legal, the plugin that ships this one along with the rest of its 10 skills, 2 MCP servers.

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 aia-generation

README.md
[![agentmods](https://agentmods.dev/badge/skills/buildwise-studios/claude-for-hk-law/aia-generation/github.svg)](https://agentmods.dev/skills/buildwise-studios/claude-for-hk-law/aia-generation)
Your own site
<a href="https://agentmods.dev/skills/buildwise-studios/claude-for-hk-law/aia-generation"><img src="https://agentmods.dev/badge/skills/buildwise-studios/claude-for-hk-law/aia-generation/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 aia-generation

Your own site · 80×15
<a href="https://agentmods.dev/skills/buildwise-studios/claude-for-hk-law/aia-generation"><img src="https://agentmods.dev/badge/skills/buildwise-studios/claude-for-hk-law/aia-generation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 124 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,957 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 86% copy Near-identical to another mod 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.00124 $0.05957
Opus 5 $0.00062 $0.02978
Sonnet 5 $0.00025 $0.01191
Haiku 4.5 $0.00012 $0.00596

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

Security

Grade A, and why

aia-generation 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 11d 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.

Origin

This is a copy

86% identical to aia-generation — 46 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

ai-governance-legal/skills/aia-generation/SKILL.md · 400 lines

How it starts

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

/aia-generation

  1. Read ~/.claude/plugins/config/claude-for-hk-law/ai-governance-legal/CLAUDE.md. Confirm impact assessment house style is populated.
  2. Determine risk track (fast or full) from governance tier and use case characteristics, using the framework below.
  3. Run intake — conversational, not a form.
  4. Regulatory classification for each regime in the footprint — research tier, prohibited-practice exposure, and applicable obligations; cite primary sources.
  5. Write assessment in house style (from seed doc, or default if none captured).
  6. Policy diff against ~/.claude/plugins/config/claude-for-hk-law/ai-governance-legal/CLAUDE.md AI policy commitments.
  7. Output: assessment doc + conditions list + handoff flags (privacy PIA, vendor review if needed).
/ai-governance-legal:aia-generation "AI résumé screening for HR"

Matter context

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: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/claude-for-hk-law/ai-governance-legal/matters/<matter-slug>/. Never read another matter's files unless Cross-matter context is on.


Purpose

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 PIA. A PIA 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.

Read the full file on GitHub · 400 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. 11d ago First seen · 400 lines · 124 tokens per session scan A da3fb716bc90

Subscribe to this mod's changes

aia-generation is a skill published in the GitHub repository Buildwise-Studios/claude-for-hk-law (5 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 124 tokens to every session and 5,957 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to aia-generation, differing in 46 lines, and is treated as a copy.

Related

Other skills, from other repositories

aia-generation

Run an AI impact assessment — structured intake, risk analysis, UK regulatory classification (UK GDPR / DPA 2018, ICO AI guidance, sector-specific UK regulation), EU AI Act analysis where EU nexus exists, policy consistency diff, and recommendation with conditions. Uses the house-style structure learned from the seed…

uk-agents/uk-legal-plugins · 149 tokens

litigation-knowledge-base

A knowledge-management system for litigation work. It organizes public legal research, private case notes, and private work notes, and can search across connected knowledge bases.

Youchu-lawhub/cn-litigation-toolkit · 210 tokens

legal-kb-builder

A tool for turning legal documents and other source material into a searchable local knowledge base. It supports sources such as PDF, DOCX, images, Markdown, and question-and-answer sets.

Youchu-lawhub/legal-kb-builder · 124 tokens

ai-inventory

Per-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…

uk-agents/uk-legal-plugins · 121 tokens

ingest-emails

Ingest emails from an IMAP mailbox into the legal RAG pipeline. Use when the user wants to add emails to the search index.

avocatt/legal-rag-toolkit · 33 tokens

c2pa-metadata

Embed a C2PA provenance manifest into an AI-generated marketing asset (PNG, JPG, WebP, GIF, TIFF, MP4, MOV, WebM, MP3, WAV, PDF) via scripts/embed-c2pa.py — produces a signed copy of the file carrying IPTC digital-source-type AI claims, an optional c2pa.ai-disclosure assertion for EU AI Act Article 50 (applicable 2…

indranilbanerjee/digital-marketing-pro · 183 tokens