/semantic-search:consult-semantic-okf-tika-mallet-boundedfrom semantic-search
Produces one bounded, deterministic, extractive JSON answer from an immutable Semantic OKF snapshot indexed with Apache Tika 4.0.0-beta-1 and Java MALLET 2.1.0. Use for time- or context-limited evaluation questions that require source-diverse exact evidence and must not permit exploratory snapshot reads, follow-up searches, handwritten evidence identities, or iterative answer repair.
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 the bundled compiler as a sealed consultation interface. It validates the snapshot, runs three to five independent searches, fuses their rankings, keeps one passage per source, builds source-grounded extractive claims, validates first-use evidence order, writes one new JSON file outside the snapshot, and prints that same JSON.
Use only this skill package and the supplied immutable snapshot. Do not import or execute sibling skills or repository helpers. The compiler may write only the caller-declared new output outside the snapshot; it never builds, repairs, refreshes, or mutates knowledge.
Read only this SKILL.md. Do not read the bundled scripts or any other skill
file.
Do not list, search, grep, or read /knowledge directly. Do not run find,
rg, grep, ls, cat, or a general file-reading tool against the snapshot.
Install the pinned dependency:
python -m pip install -r scripts/requirements.txt
Run exactly one compiler invocation. Supply the question verbatim, three to five distinct broad retrieval queries, the task's declared minimum independent source count, and at most two additional sources:
python -B scripts/bounded_answer.py /knowledge \
--question-id QUESTION_ID \
--question "VERBATIM QUESTION" \
--query "BROAD QUERY ONE" \
--query "BROAD QUERY TWO" \
--query "BROAD QUERY THREE" \
--mode fusion --top-k 6 \
--minimum-sources MINIMUM \
--max-sources MAXIMUM \
--output /tmp/QUESTION_ID-final.json
Return the compiler's JSON stdout unchanged. Do not open the output file, inspect intermediate state, revise prose, validate again, or invoke another command. A compiler error is terminal; return the caller's declared null answer without additional snapshot access.
The compiler treats BM25, MALLET topics, PPMI associations, and reciprocal-rank fusion only as discovery signals. Its evidence rows come from the validated authoritative OKF ledger and retain exact source, record, path, locator, and hash identities. It refuses linked snapshots, unsafe outputs, overwrites, malformed indexes, insufficient source diversity, or evidence-order drift. It accepts record-per-file and source-packed physical Markdown layouts without changing any logical evidence identity or compiler output.
agents/openai.yaml (opens in a new tab)scripts/_mallet_topics.py (opens in a new tab)scripts/_safe_paths.py (opens in a new tab)scripts/_tika_mallet_snapshot.py (opens in a new tab)scripts/_tika_snapshot.py (opens in a new tab)scripts/bounded_answer.py (opens in a new tab)scripts/requirements.txt (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
12 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.npx claudepluginhub gvillarroel/plugins --plugin semantic-search