morph-search
High-performance code search and pattern matching that is 20 times faster than standard grep.
Install
mkdir -p .claude/skills/morph-search && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/1096" && unzip -o skill.zip -d .claude/skills/morph-search && rm skill.zipInstalls to .claude/skills/morph-search
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Fast codebase search via WarpGrep (20x faster than grep)Key capabilities
- →Perform high-speed codebase searches
- →Execute regex-based pattern matching
- →Edit files programmatically via command line
How it works
It utilizes WarpGrep to perform text and regex searches across a codebase, providing significantly faster results than standard grep.
Inputs & outputs
When to use morph-search
- →Find regex patterns in large source directories
- →Search for function definitions
- →Edit code files via command line
About this skill
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.
When not to use it
- →Structural code refactoring requiring syntax awareness
Prerequisites
Limitations
- →Not syntax-aware
- →Requires MCP server configuration
How it compares
It is optimized for raw speed in text searching, whereas tools like ast-grep are better for syntax-aware structural searches.
Compared to similar skills
morph-search side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| morph-search (this skill) | 9 | 7mo | Review | Beginner |
| run-nx-generator | 5 | 3mo | Review | Intermediate |
| git-commit | 11 | 6mo | Review | Beginner |
| upgrading-expo | 3 | 4mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by parcadei
View all by parcadei →You might also like
run-nx-generator
nrwl
Run Nx generators with prioritization for workspace-plugin generators. Use this when generating code, scaffolding new features, or automating repetitive tasks in the monorepo.
git-commit
github
Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use when user asks to commit changes, create a git commit, or mentions "/commit". Supports: (1) Auto-detecting type and scope from changes, (2) Generating conventional commit messages from diff, (3) Interactive commit with optional type/scope/description overrides, (4) Intelligent file staging for logical grouping
upgrading-expo
sickn33
Upgrade Expo SDK versions
continue-implementation
LibPDF-js
Continue implementing a spec from a previous session
fix-dependabot-prs
bannzai
dependabotから上がってきた複数のPRを一括で解決し、まとめPRを作成する。dependabotのPR対応を依頼された時に使用。
repoprompt
parcadei
Use RepoPrompt CLI for token-efficient codebase exploration