SU

Sonar-via-OpenRouter Search Upgrade

Swap default agent web search for Perplexity Sonar Pro plus a deep-research escalation path.

AI Systemsai-systemsp4
Or just install the prompt above — no subscription needed

About this skill


name: agent-sonar-search-upgrade description: Swap default agent web search for Perplexity Sonar Pro plus a deep-research escalation path. Use when working on sonar-via-openrouter search upgrade.

Sonar-via-OpenRouter Search Upgrade

The default search inside most autonomous agents returns thin results, so the agent hallucinates. This skill routes normal queries through Perplexity Sonar Pro and escalates to Sonar Deep Research whenever the prompt contains an explicit trigger. It writes the OpenRouter API key with a spend cap, updates tools.md and memory.md so the routing is permanent, and gives you a per-call cost log. Use to fix weak-research answers without switching platforms.

What you get

  • OpenRouter setup steps
  • Two-tier model routing rules
  • Spend-cap configuration
  • tools.md plus memory.md patches
  • Test prompts and cost verification
  • Per-call cost log

Customize your output

  • Trigger phrase for deep research: default 'deep research', custom
  • Monthly spend cap: $10, $30, $100
  • Fallback model: Brave, Google, Bing
  • Per-project override: yes, no
  • Retention of results: 7, 30, 90 days
  • Log format: markdown, CSV

Example output

'Routed default web search to perplexity/sonar-pro. Deep-research trigger deep research routes to perplexity/sonar-deep-research. OpenRouter key set with $30/mo cap. Verified test call cost $0.02.'

Best for

Anyone whose agent already runs but returns weak research or cites nothing.


Note: High confidence. Biggest single quality lever inside an agent.

Source: OpenClaude on Hostinger (unnamed) · https://www.youtube.com/watch?v=iSLruYDGT58 Category: AI Systems · Priority: P4

SKILL.md preview

---
name: agent-sonar-search-upgrade
description: Swap default agent web search for Perplexity Sonar Pro plus a deep-research escalation path. Use when working on sonar-via-openrouter search upgrade.
---

# Sonar-via-OpenRouter Search Upgrade

The default search inside most autonomous agents returns thin results, so the agent hallucinates. This skill routes normal queries through Perplexity Sonar Pro and escalates to Sonar Deep Research whenever the prompt contains an explicit trigger. It writes the OpenRouter API key with a spend cap, updates tools.md and memory.md so the routing is permanent, and gives you a per-call cost log. Use to fix weak-research answers without switching platforms.

## What you get

- OpenRouter setup steps
- Two-tier model routing rules
- Spend...