Command Palette

Search for a command to run...

Назад к скиллам
скилл № 11408

communications

Use this skill whenever the user wants to send SMS, OTPs, verification codes, bulk notifications, WhatsApp messages, USSD menus, voice calls (voix), or…

БесплатноБез исполняемых скриптов
afrotoolsот afrotools★ 32 звезды на GitHub

Установить communications в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Afro.tools — Communications 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 channel (sms, whatsapp, ussd, voice, email) 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: "communications", 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.

    • If the user needs a specific channel, filter on it: afrotools.search_specs({ category: "communications", channel: "whatsapp" }). A provider's channels lists what it offers, not which capabilities have a spec — still confirm the capability itself is returned before implementing.

    • 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>" })
    
  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
    • 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

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 a stranger cannot make the app send many messages (a limit per number and per hour), against this provider's spec. When .afrotools/studio.md exists, do not offer it: afro.tools Studio runs it before going live.

After the integration

Reports are how specs get verified and fixed. The user usually tests later, so do not wait for them to say it worked:

  • The spec is not 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
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл communications?

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

Как установить скилл communications?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл communications запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить communications с