# okf-validate

The okf-validate Claude Code skill checks an Open Knowledge Format (OKF) bundle against version 0.2 of its specification and explains each finding. It runs when a bundle is reviewed or after a producer creates or updates one.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 105 repo stars
- Author: wmahfoudh
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/wmahfoudh/okf/tree/HEAD/skills-pi/okf-validate/SKILL.md
- Updated: 2026-10-31
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/okf-validate

## What it does

okf-validate reads an OKF bundle directory and compares its contents with `SPEC.md`, then reports findings with references to specification sections. The checks are tied to individual rules, with their identifiers listed in `CHECKS.md`. It does not change the bundle.

Python 3.10 or later and PyYAML are required. Pass the bundle root, which contains `index.md`; options include `--strict`, `--json`, `--output FILE` and `--quiet`. Findings use error, warning and info levels, with exit codes reflecting the result. The check does not decide whether a concept is outdated, and it does not run computations, executors or attesters; it checks whether they are named and found.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add wmahfoudh/okf --skill okf-validate -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/okf-validate/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/okf-validate/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add wmahfoudh/okf --skill okf-validate -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/okf-validate/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add wmahfoudh/okf --skill okf-validate -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/okf-validate/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install wmahfoudh/okf skills-pi/okf-validate/SKILL.md
```

2. **Manually: put the files in place**
- File: `.github/skills/okf-validate/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add wmahfoudh/okf --skill okf-validate -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/wmahfoudh/okf --path skills-pi/okf-validate
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/okf-validate/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/wmahfoudh/okf/tree/HEAD/skills-pi/okf-validate/SKILL.md

## When to use it
- check an OKF bundle against its specification
- spot issues in frontmatter and index files
- find broken source references and log entries
- inspect trust fields and attested computation references

## Example prompts
- Check the OKF bundle in `./my-bundle` against the specification.
- Audit `./my-bundle` and explain each finding with its specification section.
- Run a strict check on `./my-bundle` and return a JSON report.

## Similar
- [okf-knowledge-base](https://affpapa.org/en/nevibecode/skills/okf-knowledge-base.md) — skill · 9400 installs
- [okf](https://affpapa.org/en/nevibecode/skills/okf.md) — skill · 1200 installs
- [memory-okf](https://affpapa.org/en/nevibecode/skills/memory-okf.md) — skill · 305 installs
- [okf-open-knowledge-format](https://affpapa.org/en/nevibecode/skills/okf-open-knowledge-format.md) — skill · ★ 141 repo stars
- [okf-mcp](https://affpapa.org/en/nevibecode/mcp/okf-mcp.md) — MCP server · ★ 8 repo stars
- [validate-skills](https://affpapa.org/en/nevibecode/skills/validate-skills.md) — skill · 7800 installs

From the same set: [wmahfoudh/okf](https://affpapa.org/en/nevibecode/by/wmahfoudh/okf.md) — 8 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
