/afrotools:languagefrom afrotools
Integrates speech-to-text, transcription, and text-to-speech APIs for African languages (Wolof, Swahili, Hausa, Yoruba, etc.) using the Afro.tools registry. Fetches provider specs before writing implementation code.
Ships in afrotools. 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.
When this skill activates, use the afrotools MCP server to retrieve the spec
for the target provider and capability before writing any implementation code.
Identify the provider slug, the language 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, use
afrotools.search_specs({ category: "language", country_code: "<ISO alpha-2, uppercase>" })
(or provider) — 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 capabilities
list, never guess one. A get_spec "not found" means the name is wrong, not that the
provider is missing — check the list again before concluding anything.
Coverage is per language, not per country: check the spec's input schema (language code enum) and gotchas for the exact code to send — a language may only be supported as a code-switched model (e.g. mixed with English).
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:
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" }.logged is 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"). If logged is
false because the spec exists, fetch it (step 2) instead of stopping. If the call fails,
say the request was not recorded.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). No request_spec from this skill (Studio already offered it).
Call the MCP tool to fetch the spec:
afrotools.get_spec({ provider: "<slug>", capability: "<capability>" })
If the capability returns a job, file or text id instead of a result, also fetch the provider's status spec before writing code, and check the gotchas for duration or character limits.
Read the spec carefully before writing code:
auth — how to authenticate. When present, auth.credentials lists every secret to ask
the user for (as env vars), auth.signing how to compute {signature},
auth.token_exchange how to get {access_token}, and auth.apply what each request
sends — follow them exactly; older specs describe these steps in gotchasendpoint — 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, and whether the body is multipart/form-data or JSONresponse_schema — what a success response looks likeerror_schema — how errors are returnedgotchas — always surface these to the userstatus / verification — ready means written from the provider's docs, not yet
tested against the API; a verified spec says where it was tested
(verification.environment: sandbox or production). Tell the user which.open_questions — if present, what the docs do not answer: tell the user before relying on itImplement using the canonical_example.ts pattern:
process.env, server-side only — never ship an API key to the browserFormData and let fetch set the boundary — don't set
Content-Type by handWhen 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 Studio runs it before going live.
Reports are how specs get verified and fixed. The user usually tests later, so do not wait for them to say it worked:
verified — when you finish the integration, tell the user once that this
spec has never been tested against the provider's API, and that when they have tested it
(sandbox or production) you can prepare a report: a working report makes it verified,
credited to them.verified — offer a report only if something failed.When they come back with a result:
afrotools.report_integration({ provider: "<slug>", capabilities: [{ capability: "<capability>", result: "worked" }, …], summary: "<one line>", details: "<what was called, what came back, what differed>", tested_on: "<YYYY-MM-DD>" })
List every capability the flow used (e.g. payment init, status, webhook), each with its own result —
one report per provider. Paste the whole returned link in your reply, even a long one: the user does
not see tool results, and a shortened link loses the text it carries. Tell them what to pick in the
two lists it cannot fill: the environment (production when the provider's sandbox is false,
even on a trial account) and the outcome, each quoted as the form shows it, in English (add a
translation if the user speaks another language). They check the text and submit it themselves.
Never put API keys, tokens, phone numbers or personal data in details. Write only what this test
showed, nothing taken from the rest of the project (a country, a name). Call something a difference
from the spec only when the spec says otherwise; what the spec does not say (a status code, a field
it does not list) is an observation: write it as one, so nobody "fixes" a spec that was right.
Never skip the gotchas. They represent real integration failures. Recordings and transcripts are personal data: don't log them.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub afrotools/afrotools --plugin afrotools13 skills in this plugin
/checkPre-production check of an app that uses African payment or messaging APIs: looks for keys in the code or sent to the browser (a free script, no AI), then checks that payments are confirmed server-side with the amount compared, that nothing is paid or delivered twice, and that webhooks are verified, against the Afro.tools specs of the providers used. Invoke with: /afrotools:check. Afro.tools Studio runs it before going live. Manual invocation only.
/communicationsUse this skill whenever the user wants to send SMS, OTPs, verification codes, bulk notifications, WhatsApp messages, USSD menus, voice calls (voix), or transactional email via an African communications provider — including NimbaSMS, Africa's Talking, or any provider in the Afro.tools registry. Activate even for "send a verification code", "add SMS notifications" or "build a USSD menu", not just explicit mentions of a provider name. If the user is creating a new app or service from an idea, use the `studio` skill instead.
/debugUse this skill ONLY when the user has a failing integration that is specifically based on an Afro.tools spec — the user is integrating a provider whose spec exists in the Afro.tools registry (Paycard, LengoPay, Djomy, Wave, NimbaSMS, etc.) and encounters wrong status codes, auth errors, webhook failures, unexpected response fields, or runtime errors. Do NOT activate for generic debugging, non-afrotools providers, or integrations not based on an Afro.tools spec. This skill diagnoses whether the problem is a spec error, a missing gotcha, or an undocumented API change.
/diagnoseUse when afro.tools Studio or an afrotools skill did not work as expected: prepares a cleaned bug report and a link to a prefilled GitHub issue that the user reviews and submits themselves. Invoke with: /afrotools:diagnose. Manual invocation only.
/identityUse 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.
/listList all available specs in the Afro.tools registry, optionally filtered by category or provider. Manual invocation only.
Other plugins' skills for the same job