morph-search

morph-search

Popular

Fast codebase search via WarpGrep (20x faster than grep)

3.4Kestrelas
266forks
Atualizado 1/29/2026
SKILL.md
readonlyread-only
name
morph-search
description

Fast codebase search via WarpGrep (20x faster than grep)

Morph Codebase Search

Fast, AI-powered codebase search using WarpGrep. 20x faster than traditional grep.

When to Use

  • Search codebase for patterns, function names, variables
  • Find code across large codebases quickly
  • Edit files programmatically

Usage

Search for code patterns

uv run python -m runtime.harness scripts/mcp/morph_search.py \
    --search "authentication" --path "."

Search with regex

uv run python -m runtime.harness scripts/mcp/morph_search.py \
    --search "def.*login" --path "./src"

Edit a file

uv run python -m runtime.harness scripts/mcp/morph_search.py \
    --edit "/path/to/file.py" --content "new content"

Parameters

Parameter Description
--search Search query/pattern
--path Directory to search (default: .)
--edit File path to edit
--content New content for file (use with --edit)

Examples

# Find all async functions
uv run python -m runtime.harness scripts/mcp/morph_search.py \
    --search "async def" --path "./src"

# Search for imports
uv run python -m runtime.harness scripts/mcp/morph_search.py \
    --search "from fastapi import" --path "."

vs ast-grep

Tool Best For
morph/warpgrep Fast text/regex search (20x faster)
ast-grep Structural code search (understands syntax)

MCP Server Required

Requires morph server in mcp_config.json with MORPH_API_KEY.

You Might Also Like

Related Skills

verify

verify

243K

Use when you want to validate changes before committing, or when you need to check all React contribution requirements.

facebook avatarfacebook
Obter
test

test

243K

Use when you need to run tests for React core. Supports source, www, stable, and experimental channels.

facebook avatarfacebook
Obter

Use when feature flag tests fail, flags need updating, understanding @gate pragmas, debugging channel-specific test failures, or adding new flags to React.

facebook avatarfacebook
Obter

Use when adding new error messages to React, or seeing "unknown error code" warnings.

facebook avatarfacebook
Obter
flow

flow

243K

Use when you need to run Flow type checking, or when seeing Flow type errors in React code.

facebook avatarfacebook
Obter
flags

flags

243K

Use when you need to check feature flag states, compare channels, or debug why a feature behaves differently across release channels.

facebook avatarfacebook
Obter