context-sherpa: Skill for Claude Code

.agents/skills/symbolic-index-sync/SKILL.md

Symbolic Index Synchronization is a skill for Claude Code, Codex from hackafterdark/context-sherpa. It costs 28 tokens per session (356 once invoked), scanned A, original, MIT.

A synchronization skill for keeping a SCIP symbolic map—a searchable index of code definitions and relationships—aligned with the files on disk.

In plain words
What is it for?
Use it to initialize or refresh the code index, then verify that newly created or changed functions and types can be found for relationship analysis.
Why use it?
It helps avoid stale search results after creating files, refactoring several files, or entering a workspace without an existing index.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is hackafterdark/context-sherpa's own configuration. It tells Claude Code and Codex how to work on context-sherpa itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything context-sherpa configures →

Reuse

Borrowing it

Nothing to install: this file belongs to hackafterdark/context-sherpa. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/hackafterdark/context-sherpa/main/.agents/skills/symbolic-index-sync/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/hackafterdark/context-sherpa

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 Symbolic Index Synchronization

README.md
[![agentmods](https://agentmods.dev/badge/skills/hackafterdark/context-sherpa/symbolic-index-sync/github.svg)](https://agentmods.dev/skills/hackafterdark/context-sherpa/symbolic-index-sync)
Your own site
<a href="https://agentmods.dev/skills/hackafterdark/context-sherpa/symbolic-index-sync"><img src="https://agentmods.dev/badge/skills/hackafterdark/context-sherpa/symbolic-index-sync/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 Symbolic Index Synchronization

Your own site · 80×15
<a href="https://agentmods.dev/skills/hackafterdark/context-sherpa/symbolic-index-sync"><img src="https://agentmods.dev/badge/skills/hackafterdark/context-sherpa/symbolic-index-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 356 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.00028 $0.00356
Opus 5.5 $0.00011 $0.00142
Sonnet 5.5 $0.00006 $0.00071
Haiku 4.5 $0.00003 $0.00036

Measured 2mo ago against content hash e6d6e27b07a0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Symbolic Index Synchronization 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 2mo 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.

.agents/skills/symbolic-index-sync/SKILL.md · 27 lines

What it actually says

Skill: Symbolic Index Synchronization

Goal: Ensure the AI's symbolic map matches the current state of the disk, especially after creating new files or large refactors.

Detection Logic (When to Sync)

  1. The "Ghost Symbol" Error: If the agent just wrote a new struct/function but search_definitions returns 0 results for it.
  2. Post-Refactor: After the agent completes a multi-file edit (e.g., renaming a package).
  3. New Workspace: Upon first entering a workspace that lacks a .context-sherpa/ directory.

Execution Pattern

  1. Verification: Call ls or dir on the project root to confirm the new files exist on disk.
  2. Trigger: Call the initialize_scip tool. If the language is not automatically detected, specify it based on the file extensions found.
  3. Verification: Re-run the original search_definitions or get_symbol_map call to confirm the new logic is now "visible" to the symbolic engine.

Token Efficiency Hint

Do not re-index for every single line of code added. Only trigger a sync when you need to perform relational analysis (e.g., "Who calls this new method?") that simple grep or the editor's local buffer cannot handle accurately.

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. 2mo ago First seen · 27 lines · 28 tokens per session scan A e6d6e27b07a0

Subscribe to this mod's changes

Symbolic Index Synchronization is a skill published in the GitHub repository hackafterdark/context-sherpa (26 stars, last pushed 7mo ago), licensed MIT. It adds 28 tokens to every session and 356 once invoked, about $0.0001 per session on Opus 5.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.

Related

Symbolic Index Synchronization compared with skills from other repositories

Symbolic Index Synchronization next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Symbolic Index Synchronizationhackafterdark/context-sherpaSkill267mo agoMITA28Claude Code, Codex
opik-diagnosecomet-ml/opik-mcpSkill2262d agoApache-2.0A187Claude Code
ue-mcp-epic-routingdb-lyon/ue-mcpSkill480yesterdayMITA81Claude Code, Codex
qa-knowledgegriddynamics/rosettaSkill373todayApache-2.0A32Claude Code, Codex
apitapn1byn1kt/apitapSkill13118d agoApache-2.0A0Claude Code, Codex
frontmcp-setupagentfront/frontmcpSkill148todayApache-2.0A176Claude Code, Codex
x-use-reviewihuzaifashoukat/x-useSkill1816d agoMITA56Claude Code