Skip to content
Back to skills

Claudix

ASecurity

Deep usage patterns for claudix semantic search beyond plain queries: indexing, embedding providers, cross-repo search, grep interception, index recovery.

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 22, 2026
ai-agentsrustgobashnodegitapi

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned September 22, 2026

npx -y skills add uwuclxdy/claudix --skill claudix --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Claudix?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Claudix
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/uwuclxdy-claudix/badge)](https://www.skillsdirectory.com/skills/uwuclxdy-claudix)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: "Deep usage patterns for claudix semantic search beyond plain queries: indexing, embedding providers, cross-repo search, grep interception, index recovery."
when_to_use: "Use when building or rebuilding the index, controlling what gets indexed (`.indexignore`/`.indexinclude` rules, gitignored files), switching embedding providers or models (bundled, LM Studio, Ollama), setting up cross-repo search, tuning or disabling grep interception and related-code surfacing, or recovering from a stale or corrupted index."
---

# claudix

One Rust binary serves the MCP tools, the hooks, and a CLI. Prefer `claudix` from PATH; when it is absent (Windows installs create no symlink), run the node bootstrap that ships with the plugin at `bin/claudix-bootstrap.js` under the plugin root, two directories above this skill's base directory:

```bash
claudix <subcommand> 2>&1
# without claudix on PATH:
node "<plugin-root>/bin/claudix-bootstrap.js" <subcommand> 2>&1
```

Configuration lives in `~/.claude/claudix.toml` (global) overridden by `<repo>/.claude/claudix.toml` (project). Both are optional; every entry point validates them and errors name the exact key to fix.

## Build or rebuild the index

Agent path: the `reindex` MCP tool. CLI path: `claudix index` (`--progress` streams per-file progress). A plain reindex clears a store whose embedding model, dimensions, or schema version no longer match the config. Pass `force: true` / `--force` to wipe the store before rebuilding. Needed for:

- resetting a corrupted index

Indexing may take a minute on large repositories; if it errors, run `/claudix:doctor` to diagnose the embedding provider.

## Control what gets indexed

`.indexignore` and `.indexinclude` files use gitignore syntax (globs, `!` negation, comments). Place them at the repo root or in any subdirectory; patterns are relative to the rule file's own directory, like nested `.gitignore` files. Precedence per path: `.indexinclude` beats `.gitignore`, which beats `.indexignore`.

- Exclude tracked files from the index: `.indexignore` (test fixtures, vendored code, minified bundles).
- Index gitignored paths: `.indexinclude` (internal `docs/`, generated code). A one-line `*` inside `docs/.indexinclude` pulls that whole tree. Files without a code chunker index as plain text.
- Placement gotcha: a rule file buried two or more levels inside a gitignored subtree is not discovered; put it at the top of the gitignored directory or at the repo root.
- `[indexing] respect_gitignore = false` indexes everything gitignored instead of selected subtrees.

Edited rule files apply on the next index run, so reindex after changing them.

## Embedding providers

`[embedding] provider = "bundled"` (default, `gte-modernbert-base` at 768 dims; `bge-small-en-v1.5` at 384 dims also selectable, zero setup either way) or `"http"` (any keyless OpenAI-`/v1/embeddings` server: LM Studio `http://localhost:1234`, Ollama `http://localhost:11434`, vLLM, a LiteLLM proxy). Set `model` to the id the server reports; set `dimensions` to the model's output size. Any model or dimension change is cleared automatically by the next plain reindex (previous section). Keyed APIs (Voyage, OpenAI) need a local proxy that injects the key.

## Cross-repo search

Each repo must be indexed on its own first, with the same embedding model (mismatches surface per repo in `repo_errors`). Extra repos are read-only. Two ways to include them:

- persistent: `[search] cross_repos = ["/abs/path/other-repo"]` in the active repo's config
- per call: the `repos` arg on `search_code` or `find_duplicates` (both add to the active project, which is always scanned)

Grouped results prefix each directory with its repo (`<repo> :: <dir>`).

## Hook behavior tuning

All under `[hooks]`:

- `intercept_grep = false` disables the conceptual-Grep interception (anchored regexes, globs, short queries always pass through anyway).
- `auto_reembed_on_edit = false` stops re-embedding on Write/Edit; `reindex_debounce_secs` / `reindex_max_wait_secs` tune the edit-burst coalescing.
- `surface_related_on_edit` (default on) injects semantically related locations after an edit; `surface_related_on_read = true` (opt-in) does the same for ranged Reads. `related_top_k` caps hits per edit; the cosine floor is corpus-relative (each full index stores the p30 of its own best-neighbor distribution), and `related_min_similarity` is the fallback plus a hard minimum.
- top-level `watch = true` swaps the debounced hook reindex for a live file watcher (`claudix watch`).

## Verify and troubleshoot

`claudix status` shows file/chunk counts, the embedding model, staleness, and the progress of an index running right now (`indexing: 142/193 files (74%)`), which is the one thing SessionStart cannot report. `/claudix:doctor` diagnoses the binary, index, provider health, config errors. Logs: `.claudix/logs/index.log`; `RUST_LOG=debug` on any CLI subcommand for verbose output.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.