Skip to content
Back to skills

X9 Okf Docs

ASecurity

Use when writing or updating OKF metadata for Markdown documents — creating or working on a document in a repository or vault whose instructions use OKF, adopting OKF for a folder, checking OKF metadata, removing retired OKF fields, or putting the OKF block into a repository's AGENTS.md — «добавь OKF-метаданные», «адаптируй папку под OKF», «проверь OKF», «обнови блок OKF в AGENTS», "migrate docs to OKF". Do not use for reading documents, ordinary Markdown cleanup, prose rewrites, repositories...

  • 5 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 19, 2026
ai-agentspythonrubydocumentation

Security analysis

A100/100

Pro scans all 13 files and shows the line behind each finding

Scanned November 27, 2026

npx -y skills add xonika9/agent-skills --skill x9-okf-docs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of X9 Okf Docs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for X9 Okf Docs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/xonika9-x9-okf-docs/badge)](https://www.skillsdirectory.com/skills/xonika9-x9-okf-docs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: x9-okf-docs
description: Use when writing or updating OKF metadata for Markdown documents — creating or working on a document in a repository or vault whose instructions use OKF, adopting OKF for a folder, checking OKF metadata, removing retired OKF fields, or putting the OKF block into a repository's AGENTS.md — «добавь OKF-метаданные», «адаптируй папку под OKF», «проверь OKF», «обнови блок OKF в AGENTS», "migrate docs to OKF". Do not use for reading documents, ordinary Markdown cleanup, prose rewrites, repositories whose instructions say they do not use OKF, or giving repository instruction files a header.
---

# OKF documentation

Own the x9 OKF metadata contract: each document's header carries enough for an agent to decide whether to open it. Own also the block between `<!-- x9-okf-docs:start -->` and `<!-- x9-okf-docs:end -->` in a repository's `AGENTS.md`, written from [the block template](references/agents-block.md), so every repository states the same rules in the same words. Preserve document bodies and act only on the documents in scope.

Read [the contract](references/okf-format.md) before writing any metadata.

## Choose the route

- Create a document, work on one, or bring the repository's `AGENTS.md` block up to date: [maintain](references/maintain.md).
- Adopt a folder, check it, or remove retired fields: [adapt](references/adapt.md).
- Brief a read-only subagent that proposes metadata: [proposal brief](references/markup-agent-prompt.md).

## Runtime

Writing a header by hand needs no tools. The scripts need Python 3.9 or newer and Ruby with Psych, which stock macOS provides; resolve their paths from this loaded skill directory and run `scripts/check_dependencies.py` before the first script in a session. The [onboarding declaration](references/onboarding.json) lists these prerequisites.

## Completion

Only the intended files changed, bodies kept their bytes, BOM, and line endings where a script wrote, and the validator passes for the documents in scope. When a needed script cannot run, report the metadata as unchecked rather than skipping silently.

Files in this skill

  • SKILL.md2.1 KB
  • references/adapt-repair.md1.5 KB
  • references/maintain.md2 KB
  • references/markup-agent-prompt.md1.9 KB
  • references/migration.md1.6 KB
  • references/okf-format.md3.3 KB
  • references/onboarding.json1.3 KB
  • scripts/check_dependencies.py1.1 KB
  • scripts/insert_frontmatter.py29.2 KB
  • scripts/okf_rules.py11.8 KB
  • scripts/okf_yaml.py2.5 KB
  • scripts/test_okf.py38.2 KB
  • scripts/validate_okf.py4.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.