auto-readme

auto-readme is a skill for Claude Code, Codex from stephansama/packages. It costs 102 tokens per session (1,620 once invoked), scanned A, original, MIT.

A tool that fills in marked tables and lists in README files from project files such as package.json, action.yml, workspace settings, or Zod schemas. A monorepo is one repository containing multiple packages.

In plain words
What is it for?
Use it to generate workspace package tables, GitHub Action input tables, dependency tables, Zod schema references, and other supported README sections, manually, in CI, or before commits.
Why use it?
It keeps documented package, dependency, action-input, and schema information aligned with the source files, avoiding manual updates.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions .claude-plugin; reads ~/.codex paths; mentions Codex.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is <!-- PKG path="../other-package" start -->.

Good fit Use it to generate workspace package tables, GitHub Action input tables, dependency tables, Zod schema references, and other supported README sections, manually, in CI, or before commits.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/stephansama/packages
agentmods
npx agentmods add skills/stephansama/packages/auto-readme

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 auto-readme

README.md
[![agentmods](https://agentmods.dev/badge/skills/stephansama/packages/auto-readme/github.svg)](https://agentmods.dev/skills/stephansama/packages/auto-readme)
Your own site
<a href="https://agentmods.dev/skills/stephansama/packages/auto-readme"><img src="https://agentmods.dev/badge/skills/stephansama/packages/auto-readme/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 auto-readme

Your own site · 80×15
<a href="https://agentmods.dev/skills/stephansama/packages/auto-readme"><img src="https://agentmods.dev/badge/skills/stephansama/packages/auto-readme.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,620 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.00102 $0.01620
Opus 5.5 $0.00041 $0.00648
Sonnet 5.5 $0.00020 $0.00324
Haiku 4.5 $0.00010 $0.00162

Measured 1mo ago against content hash 5353e858faa7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

auto-readme 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 1mo 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.

core/auto-readme/skills/auto-readme/SKILL.md · 212 lines

How it starts

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

auto-readme

Keeps README files up to date by replacing content between HTML comment markers. Run manually, in CI, or as a pre-commit hook.

Comment syntax

<!-- ACTION_TYPE [options] start -->
<!-- ACTION_TYPE end -->

Content between markers is replaced on every run. Markers must be paired — every start needs a matching end.

Setup

pnpx @stephansama/auto-readme

Add configuration to package.json:

{
  "autoreadme": {
    "disableEmojis": false,
    "onlyShowPublicPackages": true
  }
}

Or use a standalone config file (.autoreadmerc.json, .config/autoreadmerc.ts, autoreadme.config.ts, etc.).

Skip markdown files with ignoreGlobs (globs relative to the git root, also applied to --changes; node_modules is always ignored):

{
  "autoreadme": {
    "ignoreGlobs": ["examples/**", "**/CHANGELOG.md"]
  }
}

Core Patterns

Monorepo workspace table

<!-- WORKSPACE start -->
<!-- WORKSPACE end -->

Generates a table of all packages in the workspace with name, version badge, download badge, and description. Reads from the pnpm/npm workspace config.

GitHub Action inputs table

<!-- ACTION start -->
<!-- ACTION end -->

Place this comment in a README inside a directory that contains action.yml or action.yaml. Generates a table of action inputs with name, required, default, and description columns.

Package.json dependency table

<!-- PKG start -->
<!-- PKG end -->

Generates a table of dependencies and devDependencies from the nearest package.json. Pass path= to point to a different package.json:

<!-- PKG path="../other-package" start -->
<!-- PKG end -->

Zod schema reference table

<!-- ZOD path="./src/schema.js" start -->
<!-- ZOD end -->

Generates a markdown reference table from the default export of the given file using zod2md. The path= parameter is required and must point to a file with a zod schema as its default export.

Read the full file on GitHub · 212 lines

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. 1mo ago Changed · +22 lines · +20 tokens per session 5353e858faa7
  2. 3mo ago First seen · 190 lines · 82 tokens per session scan A ddb53d469002

Subscribe to this mod's changes

auto-readme is a skill published in the GitHub repository stephansama/packages (5 stars, last pushed 11d ago), licensed MIT. It adds 102 tokens to every session and 1,620 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-08-31.

Related

auto-readme compared with skills from other repositories

auto-readme next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
auto-readmestephansama/packagesSkill511d agoMITA102Claude Code, Codex
opendia-harnessaeonfun/opendiaSkill1.9k3d agoMITA52Claude Code
opendiaaeonfun/opendiaSkill1.9k3d agoMITA66Claude Code
npm-securitybodadotsh/npm-security-best-practicesSkill85916d agoMITA43Claude Code, Codex
frontmcp-extensibilityagentfront/frontmcpSkill154todayApache-2.0A124Claude Code, Codex
huly-clidearlordylord/huly-mcpSkill64yesterdayMITA56Codex
censor_messageglincker/glin-profanitySkill70yesterdayMITA16Claude Code, Codex