okf-csv

okf-csv is a skill for Claude Code, Codex from xSAVIKx/okf-skills. It costs 108 tokens per session (760 once invoked), scanned A, original, Apache-2.0.

A command-line connector that turns a folder of CSV files into an Open Knowledge Format bundle. It infers column types from sample rows and can include statistics, sample data, and descriptions stored beside the CSV files.

In plain words
What is it for?
Cataloguing CSV folders, documenting their columns, profiling values, adding sample rows, and syncing descriptions back through a metadata sidecar file.
Why use it?
CSV files do not normally record column types or documentation, so this creates a browsable description without changing the original data.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Cataloguing CSV folders, documenting their columns, profiling values, adding sample rows, and syncing descriptions back through a metadata sidecar file.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xsavikx/okf-skills/okf-csv
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-csv
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-csv

README.md
[![agentmods](https://agentmods.dev/badge/skills/xsavikx/okf-skills/okf-csv/github.svg)](https://agentmods.dev/skills/xsavikx/okf-skills/okf-csv)
Your own site
<a href="https://agentmods.dev/skills/xsavikx/okf-skills/okf-csv"><img src="https://agentmods.dev/badge/skills/xsavikx/okf-skills/okf-csv/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-csv

Your own site · 80×15
<a href="https://agentmods.dev/skills/xsavikx/okf-skills/okf-csv"><img src="https://agentmods.dev/badge/skills/xsavikx/okf-skills/okf-csv.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 760 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.00108 $0.00760
Opus 5 $0.00054 $0.00380
Sonnet 5 $0.00022 $0.00152
Haiku 4.5 $0.00011 $0.00076

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

Security

Grade A, and why

okf-csv 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 10d 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-csv/SKILL.md · 74 lines

How it starts

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

CSV OKF Connector

This skill provides a Go-based CLI tool to document a directory of CSV files as an Open Knowledge Format (OKF) bundle: one concept per CSV, with an inferred column schema and an optional data profile, and to sync enriched descriptions back to a .okf-metadata.yaml sidecar.

When to Use

Use this skill when you need to:

  1. Catalog a folder of CSV files — each becomes a CSV File concept under tables/, with a # Columns table whose types are inferred by sampling values.
  2. Capture per-column statistics (--profile) and sample rows (--sample) as grounding for enrichment.
  3. Round-trip enriched descriptions back to the source via .okf-metadata.yaml.

CSV has no declared types or comment store, so column types are inferred and descriptions live in the sidecar (the same pattern okf-fs uses).

Setup

# Install the published binary (Go 1.24+):
go install github.com/xSAVIKx/okf-skills/skills/okf-csv@latest

# …or build from a clone:
cd skills/okf-csv && go build -o okf-csv .

How to Use

1. Produce an OKF bundle

./okf-csv produce --dir <csv-directory> --out <bundle-dir> [--sample <N>] [--profile]
  • --dir (required): directory of CSV files (traversed recursively, honoring .okfignore).
  • --out (required): output OKF bundle directory.
  • --sample <N>: embed up to N sample rows per file as a ## Sample section.
  • --profile: compute per-column statistics (non-null, null, distinct, min, max, detected semantic type, low-cardinality value sets) into a ## Data Profile section.

Each data/orders.csv becomes tables/orders.md. Re-running preserves unchanged concepts byte-for-byte (incremental produce), keeping any enriched descriptions.

2. Ingest / sync descriptions

./okf-csv ingest --dir <csv-directory> --bundle <bundle-dir> [--sync]
  • Verifies each concept's columns still match its CSV header (reports drift).
  • --sync: writes the bundle's descriptions back to .okf-metadata.yaml in --dir.

Read the full file on GitHub · 74 lines

Files

What ships with it

9 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. 10d ago First seen · 74 lines · 108 tokens per session scan A 0e8d9c245544

Subscribe to this mod's changes

okf-csv is a skill published in the GitHub repository xSAVIKx/okf-skills (33 stars, last pushed 10d ago), licensed Apache-2.0. It adds 108 tokens to every session and 760 once invoked, about $0.0005 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

xlsx

Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When GLM needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing…

jjyaoao/HelloAgents · 97 tokens

数据搬运工

A general data-transfer and format-conversion tool for moving, cleaning, and reshaping files. It works with spreadsheets, CSV and TSV tables, JSON, XML, YAML, SQL inserts, and SQLite databases.

laborany/laborany · 45 tokens

okf-authoring

Author Open Knowledge Format (OKF) bundles — knowledge represented as a directory of markdown files with YAML frontmatter. Use when asked to create, write, generate, enrich, or validate an OKF bundle or OKF concept docs; to turn a data source (Glue database, API, database, catalog), documentation, or a research topic…

aws-samples/sample-okf-llm-wiki · 102 tokens

report-authoring

The report-authoring methodology: required structure, language, evidence discipline, and figure selection. Read BEFORE your first createreport of a conversation - the tool validates shape; this is everything it cannot check.

aws-samples/sample-okf-llm-wiki · 44 tokens

xlsx-processing

Use when the user needs Excel file manipulation — reading, writing, formulas, charts, conditional formatting, data validation, pivot tables, or large file handling. Trigger conditions: create Excel reports programmatically, read spreadsheet data, add formulas or charts, apply conditional formatting, perform data…

Pixel-Process-UG/superkit-agents · 76 tokens