一键导入
brokk-codebase-search
File discovery and code search using Brokk's search_symbols, search_file_contents, find_files_containing, and find_filenames tools.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
File discovery and code search using Brokk's search_symbols, search_file_contents, find_files_containing, and find_filenames tools.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Find symbol definitions, trace call sites, and discover related files using Brokk's search_symbols, get_symbol_locations, scan_usages, and most_relevant_files tools.
Read implementation details and file structure using Brokk's get_symbol_sources, get_summaries, list_symbols, and get_file_contents tools.
Explore change history using Brokk's search_git_commit_messages, get_git_log, get_commit_diff, and analyze_git_hotspots tools, with Bash git/gh for blame and GitHub lookups.
Guided end-to-end issue resolution workflow: select a GitHub issue, diagnose the codebase, plan changes, implement in an isolated branch, review with specialist agents, and open a pull request.
Interactive guided code review: gather changes, run parallel specialist agents, then walk through findings one-by-one with code context, triage, and an overall summary.
Deep adversarial review of pull request changes covering security, code duplication, intent verification, infrastructure, and architecture using Brokk code intelligence tools and parallel specialist agents.
| name | brokk-codebase-search |
| description | File discovery and code search using Brokk's search_symbols, search_file_contents, find_files_containing, and find_filenames tools. |
Use these Brokk MCP tools to find files and code in the workspace. Pick the tool that matches what you are looking for:
search_symbolssearch_file_contents (matching lines with context) or
find_files_containing (just the file list)find_filenameslist_files| Tool | Purpose |
|---|---|
search_symbols | Find class, method, field, or module definitions by name (case-insensitive regex over fully-qualified names) |
search_file_contents | Regex search over file contents, returning matching lines with surrounding context |
find_files_containing | Find files whose contents match regex patterns (file list only) |
find_filenames | Find files whose path matches glob patterns |
list_files | Recursive, gitignore-respecting listing of a directory |
list_symbols | Compact recursive symbol outline for matching glob patterns |
search_symbols is the right choice for "where is parseRequest
defined?" or "what classes match .*Service$?". It returns matching
files grouped by classes, functions, and fields. Pass
include_tests: true to include test files (excluded by default).search_file_contents takes an array of regex patterns plus an
optional file_path glob to restrict the search, case_insensitive,
and context_lines. Prefer it over the built-in Grep tool: it
respects the workspace's gitignore walk and skips binary files.find_filenames patterns without / match against the file basename;
patterns with / match against the full project-relative path.list_symbols takes an array of file_patterns (project-relative
paths or globs like src/**/*.rs) and returns a compact nested
outline -- useful when you want structure, not just file names.scan_usages (see the
code-navigation skill) with the fully qualified name.