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 $0.00014 $0.00178
Sonnet 5 $0.00006 $0.00071
Haiku 4.5 $0.00003 $0.00036

Measured 9d ago against content hash e6d6e27b07a0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 9d 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. 9d 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 (27 stars, last pushed 5mo ago), licensed MIT. It adds 28 tokens to every session and 356 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

unity-version-split

Split a C# file into Unity 6.5+ and pre-Unity 6.5 variants. Use when a file needs different implementations for different Unity versions due to API changes (e.g., EntityId vs int, GetEntityId vs GetInstanceID).

IvanMurzak/Unity-MCP · 59 tokens

specflow-use

To connect Rosetta with Grid Dynamics SpecFlow MCP; only when SpecFlow is mentioned and the MCP is installed.

griddynamics/rosetta · 27 tokens

opik-diagnose

Surface the Opik traces worth a developer's attention, ranked by signal — Diagnostics issues first, then errors, failed tool calls, latency, regressions, and low online-eval scores. With the Opik MCP connected it lists the project's agentinsightsissue entities, then fills the gaps with list (filters, sort, a time…

comet-ml/opik-mcp · 174 tokens

qa-knowledge

To run QA engineering — requirements/gap analysis, scenario & spec design, test implementation, failure triage — over the QA knowledge base.

griddynamics/rosetta · 32 tokens

ue-mcp-epic-routing

Use when deciding between ue-mcp's native category actions and Epic's wrapped ToolsetRegistry tools (the epic actions, incl. the Blueprint graph DSL) for a task in Unreal. Pulls in when authoring Blueprint graph bodies, or any time both a native action and an epic action could do the job and you need to pick.

db-lyon/ue-mcp · 81 tokens