agentleFS
greyhaven-aigreyhaven-ai/autocontext/AGENTS.md

autocontext

AGENTS.md1.3k starsChanged 9 months agoApache-2.0View on GitHub

Use this file as the first pointer for coding agents and automation that need to work in or against this repo. Most repo-level commands in the READMEs assume one of those package directories as the current working directory. Implement one runtime first unless cross-runtime parity is user-visible in the same release. If parity is deferred, say where and why in the PR. If you change public commands, environment variables, package names, or agent-facing workflows, update the relevant docs in the…

  • Installs packages

Trending

More talk lately.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 2 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 1 mentionJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 1 mentionOct 2026: 1 mentionNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the greyhaven-ai/autocontext repository that our weekly crawl found: only 5 in all, so this is a hint, not a trend. There is no adoption data for this file yet.
  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 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 repository4 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    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. Distinctive:

    Use this file as the first pointer for coding agents and automation that need to work in or against this repo.

    line 3
  2. Very specific:

    Run Python commands from autocontext/.

    line 14
  3. Very specific:

    Run Node/TypeScript commands from ts/.

    line 15
  4. Very specific:

    Run TUI-related commands from ts/.

    line 16
  5. Distinctive:

    If you change public commands, environment variables, package names, or agent-facing workflows, update the relevant docs in the same change:

    line 63
  6. Very specific:

    Before restoring deleted modules to make CI green, check whether autocontext/src/ still imports them.

    line 86
  7. Distinctive:

    If only tests are failing, prefer rewriting or deleting the tests instead of restoring removed modules.

    line 87
  8. Distinctive:

    Treat importable module paths as compatibility surfaces until callers are rewired or the removal is explicitly accepted as breaking.

    line 88

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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

Agent Guide

Use this file as the first pointer for coding agents and automation that need to work in or against this repo.

Pick The Right Surface

  • Full autocontext control plane: autocontext/
  • Node/TypeScript toolkit and CLI: ts/
  • Interactive terminal UI: ts/src/tui/
  • External agent usage guide: autocontext/docs/agent-integration.md

Working Directories

  • Run Python commands from autocontext/.
  • Run Node/TypeScript commands from ts/.
  • Run TUI-related commands from ts/.

Most repo-level commands in the READMEs assume one of those package directories as the current working directory.

Setup

Python:

cd autocontext
uv venv
source .venv/bin/activate
uv sync --group dev

TypeScript:

cd ts
npm install

Parity-Last Changes

Implement one runtime first unless cross-runtime parity is user-visible in the same release. If parity is deferred, say where and why in the PR.

Common Checks

Python:

cd autocontext
uv run ruff check src tests
uv run mypy src
uv run pytest

TypeScript:

cd ts
npm run lint
npm test

Public Docs To Keep In Sync

If you change public commands, environment variables, package names, or agent-facing workflows, update the relevant docs in the same change:

  • README.md
  • docs/README.md
  • autocontext/README.md
  • ts/README.md
  • examples/README.md
  • autocontext/docs/agent-integration.md
  • CONTRIBUTING.md
  • CHANGELOG.md

Key References

  • Repo overview: README.md
  • Docs overview: docs/README.md
  • Contributor workflow: CONTRIBUTING.md
  • Python package guide: autocontext/README.md
  • TypeScript package guide: ts/README.md
  • Copy-paste examples: examples/README.md
  • External agent guide: autocontext/docs/agent-integration.md

Intentional Deletions

  • Before restoring deleted modules to make CI green, check whether autocontext/src/ still imports them.
  • If only tests are failing, prefer rewriting or deleting the tests instead of restoring removed modules.
  • Treat importable module paths as compatibility surfaces until callers are rewired or the removal is explicitly accepted as breaking.

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.