AGENTS.md@cliA
AGENTS.md@cli from aws-samples/sample-autonomous-cloud-coding-agents is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add aws-samples/sample-autonomous-cloud-coding-agents/cli/AGENTS.md@git:20260805.df1ebacPins git:20260805.df1ebac in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- aws-samples/sample-autonomous-cloud-coding-agents
- Path
cli/AGENTS.md- Versions recorded
- 2
- Latest version
- git:20260805.df1ebac, committed Aug 5, 2026
- First version recorded
- Jul 7, 2026
- Size
- 3,567 bytes
- Repository stars
- 162
- License
- MIT-0
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# CLI package — agent context Parent guide: [../AGENTS.md](../AGENTS.md) You maintain the **`bgagent` CLI** (`@backgroundagent/cli`): Commander commands, Cognito auth, HTTP client, and API types mirrored from CDK. ## Commands (run these) ```bash mise //cli:build # compile + test + lint cd cli && mise run test # Jest only cd cli && mise run compile # tsc only mise //cli:eslint # ESLint --fix (run after merging main) ``` ## Testing - **Full suite:** `cd cli && mise run test` or `mise //cli:build` - **Single file:** `cd cli && npx jest test/commands/status.test.ts` - **Pattern:** `cd cli && npx jest --testPathPattern=auth` Mock `ApiClient` in command tests; reset `process.exitCode` in `beforeEach`/`afterEach` (commands set exit codes — see `status.test.ts`). ## Primary locations | Path | Access | Purpose | |------|--------|---------| | `cli/src/bin/bgagent.ts` | WRITE | Commander entry point | | `cli/src/commands/` | WRITE | One file per subcommand | | `cli/src/api-client.ts` | WRITE | Authenticated `fetch` wrapper | | `cli/src/auth.ts` | WRITE | Cognito login, token cache (`~/.bgagent/credentials.json`) | …
Read the whole file at its exact version.
How to install
mdr add aws-samples/sample-autonomous-cloud-coding-agents/cli/AGENTS.md@sha256:2ec58d88172505b9The line at the top of this page pins the label git:20260805.df1ebac, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_vphpypsjapnabkkb)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Jul 7, 2026 and Aug 5, 2026, about one every 29 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260805.df1ebac latest | 2026-08-05 | df1ebac | 3,567 B | A | view · diff |
| git:20260707.5b91595 | 2026-07-07 | 5b91595 | 3,373 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (3567 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
aws-samples/sample-autonomous-cloud-coding-agents · 162 stars · license MIT-0 · pushed 2026-10-17 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_vphpypsjapnabkkb GET https://markdownregistry.com/api/v1/resolve?ref=aws-samples/sample-autonomous-cloud-coding-agents/cli/AGENTS.md GET https://markdownregistry.com/api/v1/blob/2ec58d88172505b9605b7f5a17a29aed81af5307e611e7c4f3f5084369c6930f
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.
More from aws-samples/sample-autonomous-cloud-coding-agents
Every file in aws-samples/sample-autonomous-cloud-coding-agents