Validates an Open Knowledge Format (OKF) bundle for conformance with the v0.1 spec. Useful before committing or when asked to lint an OKF bundle.
How this skill is triggered — by the user, by Claude, or both
Slash command
/okf:validate [bundle-dir] [--strict][bundle-dir] [--strict]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run the deterministic conformance checker against the target bundle. Default to
Run the deterministic conformance checker against the target bundle. Default to
the project's .okf/ directory when no path is given.
uv run "${CLAUDE_SKILL_DIR}/scripts/okf_validate.py" $ARGUMENTS
If uv is unavailable, fall back to:
python3 -m pip install --quiet pyyaml && \
python3 "${CLAUDE_SKILL_DIR}/scripts/okf_validate.py" $ARGUMENTS
${CLAUDE_SKILL_DIR} resolves whether this skill runs as part of the okf
plugin or is installed standalone (e.g. via npx skills add), so the checker is
always found alongside the skill.
Interpret the result:
type). The bundle is non-conformant. Fix every one.Exit code is non-zero if any error is present (or any warning, when --strict).
Add --json for machine-readable output (useful in CI).
npx claudepluginhub scaccogatto/okf-skills --plugin okfAssesses, validates, and adopts the Open Knowledge Format (OKF) for markdown+frontmatter knowledge bases. Scans repos for frontmatter consistency, validates bundles, and identifies good adoption candidates.
Authors, maintains, and consumes OKF knowledge bundles (markdown + YAML frontmatter) for project knowledge like services, APIs, schemas, metrics, and decisions. Use when capturing or updating project knowledge.
Validates KG-Registry resource pages for schema compliance, provenance slot correctness, and stub-cleanup issues after curation.