Skill

research-patterns

Install
1
Install the plugin
$
npx claudepluginhub kinginyellows/yellow-plugins --plugin yellow-research

Want just this skill?

Add to a custom plugin, then install with one command.

Description

Reference conventions for yellow-research plugin — slug naming, output format, source selection, API key setup, graceful degradation, and when to compound findings.

Tool Access

This skill uses the workspace's default tool permissions.

Skill Content

Research Patterns

Slug Naming

Convert the research topic to a slug for the output filename:

  • Characters: [a-z0-9-] only — lowercase, hyphens, no spaces or special chars
  • Max length: 40 characters
  • Examples:
    • "React Server Components 2026" → react-server-components-2026
    • "How does EXA neural search work?" → exa-neural-search
    • "Competitor analysis: Notion vs Linear" → notion-vs-linear-competitor
  • Collision handling: if docs/research/<slug>.md exists, append -2, -3

Output Location

All deep research saves to: docs/research/<slug>.md

Create the directory if it doesn't exist:

mkdir -p docs/research

Output Format

# <Topic Title>

**Date:** YYYY-MM-DD
**Sources:** Perplexity, EXA, Tavily (list which were used)

## Summary

[2-3 sentence executive summary]

## Key Findings

### <Subtopic 1>

[Findings with source citations]

### <Subtopic 2>

[Findings with source citations]

## Sources

- [Source Title](URL) — brief note on what was found here

Source Selection Guide

Query TypePrimary SourceSecondary
Library / framework docsContext7EXA get_code_context_exa
Code examples, GitHub patternsEXA get_code_context_exaGitHub grep
Recent news, current eventsPerplexity perplexity_searchTavily tavily_search
Competitive / company researchEXA company_research_exaPerplexity
Deep technical reportPerplexity perplexity_researchTavily tavily_research
AST / structural code patternsast-grep find_codeast-grep find_code_by_rule
Long-horizon async reportParallel createDeepResearchEXA deep_researcher_start
Specific URL contentEXA crawling_exaTavily tavily_extract

When to Compound Findings

After /research:deep, run /compound if the findings include:

  • A novel architectural pattern worth sharing with the team
  • A critical gotcha or anti-pattern discovered
  • An institutional decision that will recur (e.g., "we use X instead of Y because...")
  • A bug root cause that took significant investigation

Routine informational research does not need to be compounded.

Graceful Degradation

If an MCP server is unavailable (key not set, connection error, rate limit):

  • Log a brief note: "Skipping [source] — unavailable"
  • Continue with remaining sources
  • Never fail completely if at least 1 source is available
  • If all sources fail, surface the error clearly

API Key Setup

Add to ~/.zshrc (or equivalent shell config):

export EXA_API_KEY="your-key-here"
export TAVILY_API_KEY="your-key-here"
export PERPLEXITY_API_KEY="your-key-here"

Get keys from:

The Parallel Task server uses OAuth (no API key needed). Claude Code handles authentication automatically — you'll be prompted to authorize on first use.

After adding keys: source ~/.zshrc and restart Claude Code.

MCP Tool Name Verification

After installing yellow-research, always verify actual tool names before writing agent code or troubleshooting:

ToolSearch keyword: "exa"
Tool name: mcp__plugin_yellow-research_exa__...

ToolSearch keyword: "tavily"
Tool name: mcp__plugin_yellow-research_tavily__...

ToolSearch keyword: "perplexity"
Tool name: mcp__plugin_yellow-research_perplexity__...

ToolSearch keyword: "parallel"
Tool name: mcp__plugin_yellow-research_parallel__...

ToolSearch keyword: "ast-grep__find_code"
Tool name: mcp__plugin_yellow-research_ast-grep__find_code

ToolSearch keyword: "ast-grep__find_code_by_rule"
Tool name: mcp__plugin_yellow-research_ast-grep__find_code_by_rule

ToolSearch keyword: "ast-grep__dump_syntax_tree"
Tool name: mcp__plugin_yellow-research_ast-grep__dump_syntax_tree

ToolSearch keyword: "ast-grep__test_match_code_rule"
Tool name: mcp__plugin_yellow-research_ast-grep__test_match_code_rule

Naming convention: mcp__plugin_yellow-research_<server>__<tool>.

Or run /mcp in Claude Code to see all registered tools.

Never trust LLM-generated tool names — they may be fictitious. Empirical verification is required. If names differ from what's in agents/commands, update the allowed-tools lists and any MCP tool references in agent bodies.

Stats
Stars0
Forks0
Last CommitMar 6, 2026
Actions

Similar Skills