/semantic-okf:consult-semantic-okf-classicalfrom semantic-okf
Consults an existing classical Semantic OKF snapshot through deterministic BM25, co-occurrence topic, PPMI association, or reciprocal-rank-fusion retrieval with diversity-aware reranking and exact evidence locators. Use when Codex needs model-free lexical discovery, query expansion, multi-paper evidence diversity, index inspection, or grounded follow-up reading. This standalone skill is read-only and never builds, repairs, refreshes, or modifies knowledge.
Ships in semantic-okf. 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.
Discover relevant page and claim passages in an immutable Semantic OKF snapshot, then verify every factual statement against an authoritative concept, ledger record, or purpose-selected RDF graph.
For ordinary inspection or search, load no reference. Read querying.md only to compare modes, interpret expansion or ranking, or plan multi-paper retrieval.
--deep-validation once to independently rederive every document, lexical statistic, PPMI edge, topic, and document-topic weight.bm25, topic, association, or fusion for candidate discovery.concept_path; resolve its locator to authoritative record text.The package uses only the Python standard library:
python -B scripts/runtime_smoke.py
python -B scripts/query_semantic_okf_classical.py BUNDLE inspect
python -B scripts/query_semantic_okf_classical.py BUNDLE inspect --deep-validation
Use python -B or set PYTHONDONTWRITEBYTECODE=1 when the copied skill directory itself must remain byte-for-byte unchanged. The helper does not write inside the bundle.
Exact lexical terminology and identifiers:
python -B scripts/query_semantic_okf_classical.py BUNDLE search --query "Prize-Collecting Steiner Tree" --mode bm25 --top-k 10
Topic-aware query expansion and topic-diverse evidence:
python -B scripts/query_semantic_okf_classical.py BUNDLE search --query "global sensemaking from graph communities" --mode topic --top-k 10
Two-step propagation over the PPMI term graph:
python -B scripts/query_semantic_okf_classical.py BUNDLE search --query "adaptive traversal and pruning" --mode association --top-k 10
Reciprocal-rank fusion of all three independent rankings:
python -B scripts/query_semantic_okf_classical.py BUNDLE search --query "compare evidence organization mechanisms" --mode fusion --top-k 10
Repeat --source-id, --concept-id, or --concept-type to select a union within that filter. Different filter kinds combine with logical AND.
Before answering, confirm:
agents/openai.yaml (opens in a new tab)references/querying.md (opens in a new tab)scripts/_classical_snapshot.py (opens in a new tab)scripts/query_semantic_okf_classical.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
16 skills in this plugin
/build-semantic-okfBuilds and maintains a Semantic OKF source definition and its generated knowledge folder with deterministic Python adapters for Markdown, CSV, JSON or JSONL, and RDF. Use when Codex needs to create or change a manifest, source topology, mapping, ontology, validation rule, generated snapshot, refresh, promotion, rollback, or recovery. This skill owns construction and maintenance only; it does not answer questions from the generated knowledge./build-semantic-okf-adaptiveBuilds and independently validates an atomic Semantic OKF/RDF snapshot plus a deterministic adaptive retrieval projection for arbitrary declared sources. Use when Codex needs a standalone offline builder that combines Bag of Words, BM25, topic communities, a PPMI term graph, query-aspect routing, diversified reranking, and exact evidence bindings without changing authoritative records or requiring embeddings. This skill owns construction only and never answers from a published snapshot.Other plugins' skills for the same job
/build-semantic-okf-classicalBuilds and independently validates an atomic Semantic OKF/RDF snapshot plus a deterministic, non-authoritative classical text-retrieval projection. Use when Codex needs Bag of Words, Okapi BM25, corpus lexical statistics, co-occurrence topic communities, PPMI query expansion, or diversity-aware retrieval without embeddings or model downloads. This standalone skill owns construction only and never answers from a published snapshot.npx claudepluginhub gvillarroel/plugins --plugin semantic-okf