AgentSkillsCN

warp-grep

使用Warp-Grep MCP进行并行代码搜索。适用于代码库发现、理解代码运行机制、数据流分析,或当用户询问“X是如何工作的”时。

SKILL.md
--- frontmatter
name: warp-grep
description: Parallel code search with Warp-Grep MCP. Use for codebase discovery, understanding how things work, data flow analysis, or when the user asks "how does X work" about the codebase.

Warp-Grep (MCP Server)

Parallel codebase search. Runs 8 searches per turn for efficient discovery.

When This Applies

SignalAction
"How does X work?"Use Warp-Grep
Data flow across filesUse Warp-Grep
Cross-cutting concernsUse Warp-Grep
Understanding architectureUse Warp-Grep

How It Works

Warp-Grep is an MCP tool that activates automatically for natural language code questions. It:

  1. Interprets your question
  2. Runs up to 8 parallel searches
  3. Returns relevant code snippets with context

When to Use Warp-Grep

Use CaseUse Warp-Grep?
"How does authentication work?"YES
Data flow analysisYES
Understanding module interactionsYES
Finding all usages of a patternYES

When NOT to Use Warp-Grep

Use CaseUse Instead
Known function namerg (ripgrep) or Grep tool
Known exact fileJust open it with Read
Simple existence checkGlob or rg
Single specific searchGrep tool

Query Tips

Good queries:

  • "How does the payment processing flow work?"
  • "Where are user sessions managed?"
  • "How is error handling done in the API layer?"
  • "What happens when a request comes in?"

Less effective:

  • "Find function X" → Use rg or Grep instead
  • "Open file Y" → Use Read tool

Integration with Other Tools

NeedTool
Codebase discoveryWarp-Grep
Specific pattern searchGrep / rg
Past session contentCASS
Current documentationExa
Task graphbv

Requirements

Requires Morph API key configured:

bash
claude mcp add morph-fast-tools -s user \
  -e MORPH_API_KEY=your-key \
  -e ALL_TOOLS=true \
  -- npx -y @morphllm/morphmcp

See Also

  • external-docs/ — Grounding with web sources via Exa
  • cass-search/ — Past session search