refine-docs

refine-docs is a skill for Claude Code from tomoking2004/claude-plugins. It costs 99 tokens per session (1,922 once invoked), scanned A, original, MIT.

A document-editing workflow for reviewing README files, skill instructions, API documentation, reports, and other Markdown, then producing a polished final version. It checks structure, wording, references, terminology, and consistency.

In plain words
What is it for?
Use it to finish project documentation, README files, skill definitions, API documents, reports, and Markdown collections.
Why use it?
It helps find unclear references, uneven structure, broken links, and inconsistent terms across documentation instead of fixing only visible typos.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the refine plugin — 2 skills shipped together

Good fit Use it to finish project documentation, README files, skill definitions, API documents, reports, and Markdown collections.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tomoking2004/claude-plugins/refine-docs
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 tomoking2004/claude-plugins --skill refine-docs
Clone the repo
git clone --depth 1 https://github.com/tomoking2004/claude-plugins

Made for: Claude Code.

Or install refine, the plugin that ships this one along with the rest of its 2 skills.

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 refine-docs

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tomoking2004/claude-plugins/refine-docs"><img src="https://agentmods.dev/badge/skills/tomoking2004/claude-plugins/refine-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,922 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.00099 $0.01922
Opus 5.5 $0.00040 $0.00769
Sonnet 5.5 $0.00020 $0.00384
Haiku 4.5 $0.00010 $0.00192

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

Security

Grade A, and why

refine-docs 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 today.

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.

plugins/refine/skills/refine-docs/SKILL.md · 49 lines

How it starts

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

対象:指定された範囲の文書;無指定ならプロジェクト全文書(生成物のみ除く;.gitignore 対象も走査し,私的なメモ等は変えてよいかを先に問う).

まず BEAUTY.md を読み,美の6条と走査の規律に従う.

媒体の正典

  • Markdown:表題は一つ(H1 か frontmatter);見出し階層は飛ばさない;列挙は文型・粒度を揃える;表は二つ以上の対応を並べるときだけ置く(1行の表・同じ語が並ぶ列を置かない).手順は実行に要る入力・在処まで書く.
  • README:何であるか→なぜ→導入→使い方→開発の順.
  • SKILL.md:skill-md.md を読んで従う.
  • 日本語の散文:README・SKILL.md の本文・レポート等に当てる.
    • 指示語:「それ・これ・その・この・両者」の受け先を,同じ単位の中で一つだけ指せる.
    • 主述と目的語:主語と述語を抜き出して対応させる.目的語を要求する動詞・動作の名詞に目的語があり,省いた主語が一つに決まる.
    • 修飾の掛かり:連体修飾が,意図しない直後の名詞に掛かると読める箇所が0件.
    • 文のつながり:隣り合う二文の関係を「だから・しかし・そこで・たとえば・つまり」のどれかで言い直せる.
    • 一文一義:因果でも時間でもつながらない二つの事柄を一文に入れない.100字を超えた文は分けられないか確かめる——長さそのものは違反でない.
    • 近接の反復:一つの段落・項の中で同じ文末の3連続が0件.同じ語の近接も避ける(通すと決めた専門語は数えない).
    • 定義が先:専門語・固有名・略語は説明を先に置くか初出の句で言い添え,以後は同じ語で通す.
    • 比べる語:「共通・同じ・違い・独自」は比べる相手を,「変わる」は何によってかを,同じ単位の中で示す.
    • 程度の語:測っていない程度の語(大幅に・劇的に等)を使わない.
  • その他:その媒体の公式スタイルガイド;無ければ既存ファイルの多数派.

固有の走査

  • 参照整合:リンク・相互参照・目次が実在の対象を指すことを全件確かめる.外部リンクは実際に開いて題名と中身を確かめる.失効した参照は付け替える前に依存そのものが要るかを問う.文書をまたぐ参照は番号でなく役割の名前で書く.外へ出す成果物は内部の構造に依存させず,読み手が到達できない参照先は内容を写す.
  • 用語統一:同義語群・表記の規約を全文書横断で列挙し,揺れを潰す.日付・番号・呼び名を変えたら,その値に触れる全箇所を同じ回に直す.
  • 写しの印:避けられない写しには写しであることを示すか,機械で同一を検査し,元(正)→写しの向きでだけ直す.
  • 読み手:誰が,何を手元に持ち,どれだけの時間で読むかを一文で言い,量がそれに収まるか確かめる.各節が答える読み手の問いを一文ずつ書き出し,問いを書けない節と,同じ問いに答える節の組が0件.書き手の側の事情(内部の分類・設計の理屈)は,それを問う読み手のいる文書にだけ置く.
  • 自足:各単位を単独で読み,初出で紹介されない指示対象・比較の相手・内輪の語が無いか確かめる.
  • 自己記述:文書が自分について述べたこと(数・位置・原則)が本文の実物と一致し,その原則を文書が守っているか確かめる.
  • 到達可能性:入口(目次・手順・description)から全節に辿り着け,禁止・例外・断り書きがそれの効く位置にあるか確かめる.
  • 経緯の残留:「しました」「確認済み」「予定」「TODO」と,他の文書の節番号への参照を検索し,作業の痕跡に当たるものが0件(規則の本文が語る語は数えない).
  • 入れ替え:理由・動機・差別化を述べる文は,対象の名前を同種の別のものに入れ替えて読み,なお成り立つなら書き直す.
  • 事実の文:「書かれている」「とある」「明記」で検索し,原文を開いて句ごとに突き合わせる.引用符は原文の連続した文字列だけを括り,本文の表記規則で正規化しない.言い換えは向き・強さ・範囲・時制を出所に合わせる.
  • プレースホルダー:入力する文字と見た目で区別できる記法を定め,その記法で検索して埋め忘れが0件.
  • 意味保存:短くする・畳む・移す回は,規則と確かめ方の数を前後で数え,旧版の一つひとつの在処か外した理由を示す.畳んだ後は,残した文に要る説明が揃っているかを,目的を定める文書と突き合わせて読み直す.

Read the full file on GitHub · 49 lines

Files

What ships with it

1 file 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. today Changed e13da1eb8dc1
  2. 6d ago Changed 96ad7bb926a9
  3. 9d ago First seen · 49 lines · 99 tokens per session scan A cd66e342a098

Subscribe to this mod's changes

refine-docs is a skill published in the GitHub repository tomoking2004/claude-plugins (3 stars, last pushed today), licensed MIT. It adds 99 tokens to every session and 1,922 once invoked, about $0.0004 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-11-21.

Related

refine-docs compared with skills from other repositories

refine-docs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
refine-docstomoking2004/claude-pluginsSkill3todayMITA99Claude Code
medical-bill-reconciliationAtlasOmnia/hermes-custom-packSkill8713d agoMITA19Claude Code, Codex
ad-nachbausebaskauf/skaile-community-librarySkill93d agoMITA125Claude Code
ad-schnittsebaskauf/skaile-community-librarySkill93d agoMITA104Claude Code
ad-analysesebaskauf/skaile-community-librarySkill93d agoMITA100Claude Code
report-writerkrzysztofsurdy/code-virtuosoSkill261mo agoMITA44Claude Code
skill-teilensebaskauf/skaile-community-librarySkill93d agoMITA97Claude Code