From brokk
Performs grep-like regex text search across file contents and discovers files in codebases using Brokk's searchFileContents, findFilesContaining, findFilenames, and listFiles tools.
How this skill is triggered — by the user, by Claude, or both
Slash command
/brokk:codebase-searchThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use these Brokk MCP tools for text-based search and file discovery.
Use these Brokk MCP tools for text-based search and file discovery.
| Tool | Purpose |
|---|---|
searchFileContents | Regex search across file contents (with context lines) |
findFilesContaining | Find files whose contents match a pattern |
findFilenames | Find files by name/glob pattern |
listFiles | List directory contents |
searchFileContents supports regex and optional context lines --
use it like grep.findFilesContaining returns only file paths (no content) -- use it
when you just need to know which files match.findFilenames accepts glob patterns for matching file names.listFiles is useful for exploring directory structure when you are
not sure what exists.npx claudepluginhub brokkai/brokk --plugin brokkProvides cheatsheets for fd to find files, ripgrep (rg) to search code content, and fzf for interactive fuzzy selection with previews. Includes combined workflows and performance tips.
Enhances codebase searches via semantic query parsing, regex patterns, AST analysis, symbol lookups, and optimized grep/ripgrep with relevance ranking and context.
Semantic codebase search — use for exploring code, finding implementations, and answering questions about any project. Searches using natural language queries, identifier names, or file paths. Returns ranked results using embedding-based similarity, BM25 keyword matching, symbol matching, import graph analysis, and git recency. Use this as the default exploration tool instead of grep when you don't know the exact text to search for.