/semantic-graphs:build-semantic-okf-harbor-graphifyfrom semantic-graphs
Builds and maintains a validated Semantic OKF snapshot with a hash-bound deterministic Graphify projection whose record roots are connected by ledger-derived lexical similarity. Use when Harbor consultation traces show that disconnected record subgraphs limit multi-document discovery and construction, migration, validation, complete rebuild, promotion, or recovery is requested. This skill owns mutation only and never answers domain questions.
Ships in semantic-graphs. 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 release plus a non-authoritative Graphify graph for structural and lexical discovery. Preserve compatibility with the unchanged consult-semantic-okf-graphify contract.
SKILL.md, references/, scripts/, and declared requirements.retrieval/graphify/graph.json is a hash-bound discovery projection only.graphifyy==0.9.17; use structural Markdown extraction with no semantic LLM and no clustering.record-root per ledger record, derive binary TF-IDF similarity from authoritative title, record ID, concept type, and body, and connect roots only when they are reciprocal nearest neighbors outside their record-ID partitions. Derive partitions from the first segment after the corpus-wide common record-ID prefix; fall back to unrestricted reciprocal neighbors when the corpus has only one partition.harbor-lexical-similarity, validate them by complete ledger regeneration, and never treat their scores or paths as evidence.python -m venv .venv
source .venv/bin/activate
python -m pip install -r scripts/requirements.txt
python scripts/runtime_smoke.py --format json
On Windows PowerShell activate with .\./.venv/Scripts/Activate.ps1.
python scripts/build_semantic_okf_graphify.py manifest.json semantic-okf-graphify-output --concept-layout source-packed-v1
python scripts/validate_okf_bundle.py semantic-okf-graphify-output
python scripts/validate_semantic_okf_graphify.py semantic-okf-graphify-output --output-format json
The output must not exist. A passing release adds retrieval/graphify/graph.json and retrieval/graphify/index.json.
The recommended source-packed layout combines repeated CSV, JSON, and RDF
records into one authoritative Markdown collection per source while preserving
every logical ledger identity, complete body, digest, and byte-equivalent
Graphify retrieval projection.
For a create-only migration of an existing validated core:
python scripts/materialize_graphify_projection.py EXISTING_BUNDLE --output-format json
Refresh into a new directory by rerunning the complete manifest. Compare core tree, ledger, graph logical digest, and validation reports before atomic promotion. Never merge generated records, views, or graph nodes in place.
record-root; every lexical-similarity link equals the value regenerated from the ledger.agents/openai.yaml (opens in a new tab)references/graphify-projection.md (opens in a new tab)scripts/_build_semantic_okf_core.py (opens in a new tab)scripts/_graphify_projection.py (opens in a new tab)scripts/_semantic_okf.py (opens in a new tab)scripts/build_semantic_okf_graphify.py (opens in a new tab)scripts/materialize_graphify_projection.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_graphify.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gvillarroel/plugins --plugin semantic-graphs9 skills in this plugin
/build-semantic-okf-entity-graphBuilds and independently validates an atomic Semantic OKF snapshot plus a deterministic, non-authoritative document, entity, mention, co-mention, and exact-section graph over arbitrary declared sources. Use when Codex must extract candidate entities from Markdown, CSV, JSON, or RDF records, connect source-scoped records to precise evidence sections, preserve a legacy reviewed-claim graph, or reproduce offline entity-first retrieval. This standalone skill owns construction only and never answers from a published snapshot./build-semantic-okf-graphifyBuilds and maintains a validated Semantic OKF snapshot with a hash-bound deterministic Graphify projection whose record roots are connected by reciprocal ledger-derived lexical similarity. Use for reviewed Markdown, CSV, JSON, JSONL, or RDF sources when construction, migration, validation, complete rebuild, promotion, or recovery of a Graphify-backed Semantic OKF release is requested. This skill owns mutation only and never answers domain questions.Other plugins' skills for the same job
/build-semantic-okf-graphify-nextBuilds and validates an experimental Semantic OKF Graphify projection with reciprocal content-similarity and documentation-reference bridges. Use when evaluating whether deterministic ledger-derived cross-references improve consultation retrieval beyond the official builder without changing authoritative records or the consultation skill. This candidate owns mutation only and never answers domain questions.