/afrotools:diagnosefrom afrotools
Generates a cleaned bug report and prefilled GitHub issue link when afro.tools Studio or an afrotools skill malfunctions. Manual invocation only.
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, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Turns "Studio did something wrong" into a report the maintainers can act on, without a support call. Speak to the user in their language; the report itself is written in English.
Summarise the session in four fields:
title: one line naming the problem.what_happened: what the user expected, what Studio or the skill did instead, any error message.steps: what was asked or run, in order, one per line.agent: the agent in use (e.g. claude-code). plugin_version: the version in this plugin's
.claude-plugin/plugin.json.Leave out code, file contents and anything about the user's customers. Never include API keys, tokens, phone numbers or e-mail addresses, even partially.
Build the link: pass the report as JSON on stdin to the script, which masks e-mails, phone
numbers, bearer tokens, secret-named values and long tokens, and keeps the URL under GitHub's limit.
Its source is scripts/issue-url.md (a fenced code block, not a runnable file:
the directory only accepts scripts from a Verified organization, which this plugin isn't yet). Write
that block, unchanged, to .afrotools/tools/issue-url.mjs in the project (create .afrotools/tools/
first if missing; overwrite the file if it already exists, so an older copy never runs), then:
node .afrotools/tools/issue-url.mjs <<'EOF'
<report as JSON>
EOF
It prints the cleaned title, what_happened and steps, then the link.
Show the user the cleaned text exactly as the script printed it (not your own summary) and the link. Tell them to read it, remove anything private the masking missed, tick the privacy box and submit it themselves.
Never say the report was sent. Only the user submits it; you have no way to know whether they did.
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.
/debugOther plugins' skills for the same job