okf-producer-generator

okf-producer-generator is a skill for Claude Code, Codex from xSAVIKx/okf-skills. It costs 128 tokens per session (4,170 once invoked), scanned A, original, Apache-2.0.

A guide and specification for building a new Open Knowledge Format (OKF) connector, which extracts information from a data source into a documented bundle and can sync descriptions back.

In plain words
What is it for?
Use it when adding support for a source such as Redis, Kafka, CSV, or an API, or when scaffolding a new producer skill.
Why use it?
It explains the project's required structure, commands, data-handling rules, and registration steps so you do not have to infer them from existing connectors.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; mentions AGENTS.md; mentions Gemini CLI.

Good fit Use it when adding support for a source such as Redis, Kafka, CSV, or an API, or when scaffolding a new producer skill.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xsavikx/okf-skills/okf-producer-generator
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add xSAVIKx/okf-skills --skill okf-producer-generator
Clone the repo
git clone --depth 1 https://github.com/xSAVIKx/okf-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for okf-producer-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/xsavikx/okf-skills/okf-producer-generator/github.svg)](https://agentmods.dev/skills/xsavikx/okf-skills/okf-producer-generator)
Your own site
<a href="https://agentmods.dev/skills/xsavikx/okf-skills/okf-producer-generator"><img src="https://agentmods.dev/badge/skills/xsavikx/okf-skills/okf-producer-generator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for okf-producer-generator

Your own site · 80×15
<a href="https://agentmods.dev/skills/xsavikx/okf-skills/okf-producer-generator"><img src="https://agentmods.dev/badge/skills/xsavikx/okf-skills/okf-producer-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 128 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,170 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00128 $0.04170
Opus 5 $0.00064 $0.02085
Sonnet 5 $0.00026 $0.00834
Haiku 4.5 $0.00013 $0.00417

Measured 12d ago against content hash 0667ac40ef1f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

okf-producer-generator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/okf-producer-generator/SKILL.md · 261 lines

How it starts

The opening of the file, as written. The whole thing — 261 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OKF Producer Skill Generator

This skill teaches a coding agent (Claude Code, Cursor, Gemini CLI, Copilot, …) how to author a new producer for this project: a standalone CLI skill that extracts metadata from a data source into an Open Knowledge Format (OKF) bundle, and ingests/syncs descriptions back. It ships the OKF spec it must conform to, the conventions every existing connector follows, and the exact wiring steps so the new skill builds, tests, and is auto-discovered over MCP.

Google introduced OKF and invited the community to "write a producer, write a consumer." This skill is how you write a producer here — one that matches the six that already exist (okf-sqlite, okf-mysql, okf-postgresql, okf-bigquery, okf-fs, okf-git) instead of reverse-engineering them.

When to Use

Load this skill when asked to:

  • Add a new data source — "make an OKF connector for MongoDB / Redis / Kafka / CSV / an API".
  • Scaffold an okf-* producer skill, or extend the project to a source it doesn't cover.

Do not use it for: reading a bundle (use okf-reader), enriching descriptions (use okf-enrich), or building a consumer that only reads OKF (the spec in okf-SPEC.md is enough for that).

Read the spec first

The format your producer must emit is defined in okf-SPEC.md (bundled here; canonical source is okf-go/okf-SPEC.md). The library API you build against is in okf-go-api.md. Skim both before designing concept types. The rules you will lean on most:

  • A bundle is a directory tree of markdown files with YAML frontmatter.
  • The only required frontmatter field is type; everything else is optional.
  • index.md files carry no frontmatter, except the bundle-root index.md, which may declare only okf_version: "0.2".
  • Consumers are permissive: unknown type values, extra keys, and broken links are all tolerated. Conformance is just "every concept has parseable frontmatter with a non-empty type."

Read the full file on GitHub · 261 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 261 lines · 128 tokens per session scan A 0667ac40ef1f

Subscribe to this mod's changes

okf-producer-generator is a skill published in the GitHub repository xSAVIKx/okf-skills (33 stars, last pushed 12d ago), licensed Apache-2.0. It adds 128 tokens to every session and 4,170 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

okfy

Use when a user wants an agent to use docs through OKFy, set up or verify an OKFy MCP docs source, convert docs websites or local Markdown into OKF bundles, generate activation proof, or answer from an existing OKFy bundle/workspace.

0dust/OKFy · 54 tokens

LLM

Implement large language model (LLM) chat completions using the z-ai-web-dev-sdk. Use this skill when the user needs to build conversational AI applications, chatbots, AI assistants, or any text generation features. Supports multi-turn conversations, system prompts, and context management.

jjyaoao/HelloAgents · 59 tokens

ASR

Implement speech-to-text (ASR/automatic speech recognition) capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to transcribe audio files, convert speech to text, build voice input features, or process audio recordings. Supports base64 encoded audio files and returns accurate text…

jjyaoao/HelloAgents · 65 tokens

VLM

Implement vision-based AI chat capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to analyze images, describe visual content, or create applications that combine image understanding with conversational AI. Supports image URLs and base64 encoded images for multimodal interactions.

jjyaoao/HelloAgents · 56 tokens

alpha-vantage

API de datos financieros de EE.UU.: acciones, forex, crypto, indicadores técnicos, fundamental data.

gauss314/skills · 24 tokens

macrotrends

Scraper de Macrotrends: financial statements, ratios, employee count con 15+ años de data histórica. Sin API key.

gauss314/skills · 31 tokens