/semantic-search:consult-semantic-okf-tantivyfrom semantic-search
Consults an existing classical Semantic OKF snapshot with Tantivy's native Rust BM25 engine, field-aware lexical ranking, syntax-aware natural-query normalization, bounded identity-diversified result selection, pre-ranking filters, and exact authoritative evidence locators. Use when Codex needs fast model-free full-text discovery through Tantivy, comparison with the Python classical BM25 route, or grounded reading of a validated classical snapshot. This standalone skill is read-only and never builds, repairs, refreshes, or modifies knowledge.
Ships in semantic-search. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Use Tantivy's Rust search engine to rank validated classical passages in memory, then verify every factual statement in the authoritative concept, ledger record, or purpose-selected RDF graph.
For routine use, load neither reference. Otherwise:
concept_path. In a source-packed build, open
concepts/<source_id>.md; always resolve the locator against
semantic/records.jsonl and never rewrite the logical identity.python -m pip install -r scripts/requirements.txt
python -B scripts/runtime_smoke.py
python -B scripts/query_semantic_okf_tantivy.py BUNDLE inspect
Use python -B or set PYTHONDONTWRITEBYTECODE=1 when the copied skill directory itself must remain byte-for-byte unchanged. The query helper creates no filesystem index and does not write inside the bundle.
python -B scripts/query_semantic_okf_tantivy.py BUNDLE search \
--query '"Prize-Collecting Steiner Tree" OR graph retrieval' \
--top-k 10
The query accepts Tantivy query syntax over the title and body fields. Regular expressions are disabled. Repeat --source-id, --concept-id, or --concept-type to select a union within that filter; different filter kinds combine with logical AND.
The result retains native score order but limits repeated passages using the
classical plan's candidate_pool and max_per_evidence_identity. It reports
the pool size, cap, identity policy, and number of returned identities.
Inspect parsed_query and engine.query_normalization. Quoted phrases, field
selectors, grouping, and uppercase Boolean operators bypass natural-query
normalization.
Before answering, confirm:
agents/openai.yaml (opens in a new tab)references/querying.md (opens in a new tab)references/tantivy-runtime.md (opens in a new tab)scripts/_tantivy_snapshot.py (opens in a new tab)scripts/query_semantic_okf_tantivy.py (opens in a new tab)scripts/requirements.in (opens in a new tab)scripts/requirements.txt (opens in a new tab)scripts/runtime_smoke.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gvillarroel/plugins --plugin semantic-search12 skills in this plugin
/build-semantic-okf-rust-malletBuilds and independently validates an atomic Semantic OKF/RDF snapshot plus a non-authoritative retrieval projection with RustMallet sparse-Gibbs LDA, Bag of Words, Okapi BM25, PPMI query expansion, and diversity-aware reranking. Use when Codex needs fixed-seed probabilistic topics without embeddings or hosted model calls, or needs to compare RustMallet against deterministic classical topic communities. This standalone skill owns construction only and never answers from a published snapshot./build-semantic-okf-rust-mallet-evolvedBuilds and independently validates an atomic Semantic OKF/RDF snapshot plus a non-authoritative retrieval projection with RustMallet sparse-Gibbs LDA, Bag of Words, Okapi BM25, PPMI query expansion, and diversity-aware reranking. Use when Codex needs fixed-seed probabilistic topics without embeddings or hosted model calls, or needs to compare RustMallet against deterministic classical topic communities. This standalone skill owns construction only and never answers from a published snapshot.Other plugins' skills for the same job
/build-semantic-okf-tantivyBuilds and independently validates an atomic Semantic OKF/RDF snapshot plus the deterministic, non-authoritative classical projection consumed by the frozen Tantivy BM25 consultant. Use when Codex must construct, reproduce, diagnose, or optimize a snapshot specifically for consult-semantic-okf-tantivy without modifying the frozen consultation skill. This standalone skill owns construction only and never answers from a published snapshot.