Test a Twilio Consent Gate in Codex with Synthetic Events
Review message-time permission and suppression behavior in a local simulator before using an approved sender.
中文Setup for Codex (Twilio Developer Kit)
Use Codex in a scratch workspace and keep the exercise on fictional data. For a live sandbox, confirm the latest provider requirements and the permissions for the selected Twilio product.
- Open /plugins in Codex and install Twilio Developer Kit. The pinned source below includes the official Codex setup instructions.
- Invoke $twilio-compliance-traffic in a practice project and supply the local fixture below. Keep companion skills and references in the plugin.
Example task
Use $twilio-compliance-traffic with a toy queue and one recipient. Feed opt-in for demos, opt-out, then a queued promotional message. Ask for the final decision and a short evidence log without sending a request.Expected result
The simulated queue suppresses the promotional message and records the withdrawal. The plan flags regional and channel rules to verify with current official guidance.
Upstream documentation
Original SKILL.md on GitHub · MIT license · Source reviewed
Frequently asked question
Which checks belong at send time?
Recheck the relevant purpose and consent state, suppress withdrawn consent, and confirm applicable timing and channel controls for the proposed traffic.