format-checker

format-checker is a skill for Claude Code, Codex from panaversity/ksor. It costs 76 tokens per session (403 once invoked), scanned A, original, Apache-2.0.

A runnable check for documents in a knowledge library. It checks YAML header fields, filenames, links, and document structure, and reports problems without rewriting the files.

In plain words
What is it for?
Use it to validate knowledge documents with `pnpm check` or the supplied Node command, and to identify records that need correction.
Why use it?
It catches formatting and structure errors before documents are handed off or added to the library.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; installed under .agents/ (shared by several agents); mentions AGENTS.md.

Good fit Use it to validate knowledge documents with pnpm check or the supplied Node command, and to identify records that need correction.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/panaversity/ksor/format-checker
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 panaversity/ksor --skill format-checker
Clone the repo
git clone --depth 1 https://github.com/panaversity/ksor

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 format-checker

README.md
[![agentmods](https://agentmods.dev/badge/skills/panaversity/ksor/format-checker.svg)](https://agentmods.dev/skills/panaversity/ksor/format-checker)
Your own site
<a href="https://agentmods.dev/skills/panaversity/ksor/format-checker"><img src="https://agentmods.dev/badge/skills/panaversity/ksor/format-checker.svg" alt="Measured on agentmods" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 403 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.00076 $0.00403
Opus 5 $0.00038 $0.00201
Sonnet 5 $0.00015 $0.00081
Haiku 4.5 $0.00008 $0.00040

Measured 4d ago against content hash 9787229423a5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

format-checker 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 4d 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.

packages/ksor/templates/scaffold/.agents/skills/format-checker/SKILL.md · 28 lines

What it actually says

Format checker

pnpm check runs check.mjs. The rules it holds the record to are the ones in AGENTS.md → "Writing knowledge"; this file says only what that section does not, which is how to relate to the program.

  • It is generated, and it is the same rule set ksor build and ksor ingest run, so the three can never disagree about a well-formed record. Do not edit it: ksor init writes it and ksor migrate rewrites both copies when you upgrade, so an edit is overwritten rather than kept. It reports and never rewrites a file.
  • Obey the printed fix literally. Every refusal prints where, the rule's slug (problem: ksor-…), why the rule exists, and the fix. If the fix does not resolve the problem, that is a bug worth reporting to ksor.
  • If its refusals contradict AGENTS.md, the checker is older than the record: upgrade @panaversity/ksor and re-run ksor migrate. Never "fix" the record by undoing what a migration wrote.
  • When you edit any skill under .agents/skills/, re-copy it to .claude/skills/ — the checker holds the two trees byte-identical in both directions.
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. 4d ago Changed · -28 lines 9787229423a5
  2. 8d ago First seen · 56 lines · 76 tokens per session scan A 36a6a17275c5

Subscribe to this mod's changes

format-checker is a skill published in the GitHub repository panaversity/ksor (151 stars, last pushed 5d ago), licensed Apache-2.0. It adds 76 tokens to every session and 403 once invoked, about $0.0004 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

foundry-hosted-agent-validation

Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.

microsoft/agent-framework · 82 tokens

csv-workbench

Analyze CSV files in /mnt/data and return concise numeric summaries.

openai/openai-agents-python · 17 tokens

typescript-providers

Implement, modify, test, or document TypeScript provider packages under ts/packages/providers, including framework adapters for OpenAI, Anthropic, Google, LangChain, Mastra, Vercel, LlamaIndex, Cloudflare, and Claude Agent SDK. Use for provider-specific TS work; do not use for core-only changes.

ComposioHQ/composio · 70 tokens

potpie-source-ingestion

Use when the user explicitly asks to ingest, refresh, or deeply understand a repository, PR, issue, ticket, runbook, incident report, document, or web link into Potpie. The harness performs todo-driven discovery, uses local/GitHub/integration tools and read-only subagents when available, builds evidence-backed…

potpie-ai/potpie · 82 tokens

azure-ai-document-intelligence-dotnet

Azure AI Document Intelligence SDK for .NET. Extract text, tables, and structured data from documents using prebuilt and custom models. Use for invoice processing, receipt extraction, ID document analysis, and custom document models. Triggers: "Document Intelligence", "DocumentIntelligenceClient", "form recognizer"…

microsoft/skills · 83 tokens

azure-ai-formrecognizer-java

Azure AI Document Intelligence SDK for Java (com.azure:azure-ai-documentintelligence). Use for extracting text, tables, key-value pairs from documents, receipts, invoices, IDs, or building custom document models. Triggers: "document intelligence java", "form recognizer java", "extract text from PDF java", "OCR…

microsoft/skills · 92 tokens