africa-ussd-development
Skill2 starsChanged 8 months agoMITView on GitHub
Build USSD applications for African markets — menu design, session management, multi-operator integration, and user experience patterns for feature phones.
In this repository33 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- africa-mobile-moneySkill
- eu-ai-act-complianceSkill
- eu-ai-act-content-disclosureSkill
- eu-dora-complianceSkill
- eu-nis2-complianceSkill
- eu-regulatory-routerSkill
- gdpr-data-protectionSkill
- fr-open-data-explorerSkill
- devsecops-supply-chainSkill
- contract-analysisSkill
- invoice-processingSkill
- agent-eval-frameworkSkill
- tech-debt-detectorSkill
- skill-lifecycle-managementSkill
- context-engineeringSkill
- find-skillsSkill
- fr-comptabiliteSkill
- fr-droit-immobilierSkill
- fr-facturation-electroniqueSkill
- fr-fec-generatorSkill
- fr-fiscalite-investissementSkill
- fr-fiscalite-particulierSkill
- fr-notariatSkill
- fr-recherche-emploiSkill
- offline-first-developmentSkill
- pii-detectionSkill
- api-resilience-patternsSkill
- skill-quality-linterSkill
- skill-security-auditSkill
- data-sovereignty-patternsSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 8 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 138
Test with actual phones (emulators miss operator quirks)
- Distinctive: line 139
Test session timeout handling
- Distinctive: line 140
Test on slow networks (USSD can lag 3-5s per round trip)
- Distinctive: line 141
Test with different operators in target market
- Distinctive: line 145
Does not provide USSD shortcodes (apply through operator)
- Distinctive: line 146
Does not handle SMS (different protocol)
- Distinctive: line 147
Does not manage telecom operator relationships
- Distinctive: line 148
Does not cover IVR (voice-based menus)
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Africa USSD Development
DISCLAIMER: USSD regulations vary by country and operator. Verify with local telecom authorities.
When to Use
- Building apps for feature phone users (no internet required)
- Creating mobile money menus or services
- Designing interactive text-based interfaces
- Integrating with African telecom operators
USSD Fundamentals
USSD (Unstructured Supplementary Service Data) = real-time text session between phone and server. No internet needed. Works on ANY phone (feature phone or smartphone).
Key Constraints
| Constraint | Limit |
| Message length | 182 characters max per screen |
| Session timeout | 120-180 seconds (operator-dependent) |
| Input | Numeric only (0-9, *, #) |
| Navigation | No back button (must design "0 for back") |
| Connectivity | Real-time (not store-and-forward like SMS) |
Menu Design Patterns
Basic Menu
Welcome to MyService
1. Check balance
2. Send money
3. Buy airtime
4. My account
0. ExitPagination (Long Lists)
Select product (1/3):
1. Rice 5kg - 2500 CFA
2. Sugar 1kg - 800 CFA
3. Oil 1L - 1200 CFA
98. Next page
0. BackConfirmation Pattern
Send 5000 CFA to Amadou (77X XX XX)?
1. Confirm
2. CancelInput Collection
Enter amount (CFA):Then validate: numeric, min/max, divisible by denomination.
Session Architecture
Phone → *123# → Operator → Your Server (HTTP POST)
↓
Process + respond
↓
Response text (182 chars max)
↓
Phone displaysServer Response Format
Most operators expect:
CONprefix = continue session (expect more input)ENDprefix = close session
CON Welcome\n1. Balance\n2. TransferEND Your balance is 15,000 CFA. Thank you.Multi-Operator Integration
| Provider | Coverage | API |
| Africa's Talking | 20+ countries | REST, webhooks |
| Twilio | Limited Africa | REST |
| Infobip | 15+ countries | REST |
| Direct operator | Per country | SMPP/HTTP varies |
Africa's Talking (Recommended for Multi-Country)
POST callback URL receives:
- sessionId: unique per session
- phoneNumber: caller MSISDN
- text: accumulated input (separated by *)
- serviceCode: your USSD shortcodeUX Best Practices
- Max 3 levels deep — users lose context after 3 menus
- Always offer exit — "0. Exit" on every screen
- Confirm destructive actions — money transfers, cancellations
- Short messages — 182 chars including options
- Numeric shortcuts — power users dial full path:
*123*1*2# - Language selection first — if multilingual market
- Error messages clear — "Invalid choice. Try again:" not "Error 422"
- Session state on server — phone has no state
Testing
- Test with actual phones (emulators miss operator quirks)
- Test session timeout handling
- Test on slow networks (USSD can lag 3-5s per round trip)
- Test with different operators in target market
What This Skill Does NOT Do
- Does not provide USSD shortcodes (apply through operator)
- Does not handle SMS (different protocol)
- Does not manage telecom operator relationships
- Does not cover IVR (voice-based menus)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

