RivalSearch-Plugin
CLAUDE.md1 starsChanged 9 months agoMITView on GitHub
This file is read by Claude when working in this project. It contains architecture, conventions, and tool references. For human-facing docs, see README.md. Rival Search Plugin is a Claude Code Plugin powered by the RivalSearchMCP MCP (Model Context Protocol) server. It turns Claude into a full AI research team — no API keys, no setup. This Claude Code plugin connects to RivalSearchMCP via MCP at https://RivalSearchMCP.fastmcp.app/mcp and provides: - 10 MCP tools — web, social, news, GitHub, academic, document analysis,…
In this repository5 other files it gives its agents.
- competitive-intelSkill
- due-diligenceSkill
- fact-checkSkill
- researchSkill
- trend-intelSkill
The file
We split this CLAUDE.md into the rules it gives an agent
10 rules. About 0 are common, 7 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 46
All tools are from RivalSearchMCP.
- Distinctive: line 57
Search Reddit, Hacker News, Dev.to, Product Hunt, and Medium.
- Distinctive: line 70
Search GitHub repos (60 req/hour rate limit).
- Distinctive: line 159
All research agents are read-only — disallow Edit, Write, NotebookEdit
- Very specific: line 173
Use mcp__RivalSearchMCP__* matcher for tool events
- Distinctive: line 174
Keep portable (macOS + Linux)
- Very specific: line 176
Use jq to parse JSON stdin
- Distinctive: line 180
Every research output must:
- Distinctive: line 187
Use tables for comparisons
- Very specific: line 195
Verify: skills appear as /rival-search:*, agents in /agents, MCP tools respond, hooks log to /tmp/rival-search-audit.log.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Rival Search — Claude Code Plugin
This file is read by Claude when working in this project. It contains architecture, conventions, and tool references. For human-facing docs, see README.md.
What This Claude Code Plugin Is
Rival Search Plugin is a Claude Code Plugin powered by the RivalSearchMCP MCP (Model Context Protocol) server. It turns Claude into a full AI research team — no API keys, no setup.
This Claude Code plugin connects to RivalSearchMCP via MCP at https://RivalSearchMCP.fastmcp.app/mcp and provides:
- 10 MCP tools — web, social, news, GitHub, academic, document analysis, and more
- 5 agent skills — slash commands that run multi-step research workflows
- 6 AI research agents — specialist analysts Claude invokes automatically
- Portable hooks — audit logging and quality gates
Architecture
rival-search-plugin/
├── .claude-plugin/
│ ├── plugin.json # Plugin manifest (name, version, component paths)
│ └── marketplace.json # Marketplace distribution config
├── .mcp.json # MCP connection → https://RivalSearchMCP.fastmcp.app/mcp
├── agents/ # 6 specialist agents (full frontmatter)
├── skills/ # 5 slash-command workflows
├── hooks/
│ └── hooks.json # Plugin-level event hooks
├── CLAUDE.md # This file
├── LICENSE # MIT license
└── README.md # Human-facing documentationSkills → Agent Mapping
| Skill | What It Does | Used By Agents |
research | Multi-source research + academic papers, datasets, implementations | research-analyst, content-strategist |
competitive-intel | Company/market/website intelligence + SWOT | competitive-intel, due-diligence |
due-diligence | Company OR person investigation + risk assessment | due-diligence |
trend-intel | News digests + trend trajectory + velocity indicators | trend-analyst, content-strategist |
fact-check | Claim verification + confidence scoring + evidence chains | fact-checker |
The skills field in agent frontmatter injects full skill content into the agent's context at startup.
The 10 MCP Tools (Parameter Reference)
All tools are from RivalSearchMCP. No auth required.
web_search
Multi-engine search across DuckDuckGo, Yahoo, and Wikipedia.
query(string, required): Search querynum_results(int): Results per engine (default: 10)extract_content(bool): Extract page content from resultsfollow_links(bool): Follow and extract linked pagesmax_depth(int): Link following depth
social_search
Search Reddit, Hacker News, Dev.to, Product Hunt, and Medium.
query(string, required): Search queryplatforms(array):["reddit", "hackernews", "devto", "producthunt", "medium"]max_results_per_platform(int): Results per platform (default: 10)time_filter(string):"day","week","month","year"
news_aggregation
Aggregate from Google News, DuckDuckGo News, and Yahoo News.
query(string, required): News search querymax_results(int): Total results (default: 10)time_range(string):"day","week","month"
github_search
Search GitHub repos (60 req/hour rate limit).
query(string, required): Search querysort(string):"stars","forks","updated","best-match"max_results(int): Number of repos (default: 10)include_readme(bool): Include README content
scientific_research
Academic papers and dataset discovery.
operation(string, required):"academic_search"or"dataset_discovery"query(string, required): Research querymax_results(int): Number of resultssources(array):["semantic_scholar", "arxiv"]for papers; Kaggle/HuggingFace for datasets
content_operations
Retrieve, analyze, extract, or stream web content.
operation(string, required):"retrieve","analyze","extract","stream"- For retrieve:
url,extraction_method("markdown","text","html") - For analyze:
content,analysis_type("general","business","technical"),extract_key_points,summarize - For extract:
url,link_type("all","internal","external"),max_links
map_website
Explore and map website structure.
url(string, required): Website URLmode(string):"map","research","docs"max_pages(int): Pages to crawlmax_depth(int): Crawl depth
document_analysis
Extract text from PDFs, Word docs, text files, images (OCR).
url(string, required): Document URLmax_pages(int): Pages to processextract_metadata(bool): Extract document metadatasummary_length(int): Summary word count
research_topic
Quick end-to-end research workflow.
topic(string, required): Research topic
research_agent
AI agent with autonomous multi-tool research.
query(string, required): Research question
Conventions for Writing Skills
Skills live in skills/<skill-name>/SKILL.md.
Required frontmatter:
---
name: skill-name
description: What it does. Use when [trigger].
argument-hint: "[what the user should provide]"
allowed-tools: mcp__RivalSearchMCP__web_search, mcp__RivalSearchMCP__social_search, Read, Grep, Glob, WebFetch, WebSearch
---Rules:
$ARGUMENTScaptures user input after the slash command- Number each step, specify exact MCP tool and parameters
- End with a "Compile Report" step defining output sections
- Require inline citations:
[Source Name](URL) - Include "Report progress after each step"
Conventions for Writing Agents
Agents live in agents/<agent-name>.md.
Required frontmatter:
---
name: agent-name
description: What it does. Use proactively when [trigger].
model: inherit
tools: [Read, Grep, Glob, WebFetch, WebSearch, mcp__RivalSearchMCP__*]
disallowedTools: [Edit, Write, NotebookEdit]
skills: [skill-name]
mcpServers: [RivalSearchMCP]
memory: user
maxTurns: 40
hooks:
Stop:
- hooks:
- type: prompt
prompt: "Quality gate..."
timeout: 15
---Rules:
- All research agents are read-only — disallow Edit, Write, NotebookEdit
- Include a tool table mapping MCP tools to purposes
- Define 4-6 phase methodology (scope → collect → validate → synthesize)
- Define output format with numbered sections
- Include guidelines for citations, objectivity, gap identification
Conventions for Hooks
Plugin hooks: hooks/hooks.json. Three types:
- command: Shell command (JSON on stdin)
- prompt: LLM evaluates a condition →
{ok: true/false} - agent: Multi-turn subagent with tool access
Rules:
- Use
mcp__RivalSearchMCP__*matcher for tool events - Keep portable (macOS + Linux)
- Timeouts: 5s logging, 15s validation
- Use
jqto parse JSON stdin
Quality Standards
Every research output must:
- Cite sources inline:
[Source Name](URL) - End with a Sources section listing all URLs
- Use structured headers
- Distinguish facts vs opinions vs speculation
- Flag information recency
- Identify gaps — what couldn't be found
- Use tables for comparisons
Testing
claude --plugin-dir ./rival-search-pluginVerify: skills appear as /rival-search:*, agents in /agents, MCP tools respond, hooks log to /tmp/rival-search-audit.log.
Key Links
- Plugin manifest:
.claude-plugin/plugin.json - MCP connection:
.mcp.json - RivalSearchMCP: https://github.com/damionrashford/RivalSearchMCP
- MCP endpoint:
https://RivalSearchMCP.fastmcp.app/mcp
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

