agentleFS
ppgrangerppgranger/token-saver/installers/AGENTS.md

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…

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
  1. Very specific:

    Keep shared file copying, version reading, path selection, and migrations in common.py.

    line 6
  2. Very specific:

    Every new runtime dependency must reach installed copies.

    line 8
  3. Very specific:

    Use the canonical version from src/__init__.py when stamping manifests.

    line 14
  4. Very specific:

    Do not run manual installer/update/uninstall validation against the developer's real home directory.

    line 27

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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/*.py and 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__.py when 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.py and tests/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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.