morph-search

Search codebases with WarpGrep to locate patterns, functions, and variables.

3.9k|296|Updated Dec 23, 2025
One-click install
npx skills add https://github.com/parcadei/Continuous-Claude --skill morph-search
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: morph-search
Source: https://github.com/parcadei/Continuous-Claude/tree/main/.claude/skills/morph-search
Command: npx skills add https://github.com/parcadei/Continuous-Claude --skill morph-search

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Accelerates codebase search using WarpGrep, enabling quick pattern discovery across large repositories.

Core Features & Use Cases

  • Pattern search: Find code patterns, function names, and imports quickly.
  • Regex search: Use powerful regex patterns for precise queries.
  • Edit from search: Directly apply edits to matched files when needed.

Quick Start

uv run python -m runtime.harness scripts/morph_search.py --search "async def" --path "./src"

Frequently Asked Questions about morph-search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search a large codebase quickly for specific patterns?

Codebase search using WarpGrep accelerates pattern discovery across large repositories. morph-search performs rapid searches for functions, variables, and code patterns by leveraging WarpGrep's optimized engine, enabling you to locate matches in seconds rather than minutes on multi-repository projects.

Can I use regex patterns when searching my codebase?

Yes, regex search is supported. morph-search accepts powerful regex patterns for precise queries, letting you find complex code structures—like async function definitions or specific import patterns—beyond simple string matching.

How do I set up codebase search with WarpGrep?

Configure a Morph server in MCP with your MORPH_API_KEY environment variable. Use the morph_search.py harness with the --search flag to specify your pattern, --path to target a directory, and run via `uv run python -m runtime.harness scripts/morph_search.py`.

Can I apply edits directly to files found during search?

Yes, the --edit and --content flags enable you to modify matched files programmatically. After locating patterns via search, you can apply edits in the same workflow without switching tools.

Does this work for searching across multiple repositories?

Yes, morph-search is designed for multi-repository projects. It scales to large codebases by using WarpGrep's fast indexing, making it suitable for monorepos and federated search scenarios across linked repositories.

What if my search isn't returning expected results?

Verify your MORPH_API_KEY is set correctly and your Morph server is reachable. Check that --path points to the correct directory, and ensure your regex or search pattern matches your target syntax. Use the CLI harness directly to debug query output.