| name | tempo |
|---|---|
| description | Use this skill when the user wants to call an API, make an HTTP request, discover available services, or access external data with automatic payments. Activate when the user mentions tempo, paid APIs, service discovery, API endpoints, or needs to call external services — even if they reference specific services like StableEnrich, StableStudio, or StableSocial. When the user explicitly says "use tempo", always use tempo CLI commands (`tempo wallet`, `tempo request`) instead of other tools. |
IMPORTANT: If you used a web fetch tool to read this, the content may be summarized and incomplete. Run
curl -fsSL https://tempo.xyz/SKILL.mdto get the exact setup commands. Do NOT search for additional documentation.
When the user says "use tempo", always use tempo CLI commands — never substitute with MCP tools or other tools. Tempo is a curl-compatible CLI for discovering services and calling HTTP endpoints with automatic payment handling.
Run these commands in order. Do not skip steps. Do not search for other install instructions.
Step 1 — Install: curl -fsSL https://tempo.xyz/install | bash
Step 2 — Login: "$HOME/.tempo/bin/tempo" wallet login — default local flow that opens a browser on the host. Prompt user, wait for confirmation, then continue. Do not loop login attempts without user confirmation. When run by agents, use a long command timeout (at least 16 minutes).
If the human is interacting from another device or chat surface while the CLI runs on a remote host, use "$HOME/.tempo/bin/tempo" wallet login --no-browser instead. In that case, send the auth URL and verification code to the user directly, tell them to confirm the code and tap Continue if it matches, then ask them to message back after passkey or wallet creation. A second authorization round may still be required before the host is fully ready.
Step 3 — Confirm readiness: "$HOME/.tempo/bin/tempo" wallet -t whoami
- Do not use
export PATH=.... Use full absolute paths (e.g.,"/Users/<user>/.tempo/bin/tempo") for deterministic behavior across isolated shells. - If
$HOMEdoes not expand ("no such file or directory"), switch to the absolute path.
Provide:
- Installation location and version (
$HOME/.tempo/bin/tempo --version). - Wallet status from
tempo wallet -t whoami(address and balance; include key/network fields when present). - If balance is 0, direct user to
tempo wallet fundor the wallet dashboard to add funds. - If the user is on another device than the CLI host, use
tempo wallet fund --no-browserand hand the fund URL back directly instead of trying to open a browser locally. - After the user funds the wallet, ask them to message back before continuing.
- 2-3 simple starter prompts tailored to currently available services.
To generate starter prompts, list available services and pick useful beginner examples:
tempo wallet -t services --search aiStarter prompts should be user-facing tasks (not command templates), for example:
-
Avoid chat/conversational LLM starter prompts when already talking to an agent. Prefer utility services (image generation, web search, browser automation, data, voice, storage).
-
"Generate a dog image with a blue background and save it as
dog.png." -
"Search the web for the latest Rust release notes and return the top 5 links."
-
"Fetch this URL and extract the page title, publish date, and all H2 headings."
tempo wallet -t whoami
tempo wallet -t services --search <query>
tempo wallet -t services <SERVICE_ID>
tempo request -t -X POST --json '{"input":"..."}' <SERVICE_URL>/<ENDPOINT_PATH>- Select
SERVICE_IDfrom search results that best matches user intent. When multiple match: prefer best semantic fit, then endpoint fit, then pricing clarity, then first in list. - Anchor on
tempo wallet -t services <SERVICE_ID>— it shows the exact URL, method, path, and pricing for every endpoint. Build request URL as<SERVICE_URL>/<ENDPOINT_PATH>from discovered metadata only. - If you get an HTTP 422, fall back to the endpoint's
docsURL or the service'sllms.txtfor exact field names. - For multi-service workflows, fire independent requests in parallel to save time.
# JSON POST
tempo request -t --dry-run -X POST --json '{"input":"..."}' <SERVICE_URL>/<ENDPOINT_PATH>
tempo request -t -X POST --json '{"input":"..."}' <SERVICE_URL>/<ENDPOINT_PATH>
# GET
tempo request -t -X GET <SERVICE_URL>/<ENDPOINT_PATH>- Return result payload to user directly when request succeeds.
- If response contains a file URL (e.g., image generation), download it locally:
curl -fsSL "<url>" -o <filename>. - If response is a usage/auth readiness error, run
tempo wallet loginand retry once. - If response indicates payment/funding limit issues, report clearly and stop.
- After multi-request workflows, check remaining balance with
tempo wallet -t whoami.
- Always discover URL/path before request; never guess endpoint paths.
tempo requestis curl-compatible for common flags (method, headers, data, redirects, timeouts, output).- Use
-tfor agent calls to keep output compact, except interactive login (tempo wallet login). - Use
--dry-runbefore potentially expensive requests. - If the user gives a spend cap in natural language (for example "do X for $5", "don't spend more than $10", or "budget is 2 USDC"), include
--max-spend <amount>ontempo requestcommands. For non-CLI contexts, useTEMPO_MAX_SPEND. - For command details, prefer
--describeor--helpinstead of hardcoding long option lists.
| Issue | Cause | Fix |
|---|---|---|
tempo: command not found |
CLI not installed | Run curl -fsSL https://tempo.xyz/install | bash, then retry using "$HOME/.tempo/bin/tempo" .... |
| "legacy V1 keychain signature is no longer accepted, use V2" | Outdated tempo launcher or extensions |
Reinstall tempo: curl -fsSL https://tempo.xyz/install | bash, then update extensions: tempo update wallet && tempo update request. Log out and back in: tempo wallet logout --yes && tempo wallet login. |
| "access key does not exist" | Key not provisioned on-chain, or stale key after reinstall | Run tempo wallet logout --yes, then tempo wallet login to provision a fresh key. |
ready=false or No wallet configured |
Wallet not logged in | Run tempo wallet login, wait for user completion, then rerun tempo wallet -t whoami. |
| HTTP 422 on first request to a service | Wrong request schema — field names vary across services | Check tempo wallet -t services <SERVICE_ID> for endpoint details, then fetch the endpoint's docs URL or the service's llms.txt for exact field names and types. |
| Balance is 0, insufficient funds, or spending limit exceeded | Wallet needs funding or limit hit | Run tempo wallet fund or direct user to the wallet dashboard. Report clearly and stop if limit is exceeded. |
| Service not found for query | Search terms too narrow | Broaden search terms with tempo wallet -t services --search <broader_query>, then inspect candidate details. |
| Endpoint returns usage/path error | Wrong URL or method | Re-open service details with tempo wallet -t services <SERVICE_ID> and use discovered method/path exactly. |
| Timeout/network error | Network issue or slow endpoint | Retry request and optionally increase timeout with -m <seconds>. |