🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Ucm

by @ucmai

Provides API marketplace access for AI agents. Discovers and calls external capabilities including web search, image generation, code execution, text-to-spee...

Versionv1.1.1
Downloads1,041
Stars⭐ 2
TERMINAL
clawhub install ucm

πŸ“– About This Skill


name: ucm description: >- Provides API marketplace access for AI agents. Discovers and calls external capabilities including web search, image generation, code execution, text-to-speech, translation, crypto, news, movies, weather, Wikipedia, books, papers, nutrition, email, stock data, and document conversion. 100 services, 217 endpoints. Registers for free with $1.00 credits. 87 free services, paid from $0.01-$0.05 per call via simple HTTP. No SDK needed. license: MIT homepage: https://ucm.ai compatibility: Requires network access and curl or HTTP client. Works on macOS, Linux, and Windows. argument-hint: "[service name or action]" allowed-tools: Bash(curl:*) Grep metadata: {"openclaw":{"primaryEnv":"UCM_API_KEY","requires":{"env":["UCM_API_KEY"]},"source":"https://github.com/ucmai/skills"},"author":"UCM.ai","version":"1.1.1","website":"https://ucm.ai","repository":"https://github.com/ucmai/skills"}

UCM β€” API Marketplace for AI Agents

You have access to UCM, a marketplace where you can instantly discover and use API services by spending credits. Registration is free and gives you $1.00 in credits (~100 API calls).

When to Use UCM

Use UCM when your current task requires a capability you don't have natively:

  • Search the web for real-time information β†’ ucm/web-search ($0.01)
  • Scrape a webpage to extract content β†’ ucm/web-scrape ($0.02)
  • Generate an image from a text prompt β†’ ucm/image-generation ($0.05)
  • Run code in a sandboxed environment β†’ ucm/code-sandbox ($0.03)
  • Convert text to speech β†’ ucm/text-to-speech ($0.01)
  • Transcribe audio β†’ ucm/speech-to-text ($0.01)
  • Send an email β†’ ucm/email ($0.01)
  • Convert a document/URL to markdown β†’ ucm/doc-convert ($0.02)
  • Translate text between 50+ languages β†’ ucm/translate ($0.01)
  • Get US stock data (quotes, financials, news) β†’ ucm/us-stock ($0.01)
  • Get China financial data (daily prices, income, balance sheets) β†’ ucm/cn-finance ($0.01)
  • Check weather (current, forecast, air quality) β†’ ucm/weather (FREE)
  • Look up Wikipedia articles and summaries β†’ ucm/wikipedia (FREE)
  • Get exchange rates for 30+ currencies β†’ ucm/currency (FREE)
  • Look up country info (250+ countries) β†’ ucm/countries (FREE)
  • Check public holidays (100+ countries) β†’ ucm/holidays (FREE)
  • Define words (English dictionary) β†’ ucm/dictionary (FREE)
  • Search books (40M+ books via Open Library) β†’ ucm/books (FREE)
  • Geocode places (name to coordinates) β†’ ucm/geocode (FREE)
  • Evaluate math expressions and unit conversion β†’ ucm/math (FREE)
  • Geolocate IPs (IP to country/city) β†’ ucm/ip-geo (FREE)
  • Geocode addresses (forward and reverse) β†’ ucm/address (FREE)
  • Search academic papers (200M+ papers) β†’ ucm/papers (FREE)
  • Look up nutrition data (USDA FoodData) β†’ ucm/nutrition (FREE)
  • Generate QR codes from text or URLs β†’ ucm/qr-code (FREE)
  • Get crypto prices (10,000+ coins) β†’ ucm/crypto (FREE)
  • Search news articles by keyword β†’ ucm/news ($0.01)
  • Get timezone info (current time worldwide) β†’ ucm/timezone (FREE)
  • Look up domain info (WHOIS/RDAP data) β†’ ucm/domain (FREE)
  • Get inspirational quotes β†’ ucm/quotes (FREE)
  • Browse Hacker News stories β†’ ucm/hacker-news (FREE)
  • Generate test data (names, addresses, companies) β†’ ucm/random-data (FREE)
  • Browse poetry (search by title/author) β†’ ucm/poetry (FREE)
  • Search movies & TV shows (IMDb ratings, cast, plot) β†’ ucm/movies ($0.01)
  • Find rhyming words or synonyms β†’ ucm/datamuse (FREE)
  • Search universities worldwide β†’ ucm/universities (FREE)
  • Look up postal codes (60+ countries) β†’ ucm/zip-code (FREE)
  • Get trivia questions β†’ ucm/trivia (FREE)
  • Get jokes by category β†’ ucm/jokes (FREE)
  • Get random advice β†’ ucm/advice (FREE)
  • Get activity suggestions β†’ ucm/bored (FREE)
  • Look up Bible verses β†’ ucm/bible (FREE)
  • Get Chuck Norris jokes β†’ ucm/chuck-norris (FREE)
  • Search recipes β†’ ucm/recipes (FREE)
  • Search cocktail recipes β†’ ucm/cocktails (FREE)
  • Search breweries β†’ ucm/brewery (FREE)
  • Look up food products by barcode β†’ ucm/food-products (FREE)
  • Get sunrise/sunset times β†’ ucm/sunrise-sunset (FREE)
  • Get random dog images by breed β†’ ucm/dog-images (FREE)
  • Get cat facts β†’ ucm/cat-facts (FREE)
  • Generate avatars β†’ ucm/avatars (FREE)
  • Get color info and schemes β†’ ucm/colors (FREE)
  • Generate lorem ipsum text β†’ ucm/lorem-ipsum (FREE)
  • Get NASA astronomy photo or Mars rover images β†’ ucm/nasa (FREE)
  • Get SpaceX launch data β†’ ucm/spacex (FREE)
  • Track ISS position and astronauts β†’ ucm/iss (FREE)
  • Get space flight news β†’ ucm/space-news (FREE)
  • Search arXiv papers β†’ ucm/arxiv (FREE)
  • Get earthquake data β†’ ucm/earthquakes (FREE)
  • Get World Bank indicators β†’ ucm/world-bank (FREE)
  • Search FDA drugs/recalls β†’ ucm/fda (FREE)
  • Get UK carbon intensity β†’ ucm/carbon (FREE)
  • Look up elevation by coordinates β†’ ucm/elevation (FREE)
  • Predict age by name β†’ ucm/agify (FREE)
  • Predict gender by name β†’ ucm/genderize (FREE)
  • Predict nationality by name β†’ ucm/nationalize (FREE)
  • Look up UK postcodes β†’ ucm/uk-postcodes (FREE)
  • Decode vehicle VINs β†’ ucm/vehicles (FREE)
  • Search Met Museum collection β†’ ucm/met-museum (FREE)
  • Search Art Institute of Chicago β†’ ucm/art-chicago (FREE)
  • Search TV shows β†’ ucm/tv-shows (FREE)
  • Search anime and manga β†’ ucm/anime (FREE)
  • Search iTunes content β†’ ucm/itunes (FREE)
  • Search music metadata β†’ ucm/music (FREE)
  • Search internet radio β†’ ucm/radio (FREE)
  • Browse free-to-play games β†’ ucm/free-games (FREE)
  • Compare game prices β†’ ucm/game-deals (FREE)
  • Look up Pokemon data β†’ ucm/pokemon (FREE)
  • Look up D&D 5e data (monsters, spells, classes) β†’ ucm/dnd (FREE)
  • Get meme templates β†’ ucm/memes (FREE)
  • Get your public IP β†’ ucm/ip-lookup (FREE)
  • Generate barcodes β†’ ucm/barcode (FREE)
  • Check Wayback Machine snapshots β†’ ucm/wayback (FREE)
  • Look up npm packages β†’ ucm/npm (FREE)
  • Look up PyPI packages β†’ ucm/pypi (FREE)
  • Search GitHub repos β†’ ucm/github-repos (FREE)
  • Get country flag images β†’ ucm/country-flags (FREE)
  • Virtual card deck (shuffle, draw) β†’ ucm/deck-of-cards (FREE)
  • Get Star Wars data β†’ ucm/star-wars (FREE)
  • Get XKCD comics β†’ ucm/xkcd (FREE)
  • Search Rick & Morty characters/episodes β†’ ucm/rick-morty (FREE)
  • Get Nobel Prize data β†’ ucm/nobel-prize (FREE)
  • Get historical events (on this day) β†’ ucm/historical-events (FREE)
  • Get Kanye West quotes β†’ ucm/kanye (FREE)
  • Search Rust crates β†’ ucm/crates (FREE)
  • Search Docker Hub images β†’ ucm/docker-hub (FREE)
  • Get chess puzzles and player data β†’ ucm/lichess (FREE)
  • Look up chemical elements β†’ ucm/periodic-table (FREE)
  • Look up airports by IATA code β†’ ucm/airports (FREE)
  • Get random fox images β†’ ucm/random-fox (FREE)
  • If you're unsure whether a service exists, use /v1/discover with a natural language description.

    Setup

    Check for existing credentials first

    cat ~/.config/ucm/credentials.json 2>/dev/null
    

    If the file exists and contains an api_key, set it and skip registration:

    export UCM_API_KEY=$(cat ~/.config/ucm/credentials.json | grep -o '"api_key":"[^"]*"' | head -1 | sed 's/"api_key":"//;s/"$//')
    

    If you need to register

    Register for free β€” takes one HTTP call:

    curl -s -X POST https://registry.ucm.ai/v1/agents/register \
      -H "Content-Type: application/json" \
      -d '{"name": "my-agent"}'
    

    The response includes credentials_to_save and credentials_path. Save them:

    mkdir -p ~/.config/ucm
    

    Write credentials_to_save from the response to credentials_path

    You receive $1.00 in free credits.

    Or run the registration script (handles saving automatically):

    bash scripts/register.sh "my-agent"
    

    How to Call a Service

    One HTTP call to purchase and execute any service:

    curl -s -X POST https://registry.ucm.ai/v1/call \
      -H "Authorization: Bearer $UCM_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "service_id": "ucm/web-search",
        "endpoint": "search",
        "params": { "query": "latest AI news" }
      }'
    

    Response includes result (the API response), amount_charged, and credits_remaining.

    If the upstream API fails, credits are automatically refunded (amount_charged: "0").

    Quick Reference

    | Action | Method | Auth | |--------|--------|------| | Register | POST /v1/agents/register | None | | Discover services | POST /v1/discover | None | | List all services | GET /v1/services | None | | Call a service | POST /v1/call | Bearer token | | Check balance | GET /v1/balance | Bearer token | | View history | GET /v1/history | Bearer token | | Service details | GET /v1/services/:id | None |

    Base URL: https://registry.ucm.ai

    Discover Services

    Search by natural language β€” no auth required:

    curl -s -X POST https://registry.ucm.ai/v1/discover \
      -H "Content-Type: application/json" \
      -d '{"need": "I need to convert a PDF to text", "limit": 3}'
    

    Decision Flow

    Need an external capability?
      β”œβ”€ Have UCM_API_KEY? β†’ Check balance (GET /v1/balance)
      β”‚   β”œβ”€ Credits available β†’ Discover β†’ Call β†’ Use result
      β”‚   β”œβ”€ Call failed β†’ Credits auto-refunded, try alternative
      β”‚   └─ No credits β†’ Tell user to add credits at dashboard.ucm.ai
      β”œβ”€ No API key? β†’ Check ~/.config/ucm/credentials.json
      β”‚   └─ Found? β†’ Load api_key from file
      └─ No credentials at all? β†’ Register (POST /v1/agents/register) β†’ Save to ~/.config/ucm/credentials.json
    

    Spending Principles

  • Most calls cost $0.01 β€” affordable for any task
  • If a task doesn't require an external API, don't spend credits
  • Credits are refunded on upstream failure (5xx, 429, 422)
  • Prefer services with higher relevance score from /v1/discover
  • Error Handling

    | Error | Action | |-------|--------| | INSUFFICIENT_CREDITS | Tell user to add credits at dashboard.ucm.ai | | SERVICE_NOT_FOUND | Search with /v1/discover instead | | INVALID_ENDPOINT | Check endpoints via GET /v1/services/:id | | RATE_LIMITED | Wait briefly, then retry |

    Full Service Catalog

    For complete service details with all endpoints and parameters, see references/service-catalog.md or call GET /v1/services.

    βš™οΈ Configuration

    Check for existing credentials first

    cat ~/.config/ucm/credentials.json 2>/dev/null
    

    If the file exists and contains an api_key, set it and skip registration:

    export UCM_API_KEY=$(cat ~/.config/ucm/credentials.json | grep -o '"api_key":"[^"]*"' | head -1 | sed 's/"api_key":"//;s/"$//')
    

    If you need to register

    Register for free β€” takes one HTTP call:

    curl -s -X POST https://registry.ucm.ai/v1/agents/register \
      -H "Content-Type: application/json" \
      -d '{"name": "my-agent"}'
    

    The response includes credentials_to_save and credentials_path. Save them:

    mkdir -p ~/.config/ucm
    

    Write credentials_to_save from the response to credentials_path

    You receive $1.00 in free credits.

    Or run the registration script (handles saving automatically):

    bash scripts/register.sh "my-agent"