claude-sdk-rs: Skill for Claude Code

.agents/skills/write-okf-markdown/SKILL.md

write-okf-markdown is a skill for Claude Code, Codex from bredmond1019/claude-sdk-rs. It costs 180 tokens per session (4,032 once invoked), scanned A, original, Apache-2.0.

A procedure for creating or editing Markdown files in a managed knowledge collection. It explains when to add the file's metadata, add it to an index, and validate it.

In plain words
What is it for?
Use it when adding or changing README files, planning files, documentation, or other Markdown content in the collection. Follow it to decide whether metadata is needed and how to check the result.
Why use it?
It prevents common errors such as invalid metadata, missing index entries, and broken links between repositories. It also clarifies which files are part of the collection.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; installed under .agents/ (shared by several agents); mentions Gemini CLI.

This is bredmond1019/claude-sdk-rs's own configuration. It tells Claude Code and Codex how to work on claude-sdk-rs itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-sdk-rs configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/brandon/.../learn-ai/planning/decisions/../../docs/voice.md.

Reuse

Borrowing it

Nothing to install: this file belongs to bredmond1019/claude-sdk-rs. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/bredmond1019/claude-sdk-rs/main/.agents/skills/write-okf-markdown/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/bredmond1019/claude-sdk-rs

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 write-okf-markdown

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bredmond1019/claude-sdk-rs/write-okf-markdown"><img src="https://agentmods.dev/badge/skills/bredmond1019/claude-sdk-rs/write-okf-markdown.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 180 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,032 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.00180 $0.04032
Opus 5.5 $0.00072 $0.01613
Sonnet 5.5 $0.00036 $0.00806
Haiku 4.5 $0.00018 $0.00403

Measured 11d ago against content hash 7b21aa295a24, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

write-okf-markdown 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 11d 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.

.agents/skills/write-okf-markdown/SKILL.md · 294 lines

How it starts

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

Writing markdown in this brain

Paths below are relative to the brain root — the directory containing brain.toml, found by walking up from wherever you are. This skill is synced into every repo, so a repo-relative link would be wrong in most of them.

Three separate obligations, in this order. Most breakages come from doing #1 and skipping #2.

  1. Frontmatter — if the file is a corpus member (Step 1 decides).
  2. An index.md row — Standing Rule 7. Skipping this is the most common failure.
  3. Validation — one flag per invocation; they do not compose.

The schema tables (every field, every controlled vocabulary, per-type examples) live in docs/okf-frontmatter.md, governed by docs/decisions/D27-enriched-okf-frontmatter.md. This skill is the procedure, not the schema — read that doc when you need to pick a type, a layer, or a status.


Step 1 — Does this file need frontmatter at all?

Deterministic, from core/mev/src/brain/crawl.rs::is_corpus_member. A file is a corpus member iff, relative to its owning repo root, it is:

  • exactly README.md, CLAUDE.md, or index.md at the repo root, or
  • anywhere under planning/ or docs/ (any depth).

Those three filenames are matched literally. GEMINI.md and AGENT.md sit beside CLAUDE.md at the same repo roots and are not corpus members — they carry no frontmatter obligation and no index row, and editing one changes nothing a gate can see. Do not "correct" CLAUDE.md to another agent's filename anywhere in this document; the rule is the string, not the tool.

Everything else — src/*.md, a stray root-level .md, anything under an unregistered directory — is out of corpus: no frontmatter obligation, no index row, no validation.

Then subtract the ephemeral names, from crawl.rs::is_ephemeral. These are excluded even inside planning/:

handoff.md · tasks.md · breakdown.md · worklog.md · any filename starting with _

The _ prefix is a debugging trap, not just a convention. A probe named _zz_test.md is invisible to validate-brain. You will conclude detection is broken when it is working exactly as designed. If you are testing whether a check fires, do not name the fixture with a leading _.

Read the full file on GitHub · 294 lines

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. 11d ago First seen · 294 lines · 180 tokens per session scan A 7b21aa295a24

Subscribe to this mod's changes

write-okf-markdown is a skill published in the GitHub repository bredmond1019/claude-sdk-rs (23 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 180 tokens to every session and 4,032 once invoked, about $0.0007 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

write-okf-markdown compared with skills from other repositories

write-okf-markdown next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
write-okf-markdownbredmond1019/claude-sdk-rsSkill231mo agoApache-2.0A180Claude Code, Codex
orbit-notionnexu-io/open-designSkill106ktodayApache-2.0A117Claude Code, Codex
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill35k2d agoApache-2.0A123Claude Code
apify-youtube-transcript-scrapersickn33/agentic-awesome-skillsSkill49kyesterdayMITA48Claude Code
legal-holdanthropics/claude-for-legalSkill9.9k3d agoApache-2.0A68Claude Code
ppt-reviewOrkas-AI/OrkasSkill9.0ktodayMITA2Claude Code, Codex
feishuHmbown/CodeWhaleSkill41k5d agoMITA33Claude Code, Codex