Skill~/aibridge-code-index/SKILL.md
Optional read-only AIBridge Code Index semantic lookup for Unity C# code search and source navigation. Use when this Skill is installed, Code Index is enabled, and Codex needs to find C# symbols, definitions, references, implementations, derived types, callers, or diagnostics, including code lookup during development tasks. Do not use for literal text, config, asset, scene, prefab, or non-C# searches; use rg, host file reads, or regular AIBridge commands instead
npx skillsauth add liyingsong99/aibridge aibridge-code-indexInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run commands from the Unity project root
CLI Path: ./.aibridge/cli/AIBridgeCLI.exe
Availability Rule: This Skill is installed only when AIBridge/Settings > Code Index > Enable Code Index is enabled. If project rules say Code Index is disabled, or code_index status reports enabled=false or state=disabled, stop using code_index and fall back to rg plus normal file reads
code_index is CLI-only, read-only, and does not rename, refactor, or write files.rg, host file reads, or regular AIBridge commands instead.semantic=true; fallback text candidates are explicitly marked semantic=false.rg, file reads, and regular AIBridge commands.symbol.definition.references.implementations.derived.callers.diagnostics.Start with code_index status when availability is unknown. If the result is disabled, unavailable, or only returns semantic=false fallback candidates, switch to rg and direct file reads
$CLI code_index status
$CLI code_index doctor
$CLI code_index warmup
$CLI code_index symbol --query PlayerController
$CLI code_index definition --file Assets/Scripts/Foo.cs --line 42 --column 17
$CLI code_index references --file Assets/Scripts/Foo.cs --line 42 --column 17
$CLI code_index implementations --type Game.IFoo
$CLI code_index derived --type Game.BasePanel
$CLI code_index callers --file Assets/Scripts/Foo.cs --line 42 --column 17
$CLI code_index diagnostics --file Assets/Scripts/Foo.cs
Results include enabled, semantic, source, state, stale, workspaceMode, snapshot metadata, excluded snapshot counts, projectRoot, and solution. Unity can generate/prewarm the snapshot from AIBridge/Settings > Code Index, where PackageCache source indexing and ignored assembly/source-path patterns can also be configured
Skill Version: 1.0 Package: cn.lys.aibridge
tools
AIBridge workflow and multi-agent orchestration guidance. Use when Codex needs to design, review, or execute a multi-agent workflow plan, split Unity work into parallel or pipeline agent roles, define structured workflow artifacts, choose between batch/multi automation and agent orchestration, run adversarial verification, investigate Runtime debug evidence, sweep multiple Runtime targets, or prepare AIBridge workflow recipes
development
Unity YAML text serialization editing workflow. Use when Codex needs to directly inspect, modify, create, or repair Unity serialized YAML files such as .unity scenes, .prefab assets, .asset ScriptableObject/config files, .mat, .controller, or other text-serialized Unity assets, especially when AIBridge inspector/prefab/scene APIs do not support the requested Prefab, Scene, ScriptableObjectTable, or custom asset operation
development
AIBridge/Unity 多分支开发工作流入口。Use when a task requires code or Unity asset changes, persistent AGENTS/Skill/workflow rule changes, root-cause debugging, Runtime/log evidence, risk review, validation verdicts, or workflow recipes. Do not use for pure Q&A, simple explanation, simple search/display, or read-only analysis with no changes and no verdict
tools
AIBridge batch and multi command automation. Use when Codex needs to run multiple Unity Editor CLI operations together, write batch scripts, use multi --cmd or multi --stdin, handle call/delay/log/menu lines, avoid PowerShell quoting issues, or automate long/JSON-heavy AIBridgeCLI workflows