pi-xurl

Cross-agent thread reader — resolve agents:// URIs for Amp, Codex, Claude, Gemini, Pi, OpenCode

Package details

extension

Install pi-xurl from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-xurl
Package
pi-xurl
Version
0.1.0
Published
Feb 24, 2026
Downloads
21/mo · 7/wk
Author
emiller88
License
MIT
Types
extension
Size
5.9 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-xurl

Cross-agent thread reader. Resolve agents:// URIs for Amp, Codex, Claude, Gemini, Pi, and OpenCode.

Install

pi install npm:pi-xurl

Requires @xuanwo/xurl (invoked via npx).

Tool: xurl

Resolve and read AI agent thread content by URI.

agents://codex/019c871c-b1f9-7f60-9c4f-87ed09f13592
agents://claude/2823d1df-720a-4c31-ac55-ae8ba726721f
pi://12cb4c19-2774-4de4-a0d0-9fa32fbae29f

Parameters:

  • uri (required) — thread URI
  • raw — output raw JSON instead of markdown
  • list — list subagents/entries for discovery

Command: /xurl

/xurl <uri> [--raw] [--list]

Shows short output inline, suggests tool for longer results.