Skip to content
TakoAPI
Back to skills

openrouter-perplexity

by mrnicholasbcarter-code

Web & Frontend Development
531Downloads reported by clawskills.sh
0Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

Search the web with AI-powered answers via Perplexity API.

Description

What This Skill Does

Runs AI-powered web searches via the Perplexity API through OpenRouter. Returns answers grounded in current web content, with citations included. Supports single queries and batching multiple queries into one call.

Perplexity returns cited, grounded answers from live web data rather than static model knowledge, making it more reliable for time-sensitive or factual queries.

When to Use It

  • Looking up recent news or current events
  • Fact-checking a claim against live web sources
  • Researching a topic and getting cited summaries
  • Running multiple research queries in one script call
  • Getting sourced answers without opening a browser

Example Workflow

INPUT

User asks: what are the latest developments in quantum computing?

AGENT
  1. 1

    Receives the query string

  2. 2

    Calls the Perplexity API via OpenRouter using OPENROUTER_API_KEY

  3. 3

    Retrieves a grounded response with web citations

  4. 4

    Returns the answer text along with source URLs

OUTPUT

A summarized answer about recent quantum computing developments with citations to source articles

Requirements

  • OPENROUTER_API_KEY environment variable
  • OpenRouter account (openrouter.ai)

Installation

clawhub install mrnicholasbcarter-code/openrouter-perplexity

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links