xurl-cli-0.0.22 is not a library.
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 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:
- 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 |
|---|---|---|---|
| Amp | Yes | Yes | No |
| Codex | Yes | Yes | Yes |
| Claude | Yes | Yes | Yes |
| Gemini | Yes | Yes | No |
| Pi | Yes | Yes | No |
| OpenCode | Yes | Yes | Yes |
Usage
Read an agent conversation:
# equivalent shorthand:
Query provider threads:
# equivalent shorthand:
Query role-scoped threads:
# equivalent shorthand:
Discover child targets:
Drill down into a discovered child target:
Start a new agent conversation:
# equivalent shorthand:
Start a new conversation with role URI:
Continue an existing conversation:
Create with query parameters:
Save output:
Command Reference
-I, --head: output frontmatter/discovery info only.-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.
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.<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://codex/threads/<conversation_id>
agents://codex/reviewer
agents://codex?cd=%2FUsers%2Falice%2Frepo&add-dir=%2FUsers%2Falice%2Fshared