What does 00-skill-index do?
What problem this solves
When you install dozens of skills and plugins in Antigravity, Claude Code, Codex, or Gemini CLI, the startup skill list runs out of context budget. The client drops the overflow skills from the prompt.
Two things go wrong after that:
- You forget which skills you installed weeks ago.
- The agent cannot see the hidden skills in its startup list, so it never triggers them.
00-skill-index fixes both:
- Pinned at #1: Most clients sort skills alphabetically. Naming this skill
00-skill-indexkeeps it ahead ofa...z, so truncation cuts from the bottom instead of dropping the index. - Full disk catalog: A local script scans every
SKILL.mdon disk (global and optional project folders) and writes a single compact table toreferences/catalog.md. Hidden skills stay visible in that file. - Ask before loading: Before starting a real task, the agent checks
references/catalog.md. If a matching skill exists, the agent tells you what it does and asks if you want to turn it on. Once you say yes, the agent opens thatSKILL.mddirectly by its file path.
Example interaction
Suppose you installed 60 skills, and your client hid lemo-opuscar and stop-slop to stay under its context budget.
You: Rewrite this launch post so it sounds like a person wrote it.
Agent: (checks
references/catalog.mdand spotsstop-slop, even though the client hid it from startup) You have thestop-slopskill installed (removes predictable AI writing patterns and checks prose against a rubric). Want me to load it for this draft?You: Yes.
Agent: (reads
~/.gemini/config/skills/stop-slop/SKILL.mddirectly by path and edits your post using its full rules)
Agent workflow
1. Check the catalog before starting a task
When the user asks for a concrete task (coding, writing, research, video, design, repo analysis, scraping) and has not named a skill:
- Read
references/catalog.mdinside this skill directory. - Skip this step for casual chat, short factual lookups, or messages where the user already named a skill.
2. Match and ask first
When one to three skills in references/catalog.md fit the task:
- Name each matching skill and summarize what it does in one plain sentence.
- Ask the user if they want to activate it now.
- If several installed skills overlap (for example, two codebase-graph tools), list the difference in one line each and let the user pick.
If the user already named a skill explicitly, skip the question and load it right away.
3. Load the target skill by path
After the user confirms, call your file-reading tool on the exact SKILL.md path recorded in references/catalog.md (along with any references/ files that skill points to) and carry out the task. This works even when the client excluded that skill from the startup list.
4. Refresh the catalog after installing or removing skills
Run the bundled zero-dependency script whenever your skills folder changes.
Windows (PowerShell):
powershell -NoProfile -ExecutionPolicy Bypass -File "<skill-dir>\scripts\update-catalog.ps1"
macOS / Linux:
sh "<skill-dir>/scripts/update-catalog.sh"
Optional flags
| Flag (PowerShell) | Flag (Shell) | Purpose |
|---|---|---|
-SkillsDir "<path>" | --skills-dir "<path>" | Override the global skills directory (defaults to ~/.gemini/config/skills if present, otherwise this skill's parent directory) |
-ProjectRoot "<repo>" | --project "<repo>" | Also scan <repo>/.agent/skills/ and <repo>/.agents/skills/ |
-OutputPath "<file>" | --out "<file>" | Write the catalog to a custom path instead of references/catalog.md |
What references/catalog.md contains
# Installed Skills Catalog
- **Updated**: 2026-12-01 00:30:00
- **Total Tracked Skills** (excluding `00-skill-index`): 45
| Skill | Scope | Description | Path |
|---|---|---|---|
| `agency-agents` | global | Access 271 specialized AI expert personas across 18 divisions... | `~/.gemini/config/skills/agency-agents/SKILL.md` |
| `graphify` | global | Turn any folder of files into a persistent knowledge graph... | `~/.gemini/config/skills/graphify/SKILL.md` |
| `stop-slop` | global | Remove AI writing patterns from prose... | `~/.gemini/config/skills/stop-slop/SKILL.md` |
Pairing with global rules (recommended)
For maximum reliability when you have 100+ skills, copy the 3-line always-on rule from rules/GEMINI-snippet.md in the repository into your client's global rules file (~/.gemini/config/GEMINI.md for Antigravity, AGENTS.md for Codex, or CLAUDE.md for Claude Code). Global rules load on every turn regardless of skill budget limits.