
perplexity-research
Brain-augmented web research. Sends brain context about a topic to Perplexity, which searches the web with citations and returns what is NEW vs what the brain already knows. Use for entity enrichment, current-state checks, deal monitoring, and freshness deltas. NOT for simple URL fetches (use webfetch) or brain-only queries (use gbrain query).
- Installs
- 198
- Last 24h
- +8
- Trending rank
- #9503
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/garrytan/gbrain --skill perplexity-research- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads perplexity-research automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
perplexity-research — Brain-Augmented Web Research
Convention: see conventions/quality.md for citation rules; every claim from web research lands with a verifiable citation, not a paraphrase.
Convention: see conventions/brain-first.md for the lookup chain. This skill ENFORCES brain-first by sending brain context as part of the Perplexity prompt — the web search focuses on the delta between brain knowledge and current web state.
What this does
Combines existing brain knowledge with Perplexity's web search. The agent sends brain context about a topic into a Perplexity query; Perplexity searches + reads + synthesizes multiple pages with citations, focused on what's NEW relative to the supplied context.
The key insight: Perplexity doesn't just search — it reads and synthesizes with citations. By sending brain context in the instructions, it knows what you already know, so it surfaces the delta instead of repeating settled fact.
When to use this vs other tools
| Need | Use |
|---|---|
| Deep research with citations | This skill — Perplexity + Opus |
| Quick URL content | web_fetch |
| Brain-only lookup | gbrain query / gbrain search |
| Real-time social monitoring | external X / social-media collectors |
| Structured data lookup against a tracker | skills/data-research/SKILL.md |
Output structure
The research output lands as a brain page under research/<slug>.md with
this structure:
---
title: "[Topic] — Research [YYYY-MM-DD]"
type: research
date: YYYY-MM-DD
brain_context_slugs: ["pages whose context was sent to Perplexity"]
recency_filter: "[hour|day|week|month|none]"
---
# [Topic] — Research [YYYY-MM-DD]
> Executive summary: 2-3 sentences on the delta between brain knowledge
> and current web state.
## Key New Developments
What's changed since the brain was last updated on this topic.
## Confirming Signals
Web evidence validating existing brain knowledge.
## Contradictions or Updates
Things that conflict with the brain — these need a closer look.
## Recommended Brain Updates
Specific page updates the user might want to make based on this research.
Each item: which page, what to add or change, source URL.
## Citations
- [Source title](URL) — accessed YYYY-MM-DD
- [Source title](URL) — accessed YYYY-MM-DD
- ...
Invocation
The skill is markdown agent instructions; the agent uses Perplexity's
API directly (or a host-provided perplexity CLI if installed):
# 1. Pull brain context
gbrain get <slug> # or
gbrain query "<topic keywords>"
# 2. Compose the Perplexity query with brain context inline:
# """
# Topic: <topic>
# Brain context (what we already know): <embedded gbrain content>
# Find: what's NEW since 2026-MM-DD that the brain doesn't reflect.
# Cite every claim.
# """
# 3. Call Perplexity's Agent API (or the host's perplexity binary). The
# Sonar chat-completions endpoint (/chat/completions with
# "model": "sonar-pro") is being retired and refuses migrated accounts
# with 403 agent_api_migration_required; use POST /v1/agent:
# curl https://api.perplexity.ai/v1/agent \
# -H "Authorization: Bearer $PERPLEXITY_API_KEY" \
# -H "Content-Type: application/json" \
# -d '{"preset": "low", "instructions": "Cite every claim.", "input": "..."}'
# Read the answer from the output item with "type": "message" (SDKs
# expose it as output_text) and the citations from the search results
# in the output array; inline [n] markers refer to them.
# 4. Write the structured research page via put_page:
gbrain put research/<slug> # via the put_page operation
# 5. Cross-link entities mentioned (people, companies) per Iron Law.
Presets
| Agent API preset | Replaces | Use when |
|---|---|---|
"preset": "low" | Sonar Pro | Deep analysis, entity enrichment, deal research (multi-step search) |
"preset": "fast" | Sonar | Quick lookups, bulk monitoring, briefing pipelines |
Default to low. Drop to fast for bulk / cron contexts where cost
matters more than depth. Perplexity does not publish a fixed per-request
price for presets; check its pricing page before running bulk jobs.
Integration patterns
Entity enrichment
Called by skills/enrich/SKILL.md when an entity page (person, company)
needs current web context:
BRAIN=$(gbrain get people/<slug> 2>/dev/null)
# Send <slug>'s page content as brain_context to Perplexity, get current
# news / role / context, then update the brain page with what's new.
Deal / company monitoring (cron)
For each active item under deals/ or companies/:
# Weekly: pull recent news per company; flag changes for review.
Morning briefing
Replace raw web_fetch calls in briefing pipelines with this skill so
the agent doesn't re-narrate already-known facts.
Recency filter
Pass the recency filter on the web search tool:
"tools": [{"type": "web_search", "filters": {"search_recency_filter": "week"}}]
with hour | day | week | month | year. Useful for news-cycle topics; omit
for evergreen research. Record the value as recency_filter in the page
frontmatter.
When it fails
Follow the agent operator protocol for any gbrain error code, exit code, [AGENT] block or notice block. Specific to this skill:
PERPLEXITY_API_KEYmissing or rejected: tell the user the web arm cannot run; answer from the brain only and say so.rate_limited: retry after the stated delay; for bulk work drop to the cheaper model rather than looping.- The brain-context search is empty with a degraded notice: the "what's new vs what the brain knows" diff is unreliable; say the brain side was keyword-only.
Anti-Patterns
- ❌ Sending NO brain context. Then it's just a search — use
web_fetchinstead. - ❌ Truncating the brain context. The whole point is "knows what you know." Send dense context.
- ❌ Discarding citations. Every claim in the output must have a URL.
- ❌ Skipping the cross-link step when entities are mentioned. Iron Law.
Environment
PERPLEXITY_API_KEYset in the agent's environment (or in~/.gbrain/.env).- Optional: install Perplexity's official CLI for richer streaming output.
Related skills
skills/academic-verify/SKILL.md— wraps perplexity-research for citation-verified academic claim checkingskills/enrich/SKILL.md— calls perplexity-research as part of the entity-enrichment loopskills/data-research/SKILL.md— structured-data trackers (different shape: parameterized YAML recipes, not free-form research)
Contract
This skill guarantees:
- Routing matches the canonical triggers in the frontmatter.
- Output written under the directories listed in
writes_to:(when applicable). - Conventions referenced (
quality.md,brain-first.md,_brain-filing-rules.md) are followed. - Privacy contract preserved: no real names, no fork-specific filesystem path literals, no upstream-fork references.
The full behavior contract is documented in the body sections above; this section exists for the conformance test.
Output Format
The skill's output shape is documented inline in the body sections above (see "Output", "Brain page format", or equivalent). The literal section header here exists for the conformance test (test/skills-conformance.test.ts).
FAQ
What does the perplexity-research skill do?
Brain-augmented web research. Sends brain context about a topic to Perplexity, which searches the web with citations and returns what is NEW vs what the brain already knows. Use for entity enrichment, current-state checks, deal monitoring, and freshness deltas. NOT for simple URL fetches (use webfetch) or brain-only queries (use gbrain query).
How do I install perplexity-research?
Run npx skills add https://github.com/garrytan/gbrain --skill perplexity-research in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/perplexity-research/ (personal) or .claude/skills/perplexity-research/ (project).
Which AI agents can use perplexity-research?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is perplexity-research safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains perplexity-research?
It is published by garrytan in garrytan/gbrain. It has 198 recorded installs.
More from garrytan/gbrain
brain-ops
garrytan/gbrain
Brain knowledge base operations. The core read/write cycle: brain-first lookup, read-enrich-write loop, source attribution, ambient enrichment, back-linking. Read this before any brain interaction.
query
garrytan/gbrain
Answer questions using the brain's knowledge with 3-layer search, synthesis, and citation propagation. Use when the user asks a question, wants a lookup, or needs information from the brain.
maintain
garrytan/gbrain
Brain health checks: back-link enforcement, citation audit, filing validation, stale info detection, orphan pages, and benchmarks. Use when asked to check brain health, run maintenance, or audit quality.
idea-ingest
garrytan/gbrain
Ingest links, articles, tweets, and ideas into the brain. Fetch content, save to brain with analysis, credit the author (people page only when they pass the notability gate), and cross-link. Use when the user shares a link or says "read this", "save this", "think about this".
enrich
garrytan/gbrain
Enrich brain pages with tiered enrichment protocol. Creates and updates person/company pages with compiled truth, timeline, and cross-links. Use when a new entity is mentioned or an existing page needs updating.
meeting-ingestion
garrytan/gbrain
Ingest meeting transcripts from ANY meeting recorder into brain pages with attendee enrichment, entity propagation, and timeline merge. One unified pipeline: normalize the source into a standard transcript record, split multi-meeting recordings, resolve speakers by evidence, create the page, pass every surprising claim through the consistency check (transcript + brain + plausibility), enrich every entity, then run the verification checklist — substance AND sequence. A meeting is NOT fully ingested until the enrich skill has processed every entity AND the verification checklist passes, including the sequence verify (PASS or explicit user waive).
Popular productivity & automation skills
agent-browser
vercel-labs/agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.
lark-doc
open.feishu.cn
飞书云文档(Docx / Wiki)内容操作:读取、创建、编辑文档,插入或下载图片附件,以及操作思维笔记。用户提供文档 URL/token(包括 doubao.com 的 /docx/、/wiki/)时使用;按 URL 路径/token 而非域名路由;/page/ 是妙搭应用,非飞书云文档。文档内嵌资源按读取参考中的统一规则分流。独立评论操作走 lark-drive;随正文读取评论使用 docs +fetch。表格或 Base 内部数据操作不在本 skill。
lark-base
open.feishu.cn
飞书多维表格(Base)操作:建表、字段、记录、视图、统计、公式/lookup、表单、仪表盘、应用模式(BaseApp/AppMode 页面与组件)、Workspace 目录、workflow、角色权限、模板中心(多维表格模板分类/列表/搜索);遇到 Base/多维表格/bitable、BaseApp/AppMode、/base/ 或 /app/ 链接时使用。BaseApp 不走 lark-apps;文件导入/导出转 lark-drive,认证/授权转 lark-shared。
lark-drive
open.feishu.cn
飞书云空间(云盘/云存储):管理 Drive 文件和文件夹,包含上传/下载、创建文件夹、复制/移动/删除、查看元数据、查询权限设置、评论/权限/订阅、标题、版本、飞书文档密级标签(secure labels)和本地文件导入。用户需要整理云盘目录、处理云空间资源 URL/token、判断链接类型/真实 token/标题,或导入 Word/Markdown/Excel/CSV/PPTX/.base 为 docx/sheet/bitable/slides 时使用;doubao.com 云空间 URL/token 也按资源路径和 token 路由,不回退 WebFetch。不负责:文档内容编辑(走 lark-doc)、表格/Base 表内数据操作(走 lark-sheets/lark-base)、知识空间节点/成员管理(走 lark-wiki)、原生 Markdown 文件读写/patch/diff(走 lark-markdown)。
lark-shared
open.feishu.cn
Use for lark-cli setup/auth tasks: auth login/status/logout, user vs bot identity, business-domain permissions (--domain, including all/docs/drive), missing scopes, revoking authorization, or handling notice JSON.
lark-im
open.feishu.cn
飞书即时通讯:收发消息和管理群聊。发送和回复消息、搜索聊天记录、管理群聊成员、上传下载图片和文件、管理表情回复、发送应用内/短信/电话加急、发送和处理交互卡片(Interactive Card)、监听卡片按钮回调(card.action.trigger)。当用户需要发消息、查看或搜索聊天记录、下载聊天中的文件、查看群成员、搜索群、创建群聊或话题群、管理标记数据、管理 Feed 置顶(添加/移除/查询置顶会话)、管理标签数据、处理卡片回调时使用。