一键导入
bifrost-code-intelligence
Use Bifrost MCP tools to search, navigate, read, summarize, and analyze code with analyzer-backed symbol and file context.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use Bifrost MCP tools to search, navigate, read, summarize, and analyze code with analyzer-backed symbol and file context.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Discover symbols, structural code shapes, and files with Bifrost's search_symbols, query_code, find_filenames, list_files, scan_usages_by_location, and most_relevant_files tools, with shell grep for arbitrary text.
Discover symbols, structural code shapes, and files with Bifrost's search_symbols, query_code, find_filenames, list_files, scan_usages_by_location, and most_relevant_files tools, with shell grep for arbitrary text.
Find symbol definitions, references, call sites, and related files using Bifrost's search_symbols, get_symbol_locations, scan_usages_by_location, and most_relevant_files tools.
Find symbol definitions, references, call sites, and related files using Bifrost's search_symbols, get_symbol_locations, scan_usages_by_location, and most_relevant_files tools.
Harden a test suite with a risk-ranked adversarial audit, root-cause fixes, minimized regression tests, redundancy review, and complete validation. Use for adversarial test audits, test-suite hardening, regression hunting, or comprehensive test cleanup.
Harden a test suite with a risk-ranked adversarial audit, root-cause fixes, minimized regression tests, redundancy review, and complete validation. Use for adversarial test audits, test-suite hardening, regression hunting, or comprehensive test cleanup.
| name | bifrost-code-intelligence |
| description | Use Bifrost MCP tools to search, navigate, read, summarize, and analyze code with analyzer-backed symbol and file context. |
Use this Amp skill when you need Bifrost's analyzer-backed code intelligence in
the active workspace. The bundled mcp.json starts the Bifrost MCP server and
keeps its tools scoped to this skill.
The sections below are generated from the canonical Bifrost code-intelligence skills in this repository.
Source: plugins/bifrost-agent/skills/bifrost-code-navigation/SKILL.md.
Use these Bifrost MCP tools when you need to find where code is defined, where it is used, or which source files are related to a starting point.
The Bifrost agent plugin receives its workspace boundary from standard MCP
roots, Codex sandbox-state metadata, or an explicit launcher override. Do not
call workspace lifecycle tools such as activate_workspace for the default
plugin install.
| Tool | Purpose |
|---|---|
search_symbols | Find classes, methods, fields, functions, modules, and other indexed declarations by name |
get_symbol_locations | Get project-relative file paths and line ranges for known symbols |
scan_usages_by_location | Find references, call sites, usages, callers, and related tests for known symbols or declaration locations |
most_relevant_files | Rank project files related to a set of seed files using imports and git history |
search_symbols for partial names. It matches indexed symbol
names and accepts include_tests: true when tests matter.get_symbol_locations when you need exact definition coordinates before
opening or editing a declaration.scan_usages_by_location instead of text search when changing behavior and callers
or references matter. Pass fully qualified symbols from search_symbols
where possible, or use source-location targets when you only know the file
and declaration line.most_relevant_files after finding one useful file to discover adjacent
implementation, tests, or related modules.rg or another built-in grep/search tool. The default Bifrost plugin
does not expose raw text-search MCP tools.Source: plugins/bifrost-agent/skills/bifrost-code-reading/SKILL.md.
Use these Bifrost MCP tools to read code at the right level of detail before opening larger files directly.
The default Bifrost agent plugin exposes structured analyzer tools, not raw file-content tools. For non-source files, build files, README files, generated code, or exact raw contents, use the host's built-in file-reading tools.
| Tool | Purpose |
|---|---|
get_summaries | Summarize matching source files, globs, classes, or modules with line ranges and compact declaration outlines when needed |
get_symbol_sources | Read exact source blocks for known symbols or flat top-level symbol outlines for file/glob inputs |
get_summaries when you need the API shape, neighboring types,
or file structure before choosing exact definitions to inspect.get_symbol_sources when you already know the symbol and need the body.
Fully qualified names from search_symbols are the least ambiguous inputs.get_symbol_sources for exact bodies.list_symbols in the default plugin install. It is an
internal helper used by Bifrost output budgeting and is not exposed by the
symbol|extended toolset.Source: plugins/bifrost-agent/skills/bifrost-codebase-search/SKILL.md.
Use these Bifrost MCP tools to find code in the active workspace. Pick the tool that matches the thing you are looking for.
| Goal | Tool |
|---|---|
| Find a symbol by name | search_symbols |
| Find callers, references, or usages | scan_usages_by_location |
| Find language-neutral code shapes | query_code |
| Find files by path or glob | find_filenames |
| List files under a directory | list_files |
| Expand from seed files to related code | most_relevant_files |
| Find arbitrary text | Host shell with rg or another built-in grep/search tool |
search_symbols for questions like "where is parseRequest defined?"
or "which services match .*Service?". Pass include_tests: true when test
declarations are relevant.scan_usages_by_location for references and call sites. It is the structured
analyzer-backed path and should be preferred over grep for code references.query_code for normalized syntactic shapes such as calls by callee,
assignments by left/right roles, imports, decorators, containment, or
captures. Version 2 also supports typed enclosing-declaration, reference-site,
semantic-user, hierarchy/member, and direct import-file steps. Use
references_of, used_by, or uses when a structural seed should continue
through exact indexed symbol identities; use scan_usages_by_location for a
location-first lookup or usage_graph for the narrower whole-workspace graph. The schema reference
is https://bifrost.brokk.ai/code-query-json/.find_filenames for path globs, basename searches, and repository file
discovery.list_files when you need a bounded directory listing that respects the
workspace file walker.most_relevant_files to broaden context from one known file into related
source and tests.rg through the host
shell. The default Bifrost plugin does not expose the raw text MCP toolset.