repair

repair is a skill for Claude Code, Codex from MedAdemBHA/docflow. It costs 58 tokens per session (196 once invoked), scanned A, original, MIT.

A maintenance guide for an existing DocFlow documentation setup. It describes how to regenerate the documentation index, refresh managed helper scripts, check links, and report placeholders or validation problems.

In plain words
What is it for?
Use it after adding or renaming documents, when DocFlow's checks recommend repair, or when you need to refresh its index and run link validation.
Why use it?
It keeps generated documentation support files up to date without changing manually maintained project documents. It also makes documentation issues visible for later correction.

Skill for Claude CodeCodex

Part of the docflow plugin — 9 skills, 3 commands shipped together

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.

agentmods
npx agentmods add skills/medadembha/docflow/repair
Any agent
npx skills add MedAdemBHA/docflow --skill repair
Clone the repo
git clone --depth 1 https://github.com/MedAdemBHA/docflow

Made for: Claude Code, Codex.

Or install docflow, the plugin that ships this one along with the rest of its 9 skills, 3 commands.

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 repair

README.md
[![agentmods](https://agentmods.dev/badge/skills/medadembha/docflow/repair.svg)](https://agentmods.dev/skills/medadembha/docflow/repair)
Your own site
<a href="https://agentmods.dev/skills/medadembha/docflow/repair"><img src="https://agentmods.dev/badge/skills/medadembha/docflow/repair.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 196 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00058 $0.00196
Opus 5 $0.00029 $0.00098
Sonnet 5 $0.00012 $0.00039
Haiku 4.5 $0.00006 $0.00020

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

Security

Grade A, and why

repair 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 5d 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/repair/SKILL.md · 33 lines

What it actually says

repair

Goal: safe generated-file maintenance only.

Run

bash scripts/docflow-repair.sh --target <REPO ROOT>

It May Change

  • <DOCS_ROOT>/INDEX.md
  • missing helper scripts under scripts/
  • existing helper scripts whose headers identify them as DocFlow-managed

It Must Not Change

  • README content
  • product specs
  • ADRs
  • changelog months
  • roadmap/plans
  • existing project docs
  • customized helper scripts without a DocFlow-managed header

Report broken links, placeholders, and validation warnings instead of fixing content unless the user asks.

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. 5d ago First seen · 33 lines · 58 tokens per session scan A c3768cb4ab20

Subscribe to this mod's changes

repair is a skill published in the GitHub repository MedAdemBHA/docflow (41 stars, last pushed 21d ago), licensed MIT. It adds 58 tokens to every session and 196 once invoked, about $0.0003 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

wiki

Markdown-first knowledge base where the LLM acts as librarian. Ingests raw sources, compiles and interlinks topic files, self-maintains an index. No vector DB or embeddings required -- uses LLM-native navigation over structured markdown up to 400K words.

SethGammon/Citadel · 56 tokens

html-summary

Convert a stakeholder summary markdown file into a single self-contained HTML executive report — bottom line and decision asks up front, supporting detail later — styled with a Test Double-derived palette and self-contained mermaid diagrams. Use when the user wants to turn a stakeholder summary, executive summary, or…

testdouble/han · 100 tokens

design-an-api

Designs the contract for an API change inside one codebase — a component's props, a function surface, URL or query parameters, an event payload, or a module boundary — through a discovery pass, an options document with one recommendation, a question round, and an adversarial validation round, with every element of the…

testdouble/han · 203 tokens

Documentation Hygiene ドキュメント衛生

AGENTS.md などの恒久ドキュメントに一過性のタスクログが混入していないか、SOP / decision / log / learned の役割が混同されていないか、公開物(README / docs / 記事)に内部メモ・ローカルパス・AI 会話断片が残っていないかを差分で検出する.

s977043/river-review · 97 tokens

read-text

Extract structured text, numbers, labels, and codes from images and evaluate by character or field accuracy. TRIGGER when: user asks to read/scan a serial, part/date/lot number, label, license plate, meter, gauge, barcode, QR code, invoice, document, form field, or other image text. SKIP when: user asks to tally/count…

Borda/vision-delivery · 143 tokens

preserve-security-evidence

Preserve security evidence before analysis, containment, or remediation changes it. Use for artifacts, volatile host state, vulnerability validation, records, logs, screenshots, commands, hashes, timelines, and reproducible handoffs.

gaelic-ghost/socket · 49 tokens