[Feature Request] Auto-expand relative paths to absolute for terminal clickability
Bug Description
Feature Request: Auto-expand relative paths to absolute for terminal clickability
Summary
When Claude outputs file paths in responses, relative paths (e.g.,
docs/rfcs/001-variant-metafields.md) are not clickable in the terminal, while absolute paths
are. Claude should automatically output absolute paths to improve UX.
Current Behavior
Created RFC at docs/rfcs/001-variant-metafields.md
→ Not clickable in terminal
Expected Behavior
Created RFC at
/Users/kromann/dev/taxon-agents/taxon-barefoot-aps/docs/rfcs/001-variant-metafields.md
→ Clickable, opens in IDE
Why This Matters
- Modern terminals (iTerm2, Wezterm, Ghostty, VS Code integrated terminal) support clickable
file paths
- Cursor and VS Code terminals make absolute paths clickable, allowing quick navigation
- Claude knows the working directory, so expanding paths is trivial
- Reduces friction when Claude references files in output
Suggested Implementation
- When outputting a file path that exists, expand to absolute path
- Alternatively, use file:// URI format
- Could be a setting: "Output absolute paths" (default: on)
Workaround
User can ask Claude to use absolute paths, but this shouldn't require explicit instruction.
Environment Info
- Platform: darwin
- Terminal: ghostty
- Version: 2.1.31
- Feedback ID: 0f369317-5a63-4924-9d98-fcf11ca2e1a1
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗