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.
npx skills add jamestexas/agents --skill readme-restructuregit clone --depth 1 https://github.com/jamestexas/agentsWrote 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.
[](https://agentmods.dev/skills/jamestexas/agents/readme-restructure)<a href="https://agentmods.dev/skills/jamestexas/agents/readme-restructure"><img src="https://agentmods.dev/badge/skills/jamestexas/agents/readme-restructure/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.
<a href="https://agentmods.dev/skills/jamestexas/agents/readme-restructure"><img src="https://agentmods.dev/badge/skills/jamestexas/agents/readme-restructure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00059 | $0.02095 |
| Opus 5.5 | $0.00024 | $0.00838 |
| Sonnet 5.5 | $0.00012 | $0.00419 |
| Haiku 4.5 | $0.00006 | $0.00210 |
Grade B, and why
readme-restructure scanned grade B with 1 finding 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 3mo 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.
Strips warnings and disclaimersmediumAnti-refusal
Omitting safety caveats hides risk from the user and is a common jailbreak preamble.
- **Never invent claims.** If the README says "stable on macOS" and you can't verify, leave that claim alone. Don't add caveats it didn't have, don't drop caveats it did. How it starts
The opening of the file, as written. The whole thing — 222 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/readme-restructure — README Information Architecture
Restructure a README so the value prop and audience signal land before any internals. This skill does not rewrite content — it re-orders sections and pushes dense detail behind <details> or into separate docs.
Arguments
$ARGUMENTS
<path-to-README.md>— the file to restructure. Defaults toREADME.mdin the current working directory.--dry-run(default) — produce a structure diff and a written restructure plan; do not write.--apply— after approval, rewrite the file in place. The original is preserved asREADME.md.bak.--target(default:both) — optimize forhuman,llm, orboth. Affects ordering heuristics: humans skim, LLMs read top-down.
What this solves
A README's job is to land three signals in the first 200 tokens:
- What is this? (category noun + defining trait)
- Who is it for? (audience)
- How do I try it in 30 seconds? (quick-start or one-line install)
The user's mache/README.md is the motivating example. Its first 1000 chars are good — until paragraph 4:
"Seventeen MCP tools wrap the projected graph (sixteen read-surface plus
write_file). Fourteen work standalone; three (semantic_search,get_type_info,get_diagnostics) require ley-line-open enrichment.find_smellscovers nine structural code-smell rules (dead_code,cyclomatic_complexity,god_file,fan_out_skew,untested_function, …); four of those require a.dbbuilt by ley-line-open."
That paragraph is accurate and useful — but it requires the reader to already know what an MCP tool is, what ley-line-open enrichment is, and what "structural code-smell rules" means. A first-time reader bounces. This skill moves that paragraph behind a <details> or into a ## Tools section further down, without deleting it.
Hard rules
- Never delete content. Every paragraph from the original must appear in the output. Re-order, fold into
<details>, or move to a sub-page — but don't drop. - Never invent claims. If the README says "stable on macOS" and you can't verify, leave that claim alone. Don't add caveats it didn't have, don't drop caveats it did.
- Preserve all links. A restructure that breaks an internal anchor link is worse than the original.
- Preserve all code blocks verbatim. No editing example commands, paths, or shell snippets.
- Don't reorder ADRs, CHANGELOG, or LICENSE references — those have conventional positions.
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.
- 3mo ago First seen · 222 lines · 59 tokens per session scan B 833e3083d194
readme-restructure is a skill published in the GitHub repository jamestexas/agents (2 stars, last pushed today), licensed Apache-2.0. It adds 59 tokens to every session and 2,095 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
readme-restructure compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| readme-restructurejamestexas/agents | Skill | 2 | today | Apache-2.0 | B | 59 | Claude Code |
| soul-gradercobibean/soul-grader-skill | Skill | 60 | 3mo ago | MIT | A | 45 | Codex |
| markdown-ui-dslMegaByteMark/markdown-ui-dsl | Skill | 25 | 8mo ago | MIT | A | 25 | Claude Code, Codex |
| research-dspyGrayCodeAI/starling | Skill | 2 | 3mo ago | MIT | A | 36 | Claude Code |
| research-guidanceGrayCodeAI/starling | Skill | 2 | 3mo ago | MIT | A | 39 | Claude Code |
| research-instructorGrayCodeAI/starling | Skill | 2 | 3mo ago | MIT | A | 39 | Claude Code |
| reviewvercel/eve | Skill | 6.1k | today | Apache-2.0 | A | 31 | Claude Code, Codex |