path-links

path-links is a Claude Code mod by johnlewczuk that turn file paths in Claude's replies into file:// links that ctrl+click opens with xdg-open.

Updated 2026-10-08

What is path-links?

path-links is a Claude Code mod by johnlewczuk that turn file paths in Claude's replies into file:// links that ctrl+click opens with xdg-open. It is listed under Interface and has no public popularity data yet.

TypeClaude code mod
Authorjohnlewczuk
Repositoryjohnlewczuk/claude-mods
Popularityno public popularity data yet
CategoryInterface
SecurityLow risk (80/100)
Rank#3,602 of 5,272 Claude Code mods; #1,502 in Interface
Last commit2026-10-08
Hooks1 events
Seesonly the events it hooks
Draws onAssistantMessage

Is path-links safe to install?

path-links scores 80/100 on the MCPMods security check: Low risk. Things to review: reads environment variables. It passed 5 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Validator reported problemsNote
No license detectedNote

API calls in its code

CallWhat it means
$.env.getreads env vars
$.fs.existsreads files
$.session.cwd

How do I install path-links?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/johnlewczuk/claude-mods
    claude plugin validate ./claude-mods/path-links
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add johnlewczuk/claude-mods && claude plugin install path-links@claude-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs path-links for you:

Install the "path-links" Claude Code mod from https://github.com/johnlewczuk/claude-mods/tree/main/path-links. Run claude plugin validate on it first and show me what it can access before you enable it.