claude-session-namer
AGENTS.md0 starsChanged 30 days agoMITView on GitHub
Guidance for AI coding agents and people alike. CONTRIBUTING.md has the full detail; these are the rules that keep every release clean. - Zero runtime dependencies, every hook exits 0, never overwrite a title the user chose. npm test must pass on Windows, macOS and Linux. - main is protected: work on a branch and open a pull request. The ci-ok check and CodeQL must be green. - User-visible changes go under ## [Unreleased] in CHANGELOG.md, written to the changelog…
- Commits and pushes
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,040 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repositoryOne other file it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
The file
We split this AGENTS.md into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 21
Make sure ## [Unreleased] reads well as release notes, and give minor and major releases a one-line _summary_: it becomes the release title.
- Distinctive: line 33
Never store an npm token in the repository, and never move a tag that already has a GitHub release or an npm version.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Working on session-namer
Guidance for AI coding agents and people alike. CONTRIBUTING.md has the full detail; these are the rules that keep every release clean.
Every change
- Zero runtime dependencies, every hook exits 0, never overwrite a title the
user chose.
npm testmust pass on Windows, macOS and Linux. mainis protected: work on a branch and open a pull request. Theci-okcheck and CodeQL must be green.- User-visible changes go under
## [Unreleased]inCHANGELOG.md, written to the changelog style: a bold lead sentence per bullet, at most 300 characters, sections in Keep a Changelog order.npm testenforces it. CI, test and refactor-only changes get no entry. - Install commands in docs are pinned (
npx -y session-namer@X.Y.Z); the release script moves the pins, so never edit them by hand.
Releasing
- Make sure
## [Unreleased]reads well as release notes, and give minor and major releases a one-line_summary_: it becomes the release title. npm run release -- X.Y.Zbumps every manifest and pin, dates the changelog and prints the commands for a release PR whose title and body come from the changelog.- Merge the PR, then tag the merge commit:
git tag -a vX.Y.Z -m vX.Y.Z && git push origin vX.Y.Z. - The Release workflow verifies the tag and tests, publishes to npm through trusted publishing (OIDC, no token) with provenance, checks the provenance is served, then publishes the GitHub release: title from the summary, notes from the changelog, plus install, verify and full-changelog lines.
Never store an npm token in the repository, and never move a tag that already has a GitHub release or an npm version.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

