nvcf / tools
AGENTS.md261 starsChanged 9 days agoApache-2.0View on GitHub
Scope: everything under tools/. - Put general executable wrapper scripts in tools/scripts/. - Put CI-focused entrypoint scripts in tools/ci/. - Put larger Go tools in their own directory under tools/, for example tools/collect-dependencies/ or tools/generate-subproject-ci/. - If a Go tool needs a stable repo entrypoint for CI or docs, add a thin wrapper in tools/ci/ or tools/scripts/ as appropriate, or document the exact go run or go build -C command.
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 31,700 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 repository133 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ai-tooling/AGENTS.mdAGENTS.md
- deploy/helm/cassandra/AGENTS.mdAGENTS.md
- deploy/helm/cert-manager/AGENTS.mdAGENTS.md
- deploy/helm/cloud-functions/AGENTS.mdAGENTS.md
- deploy/helm/cloud-tasks/AGENTS.mdAGENTS.md
- deploy/helm/encrypted-secret-store/AGENTS.mdAGENTS.md
- deploy/helm/icms/AGENTS.mdAGENTS.md
- deploy/helm/llm-request-router/AGENTS.mdAGENTS.md
- deploy/helm/nats/AGENTS.mdAGENTS.md
- deploy/helm/notary/AGENTS.mdAGENTS.md
- deploy/helm/nvcf-pki/AGENTS.mdAGENTS.md
- deploy/helm/openbao/AGENTS.mdAGENTS.md
- deploy/helm/vanity-gateway/AGENTS.mdAGENTS.md
- deploy/releases/AGENTS.mdAGENTS.md
- deploy/stacks/AGENTS.mdAGENTS.md
- deploy/stacks/observability/AGENTS.mdAGENTS.md
- deploy/stacks/stargate-dev/AGENTS.mdAGENTS.md
- deploy/stacks/stargate-dev/benchmark/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- docs/overview/samples/scripts/AGENTS.mdAGENTS.md
- examples/AGENTS.mdAGENTS.md
- infra/cassandra/AGENTS.mdAGENTS.md
- infra/openbao/AGENTS.mdAGENTS.md
- infra/openbao/plugins/vault-plugin-secrets-jwt/AGENTS.mdAGENTS.md
- infra/openbao/tests/AGENTS.mdAGENTS.md
- migrations/cassandra/AGENTS.mdAGENTS.md
- migrations/openbao/AGENTS.mdAGENTS.md
- src/compute-plane-services/byoo-otel-collector/AGENTS.mdAGENTS.md
- src/compute-plane-services/ess-agent/AGENTS.mdAGENTS.md
- src/compute-plane-services/image-credential-helper/AGENTS.mdAGENTS.md
- src/compute-plane-services/nvca/AGENTS.mdAGENTS.md
- src/compute-plane-services/nvsnap/docs/AGENTS.mdAGENTS.md
- src/compute-plane-services/nvstor/AGENTS.mdAGENTS.md
- src/compute-plane-services/request-trace-uploader/AGENTS.mdAGENTS.md
- src/control-plane-services/admin-token-issuer-proxy/AGENTS.mdAGENTS.md
- src/control-plane-services/api-keys/AGENTS.mdAGENTS.md
- src/control-plane-services/cloud-functions/AGENTS.mdAGENTS.md
- src/control-plane-services/cloud-tasks/AGENTS.mdAGENTS.md
- src/control-plane-services/encrypted-secret-store/AGENTS.mdAGENTS.md
- src/control-plane-services/function-autoscaler/AGENTS.mdAGENTS.md
- src/control-plane-services/function-autoscaler/local_env/AGENTS.mdAGENTS.md
- src/control-plane-services/instance-cluster-management/AGENTS.mdAGENTS.md
- src/control-plane-services/nats-auth-callout/AGENTS.mdAGENTS.md
- src/control-plane-services/notary/AGENTS.mdAGENTS.md
- src/invocation-plane-services/grpc-proxy/AGENTS.mdAGENTS.md
- src/invocation-plane-services/http-invocation/AGENTS.mdAGENTS.md
- src/invocation-plane-services/llm-api-gateway/AGENTS.mdAGENTS.md
- src/invocation-plane-services/ratelimiter/AGENTS.mdAGENTS.md
- src/invocation-plane-services/vanity-gateway/AGENTS.mdAGENTS.md
- src/libraries/go/lib/AGENTS.mdAGENTS.md
- src/libraries/go/worker/AGENTS.mdAGENTS.md
- src/libraries/java/nv-boot-parent/AGENTS.mdAGENTS.md
- src/libraries/python/nv-cloud-function-helpers/AGENTS.mdAGENTS.md
- src/libraries/rust/nvcf-info/AGENTS.mdAGENTS.md
- src/libraries/rust/stargate/AGENTS.mdAGENTS.md
- src/uis/nvcf-ui/AGENTS.mdAGENTS.md
- src/uis/nvcf-ui/helm/AGENTS.mdAGENTS.md
- tests/bdd/AGENTS.mdAGENTS.md
- tools/docs-version-sync/AGENTS.mdAGENTS.md
- The first 60 shown.
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
14 rules. About 0 are common, 4 are distinctive, and 10 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.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 7
Prefer bash for small repo-local wrappers, CI entrypoints, and scripts that mostly orchestrate existing CLI tools.
- Very specific: line 8
Prefer Go for non-trivial tooling: structured parsing, manifest scanning, larger file transforms, concurrency, or logic that benefits from …
- Very specific: line 9
Avoid adding new Python-based repo tooling when bash or Go is a reasonable fit.
- Very specific: line 10
If Python is still required for a one-off command, use python3, not python.
- Very specific: line 14
Put general executable wrapper scripts in tools/scripts/.
- Very specific: line 15
Put CI-focused entrypoint scripts in tools/ci/.
- Very specific: line 16
Put larger Go tools in their own directory under tools/, for example tools/collect-dependencies/ or tools/generate-subproject-ci/.
- Very specific: line 18
If a Go tool needs a stable repo entrypoint for CI or docs, add a thin wrapper in tools/ci/ or tools/scripts/ as appropriate, or document …
- Very specific: line 22
Use hyphens, not underscores, for filenames under tools/, especially under tools/scripts/.
- Very specific: line 24
Keep test entrypoints aligned with the tool name, for example test-<tool-name>.
- Distinctive: line 28
Keep tools easy to run in CI and local development.
- Distinctive: line 30
Keep user-facing output concise and actionable.
- Distinctive: line 31
When replacing a tool or changing its entrypoint, update callers, CI jobs, and docs in the same change.
- Distinctive: line 35
Add or update focused tests when changing tool behavior.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 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
AGENTS.md - Tools Guide for AI Coding Agents
Scope: everything under tools/.
Tool choice
- Prefer
bashfor small repo-local wrappers, CI entrypoints, and scripts that mostly orchestrate existing CLI tools. - Prefer
Gofor non-trivial tooling: structured parsing, manifest scanning, larger file transforms, concurrency, or logic that benefits from unit tests and a compiled binary. - Avoid adding new Python-based repo tooling when
bashorGois a reasonable fit. Some CI environments in this repo do not guarantee Python. - If Python is still required for a one-off command, use
python3, notpython.
Layout
- Put general executable wrapper scripts in
tools/scripts/. - Put CI-focused entrypoint scripts in
tools/ci/. - Put larger Go tools in their own directory under
tools/, for exampletools/collect-dependencies/ortools/generate-subproject-ci/. - If a Go tool needs a stable repo entrypoint for CI or docs, add a thin wrapper in
tools/ci/ortools/scripts/as appropriate, or document the exactgo runorgo build -Ccommand.
Naming
- Use hyphens, not underscores, for filenames under
tools/, especially undertools/scripts/. - Examples:
collect-notices,check-license-headers,check-dependency-licenses,test-collect-notices. - Keep test entrypoints aligned with the tool name, for example
test-<tool-name>.
Implementation
- Keep tools easy to run in CI and local development. Prefer standard library code and common Unix tools over extra dependencies.
- For bash scripts, prefer
#!/usr/bin/env bashandset -euo pipefailunless there is a clear reason not to. - Keep user-facing output concise and actionable. Error messages should say what failed and how to fix it when possible.
- When replacing a tool or changing its entrypoint, update callers, CI jobs, and docs in the same change.
Tests
- Add or update focused tests when changing tool behavior.
- For bash tools, prefer shell-based tests under
tools/scripts/test/. - For Go tools, prefer
_test.gounit tests next to the implementation.
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.

