format-plain-text

format-plain-text is a skill for Claude Code from yegor256/critic. It costs 24 tokens per session (295 once invoked), scanned A, original, MIT.

A formatting procedure that puts each sentence of a plain-text document on its own line. It also wraps long lines while preserving the original wording and layout-sensitive content.

In plain words
What is it for?
Use it to reflow Markdown prose, TeX paragraphs, and text files, including blockquotes and full-sentence list items.
Why use it?
It makes prose easier to scan, edit, and compare without changing its words. It avoids reformatting code, tables, headings, and other sections where line breaks matter.

Skill for Claude Code

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

Part of the critic plugin — 4 skills shipped together

Good fit Use it to reflow Markdown prose, TeX paragraphs, and text files, including…

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

Made for: Claude Code.

Or install critic, the plugin that ships this one along with the rest of its 4 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 format-plain-text

README.md
[![agentmods](https://agentmods.dev/badge/skills/yegor256/critic/format-plain-text.svg)](https://agentmods.dev/skills/yegor256/critic/format-plain-text)
Your own site
<a href="https://agentmods.dev/skills/yegor256/critic/format-plain-text"><img src="https://agentmods.dev/badge/skills/yegor256/critic/format-plain-text.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 295 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.00024 $0.00295
Opus 5 $0.00012 $0.00148
Sonnet 5 $0.00005 $0.00059
Haiku 4.5 $0.00002 $0.00030

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

Security

Grade A, and why

format-plain-text 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 6d 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/format-plain-text/SKILL.md · 59 lines

What it actually says

Lines

Start every sentence on new line. Break any sentence over 80 characters across lines. Split at commas, conjunctions, or clause boundaries. Use 100 characters as margin for .tex files. Indent every continuation line by two spaces.

Scope

Apply to Markdown body, TeX paragraphs, and .txt prose. Apply to blockquotes and full-sentence list items too.

Skip

Skip fenced code and inline code. Skip frontmatter, tables, headings, and link references. Skip any line where hard break changes rendered output.

Reflow

Preserve layout when document already follows these rules. Reformat only sentences you touch when document does not follow them. Reflow whole document only when asked.

Output

Return input text with each sentence on its own line. Indent every continuation line two spaces. Preserve every word, punctuation mark, and code span unchanged.

Done

Confirm every sentence begins on its own line. Confirm prose lines fit 80 characters, or 100 characters for .tex. Confirm wording and character count match input.

Example

Reflow this input.

The committee approved the budget. Work starts on Monday.

Return this layout.

The committee approved the budget.
Work starts on Monday.
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. 6d ago First seen · 59 lines · 24 tokens per session scan A d4a9207fcc75

Subscribe to this mod's changes

format-plain-text is a skill published in the GitHub repository yegor256/critic (4 stars, last pushed yesterday), licensed MIT. It adds 24 tokens to every session and 295 once invoked, about $0.0001 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-31.

Related

Other skills, from other repositories

chief-financial-officer

Owns the financial position: planning, budgeting, forecasting, unit economics, cash, and the numbers the business is run and reported on. Use this to build or challenge a budget, model a decision's financial consequence, assess unit economics or runway, evaluate an investment or spend request, set financial controls…

cbrock84/headcount · 88 tokens

chief-strategy-officer

Owns where the business plays and how it wins over a multi-year horizon — portfolio choices, corporate development, strategic partnerships, and planning under uncertainty. Use this for a decision about which markets or businesses to be in, whether to build, buy, or partner, how to allocate capital across business…

cbrock84/headcount · 93 tokens

seo-strategy

Audits and improves organic search performance — technical health, site architecture, internal linking, structured data, and the content decisions that determine what can rank. Use this to run an SEO audit, diagnose why pages are not ranking or were deindexed, plan a site's URL and navigation structure, add structured…

cbrock84/headcount · 74 tokens

customer-success-management

Runs the ongoing relationship with accounts after the sale — segmenting coverage against account value, building a health score that predicts rather than describes, running reviews customers find worth attending, forecasting renewals honestly, and finding expansion that follows usage instead of quota. Use this to…

cbrock84/headcount · 85 tokens

quantitative-analysis

Answers a business question with data without fooling yourself — framing the question so an answer would change something, choosing the right comparison, checking the data before trusting it, recognizing the traps that produce confident wrong answers (aggregation reversals, survivorship, regression to the mean…

cbrock84/headcount · 95 tokens

account-based-marketing

Concentrates marketing and sales effort on a named set of accounts rather than on volume — qualifying whether the model fits your economics at all, building the account list and the buying group inside each, tiering effort against account value, coordinating so the account experiences one campaign rather than several…

cbrock84/headcount · 98 tokens