token-saver / installers
AGENTS.md164 starsChanged 6 months agoApache-2.0View on GitHub
- Apply the root Google Python style policy and Pylint check. Keep absolute module imports working in installed trees, document destructive side effects and recoverable failures, and preserve copied license notices. - Keep shared file copying, version reading, path selection, and migrations in common.py; platform modules should own only platform registration details. - Every new runtime dependency must reach installed copies. Top-level src/*.py and processor modules are discovered automatically; new subpackages or adapter scripts require explicit installer/package changes and installed-tree…
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 33,398 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 repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- antigravity/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- examples/AGENTS.mdAGENTS.md
- .github/AGENTS.mdAGENTS.md
- scripts/AGENTS.mdAGENTS.md
- skills/AGENTS.mdAGENTS.md
- src/AGENTS.mdAGENTS.md
- tests/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- docs/llms.txtllms.txt
- llms.txtllms.txt
- token-saver-configSkill
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 6
Keep shared file copying, version reading, path selection, and migrations in common.py.
- Very specific: line 8
Every new runtime dependency must reach installed copies.
- Very specific: line 14
Use the canonical version from src/__init__.py when stamping manifests.
- Very specific: line 27
Do not run manual installer/update/uninstall validation against the developer's real home directory.
≈ “Common” is an estimate: at least 1 in 5 of the 43,423 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
Installation boundaries
- Apply the root Google Python style policy and Pylint check. Keep absolute module imports working in installed trees, document destructive side effects and recoverable failures, and preserve copied license notices.
- Keep shared file copying, version reading, path selection, and migrations in
common.py; platform modules should own only platform registration details. - Every new runtime dependency must reach installed copies. Top-level
src/*.pyand processor modules are discovered automatically; new subpackages or adapter scripts require explicit installer/package changes and installed-tree tests. - Preserve both copy and symlink modes. Never overwrite through a destination symlink, delete the source when source and destination resolve to the same file, or remove unrelated user settings/plugin entries.
- Use the canonical version from
src/__init__.pywhen stamping manifests. Installation stamping does not replace committed release consistency checks. - Preserve macOS/Linux/Windows paths and interpreter handling. Do not hardcode a POSIX home layout for Windows. Keep plugin cache/marketplace registration formats compatible with the adapter tests.
- Make repeated install/uninstall operations predictable. Scope cleanup to Token-Saver's owned paths and keys; handle broken symlinks and legacy installs without following them into unrelated files.
- Validate through
tests/test_installers.pyandtests/test_install_smoke.py, which use temporary profiles. The smoke test must import and use the installed copy from outside the repository so missing shipped modules cannot be masked by the development checkout.
Do not run manual installer/update/uninstall validation against the developer's real home directory.
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.

