/semantic-okf:build-semantic-okf-adaptivefrom semantic-okf
Builds 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.
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.
Build an authoritative Semantic OKF core and a model-free adaptive discovery projection as one validated release. The manifest may declare any source formats supported by the bundled Semantic OKF runtime; the retrieval plan selects source IDs rather than relying on corpus-specific paper, claim, or entity schemas.
adaptive/ non-authoritative. Only the ledger, concept files, and purpose-selected RDF graphs carry domain authority.scripts/requirements.txt. The retrieval projection itself uses the Python standard library and performs no model selection, download, or hosted request.Reject unknown plan members, implicit defaults, partial selection, unsafe paths, approximate locators, stale hashes, mutable publication, and statistical topics or associations presented as reviewed truth.
python scripts/build_semantic_okf_adaptive.py manifest.json adaptive-plan.json semantic-okf-adaptive --concept-layout source-packed-v1 --output-format json
python scripts/validate_semantic_okf_adaptive.py semantic-okf-adaptive --output-format json
The destination contains the complete Semantic OKF core and exactly seven files under adaptive/: index.json, documents.jsonl, answer-bindings.jsonl, lexicon.json, associations.jsonl, topics.json, and build-report.json.
answer-bindings.jsonl is a derived response adapter, not authority. A row is emitted only for a reviewed record whose explicit evidence locator resolves to one or more declared paper records with matching paper identity and exact ## PDF page N headings. It preserves the authoritative claim identity and text, canonical PDF-page-N locator tokens, integer citation pages, source paths, and hashes as separate typed fields. It never contains benchmark question IDs, expected answers, or evaluator labels.
The plan-bound adaptive policy does not learn benchmark labels. At consultation time it protects the strongest full-query results, deterministically decomposes synthesis queries into lexical aspects, and uses reciprocal-rank evidence-identity fusion to improve coverage. All chosen evidence still resolves to an exact authoritative record or character range.
Confirm that:
agents/openai.yaml (opens in a new tab)references/adaptive-format.md (opens in a new tab)references/adaptive-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/python-runtime.md (opens in a new tab)references/source-combination.md (opens in a new tab)scripts/_adaptive_retrieval.py (opens in a new tab)scripts/_build_semantic_okf_core.py (opens in a new tab)scripts/_semantic_okf.py (opens in a new tab)scripts/build_semantic_okf_adaptive.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_adaptive.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
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-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./build-semantic-okf-embeddingsBuilds and independently validates an atomic Semantic OKF/RDF v1 snapshot plus a hash-bound, non-authoritative retrieval projection with record or semantic chunks and local embeddings. Use when Codex needs to materialize Markdown, CSV, JSON/JSONL, or RDF sources for semantic discovery, compare native and LlamaIndex splitting, use deterministic hashing or a pinned offline SentenceTransformers model, or reproduce an embedding-enabled corpus build. This skill owns construction only and does not answer questions from the snapshot./build-semantic-okf-ensembleBuilds and independently validates a new Semantic OKF bundle with one authoritative Markdown/RDF/SHACL core plus deterministic adaptive lexical, source-generic entity-section graph, embedding, exact identity-crosswalk, and quality-gated ensemble projections. Use when Codex must publish a standalone, reproducible multi-signal knowledge snapshot from a closed local manifest and plan without modifying an existing bundle or treating retrieval artifacts as authoritative./consult-semantic-okfProvides an agent with the general read-only context and local tools needed to navigate and consult an existing Semantic OKF knowledge folder efficiently. Use when Codex needs to discover records, read concepts, choose an authoritative semantic layer, run safe local SELECT or ASK queries, trace provenance, compare sources, or return grounded evidence. This skill never creates, repairs, refreshes, or modifies knowledge./consult-semantic-okf-adaptiveConsults an existing adaptive Semantic OKF snapshot read-only through BM25, topic, PPMI term-graph, fusion, query-aspect retrieval, or facet-separated claim coverage and finalize contract-ready evidence from authoritative bindings. Use when Codex must discover diverse evidence across arbitrary declared sources, answer multi-source questions, preserve exact IDs and locators, or inspect retrieval integrity without building, repairing, or modifying knowledge.npx claudepluginhub gvillarroel/plugins --plugin semantic-okf