AGENT SKILL

okf-compatibility

Import, export, and validate conformant Open Knowledge Format bundles.

License 许可
MIT
最近更新
2026-11-11
Stars
★ 0
Forks
0

01 前言 Front Matter

name
okf-compatibility
metadata
{ "processkit": { "id": "SKILL-okf-compatibility", "layer": 2, "created": 1784764800000, "version": "1.0.0-alpha.1", "category": "processkit", "provides": { "mcp_tools": [ "export_okf_bundle", "import_okf_bundle", "validate_okf_bundle" ], "primitives": [] }, "apiVersion": "processkit.projectious.work/v2" } }
description
Import, export, and validate conformant Open Knowledge Format bundles.

02 资源文件 4

03 SKILL.md 正文

OKF Compatibility

Intro

OKF compatibility projects selected canonical processkit entities into the Open Knowledge Format v0.1 boundary format. It does not replace processkit schemas, stable IDs, typed relations, lifecycles, or event history.

Overview

Use export_okf_bundle to create a new bundle beneath the project root. Each concept document includes the required OKF type, human-facing metadata, and processkit extension keys. Typed references are retained in extension frontmatter and rendered as ordinary Markdown links for generic consumers.

Use validate_okf_bundle to check the v0.1 core contract and internal links. Use import_okf_bundle(..., dry_run=True) to validate and plan a lossless processkit producer-profile import. Apply only after the plan is clean; import refuses existing target IDs rather than overwriting canonical entities.

Gotchas

  • Do not assume generic OKF bundles are lossless. Round-trip import requires the processkit producer-profile extensions.
  • Do not overwrite a prior export. Choose a new directory so bundles are reviewable and reproducible.
  • Do not hide processkit identity. Extension keys preserve stable IDs, kinds, interfaces, and typed references.
  • Do not require aibox. Export and validation run from processkit alone.

Full reference

OKF v0.1 requires UTF-8 Markdown with YAML frontmatter containing type. processkit's producer profile additionally emits title, description, timestamp, tags, processkit_id, processkit_kind, processkit_interfaces, processkit_relations, canonical spec/body, timestamps, and labels when available.

04 同仓库更多 Skills