semdex-mcp-server: Skill for Claude Code

.claude/skills/sdx-inspect/SKILL.md

sdx-inspect is a skill for Claude Code from raghavwahi/semdex-mcp-server. It costs 30 tokens per session (303 once invoked), scanned A, original, MIT.

Instructions for inspecting a Semdex index, the local database that stores searchable information extracted from source files.

In plain words
What is it for?
Use them to view index statistics, inspect files or symbols, list parse failures, and check the index's freshness.
Why use it?
They help diagnose missing index data, parsing errors, unavailable models, stale indexes, and database health issues.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is raghavwahi/semdex-mcp-server's own configuration. It tells Claude Code how to work on semdex-mcp-server 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 semdex-mcp-server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to raghavwahi/semdex-mcp-server. 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/raghavwahi/semdex-mcp-server/main/.claude/skills/sdx-inspect/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/raghavwahi/semdex-mcp-server

Made for: Claude Code.

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 sdx-inspect

README.md
[![agentmods](https://agentmods.dev/badge/skills/raghavwahi/semdex-mcp-server/sdx-inspect/github.svg)](https://agentmods.dev/skills/raghavwahi/semdex-mcp-server/sdx-inspect)
Your own site
<a href="https://agentmods.dev/skills/raghavwahi/semdex-mcp-server/sdx-inspect"><img src="https://agentmods.dev/badge/skills/raghavwahi/semdex-mcp-server/sdx-inspect/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 sdx-inspect

Your own site · 80×15
<a href="https://agentmods.dev/skills/raghavwahi/semdex-mcp-server/sdx-inspect"><img src="https://agentmods.dev/badge/skills/raghavwahi/semdex-mcp-server/sdx-inspect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 303 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.00030 $0.00303
Opus 5.5 $0.00012 $0.00121
Sonnet 5.5 $0.00006 $0.00061
Haiku 4.5 $0.00003 $0.00030

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

Security

Grade A, and why

sdx-inspect 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.

.claude/skills/sdx-inspect/SKILL.md · 49 lines

What it actually says

Inspect Semdex Index

Quick Health Check

sdx inspect --stats

Shows: total chunks, chunk types breakdown, indexed file count, parse failures, embedding model status, last index timestamp, git commit at index time.

Inspect Specific File

sdx inspect --file src/foo.ts

Lists every chunk extracted from that file with: canonical type, name, line range, content hash, git commit.

Inspect Specific Symbol

sdx inspect --symbol UserService

Shows: definition location, callers, imports, and associated edges.

List Parse Failures

sdx inspect --failed

Shows files that failed to parse with Tree-sitter error details.

What to Check

  1. If chunk count is zero, verify the repo was indexed (sdx index first)
  2. If many parse failures, check Tree-sitter grammar compatibility
  3. If model status shows "unavailable," run sdx init to re-download
  4. If git commit doesn't match HEAD, the index is stale — re-index
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 · 49 lines · 30 tokens per session scan A 13cdbf49bbbc

Subscribe to this mod's changes

sdx-inspect is a skill published in the GitHub repository raghavwahi/semdex-mcp-server (0 stars, last pushed 3mo ago), licensed MIT. It adds 30 tokens to every session and 303 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-31.

Related

sdx-inspect compared with skills from other repositories

sdx-inspect next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sdx-inspectraghavwahi/semdex-mcp-serverSkill03mo agoMITA30Claude Code
reproduce-buggoogleapis/mcp-toolboxSkill17kyesterdayApache-2.0A130Claude Code, Codex
triage-issuesgoogleapis/mcp-toolboxSkill17kyesterdayApache-2.0A164Claude Code, Codex
postgresql-indexingprowler-cloud/prowlerSkill15ktodayApache-2.0A108Claude Code
graphjin-evaldosco/graphjinSkill3.2kyesterdayApache-2.0A27Claude Code, Codex
axiom-audit-grdb-performanceCharlesWiltgen/AxiomSkill1.3ktodayMITA43Codex
django-perf-reviewgetsentry/skillsSkill1.1k2d agoApache-2.0A55Claude Code