Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add FortiumPartners/ensemble --skill using-perplexity-platformgit clone --depth 1 https://github.com/FortiumPartners/ensembleWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/fortiumpartners/ensemble/using-perplexity-platform)<a href="https://agentmods.dev/skills/fortiumpartners/ensemble/using-perplexity-platform"><img src="https://agentmods.dev/badge/skills/fortiumpartners/ensemble/using-perplexity-platform/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/fortiumpartners/ensemble/using-perplexity-platform"><img src="https://agentmods.dev/badge/skills/fortiumpartners/ensemble/using-perplexity-platform.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00056 | $0.02863 |
| Opus 5.5 | $0.00022 | $0.01145 |
| Sonnet 5.5 | $0.00011 | $0.00573 |
| Haiku 4.5 | $0.00006 | $0.00286 |
Grade A, and why
using-perplexity-platform scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -X POST https://api.perplexity.ai/chat/completions \ How it starts
The opening of the file, as written. The whole thing — 438 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Perplexity Sonar API Development Skill
Quick Reference
Perplexity Sonar API development with Python and TypeScript/JavaScript clients. Covers Sonar model family for search-augmented generation, Chat Completions API (OpenAI-compatible), real-time web search, citations, and streaming.
Table of Contents
- When to Use
- Sonar Model Family
- Quick Start
- Chat Completions API
- Citations and Sources
- Search Configuration
- Streaming
- Error Handling
- Best Practices
- Anti-Patterns
- Integration Checklist
- When to Use Perplexity vs Others
- CLI Quick Test
- See Also
When to Use
This skill is loaded by backend-developer when:
openaipackage inrequirements.txtorpyproject.tomlwith Perplexity base URL- Environment variables
PERPLEXITY_API_KEYorPPLX_API_KEYpresent - User mentions "Perplexity", "Sonar", or "search-augmented" in task
- Code uses
api.perplexity.aibase URL
Minimum Detection Confidence: 0.8 (80%)
Sonar Model Family
Available Models
| Model | Context | Search | Use Case | Speed |
|---|---|---|---|---|
sonar |
128K | Yes | General search-augmented | Fast |
sonar-pro |
200K | Yes | Complex research, deeper search | Medium |
sonar-reasoning |
128K | Yes | Multi-step reasoning with search | Slower |
sonar-reasoning-pro |
200K | Yes | Advanced reasoning, citations | Slowest |
Model Selection Guide
Task Complexity -> Model Selection
+-- Simple factual queries -> sonar (fast, affordable)
+-- Research with citations -> sonar-pro (deeper search)
+-- Multi-step reasoning -> sonar-reasoning
+-- Complex analysis -> sonar-reasoning-pro
What ships with it
13 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- examples/basic-chat.example.py 12 KB runs code
- examples/citations.example.py 16 KB runs code
- examples/README.md 6.1 KB
- examples/research-assistant.example.py 17 KB runs code
- examples/streaming.example.py 13 KB runs code
- README.md 7.1 KB
- REFERENCE.md 19 KB
- templates/chat.template.py 7.0 KB runs code
- templates/chat.template.ts 6.4 KB runs code
- templates/README.md 5.0 KB
- templates/search-config.template.py 13 KB runs code
- templates/streaming.template.py 12 KB runs code
- VALIDATION.md 7.1 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 438 lines · 56 tokens per session scan A 48a3456b566f
using-perplexity-platform is a skill published in the GitHub repository FortiumPartners/ensemble (12 stars, last pushed 6d ago), licensed MIT. It adds 56 tokens to every session and 2,863 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
groq-inference
Ultra-fast LLM inference on custom LPU hardware. OpenAI-compatible API at api.groq.com. Lowest latency in the industry (500-1000+ tok/s). Supports chat completions, vision, audio (Whisper STT + TTS), tool calling, JSON mode, and streaming. Free tier available. Inference only — no training.
llm-provider
Adds a new LLM provider implementing LLMProvider interface with call() and stream() methods. Integrates with provider factory in src/llm/index.ts, config detection in src/llm/config.ts, and error handling via tracking and recovery. Use when adding a new model backend, integrating a third-party LLM API, or extending…
nodejs
Use when building or operating a plain Node.js / Express 5 backend service: project layout, async correctness, central error middleware, fail-fast config, graceful shutdown on SIGTERM. NOT DI modules/providers/guards (that is nestjs), NOT the type system or tsconfig (that is typescript), NOT REST contract design (that…
arkcli-infer-endpoint
A manager for inference endpoints, the online addresses used to send requests to deployed AI models. It can work with endpoints created by the current SSO sub-user, which is a separately identified account user.
webiny-api-cms-content-models
Creating Headless CMS content models via code using the ModelFactory pattern. Use this skill when the developer wants to create, modify, or understand content model definitions, define fields and validators, set up reference fields between models, configure field layouts (including nested layouts inside object or…
webiny-form-model
Building forms with the FormModel system — field types, renderers, layout, validation, conditional rules, computed fields, and dynamic zones. Use this skill when the developer needs to define form fields with the builder API, choose renderers, build layouts with tabs/rows/separators, add validation (Zod or…