Logo van Aia Generation

Aia Generation

Community
AlsKozlov
aia-generation

AI Impact Assessment (AIA) — formal documentation для AI use case рассматриваемого как medium/high risk. РФ specifics: AIA combines AI-specific risks с ОВПД framework (152-ФЗ ст.18.1) если processing ПДн. Структура: scope + risks + mitigation + approval. Subject to compliance officer / AI Officer / outside-адв ФПА review.

Overzicht

UitgeverAlsKozlov
Repositoryru-legal
Skillnaamaia-generation
Sterren
42
Forks
6
Meegeleverde bestanden
Alleen instructies
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door AlsKozlov op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Aia Generation in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/AlsKozlov/ru-legal/tree/master/packs/ai-governance/skills/aia-generation
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AlsKozlov/ru-legal.git /tmp/ru-legal
mkdir -p .claude/skills
cp -r /tmp/ru-legal/packs/ai-governance/skills/aia-generation .claude/skills/aia-generation
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Aia Generation in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Aia Generation automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Aia Generation niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

/aia-generation

Назначение

Generate formal AI Impact Assessment document. Required after /use-case-triage classified use case как IMPACT ASSESS level.

Pre-flight

  • /use-case-triage completed — IMPACT ASSESS classified
  • Stakeholders identified (technical, business, legal, security, ethics)
  • Готовы spend several days на полную AIA

AIA structure

markdown
# AI Impact Assessment
# Use case: [name]

**Version:** 1.0
**Date:** [DD.MM.YYYY]
**Authors:** [names + roles]
**Status:** [Draft / Under Review / Approved]
**Privilege framing:** [Privileged через outside-адв ФПА / Business-confidential]

Section 1: Use case description

markdown
## 1. Use case description

### 1.1. Purpose

[What this AI system is supposed to do, who benefits, what value]

### 1.2. Scope

[Specific functions, boundaries, what it doesn't do]

### 1.3. Stakeholders

| Role | Specific persons | Interest in this AI |
|------|------------------|---------------------|
| Customer | [...] | [...] |
| End user | [...] | [...] |
| Internal team | [...] | [...] |
| Regulator | [Минцифры / ЦБ / ФАС / etc.] | [oversight] |

### 1.4. Stages of usage

- Training / fine-tuning
- Deployment
- Production usage
- Periodic retraining / updates
- Decommissioning

Section 2: Technical details

markdown
## 2. Technical details

### 2.1. Underlying technology

- **Type:** [LLM / classical ML / CV / иное]
- **Vendor or self-hosted:** [...]
- **Model architecture:** [transformer / RNN / classical / иное]
- **Training data:** [source — internal / public / purchased / mixed]
- **Fine-tuning?** [Y/N + on what data]

### 2.2. Input / Output

- **Inputs accepted:** [data types, examples]
- **Outputs produced:** [data types, examples]
- **Decision authority:** [AI alone / AI + human / AI assists]

### 2.3. Performance characteristics

- **Expected accuracy:** [%]
- **Throughput:** [N requests / second]
- **Latency:** [seconds]
- **Failure modes:** [known limitations]

### 2.4. Update / maintenance

- Retraining frequency
- Monitoring metrics
- Performance degradation triggers

Section 3: Legal compliance analysis

markdown
## 3. Legal compliance

### 3.1. 152-ФЗ (если ПДн обрабатываются)

- **Processing roles:** [we as operator / vendor as processor]
- **Categories ПДн:** [...]
- **Legal basis:** [contract / consent / законные интересы / иное]
- **Special category** (ст.10) — health, биометрия, политика и пр.: [Y/N + safeguards]
- **Локализация (ст.18 ч.5):** processing в РФ confirmed
- **Cross-border transfer:** [Y/N + основание]
- **Уведомление РКН подано:** [Y/N + when]
- **ОВПД (ст.18.1) — оценка вреда:** done или not required?

### 3.2. Sectoral compliance

[Если применимо]

- **Финансовое (Банк России):** ФЗ-353 / 218 / 115 — compliance
- **Медицинское (Минздрав):** ФЗ-323 / лицензирование / Росздравнадзор регистрация AI as medical device
- **Образовательное (Минобрнауки):** ФЗ-273
- **Гос.услуги:** ПП 1503 / ФЗ-258 sandbox

### 3.3. Anti-discrimination

- **Risk:** AI может дискриминировать по защищённым категориям (раса, пол, возраст, инвалидность, и пр.)?
- **Mitigation:** [bias testing, fairness metrics, audit logs]
- **Legal basis для defense:** [ст.3 ТК если employment-related; ФЗ-181 если касается инвалидов]

### 3.4. Transparency requirements

- **Disclosure к user:** [что это AI, не человек] — see `/user-disclosure-check`
- **Explanation:** [right to explanation of automated decision — ст.16 152-ФЗ]
- **Documentation publicly available:** [policy / FAQ]

### 3.5. Intellectual property

- **Training data IP:** licensed properly? (см. `/training-data-review`)
- **Output IP:** ownership clear?
- **Copyright risks:** outputs similar к existing works?

Section 4: Risk assessment

markdown
## 4. Risk assessment

### 4.1. Identified risks

| # | Risk | Likelihood (1-5) | Impact (1-5) | Composite | Mitigation |
|---|------|-------------------|----------------|-----------|------------|
| 1 | Hallucination в production user-facing answer | 4 | 3 | 12 | Confidence scoring + disclaimers + human review для high-stakes |
| 2 | ПДн leakage в logs | 2 | 5 | 10 | Encryption + access controls + log redaction |
| 3 | Discrimination в outputs | 3 | 4 | 12 | Bias testing pre-deployment + ongoing monitoring + appeal process |
| 4 | Sanctions-related vendor unavailability | 3 | 4 | 12 | Backup Russian alternative + open-source fallback |
| 5 | Regulatory change requires rework | 3 | 3 | 9 | Periodic regulatory monitoring (см. `data-protection/reg-gap-analysis`) |
| 6 | ... | | | | |

### 4.2. Acceptable residual risk

[After mitigation — is the remaining risk acceptable?]

[Y/N + reasoning]

Section 5: Mitigations + controls

markdown
## 5. Mitigations + controls

### 5.1. Technical mitigations

- [ ] Input validation / sanitization
- [ ] Output filtering / content moderation
- [ ] Rate limiting per user
- [ ] Anomaly detection
- [ ] A/B testing pre-rollout
- [ ] Confidence scoring with thresholds
- [ ] Fallback to human для low-confidence cases

### 5.2. Procedural mitigations

- [ ] Human-in-the-loop для significant decisions
- [ ] Right to human review (ст.16 152-ФЗ если applicable)
- [ ] Appeal / dispute mechanism
- [ ] Periodic accuracy / fairness audits
- [ ] Incident reporting process
- [ ] User feedback channels

### 5.3. Documentation

- [ ] Internal documentation полная
- [ ] User-facing explanations
- [ ] Model cards (industry best practice)
- [ ] Datasheet for training data

### 5.4. Monitoring + alerts

- Performance metrics tracked
- Drift detection
- Adverse outcome notifications
- Quarterly review meetings

Section 6: Stakeholder consultation

markdown
## 6. Stakeholder consultation

| Stakeholder | Date consulted | Concerns raised | Resolution |
|-------------|----------------|-------------------|-------------|
| Legal | DD.MM.YYYY | ... | ... |
| Compliance | DD.MM.YYYY | ... | ... |
| InfoSec | DD.MM.YYYY | ... | ... |
| Affected business unit | DD.MM.YYYY | ... | ... |
| (External) outside-адв ФПА | DD.MM.YYYY | ... | ... |
| (External) AI ethics board | DD.MM.YYYY | ... | ... |

Section 7: Recommendation

markdown
## 7. Recommendation

[APPROVE FOR DEPLOYMENT / APPROVE WITH CONDITIONS / NEEDS REWORK / DO NOT APPROVE]

### Conditions (если applicable)

1. [Concrete condition]
2. ...

### Approvers required

- [ ] AI Officer
- [ ] Compliance Officer
- [ ] CISO (для security implications)
- [ ] Legal (in-house GC)
- [ ] (Material) Outside-адв ФПА review
- [ ] (Material) Board / Executive committee

Section 8: Implementation plan

markdown
## 8. Implementation plan

### Pre-deployment

| Action | Owner | Deadline |
|--------|-------|----------|
| [...] | [...] | [...] |

### Deployment

[Rollout plan — gradual / pilot / full]

### Post-deployment monitoring

[Schedule + metrics + escalation triggers]

Section 9: Review schedule

markdown
## 9. Review schedule

- **Initial review post-deployment:** [DD.MM.YYYY] (1-3 months)
- **Annual review:** [DD.MM.YYYY]
- **Trigger-based review:** [conditions — adverse outcome, regulatory change, material model update]

Workflow

Шаг 1. Set up document

Create AIA document for the specific use case. Pull data from PROFILE.md и /use-case-triage outputs.

Шаг 2. Fill in sections

Sections 1-2 — technical input from product team / data scientists.

Sections 3-5 — legal / compliance analysis. Это major value-add от skill.

Section 6 — track consultations.

Sections 7-9 — recommendations + plan.

Шаг 3. Review + iteration

  • Internal review (legal + compliance)
  • Stakeholder feedback
  • (Material) outside-адв ФПА review
  • Updates based on feedback

Шаг 4. Approval

  • Sign-off от required approvers
  • Document approval chain
  • Store в AIA registry

Шаг 5. Post-AIA monitoring

  • Track that mitigations actually implemented
  • Periodic re-AIA при material changes
  • Incident tracking + reporting

Что НЕ делает

  • Не делает technical AI testing (это data science / ML engineers)
  • Не replaces outside-адв legal opinion для material matters
  • Не выполняет actual implementation — это product / engineering

Attribution

Adapted from ai-governance-legal/aia-generation by Anthropic (Apache 2.0).

Категория B:

  • EU AI Act FRAIA / NIST AI RMF template → adapted к РФ context
  • 152-ФЗ ст.18.1 ОВПД integration — РФ-specific
  • ст.16 152-ФЗ право на review automated decisions — РФ-specific
  • Sectoral overlays РФ (Банк России / Минздрав / Росздравнадзор) вместо US/EU
  • Sanctions risk dimension — РФ-specific
  • Outside-адв ФПА involvement для privilege — РФ-specific

Original copyright: © 2026 Anthropic PBC, Apache 2.0.


⚠ Юридический disclaimer

Данный skill — техническая платформа, не оказывает юридических услуг по ст.2 ФЗ-63 «Об адвокатской деятельности». Outputs не заменяют консультацию лицензированного юриста / адвоката ФПА.

AI может галлюцинировать, выдавать устаревшие нормы, неверно интерпретировать факты. Material decisions (увольнение, M&A, налоговый спор, IP litigation) — обязательно engage outside-адв ФПА с релевантной специализацией.

Проект ru-legal и его contributors не несут ответственности за решения, принятые на основе outputs системы. Использование — на свой риск.

Veelgestelde vragen

Wat doet de AI-skill Aia Generation?

AI Impact Assessment (AIA) — formal documentation для AI use case рассматриваемого как medium/high risk. РФ specifics: AIA combines AI-specific risks с ОВПД framework (152-ФЗ ст.18.1) если processing ПДн. Структура: scope + risks + mitigation + approval. Subject to compliance officer / AI Officer / outside-адв ФПА review.

Waarom Aia Generation gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Aia Generation bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Aia Generation in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/AlsKozlov/ru-legal/tree/master/packs/ai-governance/skills/aia-generation. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Aia Generation gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Aia Generation gebruiken?

Zoveel als je wilt. Je kunt Aia Generation gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Aia Generation gratis?

Deze skill is door AlsKozlov op GitHub gepubliceerd. Bekijk de repository voor de licentievoorwaarden. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇