indexing-awareness

indexing-awareness is a skill for Claude Code, Codex from imkohenauser/antigravity-starter-ja. It costs 40 tokens per session (1,005 once invoked), scanned A, original, ISC.

A skill that builds a searchable map of a code repository and traces how files and named pieces of code depend on one another.

In plain words
What is it for?
Use it when starting work in a repository, changing files, investigating unknown functions or classes, or checking the project structure after workflow changes.
Why use it?
It helps an agent understand an unfamiliar project and assess related code before making changes.

Skill for Claude CodeCodex

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

Good fit Use it when starting work in a repository, changing files, investigating unknown functions or classes, or checking the project structure after workflow changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/imkohenauser/antigravity-starter-ja/indexing-awareness
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 imkohenauser/antigravity-starter-ja --skill indexing-awareness
Clone the repo
git clone --depth 1 https://github.com/imkohenauser/antigravity-starter-ja

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 indexing-awareness

README.md
[![agentmods](https://agentmods.dev/badge/skills/imkohenauser/antigravity-starter-ja/indexing-awareness/github.svg)](https://agentmods.dev/skills/imkohenauser/antigravity-starter-ja/indexing-awareness)
Your own site
<a href="https://agentmods.dev/skills/imkohenauser/antigravity-starter-ja/indexing-awareness"><img src="https://agentmods.dev/badge/skills/imkohenauser/antigravity-starter-ja/indexing-awareness/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for indexing-awareness

Your own site · 80×15
<a href="https://agentmods.dev/skills/imkohenauser/antigravity-starter-ja/indexing-awareness"><img src="https://agentmods.dev/badge/skills/imkohenauser/antigravity-starter-ja/indexing-awareness.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,005 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.
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.00040 $0.01005
Opus 5 $0.00020 $0.00502
Sonnet 5 $0.00008 $0.00201
Haiku 4.5 $0.00004 $0.00101

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

Security

Grade A, and why

indexing-awareness 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 11d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/index-structure.sh, scripts/trace-dependencies.sh, scripts/verify-structure.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.agent/skills/indexing-awareness/SKILL.md · 84 lines

How it starts

The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Indexing Awareness Skill

Antigravity はリポジトリの事前インデックス化を行わないため、エージェントが 自律的に プロジェクト構造を把握し、依存関係を検索する必要があります。 このスキルは、Cursor の RAG(事前インデックス + 関連コンテキスト検索)を擬似的に再現するスクリプト群を提供します。

Triggers (自動実行のタイミング)

エージェントは以下の状況で、対応するスクリプトを 自発的に 実行すること。 人間からの指示を待たず、ルール indexing-codebase.md に従って自律判断する。

状況 実行するスクリプト
初見のプロジェクト・新しいタスク開始時 index-structure.sh
ファイルの変更・追加・削除を行う前 trace-dependencies.sh <対象ファイル>
未知の関数・クラス・シンボルを参照する前 trace-dependencies.sh <シンボル名>
ルール・ワークフロー・スキルの構成を変更した後 verify-structure.sh

Scripts

1. index-structure.sh (構造インデックス)

プロジェクトのディレクトリ構造、ファイル種別、サイズをインデックス化します。

# 実行権限の付与(初回のみ)
chmod +x .agent/skills/indexing-awareness/scripts/index-structure.sh

# プロジェクト全体のインデックス
./.agent/skills/indexing-awareness/scripts/index-structure.sh

# 探索深度を指定(デフォルト: 4)
./.agent/skills/indexing-awareness/scripts/index-structure.sh --depth 6

# 特定ディレクトリのみ
./.agent/skills/indexing-awareness/scripts/index-structure.sh --dir src/

2. trace-dependencies.sh (依存関係トレース)

ファイルまたはシンボルの依存関係を 双方向 に検索します。

chmod +x .agent/skills/indexing-awareness/scripts/trace-dependencies.sh

# ファイルモード: 依存関係の双方向トレース
./.agent/skills/indexing-awareness/scripts/trace-dependencies.sh src/utils/auth.ts

# シンボルモード: 定義元と使用箇所の検索
./.agent/skills/indexing-awareness/scripts/trace-dependencies.sh handleLogin

# 検索範囲を限定
./.agent/skills/indexing-awareness/scripts/trace-dependencies.sh UserService src/

ファイルモード出力:

  • 📥 Forward Dependencies — そのファイルが何を import/require しているか
  • 📤 Reverse Dependencies — そのファイルを誰が import/require しているか
  • 🔍 Config/Doc References — 設定ファイルやドキュメントからの参照

シンボルモード出力:

  • 📌 Definitions — 定義元(function, class, const, def, fn 等)
  • 📎 Usages — 使用箇所(word boundary マッチ)
  • 📦 Import References — import/require/from 文での参照

3. verify-structure.sh (ドキュメント整合性チェック)

.agent/ 内のルール・ワークフロー・スキルと README.md の記載整合性を検証します。

chmod +x .agent/skills/indexing-awareness/scripts/verify-structure.sh
./.agent/skills/indexing-awareness/scripts/verify-structure.sh

Read the full file on GitHub · 84 lines

Files

What ships with it

3 files 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. 11d ago First seen · 84 lines · 40 tokens per session scan A b4926e8e9ec1

Subscribe to this mod's changes

indexing-awareness is a skill published in the GitHub repository imkohenauser/antigravity-starter-ja (11 stars, last pushed 6mo ago), licensed ISC. It adds 40 tokens to every session and 1,005 once invoked, about $0.0002 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.