Skip to content
Development
Command

/convert_paths_absolute

Converts relative paths in .claude/settings.json command scripts to absolute paths

From plugin
nano-agent
20412 skills10 agents12 commands

Command definition

convert_paths_absolute.md
allowed-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
@disler
Ships withnano-agent

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?

Stars on GitHub

Momentum

stars in total
204
Star history of disler/nano-agent on GitHub, a chart by star-history.com

Other commands on nano-agent.

hop_evaluate_nano_agents

hop_evaluate_nano_agen…

Command

Using the nano-agent mcp server, execute the following nano agents with their respective prompts, models, and providers then rank…

@disler@dislerInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command