parcadei

morph-search

@parcadei/morph-search
parcadei
1,513
88 forks
Updated 1/6/2026
View on GitHub

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

Installation

$skills install @parcadei/morph-search
Claude Code
Cursor
Copilot
Codex
Antigravity

Details

Path.claude/skills/morph-search/SKILL.md
Branchmain
Scoped Name@parcadei/morph-search

Usage

After installing, this skill will be available to your AI coding assistant.

Verify installation:

skills list

Skill Instructions


name: morph-search description: Fast codebase search via WarpGrep (20x faster than grep) allowed-tools: [Bash, Read]

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/morph_search.py \
    --search "authentication" --path "."

Search with regex

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

Edit a file

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

Parameters

ParameterDescription
--searchSearch query/pattern
--pathDirectory to search (default: .)
--editFile path to edit
--contentNew content for file (use with --edit)

Examples

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

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

vs ast-grep

ToolBest For
morph/warpgrepFast text/regex search (20x faster)
ast-grepStructural code search (understands syntax)

MCP Server Required

Requires morph server in mcp_config.json with MORPH_API_KEY.