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.
git clone --depth 1 https://github.com/stephansama/packagesnpx agentmods add skills/stephansama/packages/auto-readmeWrote 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/stephansama/packages/auto-readme)<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.
<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>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.00102 | $0.01620 |
| Opus 5.5 | $0.00041 | $0.00648 |
| Sonnet 5.5 | $0.00020 | $0.00324 |
| Haiku 4.5 | $0.00010 | $0.00162 |
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.
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.
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.
- 1mo ago Changed · +22 lines · +20 tokens per session 5353e858faa7
- 3mo ago First seen · 190 lines · 82 tokens per session scan A ddb53d469002
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.
auto-readme compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| auto-readmestephansama/packages | Skill | 5 | 11d ago | MIT | A | 102 | Claude Code, Codex |
| opendia-harnessaeonfun/opendia | Skill | 1.9k | 3d ago | MIT | A | 52 | Claude Code |
| opendiaaeonfun/opendia | Skill | 1.9k | 3d ago | MIT | A | 66 | Claude Code |
| npm-securitybodadotsh/npm-security-best-practices | Skill | 859 | 16d ago | MIT | A | 43 | Claude Code, Codex |
| frontmcp-extensibilityagentfront/frontmcp | Skill | 154 | today | Apache-2.0 | A | 124 | Claude Code, Codex |
| huly-clidearlordylord/huly-mcp | Skill | 64 | yesterday | MIT | A | 56 | Codex |
| censor_messageglincker/glin-profanity | Skill | 70 | yesterday | MIT | A | 16 | Claude Code, Codex |