Agent Skills
› WingedGuardian/GENesis-AGI
› code-intelligence
code-intelligence
GitHub提供代码库智能理解工具选择指南,涵盖包概览、符号定义、调用链追踪及变更影响评估。通过codebase_navigate、Serena和GitNexus等工具的分级调用策略,辅助开发者高效探索架构与调试代码路径。
Trigger Scenarios
探索代码库架构
查找符号定义或签名
追踪函数调用链
评估代码变更的影响范围
调试特定代码路径
Install
npx skills add WingedGuardian/GENesis-AGI --skill code-intelligence -g -y
SKILL.md
Frontmatter
{
"name": "code-intelligence",
"description": "Code understanding tool selection. Use when exploring architecture, finding definitions, tracing call chains, assessing blast radius of changes, or debugging code paths in the Genesis codebase.",
"user-invocable": false
}
Code Intelligence Tool Selection
| Need | Tool | Example |
|---|---|---|
| Package/module overview | codebase_navigate MCP (L0→L1→L2) |
"What packages exist?" |
| Symbol definition/signature | Serena find_symbol |
"Where is Router defined?" |
| Who calls/references X | Serena find_referencing_symbols |
"Who calls _set_output?" |
| File symbol overview | Serena get_symbols_overview |
"What's in engine.py?" |
| What breaks if I change X | GitNexus impact |
"Blast radius of renaming Router" |
| End-to-end execution flow | GitNexus query |
"How does task submission work?" |
| Architecture/clusters | GitNexus context or clusters resource |
"What's in the memory package?" |
| String pattern / non-Python | Grep | "Find all TODO comments" |
| File by name | Glob | "Find all *_hook.py files" |
Escalation Path
Start cheap, escalate as needed:
codebase_navigatefor orientation (always available, fast)- Serena for precise symbol work (LSP-powered, Python-only)
- GitNexus for relationships and impact (knowledge graph, needs index)
- Grep/Glob for everything else
Availability
- Serena: Always available. 1-2s init per session.
- GitNexus: Requires index. Check freshness:
.claude/mcp/run-gitnexus status. PostToolUse hook auto-detects staleness after commits. codebase_navigate: Always available (Genesis health MCP).
Version History
-
0b82cd0
Current 2026-09-22 05:49
修复GitNexus内存溢出问题,将其固定版本并通过仓库启动器路由以增强内存控制,同时更新状态检查命令。
- f9015bb 2026-07-05 18:16


