semdex-mcp-server: Skill for Claude Code

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

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

Instructions for initializing Semdex in a repository, including indexing source files and downloading its embedding model.

In plain words
What is it for?
Use them after cloning a repository or when setting up a new one, optionally limiting indexed directories or previewing the work first.
Why use it?
They provide the first-time setup needed before Semdex can search the codebase.

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-init/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-init

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/raghavwahi/semdex-mcp-server/sdx-init"><img src="https://agentmods.dev/badge/skills/raghavwahi/semdex-mcp-server/sdx-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 333 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.00042 $0.00333
Opus 5 $0.00021 $0.00167
Sonnet 5 $0.00008 $0.00067
Haiku 4.5 $0.00004 $0.00033

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

Security

Grade A, and why

sdx-init 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 8d 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-init/SKILL.md · 43 lines

What it actually says

Initialize Semdex

First-Time Setup

# Index the entire repo
sdx init

# Index only specific directories (skip tests, fixtures)
sdx init --scope src/ --scope lib/

# Index with preview (show what would be indexed without storing)
sdx init --dry-run

# Force re-download of embedding model
sdx init --force-model-download

What It Does

  1. Creates .repoidentity/ directory structure
  2. Downloads embedding model (Xenova/all-MiniLM-L6-v2, ~45 MB q8) with progress bar
  3. Scans repo for source files (TypeScript + Python in MVP)
  4. Parses each file with Tree-sitter WASM grammars
  5. Extracts semantic chunks (functions, classes, interfaces, etc.)
  6. Computes XXH3 content hashes for each chunk
  7. Generates embeddings for each chunk (cached — skips if content hasn't changed)
  8. Stores everything in .repoidentity/index.db (SQLite + sqlite-vec)
  9. Generates manifest with detected languages and frameworks

After Init

  • Run sdx serve to start the MCP server
  • Run sdx inspect --stats to verify the index
  • Run sdx bench --quick to check performance
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. 8d ago First seen · 43 lines · 42 tokens per session scan A a62f801cc6ca

Subscribe to this mod's changes

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

Related

Other skills, from other repositories

agent-platform-rag-engine-management

Manage and query Agent Platform RAG Engine Corpora and retrieve grounded contexts using the Google GenAI SDK. Use when listing RAG corpora or files, inspecting a corpus, retrieving contexts, or generating content grounded in a RAG corpus. Do not use for standard database queries (use SQL/Spanner skills), Google…

google/skills · 85 tokens

llm-app-patterns

Production-ready patterns for building LLM applications. Covers RAG pipelines, agent architectures, prompt IDEs, and LLMOps monitoring. Use when designing AI applications, implementing RAG, building agents, or setting up LLM observability.

davila7/claude-code-templates · 54 tokens

9router-embeddings

Generate vector embeddings via 9Router /v1/embeddings using OpenAI / Gemini / Mistral / Voyage / Nvidia / GitHub embedding models for RAG, semantic search, similarity. Use when the user wants embeddings, vectors, RAG, semantic search, or to embed text.

decolua/9router · 66 tokens

azure-search-documents-dotnet

Azure AI Search SDK for .NET (Azure.Search.Documents). Use for building search applications with full-text, vector, semantic, and hybrid search. Covers SearchClient (queries, document CRUD), SearchIndexClient (index management), and SearchIndexerClient (indexers, skillsets). Triggers: "Azure Search .NET"…

microsoft/skills · 102 tokens

browserwing-admin

Manage and operate BrowserWing — an intelligent browser automation platform. Install dependencies, configure LLM, create/manage/execute automation scripts, use AI-driven exploration to generate scripts, browse the script marketplace, and troubleshoot issues.

MemTensor/MemOS · 47 tokens

similarity-search-patterns

Implement efficient similarity search with vector databases. Use when building semantic search, implementing nearest neighbor queries, or optimizing retrieval performance.

foryourhealth111-pixel/Vibe-Skills · 30 tokens