Locate and read local code-agent thread files
Project description
xurl
xurl is a Rust CLI and library for locating and reading local code-agent thread files.
Features
- Multi-agent thread resolution:
Amp
Codex
Claude
Gemini
Pi
OpenCode
- Default output is timeline markdown with user/assistant messages and compact markers.
--rawoutputs raw thread records.--listoutputs subagent status aggregation for providers that support subagent transcripts.- For Pi,
--listoutputs session entries with leaf markers and entry URIs.
- For Pi,
- Subagent markdown views always print full parent/subagent URIs (
<provider>://<main>and<provider>://<main>/<agent>). - Non-fatal diagnostics are kept internal; only fatal errors are printed to
stderr. - Automatically respects official environment variables and default local data roots for each supported agent.
Install
npx skills add Xuanwo/xurl
Agents
Amp
- Supported URI:
amp://<thread_id>
- Thread id format:
T-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
- Resolution:
XDG_DATA_HOME/amp/threads/<thread_id>.json- fallback:
~/.local/share/amp/threads/<thread_id>.json
- Example:
xurl amp://T-019c0797-c402-7389-bd80-d785c98df295
Codex
- Supported URIs:
codex://<session_id>codex://threads/<session_id>codex://<main_session_id>/<agent_id>
- Subagent modes:
- Aggregate:
xurl codex://<main_session_id> --list - Drill-down:
xurl codex://<main_session_id>/<agent_id>
- Aggregate:
- Resolution order:
- SQLite thread index under
CODEX_HOME(state_<version>.sqlitefirst, thenstate.sqlite) viathreads(id, rollout_path, archived). - Filesystem fallback under
sessions/andarchived_sessions/forrollout-*.jsonl.
- SQLite thread index under
- Examples:
xurl codex://019c871c-b1f9-7f60-9c4f-87ed09f13592
xurl codex://threads/019c871c-b1f9-7f60-9c4f-87ed09f13592
xurl codex://019c871c-b1f9-7f60-9c4f-87ed09f13592 --list
xurl codex://019c871c-b1f9-7f60-9c4f-87ed09f13592/019c87fb-38b9-7843-92b1-832f02598495
Claude
- Supported URIs:
claude://<session_id>claude://<main_session_id>/<agent_id>
- Subagent modes:
- Aggregate:
xurl claude://<main_session_id> --list - Drill-down:
xurl claude://<main_session_id>/<agent_id>
- Aggregate:
- Example:
xurl claude://2823d1df-720a-4c31-ac55-ae8ba726721f
xurl claude://2823d1df-720a-4c31-ac55-ae8ba726721f --list
xurl claude://2823d1df-720a-4c31-ac55-ae8ba726721f/acompact-69d537
OpenCode
- Supported URI:
opencode://<session_id>
- Example:
xurl opencode://ses_43a90e3adffejRgrTdlJa48CtE
Gemini
- Supported URI:
gemini://<session_id>
- Session id format:
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
- Resolution:
GEMINI_CLI_HOME/.gemini/tmp/*/chats/session-*.json- fallback:
~/.gemini/tmp/*/chats/session-*.json
- Example:
xurl gemini://29d207db-ca7e-40ba-87f7-e14c9de60613
Pi
- Supported URIs:
pi://<session_id>pi://<session_id>/<entry_id>
- Session id format:
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
- Resolution:
PI_CODING_AGENT_DIR/sessions/**/*.jsonl- fallback:
~/.pi/agent/sessions/**/*.jsonl
- Rendering:
pi://<session_id>renders the latest leaf branch in the session tree.pi://<session_id>/<entry_id>renders the branch ending at the specified entry id.pi://<session_id> --listlists all entries and marks leaf entries that are good drill-down targets.
- Example:
xurl pi://12cb4c19-2774-4de4-a0d0-9fa32fbae29f
xurl pi://12cb4c19-2774-4de4-a0d0-9fa32fbae29f/d1b2c3d4
xurl pi://12cb4c19-2774-4de4-a0d0-9fa32fbae29f --list
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 Distribution
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.8.tar.gz.
File metadata
- Download URL: xuanwo_xurl-0.0.8.tar.gz
- Upload date:
- Size: 104.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d96fffcdfef29ea8f44e0a9ab55d300e34f0d04889d17dd2fe4decee9db531e
|
|
| MD5 |
b94391ae076260e7ae187147130c3f24
|
|
| BLAKE2b-256 |
f4c095ee9ca33bde381b7c778af64a65ae7d05e20051450f88590b3de6e8dc68
|
Provenance
The following attestation bundles were made for xuanwo_xurl-0.0.8.tar.gz:
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.8.tar.gz -
Subject digest:
6d96fffcdfef29ea8f44e0a9ab55d300e34f0d04889d17dd2fe4decee9db531e - Sigstore transparency entry: 982943177
- Sigstore integration time:
-
Permalink:
Xuanwo/xurl@e1488d254e96231c20285080b5ee47a184f15579 -
Branch / Tag:
refs/tags/v0.0.8 - Owner: https://github.com/Xuanwo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@e1488d254e96231c20285080b5ee47a184f15579 -
Trigger Event:
push
-
Statement type:
File details
Details for the file xuanwo_xurl-0.0.8-py3-none-win_amd64.whl.
File metadata
- Download URL: xuanwo_xurl-0.0.8-py3-none-win_amd64.whl
- Upload date:
- Size: 2.0 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 |
d20c28db422d93f11426cd5126be81f1ab19bdeaa73678cc54a943af44912d75
|
|
| MD5 |
9d8be12d1448140fdd48e12965aec61f
|
|
| BLAKE2b-256 |
cf9ff25427ef9a00039b7c4218a9217410a3790bbc4b292f2dfa446ede712e8a
|
Provenance
The following attestation bundles were made for xuanwo_xurl-0.0.8-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.8-py3-none-win_amd64.whl -
Subject digest:
d20c28db422d93f11426cd5126be81f1ab19bdeaa73678cc54a943af44912d75 - Sigstore transparency entry: 982943263
- Sigstore integration time:
-
Permalink:
Xuanwo/xurl@e1488d254e96231c20285080b5ee47a184f15579 -
Branch / Tag:
refs/tags/v0.0.8 - Owner: https://github.com/Xuanwo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@e1488d254e96231c20285080b5ee47a184f15579 -
Trigger Event:
push
-
Statement type:
File details
Details for the file xuanwo_xurl-0.0.8-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: xuanwo_xurl-0.0.8-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.2 MB
- Tags: Python 3, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cecaef0712e0def1cc29852523c38211c746870cc02a5fb30ea7cf7d36d71bf0
|
|
| MD5 |
a2db0d8eedfb39b6d0571988cc1f122b
|
|
| BLAKE2b-256 |
fc75bbd3355dddd1d563db8a328c1b6f7890e8aec4034fe19a7c718e35b247ab
|
Provenance
The following attestation bundles were made for xuanwo_xurl-0.0.8-py3-none-manylinux_2_17_x86_64.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.8-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
cecaef0712e0def1cc29852523c38211c746870cc02a5fb30ea7cf7d36d71bf0 - Sigstore transparency entry: 982943337
- Sigstore integration time:
-
Permalink:
Xuanwo/xurl@e1488d254e96231c20285080b5ee47a184f15579 -
Branch / Tag:
refs/tags/v0.0.8 - Owner: https://github.com/Xuanwo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@e1488d254e96231c20285080b5ee47a184f15579 -
Trigger Event:
push
-
Statement type:
File details
Details for the file xuanwo_xurl-0.0.8-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: xuanwo_xurl-0.0.8-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.0 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 |
ee9979bf810002491fa1a7bebe279ae7d244618d9c96252b7e0fd4bb59695f7b
|
|
| MD5 |
7669e76de5f040a1dc5610088b2b012c
|
|
| BLAKE2b-256 |
0eb5dadbda4192405eacb622d794566c0dd5d3c66d6395c9de35d3419db83823
|
Provenance
The following attestation bundles were made for xuanwo_xurl-0.0.8-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.8-py3-none-macosx_11_0_arm64.whl -
Subject digest:
ee9979bf810002491fa1a7bebe279ae7d244618d9c96252b7e0fd4bb59695f7b - Sigstore transparency entry: 982943413
- Sigstore integration time:
-
Permalink:
Xuanwo/xurl@e1488d254e96231c20285080b5ee47a184f15579 -
Branch / Tag:
refs/tags/v0.0.8 - Owner: https://github.com/Xuanwo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@e1488d254e96231c20285080b5ee47a184f15579 -
Trigger Event:
push
-
Statement type: