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.
- Query conversations by local path across providers.
- Query role-scoped threads with
agents://<provider>/<role>. - Discover subagent/branch navigation targets.
- Start a new conversation with agents.
- Continue an existing conversation with follow-up prompts.
Quick Start
- Add
xurlas an agent skill:
npx skills add Xuanwo/xurl
- Start your agent and ask the agent to summarize a thread:
Please summarize this thread: agents://codex/xxx_thread
Providers
| Provider | Query | Create | Role Create |
|---|---|---|---|
| Yes | Yes | No | |
| Yes | Yes | Yes | |
| Yes | Yes | Yes | |
| Yes | Yes | No | |
| Yes | Yes | No | |
| Yes | Yes | Yes |
Usage
Read an agent conversation:
xurl agents://codex/019c871c-b1f9-7f60-9c4f-87ed09f13592
# equivalent shorthand:
xurl 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'
# equivalent shorthand:
xurl codex
xurl 'codex?q=spawn_agent'
Query conversations by path:
xurl agents:///Users/alice/work/xurl
xurl 'agents:///Users/alice/work/xurl?q=refactor&limit=5'
xurl 'agents://.?q=refactor&providers=codex,claude'
xurl 'agents://~/work/xurl?providers=opencode'
Query role-scoped threads:
xurl agents://codex/reviewer
# equivalent shorthand:
xurl codex/reviewer
Query results include the same reduced thread metadata used by --head when it is available, so you can inspect fields like payload.git.branch without opening each thread individually.
Discover child targets:
xurl -I agents://codex/019c871c-b1f9-7f60-9c4f-87ed09f13592
Frontmatter includes the first provider metadata record flattened into readable key-value lines such as payload.git.branch = ..., and skips oversized instruction-like fields.
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"
# equivalent shorthand:
xurl codex -d "Draft a migration plan"
Start a new conversation with role URI:
xurl agents://codex/reviewer -d "Review this patch"
Continue an existing conversation:
xurl agents://codex/019c871c-b1f9-7f60-9c4f-87ed09f13592 -d "Continue"
Create with query parameters:
xurl "agents://codex?cd=%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, including the first provider metadata record flattened into key-value lines when available.-d, --data <DATA>: write payload (repeatable).- text:
-d "hello" - file:
-d @prompt.txt - stdin:
-d @-
- text:
-o, --output <PATH>: write command output to file.
URI Reference
Agents URI
[agents://]<provider>[/<token>[/<child_id>]][?<query>]
|------| |--------| |---------------------------| |------|
optional provider optional path parts query
scheme
scheme: optionalagents://prefix. If omitted,xurltreats input as anagentsURI shorthand.provider: target provider name, such ascodex,claude,gemini,amp,pi,opencode.token: main conversation identifier or role name.child_id: child/subagent identifier under a main conversation.query: optional key-value parameters, interpreted by context.
Path-Scoped Query URI
agents:///abs/path[?<query>]
agents://.[?<query>]
agents://./subdir[?<query>]
agents://..[?<query>]
agents://../repo[?<query>]
agents://~[?<query>]
agents://~/repo[?<query>]
agents:///abs/path: canonical local path query form.agents://./agents://./subdir: query relative to the current working directory.agents://../agents://../repo: query relative to the parent of the current working directory.agents://~/agents://~/repo: query relative to the home directory.- path-scoped query always returns a conversation list.
Agents Query
q=<keyword>: filters discovery results by keyword. Use when you want to find conversations by topic.limit=<n>: limits discovery result count (default10). Use when you need a shorter or longer result list.providers=<name[,name...]>: restricts a path-scoped query to selected providers.<key>=<value>: in write mode (-d),xurlforwards as--<key> <value>to the provider CLI.<flag>: in write mode (-d),xurlforwards as--<flag>to the provider CLI.
Examples:
agents://codex?q=spawn_agent&limit=10
agents:///Users/alice/work/xurl?q=refactor&providers=codex,claude
agents://.?q=refactor&providers=codex
agents://codex/threads/<conversation_id>
agents://codex/reviewer
agents://codex?cd=%2FUsers%2Falice%2Frepo&add-dir=%2FUsers%2Falice%2Fshared
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xuanwo_xurl-0.0.24-py3-none-win_arm64.whl.
File metadata
- Download URL: xuanwo_xurl-0.0.24-py3-none-win_arm64.whl
- Upload date:
- Size: 2.3 MB
- Tags: Python 3, Windows ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1184bb1dfd6d390057932090be950716c3f0682a387c2439d3836e3a6b75149f
|
|
| MD5 |
020eb9d4ae50323453fd7e290913f351
|
|
| BLAKE2b-256 |
cfea9a6b7b91f7a7bd06ed469efc1bb40f4302327fb509561fb7c727e9b5ebf0
|
Provenance
The following attestation bundles were made for xuanwo_xurl-0.0.24-py3-none-win_arm64.whl:
Publisher:
pypi-publish.yml on Xuanwo/xurl
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xuanwo_xurl-0.0.24-py3-none-win_arm64.whl -
Subject digest:
1184bb1dfd6d390057932090be950716c3f0682a387c2439d3836e3a6b75149f - Sigstore transparency entry: 1154754966
- Sigstore integration time:
-
Permalink:
Xuanwo/xurl@86786f9c3e77c245a3aaa386ad98119a8f111654 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Xuanwo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@86786f9c3e77c245a3aaa386ad98119a8f111654 -
Trigger Event:
workflow_run
-
Statement type:
File details
Details for the file xuanwo_xurl-0.0.24-py3-none-win_amd64.whl.
File metadata
- Download URL: xuanwo_xurl-0.0.24-py3-none-win_amd64.whl
- Upload date:
- Size: 2.6 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39b4e3f8df646a9c87a45674cc29574e894d37432a0feb752240ef5a91c7f17b
|
|
| MD5 |
af9efff932320e731f0930e309410fd5
|
|
| BLAKE2b-256 |
3689a00aab35085f87439efdfe3e3593317ee937b9c0e3c01a84881067575103
|
Provenance
The following attestation bundles were made for xuanwo_xurl-0.0.24-py3-none-win_amd64.whl:
Publisher:
pypi-publish.yml on Xuanwo/xurl
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xuanwo_xurl-0.0.24-py3-none-win_amd64.whl -
Subject digest:
39b4e3f8df646a9c87a45674cc29574e894d37432a0feb752240ef5a91c7f17b - Sigstore transparency entry: 1154754970
- Sigstore integration time:
-
Permalink:
Xuanwo/xurl@86786f9c3e77c245a3aaa386ad98119a8f111654 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Xuanwo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@86786f9c3e77c245a3aaa386ad98119a8f111654 -
Trigger Event:
workflow_run
-
Statement type:
File details
Details for the file xuanwo_xurl-0.0.24-py3-none-manylinux2014_x86_64.whl.
File metadata
- Download URL: xuanwo_xurl-0.0.24-py3-none-manylinux2014_x86_64.whl
- Upload date:
- Size: 3.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfb27c0f498c2c6dff7ffc39a72b731e67d34de83836f420c80ac1ec39ca31dd
|
|
| MD5 |
4bb696bd74feff9dceb76456a385486e
|
|
| BLAKE2b-256 |
ecc7f7463574304141827762d34f4d7d01d0cbfb6a39b7073fad90fed520b135
|
Provenance
The following attestation bundles were made for xuanwo_xurl-0.0.24-py3-none-manylinux2014_x86_64.whl:
Publisher:
pypi-publish.yml on Xuanwo/xurl
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xuanwo_xurl-0.0.24-py3-none-manylinux2014_x86_64.whl -
Subject digest:
dfb27c0f498c2c6dff7ffc39a72b731e67d34de83836f420c80ac1ec39ca31dd - Sigstore transparency entry: 1154754975
- Sigstore integration time:
-
Permalink:
Xuanwo/xurl@86786f9c3e77c245a3aaa386ad98119a8f111654 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Xuanwo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@86786f9c3e77c245a3aaa386ad98119a8f111654 -
Trigger Event:
workflow_run
-
Statement type:
File details
Details for the file xuanwo_xurl-0.0.24-py3-none-manylinux2014_aarch64.whl.
File metadata
- Download URL: xuanwo_xurl-0.0.24-py3-none-manylinux2014_aarch64.whl
- Upload date:
- Size: 2.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e060d5741e58fc61bb2df5143b87aedf7bf6079c87733d050d5a244fcdb82e5c
|
|
| MD5 |
94e8d81df39544950fe3b2c3132c6a27
|
|
| BLAKE2b-256 |
f5eab46231a28917f36b829a479e704437018a11588440db5e1ea66cf85f263c
|
Provenance
The following attestation bundles were made for xuanwo_xurl-0.0.24-py3-none-manylinux2014_aarch64.whl:
Publisher:
pypi-publish.yml on Xuanwo/xurl
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xuanwo_xurl-0.0.24-py3-none-manylinux2014_aarch64.whl -
Subject digest:
e060d5741e58fc61bb2df5143b87aedf7bf6079c87733d050d5a244fcdb82e5c - Sigstore transparency entry: 1154754973
- Sigstore integration time:
-
Permalink:
Xuanwo/xurl@86786f9c3e77c245a3aaa386ad98119a8f111654 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Xuanwo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@86786f9c3e77c245a3aaa386ad98119a8f111654 -
Trigger Event:
workflow_run
-
Statement type:
File details
Details for the file xuanwo_xurl-0.0.24-py3-none-macosx_11_0_x86_64.whl.
File metadata
- Download URL: xuanwo_xurl-0.0.24-py3-none-macosx_11_0_x86_64.whl
- Upload date:
- Size: 2.8 MB
- Tags: Python 3, macOS 11.0+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
568dec0e0854a1f7e94f7b636242c0468cf8e0f21e0da1cf4bd61d11531c88ad
|
|
| MD5 |
d614d78e19aa432f5ab09ee5efef765d
|
|
| BLAKE2b-256 |
32c468d3f141ef40b6801da94d90c0467e19bb1a3c8fe076da6c7c5bdbb2b1ce
|
Provenance
The following attestation bundles were made for xuanwo_xurl-0.0.24-py3-none-macosx_11_0_x86_64.whl:
Publisher:
pypi-publish.yml on Xuanwo/xurl
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xuanwo_xurl-0.0.24-py3-none-macosx_11_0_x86_64.whl -
Subject digest:
568dec0e0854a1f7e94f7b636242c0468cf8e0f21e0da1cf4bd61d11531c88ad - Sigstore transparency entry: 1154754962
- Sigstore integration time:
-
Permalink:
Xuanwo/xurl@86786f9c3e77c245a3aaa386ad98119a8f111654 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Xuanwo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@86786f9c3e77c245a3aaa386ad98119a8f111654 -
Trigger Event:
workflow_run
-
Statement type:
File details
Details for the file xuanwo_xurl-0.0.24-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: xuanwo_xurl-0.0.24-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.7 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f921d524c7eefd0435417492ce4b96fc5655c233e921fba9364704d7b00f6564
|
|
| MD5 |
c654c4b251d9be4bd8963ab6e9ef4436
|
|
| BLAKE2b-256 |
4cdc57794c785c1bbda13ebbd8e1557a90d07c4898e7992dd2647ea45ab471b8
|
Provenance
The following attestation bundles were made for xuanwo_xurl-0.0.24-py3-none-macosx_11_0_arm64.whl:
Publisher:
pypi-publish.yml on Xuanwo/xurl
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xuanwo_xurl-0.0.24-py3-none-macosx_11_0_arm64.whl -
Subject digest:
f921d524c7eefd0435417492ce4b96fc5655c233e921fba9364704d7b00f6564 - Sigstore transparency entry: 1154754978
- Sigstore integration time:
-
Permalink:
Xuanwo/xurl@86786f9c3e77c245a3aaa386ad98119a8f111654 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Xuanwo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@86786f9c3e77c245a3aaa386ad98119a8f111654 -
Trigger Event:
workflow_run
-
Statement type: