Uxc
by @jolestar
Discover and call remote schema-exposed interfaces with UXC. Use when an agent or skill needs to list operations, inspect operation schemas, and execute Open...
clawhub install uxcπ About This Skill
name: uxc description: Discover and call remote schema-exposed interfaces with UXC. Use when an agent or skill needs to list operations, inspect operation schemas, and execute OpenAPI, GraphQL, gRPC, MCP, or JSON-RPC calls via one CLI contract. metadata: short-description: Discover and call remote schema APIs via UXC
UXC Skill
Use this skill when a task requires calling a remote interface and the endpoint can expose machine-readable schema metadata.
When To Use
ok, kind, data, error).Do not use this skill for pure local file operations with no remote interface.
Prerequisites
uxc is installed and available in PATH.grpcurl is installed and available in PATH.Install uxc
Choose one of the following methods:
Homebrew (macOS/Linux):
brew tap holon-run/homebrew-tap
brew install uxc
Install Script (macOS/Linux, review before running):
curl -fsSL https://raw.githubusercontent.com/holon-run/uxc/main/scripts/install.sh -o install-uxc.sh
Review the script before running it
less install-uxc.sh
bash install-uxc.sh
Cargo:
cargo install uxc
For more options, see the Installation section in the UXC README.
Core Workflow
1. Discover operations:
- uxc
2. Inspect a specific operation:
- uxc
3. Execute with structured input:
- uxc
- uxc
4. Parse result as JSON envelope:
- Success: .ok == true, consume .data
- Failure: .ok == false, inspect .error.code and .error.message
5. For disambiguation, use operation-level help first:
- uxc
6. For auth-protected endpoints, use the right auth track:
- simple bearer / single-secret API key: see references/auth-configuration.md
- multi-field auth or request signing: see references/auth-configuration.md
- OAuth flows: see references/oauth-and-binding.md
Link-First Workflow For Wrapper Skills
Wrapper skills should default to a fixed local link command instead of calling uxc directly on every step.
1. Pick a fixed command name during skill development:
- naming convention:
- examples: notion-mcp-cli, context7-mcp-cli, deepwiki-mcp-cli
2. Check whether the command already exists:
- command -v
3. If command is missing, create it:
- uxc link
- For OpenAPI services whose schema is hosted at a separate fixed URL, create the link with uxc link
- For stdio hosts that need credential-driven child env auth, create the link with uxc link
4. Validate link command:
-
5. Use only the link command for the rest of the skill flow.
Naming Governance
Equivalence Rule
... is equivalent to uxc ... .--schema-url , it is equivalent to uxc --schema-url ... .--credential --inject-env NAME={{secret}} , it is equivalent to uxc --auth --inject-env NAME={{secret}} ... .--schema-url explicitly at runtime.uxc ... only as a temporary fallback when link setup is unavailable.Input Modes
uxc field=value
uxc '{"field":"value"}'
Do not pass raw JSON through --args; use positional JSON.Output Contract For Reuse
Other skills should treat this skill as the interface execution layer and consume only the stable envelope:
ok, kind, protocol, endpoint, operation, data, metaok, error.code, error.message, metaDefault output is JSON. Do not use --text in agent automation paths.
Reuse Rule For Other Skills
-mcp-cli ) as the default invocation path..dataReference Files (Load On Demand)
references/usage-patterns.md
references/protocol-cheatsheet.md
references/public-endpoints.md
secret, named fields, headers/query params, and request signers):references/auth-configuration.md
references/oauth-and-binding.md
references/error-handling.md
β‘ When to Use
βοΈ Configuration
uxc is installed and available in PATH.grpcurl is installed and available in PATH.Install uxc
Choose one of the following methods:
Homebrew (macOS/Linux):
brew tap holon-run/homebrew-tap
brew install uxc
Install Script (macOS/Linux, review before running):
curl -fsSL https://raw.githubusercontent.com/holon-run/uxc/main/scripts/install.sh -o install-uxc.sh
Review the script before running it
less install-uxc.sh
bash install-uxc.sh
Cargo:
cargo install uxc
For more options, see the Installation section in the UXC README.