Skip to main content

Locate and read local code-agent thread files

Project description

xURL

xURL is a client for AI agent URLs.

Also known as Xuanwo's URL.

What xURL Can Do

  • Read an agent conversation as markdown.
  • Query recent threads and keyword matches for a provider.
  • Discover subagent/branch navigation targets.
  • Start a new conversation with agents.
  • Continue an existing conversation with follow-up prompts.

Quick Start

  1. Add xurl as an agent skill:
npx skills add Xuanwo/xurl
  1. Start your agent and ask the agent to summarize a thread:
Please summarize this thread: agents://codex/xxx_thread

Providers

Provider Query Create
Amp logo Amp Yes Yes
Codex logo Codex Yes Yes
Claude logo Claude Yes Yes
Gemini logo Gemini Yes Yes
Pi logo Pi Yes Yes
OpenCode logo OpenCode Yes Yes

Usage

Read an agent conversation:

xurl agents://codex/019c871c-b1f9-7f60-9c4f-87ed09f13592

Query provider threads:

xurl agents://codex
xurl 'agents://codex?q=spawn_agent'
xurl 'agents://claude?q=agent&limit=5'

Discover child targets:

xurl -I agents://codex/019c871c-b1f9-7f60-9c4f-87ed09f13592

Drill down into a discovered child target:

xurl agents://codex/019c871c-b1f9-7f60-9c4f-87ed09f13592/019c87fb-38b9-7843-92b1-832f02598495

Start a new agent conversation:

xurl agents://codex -d "Draft a migration plan"

Continue an existing conversation:

xurl agents://codex/019c871c-b1f9-7f60-9c4f-87ed09f13592 -d "Continue"

Create with query parameters:

xurl "agents://codex?workdir=%2FUsers%2Falice%2Frepo&add_dir=%2FUsers%2Falice%2Fshared&model=gpt-5" -d "Review this patch"

Save output:

xurl -o /tmp/conversation.md agents://codex/019c871c-b1f9-7f60-9c4f-87ed09f13592

Command Reference

xurl [OPTIONS] <URI>
  • -I, --head: output frontmatter/discovery info only.
  • -d, --data <DATA>: write payload (repeatable).
    • text: -d "hello"
    • file: -d @prompt.txt
    • stdin: -d @-
  • -o, --output <PATH>: write command output to file.

URI Reference

agents://<provider>[/<conversation_id>[/<child_id>]][?<query>]
|------|  |--------|  |---------------------------|  |------|
 scheme    provider         optional path parts        query
  • scheme: fixed as agents.
  • provider: target provider name, such as codex, claude, gemini, amp, pi, opencode.
  • conversation_id: main conversation identifier.
  • child_id: child/subagent identifier under a main conversation.
  • query: optional key-value parameters, interpreted by context.

Query

  • q=<keyword>: filters discovery results by keyword. Use when you want to find conversations by topic.
  • limit=<n>: limits discovery result count (default 10). Use when you need a shorter or longer result list.
  • workdir=<dir>: sets the initial working directory for create mode. Use when a new conversation should run in a specific project root.
  • add_dir=<dir>: adds additional directories for create mode (repeatable). Use when a new conversation needs access to multiple directories.
  • <key>=<value>: passes a custom provider option in create mode. Use when you need provider-specific behavior not covered by standard keys.

Examples:

agents://codex?q=spawn_agent&limit=10
agents://codex/threads/<conversation_id>
agents://codex?workdir=%2FUsers%2Falice%2Frepo

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xuanwo_xurl-0.0.0.dev0.tar.gz (148.0 kB view details)

Uploaded Source

File details

Details for the file xuanwo_xurl-0.0.0.dev0.tar.gz.

File metadata

  • Download URL: xuanwo_xurl-0.0.0.dev0.tar.gz
  • Upload date:
  • Size: 148.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for xuanwo_xurl-0.0.0.dev0.tar.gz
Algorithm Hash digest
SHA256 6b922bcef74adcda29d8f22fb9766b7536b7ffeb49a28c66eeba9a48d087e578
MD5 ea79e400025b4c1bd16b14b6949f3b41
BLAKE2b-256 c2cb64c8d80fc54b0cf88fa5ecd0a84d64ccc469524fdc44c13b2e53d5bed20e

See more details on using hashes here.

Provenance

The following attestation bundles were made for xuanwo_xurl-0.0.0.dev0.tar.gz:

Publisher: pypi-publish.yml on Xuanwo/xurl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page