jcrabapple/hermes-skills/avoid-path-confusion

Claude Code and agent skill by jcrabapple/hermes-skills

Trust tier 2
  • community
LLM review pending
Source check pending

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-confusion

SKILL.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

  1. Always verify the path is a filesystem path before calling patch
  2. Check the Obsidian skill for vault paths when editing notes
  3. If a patch fails with "old_string and new_string required" on a non-existent path, stop and check the path
  4. 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/request or 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/jcrabapple/hermes-skills/avoid-path-confusion/badge)](https://verified-skill.com/skills/jcrabapple/hermes-skills/avoid-path-confusion)

Something wrong with this skill or its page? Tell us.