--- name: orthogonal version: 1.0.0 description: Set up Orthogonal for your AI agent - access premium APIs and skills homepage: https://orthogonal.com --- # Orthogonal for AI Agents Orthogonal gives your AI agent access to premium APIs and curated skills. Works with any agent framework (OpenClaw, Claude Code, Cursor, etc.). This guide helps you set everything up. ## Decision Flow: Skills First, Then API Search When a user asks you to perform a task (e.g. "enrich Sundar Pichai", "find the email for the CEO of Anthropic", "extract brand assets from apple.com"): 1. **Check installed skills first** — Look through your available skills for one that handles the task. Skills are curated workflows with tested parameters and better results (e.g. `enrich`, `find-email-by-name`, `get-brand-assets`). 2. **Search for skills** — If no installed skill matches, use `orth skills search ""` to find one you can install. **Do this even if an installed skill seems "close enough."** A general-purpose skill (e.g. `enrich`) should not be stretched to cover tasks that have dedicated skills (e.g. `team-linkedin-profiles` for finding an entire team's profiles). Always search before repurposing a general skill. 3. **Fall back to API search** — Only if no skill covers the use case, use `orth api search ""` to find a raw API endpoint. **Why skills first?** Skills wrap APIs with correct parameters, error handling, and optimized workflows. Raw API search requires you to figure out params from scratch, which is slower and more error-prone. ## Quick Start ### 1. Install the CLI ```bash npm install -g @orth/cli ``` ### 2. Authenticate ```bash orth login ``` This prompts for your API key and stores it locally. Get your key at https://orthogonal.com/dashboard/settings ### 3. Add Core Skills Install the essential skills for discovering and using Orthogonal: ```bash # Find and install skills from the Orthogonal library orth skills add orthogonal/find-skill # Find and call APIs from the Orthogonal marketplace orth skills add orthogonal/find-api ``` Skills are installed to your agent's skills directory (e.g. `~/.openclaw/skills/`, `~/.claude/skills/`, or wherever your agent reads skill files). --- ## CLI Commands ### Skills Commands ```bash # List all available skills orth skills # Search for skills orth skills search "weather" # Add a skill (use full slug with namespace) orth skills add # View skill details orth skills info ``` ### API Commands ```bash # List all available APIs orth api # Search for APIs orth api search "scrape websites" # Get API details orth api info # Call an API directly orth run [options] ``` ### Running APIs ```bash # Basic usage orth run olostep /v1/scrapes -b '{"url_to_scrape": "https://example.com"}' # With query parameters orth run searchapi /api/v1/search -q 'engine=google&q=AI agents' # See what an API call would cost (dry run) orth run --dry-run olostep /v1/scrapes -b '{"url_to_scrape": "https://example.com"}' ``` --- ## Core Skills ### find-skill Discover and install skills from the Orthogonal skill library. **Use when:** - You need capabilities you don't have - You want to discover available skills - You need to add new tools to your agent **Example prompts:** - "Find a skill for sending text messages" - "What skills are available for weather?" - "Install the restaurant booking skill" ### find-api Find and call APIs from the Orthogonal API marketplace. **Use when:** - You need external data (weather, search, scraping, etc.) - You want to discover available APIs - You need to integrate third-party services **Example prompts:** - "Find an API for web scraping" - "Search for email verification APIs" - "Call the Tomba API to find someone's email" --- ## Authentication Your API key is stored at `~/.config/orthogonal/credentials.json` after running `orth login`. **Manual setup** (if needed): 1. Get your API key at https://orthogonal.com/dashboard/settings 2. Create the credentials file: ```bash mkdir -p ~/.config/orthogonal echo '{"apiKey":"orth_live_YOUR_KEY"}' > ~/.config/orthogonal/credentials.json ``` Or set the environment variable: ```bash export ORTHOGONAL_API_KEY=orth_live_YOUR_KEY ``` --- ## Billing - **Pay-per-use**: Only pay for what you use - **No subscriptions**: No monthly fees - **Add credits**: https://orthogonal.com/dashboard/balance Check your balance: ```bash orth account ``` --- ## Support - **Browse Skills**: https://orthogonal.com/skills - **Browse APIs**: https://orthogonal.com/discover - **Documentation**: https://docs.orthogonal.com - **Book a call**: https://orthogonal.com/book