/knowledge-authoring:open-knowledge-formatfrom knowledge-authoring
Validates, generates, repairs, migrates, and explains Google Cloud Open Knowledge Format (OKF) v0.2 bundles. Use for Markdown knowledge libraries, project or skill projections, frontmatter, provenance, lifecycle, attested computations, reserved indexes and logs, or export compatibility.
Ships in knowledge-authoring. 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 this skill to produce or audit Google Cloud Open Knowledge Format (OKF) v0.2 bundles: directory trees of Markdown concept documents with YAML frontmatter.
The scripts require Python 3.11 or newer. After copying this skill directory, run all commands from the copied skill root and install its local dependency lock in an isolated environment:
python -m venv .venv
Activate the environment with source .venv/bin/activate on POSIX shells or ./.venv/Scripts/Activate.ps1 in PowerShell, then install the pinned dependencies:
python -m pip install -r scripts/requirements.txt
Do not rely on a repository-level environment, lock file, or sibling skill.
.md file below it as a concept document.type field.title, description, resource, and tags.sources; use stable sources[].id values for claim footnotes.generated.by and the last meaningful content change in generated.at when known. Migrate legacy timestamp into generated.at.verified, status, stale_after, and Attested Computation fields only when supported by evidence and a reviewed execution contract.index.md and log.md reserved. Do not use those filenames for concepts.scripts/validate_okf_bundle.py <bundle-root> before declaring the bundle compatible.Do not add a top-level OKF type to a native Codex SKILL.md. Its frontmatter is a separate discovery contract and should contain only name and description.
For a project with project-local skills, generate a strict OKF subdirectory instead. Run these commands from this skill's root:
python scripts/build_project_okf_bundle.py <project-root>
python scripts/build_project_okf_bundle.py <project-root> --check
The default output is <project-root>/build/okf. The builder projects
README.md, SPEC.md when present, and every skills/*/SKILL.md into ordinary
OKF concept documents. It also creates reserved indexes and runs the validator
bundled in this directory. Keep native skills authoritative under skills/ and
treat the generated projection as a reproducible build artifact. Use
--output only when a consumer requires another dedicated location.
Choose short concept types that describe the source artifact without inventing a central taxonomy. Preserve existing producer-specific provenance fields because OKF permits unknown metadata keys.
Use the v0.2 actor convention for generated and verification events:
<producer>/<version> for tools or agents, human:<id> for people, and
process:<id> for automated processes. Do not claim verification, freshness,
credibility, or attestation that the available evidence does not establish.
Run:
python scripts/validate_okf_bundle.py <bundle-root>
Treat validation failures as actionable:
type: choose a short, descriptive concept type. Do not invent a central taxonomy.sources, generated, verified, lifecycle, or computation fields: repair the v0.2 family without discarding unknown producer fields.index.md with non-root frontmatter: remove it or rename the file if it is actually a concept.log.md date headings not in YYYY-MM-DD: normalize the heading.SKILL.md with extra compatibility keys: restore its native frontmatter and project it with build_project_okf_bundle.py.Primary references:
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub gvillarroel/plugins --plugin knowledge-authoring8 skills in this plugin
/build-classical-chunked-knowledge-skillBuilds a new standalone classical Semantic OKF expert that preserves the complete immutable knowledge and accepted BM25, topic, PPMI association, and fusion retrieval while adding exact structure-aware chunks, linked-neighbor metadata, and query-budgeted nonredundant context selection. Use when papers or other large files make a generated knowledge skill send excessive evidence tokens to an answering model and the original build-classical-knowledge-skill must remain unchanged./build-classical-knowledge-skillBuilds a ready-to-use, standalone knowledge skill directly from a closed Semantic OKF source manifest, a classical retrieval plan, and reviewed application guidance. Use when Codex must generate both the embedded knowledge folder and its read-only expert consultation skill in one atomic operation, with deterministic BM25, topic, PPMI association, and fusion retrieval, exact physical citations, deep validation, and no model downloads or sibling-skill dependency./build-semantic-okf-knowledge-skillBuilds a ready-to-use, standalone knowledge skill directly from a closed Semantic OKF source manifest, reviewed application guidance, and one exact canonical retrieval family. Use when Codex must generate both the embedded knowledge folder and its read-only consultation skill atomically for legacy, embeddings, classical, adaptive, entity-graph, ensemble, Graphify, or Turso; preserve the matched native builder and consultant behavior; add exact physical citations; validate every artifact; and avoid sibling-skill runtime dependencies./build-specialized-skillBuilds a standalone expert skill from one validated Semantic OKF knowledge folder and reviewed domain-application guidance. Use when Codex needs to add a distinct specialization stage after knowledge construction, bind the exact knowledge bytes into a portable skill, or validate and reproduce a generated expert skill before read-only consultation. This skill packages knowledge; it does not acquire sources, rebuild Semantic OKF, answer the final domain question, or mutate an existing expert skill./extract-ontologiesExtracts, authors, and validates reviewed domain ontologies from source evidence before Semantic OKF materialization, producing competency questions, evidence ledgers, vocabulary alignments, RDF graphs, OWL 2 axioms and profiles, instance data, SHACL shapes, fixtures, SPARQL checks, and validation reports. Use when Codex must perform ontology learning, evidence-led semantic modeling, entity or relation extraction, vocabulary alignment, OWL 2 engineering, or SHACL constraint design from documents, schemas, or datasets. Do not use it to create, expand, refresh, or repair a Semantic OKF snapshot, or to consult an existing knowledge bundle./harbor-author-evaluation-datasetsAuthors and audits leakage-resistant native Harbor task datasets before study registration. Use when Codex needs to define semantic task families, partition discovery, development, sealed validation, and holdout cohorts, generate deterministic seeded response-surface variants, diversify artifact contracts, test adapters and verifiers against shortcuts, or hand completed dataset roots to harbor-organize-evaluations. Do not use to run or score Harbor jobs or to manage study releases.