Perplexity logo

Perplexity

Organization
aiagenta2z
perplexity

Auto-generated skill for perplexity tools via OneKey Gateway.

Overview

Publisheraiagenta2z
Repositoryonekey-gateway
Skill nameperplexity
Stars
52
Forks
11
Bundled files
4
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by aiagenta2z on GitHub. Read the source before you install it.

Installation

Install the Perplexity AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/aiagenta2z/onekey-gateway/tree/main/skills/perplexity
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aiagenta2z/onekey-gateway.git /tmp/onekey-gateway
mkdir -p .claude/skills
cp -r /tmp/onekey-gateway/skills/perplexity .claude/skills/perplexity
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Perplexity in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Perplexity on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Perplexity is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

OneKey Gateway

Use One Access Key to connect to various commercial APIs. Please visit the OneKey Gateway Keys and read the docs OneKey MCP Router Doc and OneKey Gateway Doc.

perplexity Skill

Use the OneKey Gateway to access tools for this server via a unified access key.

Quick Start

Set your OneKey access key:

bash
export DEEPNLP_ONEKEY_ROUTER_ACCESS=YOUR_API_KEY

If no key is provided, the scripts fall back to the demo key BETA_TEST_KEY_MARCH_2026. Common settings:

  • unique_id: perplexity/perplexity
  • api_id: one of the tools listed below

Tools

perplexity_ask

Answer a question using web-grounded AI (Sonar Pro model). Best for: quick factual questions, summaries, explanations, and general Q&A. Returns a text response with numbered citations. Fastest and cheapest option. Supports filtering by recency (hour/day/week/month/year), domain restrictions, and search context size. For in-depth multi-source research, use perplexity_research instead. For step-by-step reasoning and analysis, use perplexity_reason instead.

Parameters:

  • messages (array of object, required): Array of conversation messages
  • messages[].role (string, required): Role of the message sender Values: system, user, assistant
  • messages[].content (string, required): The content of the message
  • search_recency_filter (string, optional): Filter search results by recency. Use 'hour' for very recent news, 'day' for today's updates, 'week' for this week, etc. Values: hour, day, week, month, year
  • search_domain_filter (array of string, optional): Restrict search results to specific domains (e.g., ['wikipedia.org', 'arxiv.org']). Use '-' prefix for exclusion (e.g., ['-reddit.com']).
  • search_context_size (string, optional): Controls how much web context is retrieved. 'low' (default) is fastest, 'high' provides more comprehensive results. Values: low, medium, high

perplexity_research

Conduct deep, multi-source research on a topic (Sonar Deep Research model). Best for: literature reviews, comprehensive overviews, investigative queries needing many sources. Returns a detailed response with numbered citations. Significantly slower than other tools (30+ seconds). For quick factual questions, use perplexity_ask instead. For logical analysis and reasoning, use perplexity_reason instead.

Parameters:

  • messages (array of object, required): Array of conversation messages
  • messages[].role (string, required): Role of the message sender Values: system, user, assistant
  • messages[].content (string, required): The content of the message
  • strip_thinking (boolean, optional): If true, removes ... tags and their content from the response to save context tokens. Default is false.
  • reasoning_effort (string, optional): Controls depth of deep research reasoning. Higher values produce more thorough analysis. Values: minimal, low, medium, high

perplexity_reason

Analyze a question using step-by-step reasoning with web grounding (Sonar Reasoning Pro model). Best for: math, logic, comparisons, complex arguments, and tasks requiring chain-of-thought. Returns a reasoned response with numbered citations. Supports filtering by recency (hour/day/week/month/year), domain restrictions, and search context size. For quick factual questions, use perplexity_ask instead. For comprehensive multi-source research, use perplexity_research instead.

Parameters:

  • messages (array of object, required): Array of conversation messages
  • messages[].role (string, required): Role of the message sender Values: system, user, assistant
  • messages[].content (string, required): The content of the message
  • strip_thinking (boolean, optional): If true, removes ... tags and their content from the response to save context tokens. Default is false.
  • search_recency_filter (string, optional): Filter search results by recency. Use 'hour' for very recent news, 'day' for today's updates, 'week' for this week, etc. Values: hour, day, week, month, year
  • search_domain_filter (array of string, optional): Restrict search results to specific domains (e.g., ['wikipedia.org', 'arxiv.org']). Use '-' prefix for exclusion (e.g., ['-reddit.com']).
  • search_context_size (string, optional): Controls how much web context is retrieved. 'low' (default) is fastest, 'high' provides more comprehensive results. Values: low, medium, high

perplexity_search

Search the web and return a ranked list of results with titles, URLs, snippets, and dates. Best for: finding specific URLs, checking recent news, verifying facts, discovering sources. Returns formatted results (title, URL, snippet, date) — no AI synthesis. For AI-generated answers with citations, use perplexity_ask instead.

Parameters:

  • query (string, required): Search query string
  • max_results (number, optional): Maximum number of results to return (1-20, default: 10)
  • max_tokens_per_page (number, optional): Maximum tokens to extract per webpage (default: 1024)
  • country (string, optional): ISO 3166-1 alpha-2 country code for regional results (e.g., 'US', 'GB')

Usage

CLI

perplexity_ask

shell
npx onekey agent perplexity/perplexity perplexity_ask '{"question": "Who won the 2024 World Series?"}'

perplexity_research

shell
npx onekey agent perplexity/perplexity perplexity_research '{"query": "renewable energy policies US"}'

perplexity_reason

shell
npx onekey agent perplexity/perplexity perplexity_reason '{"topic": "impact of quantum computing"}'

perplexity_search

shell
npx onekey agent perplexity/perplexity perplexity_search '{"query": "best VR headsets 2026"}'

Scripts

Each tool has a dedicated script in this folder:

  • skills/perplexity/scripts/perplexity_ask.py
  • skills/perplexity/scripts/perplexity_research.py
  • skills/perplexity/scripts/perplexity_reason.py
  • skills/perplexity/scripts/perplexity_search.py

Example

bash
python3 scripts/<tool_name>.py --data '{"key": "value"}'

Related DeepNLP OneKey Gateway Documents

AI Agent Marketplace
Skills Marketplace AI Agent A2Z Deployment
PH AI Agent A2Z Infra
GitHub AI Agent Marketplace

Dependencies

CLI Dependency

Install onekey-gateway from npm

npm install @aiagenta2z/onekey-gateway

Script Dependency

Install the required Python package before running any scripts.

bash
pip install ai-agent-marketplace

Alternatively, install dependencies from the requirements file:

bash
pip install -r requirements.txt

If the package is already installed, skip installation.

Agent rule

Before executing command lines or running any script in the scripts/ directory, ensure the dependencies are installed. Use the npx onekey CLI as the preferred method to run the skills.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Perplexity AI skill do?

Auto-generated skill for perplexity tools via OneKey Gateway.

Why use Perplexity on TypingMind?

Because you install it once and use it with any model. Perplexity is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Perplexity in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/aiagenta2z/onekey-gateway/tree/main/skills/perplexity. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Perplexity?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Perplexity?

As many as you like. As long as a model supports skills, you can use Perplexity with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Perplexity AI skill free?

It is published on GitHub by aiagenta2z. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇