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

Do not use this skill for pure local file operations with no remote interface.

Prerequisites

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 <host> -h
  2. Inspect a specific operation:
    • uxc <host> <operation> -h
  3. Execute with structured input:
    • uxc <host> <operation> key=value
    • uxc <host> <operation> '<payload-json>'
  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 <host> <operation> -h
  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 <host> ... directly on every step.

  1. Pick a fixed command name during skill development:
    • naming convention: <provider>-mcp-cli
    • examples: notion-mcp-cli, context7-mcp-cli, deepwiki-mcp-cli
  2. Check whether the command already exists:
    • command -v <link_name>
  3. If command is missing, create it:
    • uxc link <link_name> <host>
    • For OpenAPI services whose schema is hosted at a separate fixed URL, create the link with uxc link <link_name> <host> --schema-url <schema_url>
    • For stdio hosts that need credential-driven child env auth, create the link with uxc link <link_name> <host> --credential <credential_id> --inject-env NAME={{secret}}
  4. Validate link command:
    • <link_name> -h
  5. Use only the link command for the rest of the skill flow.

Naming Governance

Equivalence Rule

Input Modes

Output Contract For Reuse

Other skills should treat this skill as the interface execution layer and consume only the stable envelope:

Default output is JSON. Do not use --text in agent automation paths.

Reuse Rule For Other Skills

Reference Files (Load On Demand)