identity
Use this skill whenever the user wants to integrate, implement, or test an identity verification (KYC) API from an African provider — ID number checks, ID…
от afrotools★ 32 звезды на GitHub
Установить identity в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Afro.tools — Identity skill
When this skill activates, use the afrotools MCP server to retrieve the spec
for the target provider and capability before writing any implementation code.
Workflow
Identify the provider slug, the country and the capability from the user's request.
Discover what's actually available with
afrotools.list_providers(): it lists every provider with its countries and the exact names of its capabilities. To narrow down, useafrotools.search_specs({ category: "identity", country_code: "<ISO alpha-2, uppercase>" })(orprovider) — keep a filter on: a whole-category search can be too large to read. Never assume a provider has (or lacks) a spec from memory or from a previous session — the registry grows independently of this skill.Capability names are each provider's own: pick them from the provider's
capabilitieslist, never guess one. Aget_spec"not found" means the name is wrong, not that the provider is missing — check the list again before concluding anything.Coverage is per country and per ID type: check the provider's
country_codeand the spec's gotchas for which ID types each country supports before choosing a capability (an ID-number check may exist for one country while another only supports documents).Only if the provider is absent from
list_providers(), none of its capabilities covers what the user needs, or, with no provider named, none in the user's country does:- Call
afrotools.request_spec()so the maintainers are notified of the demand:{ provider: "<slug>", capability: "<capability>" }for a named provider; without one, what is needed and the country (ISO alpha-2), e.g.{ capability: "ussd", country_code: "SN" }. - If
loggedis true, tell the user: "The spec for {provider} isn't available yet — I've logged your request. You can track available specs with/afrotools:list." (without a provider: "no provider in the registry covers {need} in {country} yet"). Ifloggedis false because the spec exists, fetch it (step 2) instead of stopping. If the call fails, say the request was not recorded. - Stop — don't attempt to implement without a spec.
Exception: a provider the user explicitly chose outside the registry (afro.tools Studio's "outside the registry" choice, recorded in
.afrotools/studio.md) is implemented from its own documentation, read now, with a warning that it has no afro.tools spec (no recorded gotchas, no tested status). Norequest_specfrom this skill (Studio already offered it).- Call
Call the MCP tool to fetch the spec:
afrotools.get_spec({ provider: "<slug>", capability: "<capability>" })Identity checks are usually asynchronous: if the capability returns a job id instead of a verdict, also fetch the provider's result webhook spec (and its token / auth spec if the provider exchanges a key for a short-lived token) before writing code.
Read the spec carefully before writing code:
auth— how to authenticate. When present,auth.credentialslists every secret to ask the user for (as env vars),auth.signinghow to compute{signature},auth.token_exchangehow to get{access_token}, andauth.applywhat each request sends — follow them exactly; older specs describe these steps ingotchasendpoint— method and URL.environments(when present) gives each environment's base URL; one that is missing is not documented — ask the user for it, never guesswebhook.signature(webhook capabilities) — how to verify the provider's signature before trusting the payloadinput_schema— required and optional fields (consent is often mandatory)response_schema— what a success response looks likeerror_schema— how errors are returnedgotchas— always surface these to the userstatus/verification—readymeans written from the provider's docs, not yet tested against the API; averifiedspec says where it was tested (verification.environment:sandboxorproduction). Tell the user which.open_questions— if present, what the docs do not answer: tell the user before relying on it
Implement using the
canonical_example.tspattern:- Native fetch only — no axios, no node-fetch
- Credentials from
process.env, server-side only — never ship an API key to the browser - Decide the user's verification status from the provider's verified result (webhook or server-side call), never from a browser callback or a redirect parameter
Before going live
When the integration is wired, offer /afrotools:check once, in one sentence: a cheap check that the keys stay out of the code and the browser, and that this provider's gotchas are handled, against its spec.
When .afrotools/studio.md exists, do not offer it: afro.tools Stu
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл identity?
Use this skill whenever the user wants to integrate, implement, or test an identity verification (KYC) API from an African provider — ID number checks, ID document verification with a selfie, AML / sanctions / PEP screening, or hosted verification links — including Smile ID or any provider in the Afro.tools registry. Activate even if the user only says "add KYC", "verify the user's ID card" or "onboard users with an identity check" — always fetch the exact spec before writing any code. If the user is creating a new app or service from an idea, use the `studio` skill instead.
Как установить скилл identity?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл identity запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…