jcrabapple/hermes-skills/avoid-path-confusion
Claude Code and agent skill by jcrabapple/hermes-skills
- community
Checking that the SKILL.md file is still in the repository.
Never confuse API endpoint paths with filesystem paths when using the patch tool. Always use full filesystem paths for file operations.
Install
npx vskill@latest install jcrabapple/hermes-skills/avoid-path-confusionSKILL.md
The same SKILL.md was published earlier as jcrabapple/hermes-skills/avoid-path-confusion.
Don't Confuse API Paths with File Paths
The Mistake
The patch tool operates on the filesystem. It expects file paths like:
~Documents/Obsidian Vault/Hawaii/Packing List.md~/.hermes/skills/automation/weekly-blog/data/topics.txt
It does NOT accept API endpoints like:
/api/v1/request/api/v1/search
Why This Happens
API endpoint knowledge (like Overseerr's /api/v1/request) can bleed into tool call generation when the context is fresh. The model sees "api/v1/request" in recent context and mistakenly substitutes it as a file path.
Prevention
- Always verify the path is a filesystem path before calling
patch - Check the Obsidian skill for vault paths when editing notes
- If a patch fails with "old_string and new_string required" on a non-existent path, stop and check the path
- Use the `read_file` skill to get the exact file path before editing
Obsidian Vault Path
- Full path:
~/Documents/Obsidian Vault/or~Documents/Obsidian Vault/ - Use
patch(path=...)with this path, NOT/api/v1/requestor any other API endpoint
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdevops/avoid-path-confusion/SKILL.md
Popularity
- Repository stars
- 11
- Repository forks
- 2
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. 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/jcrabapple/hermes-skills/avoid-path-confusion)