agentsclimarketplace

Validate

Skill scaccogatto/okf-skills/skills/validate

The OKF toolkit for Claude Code — author, maintain, validate & visualize Open Knowledge Format bundles. Claude Code plugin + skills.sh.

Install
npx -y skills add scaccogatto/okf-skills --skill validate

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

What its author says it does

Copied from the file, not written here

Check that an Open Knowledge Format (OKF) bundle is conformant with the v0.1 spec (§9). Use when asked to validate, lint, or check an OKF bundle, or before committing changes to one. Runs a deterministic Python checker — not an eyeball pass.

SKILL.md

1.4 KB, as published. Nobody here has run it

Validate an OKF bundle

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:

  • ERROR → a hard §9 conformance failure (no parseable frontmatter, or a missing/empty type). The bundle is non-conformant. Fix every one.
  • warn → soft guidance (missing recommended field, non-ISO log date, broken cross-link). Never blocks; broken links in particular are explicitly tolerated by the spec (§5.3). Fix when cheap.

Exit code is non-zero if any error is present (or any warning, when --strict). Add --json for machine-readable output (useful in CI).

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.