/semantic-search:build-semantic-okf-tantivyfrom semantic-search
Builds 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.
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.
Build one authoritative Semantic OKF core and one deterministic lexical
projection as a single validated release. The projection remains named
classical/ because that closed contract is what the frozen Tantivy consultant
validates and indexes.
This skill is independently executable from its copied package and supplied inputs. It does not import or mutate the frozen consultation skill.
consult-semantic-okf-tantivy while changing or evaluating this
builder.classical/ as non-authoritative discovery data. Keep concepts/,
semantic/records.jsonl, and purpose-selected RDF graphs authoritative.For an unchanged reviewed manifest and plan, load no reference. Otherwise:
scripts/requirements.txt, and run
python -B scripts/runtime_smoke.py.Never accept unknown plan members, implicit defaults, partial source selection, stale hashes, unsafe paths, approximate locators, non-deterministic output, or topics presented as ontology truth.
Run from this skill directory, or prefix scripts with the copied skill root:
python -B scripts/build_semantic_okf_tantivy.py manifest.json plan.json semantic-okf-tantivy --concept-layout source-packed-v1 --output-format json
python -B scripts/validate_semantic_okf_tantivy.py semantic-okf-tantivy --output-format json
The destination must not exist. A successful release contains the complete core and exactly six consumer-facing projection files:
The recommended source-packed layout combines repeated CSV, JSON, and RDF records into one authoritative Markdown collection per source. It does not change logical concept paths, ledger records, evidence locators, or ranking content. Core-bound indexes and reports are regenerated for the new physical tree.
semantic-okf-tantivy/
index.md
concepts/
semantic/
classical/
index.json
documents.jsonl
lexicon.json
associations.jsonl
topics.json
build-report.json
documents.jsonl uses exact full-record or character-range locators. Long
non-paper records retain the complete record and may add one exact overview
before their first level-two heading.
lexicon.json supplies the frozen consultant's natural-query unigram
vocabulary. The plan's candidate_pool and max_per_evidence_identity control
the frozen consultant's bounded native search and result diversification.
Before delivery, confirm:
agents/openai.yaml (opens in a new tab)references/classical-plan.md (opens in a new tab)references/coherence-contract.md (opens in a new tab)references/manifest.md (opens in a new tab)references/source-combination.md (opens in a new tab)references/tantivy-consumer-contract.md (opens in a new tab)scripts/_build_semantic_okf_core.py (opens in a new tab)scripts/_classical_retrieval.py (opens in a new tab)scripts/_semantic_okf.py (opens in a new tab)scripts/build_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)scripts/validate_okf_bundle.py (opens in a new tab)scripts/validate_semantic_okf_tantivy.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
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./build-semantic-okf-tika-malletBuilds and independently validates an atomic Semantic OKF snapshot from local PDF, Office, archive, media, or other files extracted by Apache Tika 4.0.0-beta-1, then add a non-authoritative Java MALLET 2.1.0 topic, BM25, PPMI, and fusion retrieval projection. Use when Codex needs to experiment with Tika's new default Markdown output, test heterogeneous document ingestion, or compare fixed-seed MALLET topics while preserving OKF authority and provenance. This standalone experimental skill builds only; it never consults or answers from published knowledge./build-semantic-okf-tursoBuilds and maintains a validated Semantic OKF snapshot whose required indexed consultation projection is stored in local Turso Database. Use when Codex needs to create, migrate, validate, refresh, promote, recover, or inspect the construction of Turso-backed semantic knowledge from reviewed Markdown, CSV, JSON or JSONL, and RDF sources. This skill owns mutation and lifecycle operations only; it does not answer domain questions from the database./consult-semantic-okf-rust-malletConsults an existing RustMallet Semantic OKF snapshot through BM25, sparse-Gibbs LDA topic expansion, PPMI association, or reciprocal-rank-fusion retrieval with diversity-aware reranking and exact evidence locators. Use when Codex needs probabilistic-topic discovery, multi-paper evidence diversity, RustMallet index inspection, or grounded follow-up reading. This standalone skill is read-only and never builds, repairs, refreshes, or modifies knowledge./consult-semantic-okf-rust-mallet-evolvedConsults an immutable reference-dictionary RustMallet Semantic OKF snapshot through compact multi-focus retrieval and reference-ID evidence. Use for multi-paper synthesis, probabilistic-topic discovery, and evidence JSON whose identities must remain byte-exact. This standalone skill is read-only and never builds, repairs, refreshes, or modifies knowledge.