/synthesis-skills:synthesis-okffrom synthesis-skills
Validates, converts, and authors Open Knowledge Format (OKF) content. Fills gaps in Google's OKF tooling with a conformance validator, converter, and consistency checker for LLM wiki knowledge bases.
Ships in synthesis-skills. 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.
Google's Open Knowledge Format (OKF v0.1, announced 2026-06-12) formalizes a pattern many
"LLM wiki" knowledge bases already use: a directory tree of markdown files with YAML
frontmatter, readable by any agent that can cat a file, shippable by anyone who can
git clone a repo. Per the spec's own §10, this is exactly the pattern OKF names as one
of its target use cases — the differentiator is only that it's now specified.
Google's reference repo (github.com/GoogleCloudPlatform/knowledge-catalog/tree/main/okf)
ships an enrichment agent and an HTML visualizer, but no conformance validator or converter.
This skill fills that gap: a conformance validator, a converter, a house-consistency
checker, and a procedure proven across several real-world repo conversions.
.md file has parseable YAML frontmatter, every frontmatter block has a non-empty type, and the reserved index.md and log.md follow their defined structure.type values, broken cross-links or a missing index.md.<bundle>-descriptions.yaml; extracting them from file bodies is unreliable..agents/knowledge-base.yaml exists, run okf_consistency.py and resolve every CONFLICT and DUPLICATE. Its configured date field is the sole last-update key.type values are free-form (spec §4.1). Name types after what the files are; do not force one vocabulary across different repos.index.md.A bundle is a directory (conventionally a repo's source/ directory, or the whole
repo for a dedicated knowledge repo). A concept is one markdown file: one unit of
knowledge. Conformance (§9) has exactly three hard rules:
.md file has a parseable YAML frontmatter block.type field.index.md, log.md) follow their defined structure when present.Everything else — missing optional fields (title, description, tags, timestamp,
resource), unknown type values, broken cross-links, missing index.md — is soft
guidance. A validator or consumer must not reject a bundle for any of it. Full spec:
references/okf-spec-v0.1.md (verbatim, 451 lines).
index.md and log.md are the only two reserved filenames. index.md is a directory
listing for progressive disclosure and carries no frontmatter, except the bundle-root
index.md, which may declare okf_version: "0.1". log.md is a chronological change
history (## YYYY-MM-DD headings, newest first). Both are excluded from a bundle's own
"knowledge" content — they're navigation scaffolding, not concepts.
python3 scripts/okf_validate.py <bundle_dir> [--summary] [--check-links] [--quiet]
Exit codes: 0 conformant, 1 errors found, 2 usage error.
python3 scripts/okf_convert.py <bundle_dir> \
--type-map instructions=Instruction,runbooks=Runbook,datasets=Dataset,contexts=Context \
--descriptions <repo>-descriptions.yaml \
[--dry-run]
--dry-run prints what would change without writing anything. Always run this first.
python3 scripts/okf_consistency.py <repo_root> [<repo-relative-doc> ...] [--strict]
It reports file:line — SEVERITY — finding. Exit 1 when a CONFLICT or DUPLICATE exists; warnings are review findings unless --strict is supplied; exit 2 for a missing or invalid config or an unsafe path.
Full step-by-step, proven across multiple real conversions (a public 26-doc repo, a 72-doc personal knowledge base, and several other repos of varying size): see references/conversion-procedure.md. Summary:
<bundle>-descriptions.yaml.--check-links too..agents/knowledge-base.yaml exists, run
okf_consistency.py and resolve every conflict/duplicate.**/index.md and
**/log.md to its exclude list (navigation scaffolding, not knowledge to compile).index.md
regeneration; spot-check descriptions.agents/openai.yaml (opens in a new tab)references/conversion-procedure.md (opens in a new tab)references/coverage-map.md (opens in a new tab)references/lessons.md (opens in a new tab)references/okf-spec-v0.1.md (opens in a new tab)references/tools.md (opens in a new tab)scripts/okf_consistency.py (opens in a new tab)scripts/okf_convert.py (opens in a new tab)scripts/okf_validate.py (opens in a new tab)tests/test_okf_consistency.py (opens in a new tab)tests/test_okf_convert.py (opens in a new tab)tests/test_okf_validate.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub synthesisengineering/synthesis-skills --plugin synthesis-skills73 skills in this plugin
/synthesis-absence-coordinationPlan an absence end to end: who to tell, coverage, meetings released, out-of-office on and off, the return sweep. Use for time off or leave./synthesis-action-sheetOne page of what the principal must still do after agents act: approvals, sends, tasks. Use after a decision packet or daily plan./synthesis-adversarial-reviewBounded adversarial review by differently shaped agents, with a findings table and rulings. Use for red-team or cross-agent review.Other plugins' skills for the same job