/pq-connectors:okf-generatefrom pq-connectors
Creates, updates, migrates, repairs, or validates Open Knowledge Format (OKF) v0.3 bundles — directories of Markdown files with YAML frontmatter documenting data assets, metrics, policies, and procedures.
Ships in pq-connectors. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
This skill produces an OKF v0.3 bundle that conforms to the specification and records the source of each fact. The specification is SPEC.md in the OKF repository. references/frontmatter.md lists every field. references/templates.md gives a template for each document type.
An OKF bundle is a directory tree. A concept is a Markdown file whose frontmatter has a non-empty type. A Markdown file without frontmatter or without type, such as a README.md, is not a concept. A file whose name does not end in .md is an asset. The file names index.md and log.md are reserved at every level.
To answer questions from a bundle, use the okf-consume skill.
sources. Attach each specific claim to its source with a footnote whose label is the source id.generated.by to your own actor, <tool>/<model>, where <tool> is the agent product, such as claude-code, codex, or antigravity.verified entry to content that you generated in this run. Add a human:<id> entry only when that person confirmed the content, asked you to record it, and stated their id. Never infer an id from the machine, such as a login name or git configuration. Without an id, record no verification and say why.status: draft, never linked as a computation.verified history, and text that a person wrote. Do not rewrite values that you did not change.index.md and log.md first, and note its okf_version.INFORMATION_SCHEMA views or an OpenAPI file, documentation pages, runbooks, and notes from the user..md.datasets/, tables/, metrics/, computations/, policies/, playbooks/, and references/. Reuse the directory names that the bundle already has.index.md or log.md.---, and end the frontmatter with the next --- line.type to a short descriptive name, for example BigQuery Table, Metric, Playbook, Reference, or Attested Computation. Reuse the type names that the bundle already uses.description as one sentence.resource to the canonical URI of that asset.tags as a YAML list, for example [sales, orders]. A consumer reads a scalar tags value as one tag, so tags: sales, orders is the single tag sales, orders.generated.at and verified[].at as RFC 3339 date-times with an offset, such as "2026-06-30T14:00:00Z". Other timestamps can also be a date, such as "2026-12-31", which means 00:00 UTC on that day.# Schema for columns or fields, # Examples for usage, and # Computation for an Attested Computation.../tables/orders.md, because that form displays correctly on GitHub.resource, sources[].resource, computation, executor.resource, attester.resource, superseded_by) with a leading /, for example /references/attesters/sql-equality.py. A path field without a leading / resolves from the directory of its file, not from the bundle root.my%20concept.md.sources entry a stable id, the required resource, and a title.author (an actor), usage_count, or last_modified only when you have the real value. Give each usage_count a usage_window.resource as a source when the content came from it.Revenue excludes tax.[^rev-policy]. Define it as [^rev-policy]: Revenue recognition policy. The label must equal a sources[].id. Do not use numbered labels such as [^1].generated: { by: "<your actor>", at: "<current UTC time>" } on each concept that you create or change in meaning. If your change only fixes format, whitespace, or links, keep the existing generated value.<producer>/<version> or <scheme>:<id>, with the schemes human:, team:, and process:. Only human: gives the human-reviewed trust tier.status. A missing status means stable.status: draft.verified history, and set status: deprecated. If a replacement exists, set superseded_by to its path, and state the reason in the body.generated and verified values, because a move does not change its meaning. Keep a short deprecated concept at the old path with superseded_by set to the new path.stale_after only when a source has a known review or refresh cycle. Do not guess a date.Do this step only when you have a sanctioned computation (rule 5).
type: Attested Computation, usually in computations/, and set its runtime.Metric.index.md in each directory that you changed. Group the entries under headings.* [Title](path) - description. Copy the description from the concept's frontmatter.index.md below the bundle root.index.md frontmatter with okf_version: "0.3", a title, a one-sentence description of the scope of the bundle and when to use it, and a license when you know it. Agents use the description to choose a bundle.index.md, keep its existing frontmatter.log.md for the change. Do not put frontmatter in log.md. Use a ## YYYY-MM-DD heading and put the newest date first.Run the validator from this skill's directory:
python3 scripts/validate.py <bundle-root>
Fix each error. Errors mark conformance failures (section 11.1).
Fix each warning, or tell the user why you kept it. Warning W120, a file that is not a concept, is correct only for documentation such as a README.md.
Read the info findings, such as stale concepts and verifications older than the content.
If you cannot run the script, check the conformance rules of section 11.1 by hand.
The validator needs Python 3.9 or later and PyYAML (pip install pyyaml). Use --json for structured output and --strict to fail on warnings.
Tell the user:
draft or deprecated,generated.at only for a change in meaning.verified entry. A verification counts only when it is not older than generated.at, so a change in meaning needs a new verification. Tell the user.To migrate a v0.1 or v0.2 bundle to v0.3, follow references/migration.md.
What SKILL.md sets; muted values are Claude Code's defaults
3 plugins ship this exact skill · first indexed Nov 19, 2026
7 skills in this plugin
/find-connector-codeFind how Microsoft's certified Power Query (M) connectors implement something, using this repository's connector source archive and its OKF bundle. Use this skill when the user asks how real Power BI or Excel connectors do authentication (OAuth, PKCE, keys), paging, navigation tables, query folding (Table.View, ODBC, native queries), retries, error handling, schemas, or packaging; asks for an example connector to copy from; or wants M code that a certified connector uses. Read-only./okf-consumeAnswer questions from an Open Knowledge Format (OKF) bundle, a directory of Markdown files with YAML frontmatter, and report the provenance, trust tier, freshness, and attestation status of every concept used. Use this skill when the user points at an OKF bundle or at a directory of Markdown files with index.md files and frontmatter type fields; asks what a metric, table, policy, or procedure means according to that bundle; asks for a number that the bundle defines with an Attested Computation; or asks which concepts are stale, deprecated, or unverified./refresh-archiveRefresh this repository's archive of Microsoft's certified Power Query connectors and rebuild its OKF bundle, then read the refresh report and handle failures. Use this skill when asked to update the connector archive, run or debug the weekly refresh workflow, fix a failing refresh pull request, rebuild bundle/, or re-sync the vendored OKF skills.npx claudepluginhub back1ply/power-bi-custom-connectors-source-code --plugin pq-connectorsOther plugins' skills for the same job