/semantic-graphs:consult-semantic-okf-entity-graphfrom semantic-graphs
Consults an existing Semantic OKF entity-section graph through lexical section ranking, direct entity resolution, bounded document/association traversal, or reciprocal-rank fusion. Use when Codex must find entities extracted from arbitrary sources, follow graph paths to exact source-record sections, retrieve multi-document evidence, inspect source-scoped provenance, or reproduce a legacy reviewed-claim query. This standalone skill is read-only and never builds, repairs, refreshes, or modifies knowledge.
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.
Resolve query entities and documents, follow bounded graph paths, and return exact source-record sections for verification. Use the projection for discovery only; use authoritative concepts, ledger records, or purpose-selected RDF graphs for factual support.
--deep-validation once to rederive every graph artifact in memory.fusion for broad discovery, entity for direct entity/document evidence, traversal for connected evidence, or lexical for exact terminology.document_identity, source and record digests, concept/source paths, locator, text, and text hash. Never reconstruct them from filenames or prose.record.body[start:end]. Reject a candidate when the exact source context does not support the intended statement.The package uses only the Python standard library:
python scripts/runtime_smoke.py
python scripts/query_semantic_okf_entity_graph.py BUNDLE inspect
python scripts/query_semantic_okf_entity_graph.py BUNDLE inspect --deep-validation
Use python -B or PYTHONDONTWRITEBYTECODE=1 when the mounted skill must remain byte-identical.
Exact section terminology:
python scripts/query_semantic_okf_entity_graph.py BUNDLE search --query "Prize-Collecting Steiner Tree" --mode lexical --top-k 10
Direct entity and reviewed-claim evidence:
python scripts/query_semantic_okf_entity_graph.py BUNDLE search --query "community summaries for global questions" --mode entity --top-k 10
Bounded paths through documents, sections, mentions, and candidate co-mentions:
python scripts/query_semantic_okf_entity_graph.py BUNDLE search --query "corruption defenses for incomplete triples" --mode traversal --top-k 10
Reciprocal-rank fusion of lexical, direct-entity, and traversal rankings:
python scripts/query_semantic_okf_entity_graph.py BUNDLE search --query "compare evidence organization mechanisms" --mode fusion --top-k 15
For schema 2.0, repeat --source-id, --document-id, or --record-id to select a union within one filter; filter kinds combine with logical AND. For schema 1.0, use --source-id and --paper-id. Supplying a legacy paper filter to a generic bundle, or a generic document filter to a legacy bundle, fails closed.
(source_id, record_id, record_sha256) bindings; do not substitute section, entity, or graph-edge IDs for provenance.record-body character ranges as locators into the ledger body, not into the raw source or concept Markdown.1.0, preserve exact claim record IDs and page locators.Before answering, confirm:
1.0 is used;agents/openai.yaml (opens in a new tab)references/entity-graph-format.md (opens in a new tab)references/querying.md (opens in a new tab)scripts/_entity_graph_model.py (opens in a new tab)scripts/_entity_graph_snapshot.py (opens in a new tab)scripts/query_semantic_okf_entity_graph.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
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./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.Other plugins' skills for the same job