aibridge-code-index

aibridge-code-index is a skill for Claude Code, Codex from liyingsong99/AIBridge. It costs 70 tokens per session (313 once invoked), scanned A, original, MIT.

A read-only lookup tool for finding Unity C# declarations, such as classes or methods, in project files. It maps a declaration name to its file or position when the project's Code Index is enabled.

In plain words
What is it for?
Find the file and position of a Unity C# class, method, or other declaration using an identifier or part of one.
Why use it?
It can locate a known symbol quickly without searching unrelated comments, strings, or references. It does not change code or replace direct file inspection.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Find the file and position of a Unity C# class, method, or other declaration using an identifier or part of one.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/liyingsong99/aibridge/aibridge-code-index
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add liyingsong99/AIBridge --skill aibridge-code-index
Clone the repo
git clone --depth 1 https://github.com/liyingsong99/AIBridge

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for aibridge-code-index

README.md
[![agentmods](https://agentmods.dev/badge/skills/liyingsong99/aibridge/aibridge-code-index.svg)](https://agentmods.dev/skills/liyingsong99/aibridge/aibridge-code-index)
Your own site
<a href="https://agentmods.dev/skills/liyingsong99/aibridge/aibridge-code-index"><img src="https://agentmods.dev/badge/skills/liyingsong99/aibridge/aibridge-code-index.svg" alt="Measured on agentmods" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 313 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00070 $0.00313
Opus 5 $0.00035 $0.00156
Sonnet 5 $0.00014 $0.00063
Haiku 4.5 $0.00007 $0.00031

Measured 8d ago against content hash 0022280bb541, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

aibridge-code-index scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Skill~/aibridge-code-index/SKILL.md · 26 lines

What it actually says

AIBridge Code Index Skill

Operating Rules

  • Enablement: Root Rule only; do not call $CLI harness status to re-check
  • Public actions: symbol, definition only — locate .cs paths/positions, then read files yourself
  • --query must be a C# identifier or identifier substring (e.g. PlayerController, OpenInventory)
  • Do not query natural language, Chinese business names, comments, string literals, or file paths
  • Unknown identifier: use host text search first, then call code_index with the discovered name
  • Matching is declaration-name substring only — not full-text or semantic search
  • Read success / items / error; ignore absent diagnostic fields. items: [] means no name hit, not a daemon failure
  • Do not use for references/callers/implementations/diagnostics/relationship queries
  • On failure: do not retry lifecycle/status; fall back to direct file reads

Commands

$CLI code_index symbol --query PlayerController
$CLI code_index definition --query PlayerController
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 26 lines · 70 tokens per session scan A 0022280bb541

Subscribe to this mod's changes

aibridge-code-index is a skill published in the GitHub repository liyingsong99/AIBridge (218 stars, last pushed 1mo ago), licensed MIT. It adds 70 tokens to every session and 313 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.