Use Twilio Lookup Guidance in Codex for Input Validation
Design a test for basic number validation and error handling with fictional strings and mocked Lookup responses.
中文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-lookup-phone-intelligence in a practice project and supply the local fixture below. Keep companion skills and references in the plugin.
Example task
Ask $twilio-lookup-phone-intelligence to model the input check for a sandbox signup. Use two stub responses, one valid with normalized value 'demo-number' and one invalid. Have Codex explain placement before sending anything.Expected result
The application accepts the valid fixture into the next signup step and displays an input correction for the invalid fixture. Caller identity stays out of the result.
Upstream documentation
Original SKILL.md on GitHub · MIT license · Source reviewed
Frequently asked question
Does a valid format prove the user owns a number?
Basic validation checks the number information supplied by the service. A separate verification flow is needed if you must establish control of that number.