/convert_paths_absolute
Converts relative paths in .claude/settings.json command scripts to absolute paths
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/convert_paths_absolute
Context preview
What this command does when you run it.
Converts relative paths in .claude/settings.json command scripts to absolute paths
Command definition
convert_paths_absolute.mdallowed-tools: Read,Bash,Edit,Write description: Converts relative paths in .claude/settings.json command scripts to absolute paths
convert_paths_absolute
This command converts all relative paths in .claude/settings.json command scripts to absolute paths using the current working directory. It helps ensure that command scripts work correctly regardless of where they are executed from.
Instructions
- Get the current working directory using pwd
- Read the .claude/settings.json file
- Parse the JSON content to find all command scripts
- Identify relative paths in the command scripts (paths that don't start with / or ~)
- Convert each relative path to an absolute path by prepending the current working directory
- Update the settings.json file with the converted absolute paths
- Show the user what changes were made
- Handle cases where paths might be arguments to commands (e.g., python relative/path/script.py)
- Preserve the existing JSON formatting and structure
- Create a backup of the original settings.json before making changes
Watched how we used GPT-5 and Claude Code with nano-agents here. What? A MCP Server for experimental, small scale engineering agents with multi-provider LLM support. Why?
Other commands on nano-agent.
- /build
Implement a task directly without creating a plan first.
Open command - /convert_paths_relative
Converts absolute paths in .claude/settings.json command scripts to relative paths
Open command - /create_worktree
Create a new git worktree for an agent to work in isolation.
Open command - /hop_evaluate_nano_agents
Using the nano-agent mcp server, execute the following nano agents with their respective prompts, models, and providers then rank the results based on the `Response Format`.
Open command - /lop_eval_1__dummy_test
- Pass the prompt into each nano-agent AS IS. Do not change the prompt in any way.
Open command - /lop_eval_2__basic_read_test
- Pass the prompt into each nano-agent AS IS. Do not change the prompt in any way. - Each agent should execute the task independently.
Open command

