Command Palette

Search for a command to run...

Back to skills
skill № 38009

language

Use this skill whenever the user wants to integrate, implement, or test a speech or language API for African languages — speech-to-text / transcription of…

FreeNo executable scripts
afrotoolsby afrotools★ 32 GitHub stars

Install language in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

Afro.tools — Language 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

  1. 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:

      1. 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" }.
      2. If 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.
      3. 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). No request_spec from this skill (Studio already offered it).

  2. 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.

  3. 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 gotchas
    • endpoint — 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 guess
    • webhook.signature (webhook capabilities) — how to verify the provider's signature before trusting the payload
    • input_schema — required and optional fields, and whether the body is multipart/form-data or JSON
    • response_schema — what a success response looks like
    • error_schema — how errors are returned
    • gotchas — always surface these to the user
    • status / 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 it
  4. Implement using the canonical_example.ts pattern:

    • Native fetch only — no axios, no node-fetch
    • Credentials from process.env, server-side only — never ship an API key to the browser
    • For text-to-speech, pick the voice (language, accent, gender) from the combinations the spec lists — an accent outside its language is rejected
    • For a multipart upload, use FormData and let fetch set the boundary — don't set Content-Type by hand

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

Full SKILL.md on GitHub

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the language skill do?

Use this skill whenever the user wants to integrate, implement, or test a speech or language API for African languages — speech-to-text / transcription of Wolof, Swahili, Hausa, Yoruba, Pulaar, Amharic and other African languages or accents, post-processing of transcripts, or text-to-speech (voices in African languages or accents) — including Intron or any provider in the Afro.tools registry. Activate even if the user only says "transcribe these voice notes", "add speech recognition in Swahili", "summarize recorded calls" or "read this message aloud in Wolof" — 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.

How do I install the language skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the language skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare language with