Phone Number Formatter
This tool formats phone numbers into a standard format, ensuring consistency and reducing errors when entering or storing contact details.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add phone-number-formatter npx -- -y @trustedskills/phone-number-formatter
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"phone-number-formatter": {
"command": "npx",
"args": [
"-y",
"@trustedskills/phone-number-formatter"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill standardizes phone number inputs by removing special characters, spaces, and formatting inconsistencies. It ensures data consistency across different systems by converting raw user input into a clean, uniform format.
When to use it
- Cleaning up contact lists imported from unstructured sources like CSV files or web scrapes.
- Preparing phone numbers for database storage to prevent validation errors in downstream applications.
- Standardizing user-submitted data in forms before sending it to an API endpoint.
- Removing non-numeric noise from voice-to-text transcripts containing contact information.
Key capabilities
- Strips all non-digit characters, including parentheses, hyphens, and plus signs.
- Eliminates whitespace and special formatting symbols.
- Converts diverse input styles into a single, consistent numeric string.
Example prompts
- "Format this list of phone numbers by removing all spaces and special characters: +1 (555) 123-4567, 555-987-6543."
- "Clean up these contact entries for my CRM database: 'John - 555.123.4567', 'Jane (555) 987-6543'."
- "Convert the following raw phone data into a standardized numeric format: +44 20 7946 0958, 1-800-FLOWERS."
Tips & gotchas
Ensure your downstream system can handle plain numeric strings if you strip international country codes (e.g., +1) along with formatting symbols. If preserving the country code is necessary for global dialing, configure the skill to retain digits while only removing separators like spaces and dashes.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.