KI-Register Use Case Documenter
Use this skill when an AI application, process, or workflow should become a structured KI-Register use case for EU AI Act-oriented governance, audit preparation, procurement, supplier requests, or internal review.
The operating principle is simple: document first, validate the manifest, get explicit human confirmation, then submit to KI-Register when API credentials are available.
Primary outputs
docs/agent-workflows/<slug>/manifest.json
docs/agent-workflows/<slug>/README.md
The manifest is the canonical machine-readable source. The README is the human-readable review surface for operators, legal, compliance, product, and engineering teams.
Setup and account flow
- If the Agent Kit repository is present, use its CLI from the package root:
node ./bin/studio-agent.mjs.
- If the Agent Kit is vendored inside another repo as
agent-kit/, use: node ./agent-kit/bin/studio-agent.mjs.
- If no local onboarding exists, run
studio-agent onboard or node ./bin/studio-agent.mjs onboard.
- If the user does not have a KI-Register account or API key, send them to
https://kiregister.com/developers/agent-kit or directly to https://kiregister.com/settings/agent-kit. They should sign in or create an account, create or choose the target register, create one scoped Agent Kit API key, and copy the generated command.
- Keep
KI_REGISTER_API_KEY in the environment or a local secret store. Do not write API keys into Git, manifests, README files, logs, screenshots, or skill files.
Capture modes
Use the smallest mode that can produce a defensible use case record:
- Codebase inspection: When the user points at a repo, inspect README files, app routes, API routes, config, prompts, workflows, scripts, tests, and docs. Infer only facts that are supported by local evidence. Mark unclear areas as missing and ask targeted follow-up questions.
- Stakeholder interview: When the process is not visible from files, ask one sharp question at a time. Cover purpose, owner, systems, data, decision influence, human checkpoints, risks, controls, and artifacts.
- Low-friction capture: When enough context is already known, run
studio-agent capture with flags or an input JSON file, then let the CLI ask only for missing required fields.
Required coverage
Capture at least:
- documentation type:
application, process, or workflow
- title, purpose, and owner role
- systems in execution order
- usage contexts and data categories
- decision influence
- trigger events and process steps
- human checkpoints, risks, controls, and artifacts
Useful EU AI Act-oriented review questions:
- What is the intended purpose of the AI use case?
- Which humans can review, override, stop, or approve outputs?
- Which data categories enter the workflow?
- Does the AI prepare, assist, or automate a decision?
- Which logs, prompts, policies, SOPs, vendor docs, or review artifacts support the record?
- Which operational controls reduce known risks?
Command workflow
Preferred commands:
node ./bin/studio-agent.mjs onboard
node ./bin/studio-agent.mjs capture
node ./bin/studio-agent.mjs interview
node ./bin/studio-agent.mjs validate ./docs/agent-workflows/<slug>/manifest.json
Submit after explicit confirmation:
export KI_REGISTER_API_KEY="akv1.<scopeId>.<keyId>.<secret>"
export KI_REGISTER_REGISTER_ID="reg_123"
node ./bin/studio-agent.mjs submit \
./docs/agent-workflows/<slug>/manifest.json \
--endpoint "https://kiregister.com/api/agent-kit/submit"
The submit command must validate locally first. If the API key, register id, endpoint, or manifest is missing or invalid, stop and report the concrete blocker.
Behavior expectations
- Prefer updating an existing workflow folder over creating duplicates for the same operational use case.
- Never submit an inferred manifest without showing the summary and getting explicit human confirmation.
- If the user asks for best-effort documentation from a codebase, create a draft with evidence-backed facts and clear unknowns.
- Keep the legal boundary clear: this supports structured governance documentation and review; it is not legal advice or a conformity assessment.
- Do not overclaim risk class. Use available facts and leave uncertain classification work for review.
- Keep secrets out of generated files. API keys belong in environment variables or secret stores.
Repo rules
When working inside the KI-Register studio application repo:
- Before Firestore or schema changes, read
docs/DATA_MODEL_AND_QUERIES.md.
- If the change affects rules, indexes, or deployment steps, also read
docs/manual_steps.md.
- If routing is unclear, shortlist nearby docs with
docs/route-map.md and the relevant sprint note before touching app surfaces.
Portability
- The CLI is plain Node and does not require framework-specific runtimes.
- The canonical machine format is
manifest.json.
- If an agent system has no skill loader, hand it this
SKILL.md plus ../../schemas/studio-use-case.schema.json, ../../examples/sample-use-case.json, and ../../docs/direct-submission-to-ki-register.md.
- Agents that support custom slash commands can map a shortcut to
studio-agent capture.
- Outside the KI-Register studio repo, omit the repo-specific rules above and rely on the Agent Kit schema, sample manifest, CLI validation, and KI-Register API onboarding flow.
1---2name: ki-register-use-case-documenter3description: Document AI use cases for EU AI Act governance, inspect code or interview users, then validate and submit confirmed manifests to KI-Register.4---5
6# KI-Register Use Case Documenter
7
8Use this skill when an AI application, process, or workflow should become a structured KI-Register use case for EU AI Act-oriented governance, audit preparation, procurement, supplier requests, or internal review.
9
10The operating principle is simple: document first, validate the manifest, get explicit human confirmation, then submit to KI-Register when API credentials are available.
11
12## Primary outputs
13
14- `docs/agent-workflows/<slug>/manifest.json`
15- `docs/agent-workflows/<slug>/README.md`
16
17The manifest is the canonical machine-readable source. The README is the human-readable review surface for operators, legal, compliance, product, and engineering teams.
18
19## Setup and account flow
20
211. If the Agent Kit repository is present, use its CLI from the package root: `node ./bin/studio-agent.mjs`.
222. If the Agent Kit is vendored inside another repo as `agent-kit/`, use: `node ./agent-kit/bin/studio-agent.mjs`.
233. If no local onboarding exists, run `studio-agent onboard` or `node ./bin/studio-agent.mjs onboard`.
244. If the user does not have a KI-Register account or API key, send them to `https://kiregister.com/developers/agent-kit` or directly to `https://kiregister.com/settings/agent-kit`. They should sign in or create an account, create or choose the target register, create one scoped Agent Kit API key, and copy the generated command.
255. Keep `KI_REGISTER_API_KEY` in the environment or a local secret store. Do not write API keys into Git, manifests, README files, logs, screenshots, or skill files.
26
27## Capture modes
28
29Use the smallest mode that can produce a defensible use case record:
30
31- **Codebase inspection**: When the user points at a repo, inspect README files, app routes, API routes, config, prompts, workflows, scripts, tests, and docs. Infer only facts that are supported by local evidence. Mark unclear areas as missing and ask targeted follow-up questions.
32- **Stakeholder interview**: When the process is not visible from files, ask one sharp question at a time. Cover purpose, owner, systems, data, decision influence, human checkpoints, risks, controls, and artifacts.
33- **Low-friction capture**: When enough context is already known, run `studio-agent capture` with flags or an input JSON file, then let the CLI ask only for missing required fields.
34
35## Required coverage
36
37Capture at least:
38
39- documentation type: `application`, `process`, or `workflow`
40- title, purpose, and owner role
41- systems in execution order
42- usage contexts and data categories
43- decision influence
44- trigger events and process steps
45- human checkpoints, risks, controls, and artifacts
46
47Useful EU AI Act-oriented review questions:
48
49- What is the intended purpose of the AI use case?
50- Which humans can review, override, stop, or approve outputs?
51- Which data categories enter the workflow?
52- Does the AI prepare, assist, or automate a decision?
53- Which logs, prompts, policies, SOPs, vendor docs, or review artifacts support the record?
54- Which operational controls reduce known risks?
55
56## Command workflow
57
58Preferred commands:
59
60```bash
61node ./bin/studio-agent.mjs onboard
62node ./bin/studio-agent.mjs capture
63node ./bin/studio-agent.mjs interview
64node ./bin/studio-agent.mjs validate ./docs/agent-workflows/<slug>/manifest.json
65```
66
67Submit after explicit confirmation:
68
69```bash
70export KI_REGISTER_API_KEY="akv1.<scopeId>.<keyId>.<secret>"
71export KI_REGISTER_REGISTER_ID="reg_123"
72
73node ./bin/studio-agent.mjs submit \
74 ./docs/agent-workflows/<slug>/manifest.json \
75 --endpoint "https://kiregister.com/api/agent-kit/submit"
76```
77
78The submit command must validate locally first. If the API key, register id, endpoint, or manifest is missing or invalid, stop and report the concrete blocker.
79
80## Behavior expectations
81
82- Prefer updating an existing workflow folder over creating duplicates for the same operational use case.
83- Never submit an inferred manifest without showing the summary and getting explicit human confirmation.
84- If the user asks for best-effort documentation from a codebase, create a draft with evidence-backed facts and clear unknowns.
85- Keep the legal boundary clear: this supports structured governance documentation and review; it is not legal advice or a conformity assessment.
86- Do not overclaim risk class. Use available facts and leave uncertain classification work for review.
87- Keep secrets out of generated files. API keys belong in environment variables or secret stores.
88
89## Repo rules
90
91When working inside the KI-Register studio application repo:
92
93- Before Firestore or schema changes, read `docs/DATA_MODEL_AND_QUERIES.md`.
94- If the change affects rules, indexes, or deployment steps, also read `docs/manual_steps.md`.
95- If routing is unclear, shortlist nearby docs with `docs/route-map.md` and the relevant sprint note before touching app surfaces.
96
97## Portability
98
99- The CLI is plain Node and does not require framework-specific runtimes.
100- The canonical machine format is `manifest.json`.
101- If an agent system has no skill loader, hand it this `SKILL.md` plus `../../schemas/studio-use-case.schema.json`, `../../examples/sample-use-case.json`, and `../../docs/direct-submission-to-ki-register.md`.
102- Agents that support custom slash commands can map a shortcut to `studio-agent capture`.
103- Outside the KI-Register studio repo, omit the repo-specific rules above and rely on the Agent Kit schema, sample manifest, CLI validation, and KI-Register API onboarding flow.