okf-export

okf-export is a command for Claude Code from monoes/monomind. It costs 18 tokens per session (146 once invoked), scanned A, original, Apache-2.0.

A command that exports a knowledge base as an OKF bundle, a portable package in the Open Knowledge Format. The bundle can be moved or backed up for use elsewhere.

In plain words
What is it for?
Exporting selected knowledge to a chosen directory for backup, transfer, or later import.
Why use it?
It gives you a portable copy of stored project knowledge instead of keeping it only in the local knowledge base.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Exporting selected knowledge to a chosen directory for backup, transfer, or later import.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/monoes/monomind/okf-export
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.

Clone the repo
git clone --depth 1 https://github.com/monoes/monomind

Made for: Claude Code.

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-export

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/monoes/monomind/okf-export"><img src="https://agentmods.dev/badge/commands/monoes/monomind/okf-export.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 146 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.
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.00018 $0.00146
Opus 5.5 $0.00007 $0.00058
Sonnet 5.5 $0.00004 $0.00029
Haiku 4.5 $0.00002 $0.00015

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

Security

Grade A, and why

okf-export 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 yesterday.

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.

.claude/commands/mastermind/okf-export.md · 17 lines

What it actually says

Parse $ARGUMENTS for:

  • --output <dir> or -o <dir> → output directory (default: .monomind/knowledge-export)
  • --scope <name> or -s <name> → knowledge scope (default: shared)
  • Remaining positional arg → treated as output directory

Run the export:

npx monomind doc export -o "<output_dir>" -s "<scope>"

After completion, report what was exported and where. If 0 documents exported, suggest monomind doc ingest <path> first.

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. yesterday First seen · 17 lines · 18 tokens per session scan A bc31f8b96442

Subscribe to this mod's changes

okf-export is a command published in the GitHub repository monoes/monomind (23 stars, last pushed yesterday), licensed Apache-2.0. It adds 18 tokens to every session and 146 once invoked, about $0.0001 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-10-26.

Related

Other commands, from other repositories

ordenar

Grupo: Trabajo con el framework En una frase: Capturar archivos, carpetas y dumps del chat — documentar en la capa correcta y dejar manifest recuperable. Cuándo: Volcás mucha data, briefs, notas o paths y querés que el DT clasifique, documente e indexe para reutilizar. Quién: Cualquier operador del repo.

Mazalucas/El-DT-Lightweight-Army · 0 tokens

verificar

Grupo: Trabajo con el framework En una frase: Verificar números de planillas y reportes con script, sin cálculo mental de la IA. Cuándo: Compartís una planilla/reporte o pedís totales, sumas o reconciliación de cifras. Quién: Cualquier operador del repo.

Mazalucas/El-DT-Lightweight-Army · 0 tokens

cerebro-work

Grupo: Módulos del segundo cerebro En una frase: Sync cerebro profesional — atajo CerebroWork (script en raíz). Cuándo: Querés correr el sync Meet→Markdown sin recordar paths; ritual rápido post-OAuth. Quién: Cualquier operador del repo.

Mazalucas/El-DT-Lightweight-Army · 0 tokens

drive

Grupo: Rutina del día a día En una frase: Conectar Drive (plugin oficial) y elegir carpetas como contexto. Solo lectura. Cuándo: Primera vez que querés consultar documentos en Drive con el DT; o para cambiar qué carpetas compartís. Quién: Cualquier operador del repo.

Mazalucas/El-DT-Lightweight-Army · 0 tokens

sincronizar-notas-meet

Grupo: Módulos del segundo cerebro En una frase: Exportar notas Gemini (.gdoc) a Markdown local en el cerebro. Cuándo: Hay reuniones nuevas en Drive o falta contenido en el espejo .md. Quién: Cualquier operador del repo.

Mazalucas/El-DT-Lightweight-Army · 0 tokens

doctor

Health-check the harness: kernel load, MCP wiring, memory backend, host adapter.

ruvnet/metaharness · 17 tokens