Skip to content
Back to skills

Codebase Search

ASecurity

Advanced codebase search using Mantic for finding files, understanding context, and analyzing code impact. Use this skill when searching for code, files, or understanding code relationships.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
toolsjavascriptjavabash

Works with

  • terminal

Security analysis

A100/100

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill codebase-search --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Codebase Search?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Codebase Search
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-codebase-search/badge)](https://www.skillsdirectory.com/skills/david-li0406-codebase-search)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: codebase-search
description: Advanced codebase search using Mantic for finding files, understanding context, and analyzing code impact. Use this skill when searching for code, files, or understanding code relationships.
---

# Codebase Search with Mantic

You have access to Mantic via the terminal with enhanced search features.

---

## Basic Search

```bash
mantic "your query here"
```

---

## Advanced Features

**Zero-Query Mode (Context Detection):**
```bash
mantic ""  # Shows modified files, suggestions, impact
```

**Context Carryover (Session Mode):**
```bash
mantic "query" --session "session-name"
```

**Output Formats:**
```bash
mantic "query" --json        # Full metadata
mantic "query" --files       # Paths only
mantic "query" --markdown    # Pretty output
```

**Impact Analysis:**
```bash
mantic "query" --impact  # Shows blast radius
```

**File Type Filters:**
```bash
mantic "query" --code     # Code files only
mantic "query" --test     # Test files only
mantic "query" --config   # Config files only
```

---

## Search Quality Features

- **CamelCase detection**: "ScriptController" finds script_controller.h
- **Exact filename matching**: "download_manager.cc" returns exact file first
- **Path sequence**: "blink renderer core dom" matches directory structure
- **Word boundaries**: "script" won't match "javascript"
- **Directory boosting**: "gpu" prioritizes files in gpu/ directories

---

## Best Practices

**Do NOT use grep/find blindly. Use Mantic first.**

Mantic provides intelligent search with context awareness, making it superior to traditional grep/find commands for code exploration.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…