ucsb-nlp-chang/federatedskill/tool-name-hygiene
Claude Code and agent skill by ucsb-nlp-chang/federatedskill
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Prevent and detect whitespace-prefixed tool names that cause silent failures. Use when calling tools programmatically, generating tool calls from templates, or debugging 'No such tool available' errors that mention tools with leading spaces.
Install
npx vskill@latest install ucsb-nlp-chang/federatedskill/tool-name-hygieneSKILL.md
Tool Name Hygiene
Core Rule
Tool names must never have leading or trailing whitespace. ' Write' fails; 'Write' succeeds.
Failure Signatures
Pre-Call Checklist
Before executing any tool call:
- Check tool name for leading/trailing spaces
- Verify against known valid names: Write, Read, Bash, Glob, Edit, Grep
- Never interpolate tool names from user input without
.strip()
Detection
If No such tool available error appears:
- Immediately inspect the reported tool name for whitespace
- Check string literals in the failing call
- Look for copy-paste issues that introduced extra spaces
Anti-Patterns
- Do NOT assume tool names are validated by the environment
- Do NOT use f-strings for tool names without
.strip() - Do NOT ignore errors mentioning tools with wrong spacing
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpaper_logs/3_fed_hetero_cc/kimi-k2.5/DMAIC-Quality-Analysis/round_007/.snapshots/u2/tool-name-hygiene/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ucsb-nlp-chang/federatedskill/tool-name-hygiene)