Search

PythonReactSEOPDF
GitHub Skill

codebase-search

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.

jakoss☆ 1 Repository stars0 Repository forks

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

View source ↗Guides

Skill instructions

Codebase Search with Mantic

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


Basic Search

mantic "your query here"

Advanced Features

Zero-Query Mode (Context Detection):

mantic ""  # Shows modified files, suggestions, impact

Context Carryover (Session Mode):

mantic "query" --session "session-name"

Output Formats:

mantic "query" --json        # Full metadata
mantic "query" --files       # Paths only
mantic "query" --markdown    # Pretty output

Impact Analysis:

mantic "query" --impact  # Shows blast radius

File Type Filters:

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.

Examples

Read the usage examples in the source repository.

View source ↗

Source history

Indexed on
2026-01-20
Index updated
2026-01-26
Branch
main

Index and sync dates describe this directory. View the source repository for code history.

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!