okf-fs

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

A local filesystem tool that documents folders and files in Open Knowledge Format (OKF), a structured bundle for sharing directory information.

In plain words
What is it for?
Use it to produce an OKF bundle from a directory, compare a bundle with a directory, or sync file descriptions back to metadata.
Why use it?
It records file metadata while respecting ignore rules, making a folder easier to inspect or compare with a saved description.

Skill for Claude CodeCodex

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

Good fit Use it to produce an OKF bundle from a directory, compare a bundle with a directory, or sync file descriptions back to metadata.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/xsavikx/okf-skills/okf-fs"><img src="https://agentmods.dev/badge/skills/xsavikx/okf-skills/okf-fs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 581 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.00062 $0.00581
Opus 5.5 $0.00025 $0.00232
Sonnet 5.5 $0.00012 $0.00116
Haiku 4.5 $0.00006 $0.00058

Measured 1mo ago against content hash f72ca44cd3c3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

okf-fs 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 1mo 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-fs/SKILL.md · 60 lines

What it actually says

Skill: okf-fs (Local Filesystem OKF Connector)

This skill produces and ingests OKF bundles documenting local directory tree structures and metadata, respecting .okfignore files.

Setup

The connector is written in Go and requires Go 1.24+ to build from source:

# Install the published binary (Go 1.24+) — no clone needed:
go install github.com/xSAVIKx/okf-skills/skills/[email protected]

# …or build from a clone of the repository:
cd skills/okf-fs
go build -o okf-fs .

Commands

1. produce

Traverses the specified directory, ignores files matching .okfignore rules, reads description text from .okf-metadata.yaml, and outputs an OKF bundle.

./okf-fs produce --dir <directory-to-document> --out <bundle-output-dir>

Options:

  • --dir (string): The path to the local directory to document (required).
  • --out (string): The path where the generated OKF bundle will be created (required).

2. ingest

Compares an OKF bundle with the target directory, checks for file existence and mismatches, and optionally syncs file descriptions back into .okf-metadata.yaml.

./okf-fs ingest --dir <target-directory> --bundle <okf-bundle-dir> [--sync]

Options:

  • --dir (string): The target directory to compare against (required).
  • --bundle (string): The path to the OKF bundle to ingest (required).
  • --sync (bool): If true, updates .okf-metadata.yaml at the directory root with the descriptions from the bundle.

3. Inspect the Schema (self-description)

Print a machine-readable JSON description of this skill's commands and flags (used by okf-mcp to expose the skill as an MCP tool):

./okf-fs schema
Files

What ships with it

7 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. 1mo ago Changed f72ca44cd3c3
  2. 3mo ago First seen · 60 lines · 62 tokens per session scan A 37163366d648

Subscribe to this mod's changes

okf-fs is a skill published in the GitHub repository xSAVIKx/okf-skills (42 stars, last pushed 11d ago), licensed Apache-2.0. It adds 62 tokens to every session and 581 once invoked, about $0.0002 per session on Opus 5.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

okf-fs compared with skills from other repositories

okf-fs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
okf-fsxSAVIKx/okf-skillsSkill4211d agoApache-2.0A62Claude Code, Codex
okf-authoringaws-samples/sample-okf-llm-wikiSkill3717d agoMIT-0A102Claude Code, Codex
report-authoringaws-samples/sample-okf-llm-wikiSkill3717d agoMIT-0B44Claude Code, Codex
okf-open-knowledge-formatfabricioctelles/skillsSkill1505d agoApache-2.0A168Claude Code, Codex
knowledge-builderlimecloud/limeSkill1.5k13d agoGPL-3.0A33Claude Code, Codex
import-goodreadskriscard/SkillsSkill163d agoMITA78Claude Code
vault-auditkriscard/SkillsSkill163d agoMITA60Claude Code