deep-research
Installation
SKILL.md
Deep Research (via DeepAPI)
We use DeepAPI (deepapi.co) for all deep research. This fully replaced the retired perplexity-deep-research skill that called OpenRouter/Perplexity directly.
API key
- Key lives in
~/.zshrcasDEEPAPI_API_KEY. - Gotcha: do NOT
source ~/.zshrc— it breaks the shell (exit 126). Use the env var if set, else read just the key line:
KEY=${DEEPAPI_API_KEY:-$(rg -o 'DEEPAPI_API_KEY=\S+' ~/.zshrc | head -1 | cut -d= -f2)}
BASE=${DEEPAPI_API_BASE_URL:-https://deepapi.co}
- Key missing → stop and ask the user. Never print or log the key.
Step 1 — Build the research prompt
Write ONE self-contained paragraph following the research-prompt skill: