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.

Install it, pinned
mdr add aws-samples/sample-autonomous-cloud-coding-agents/cli/AGENTS.md@git:20260805.df1ebac

Pins 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

The exact contents, by fingerprint
mdr add aws-samples/sample-autonomous-cloud-coding-agents/cli/AGENTS.md@sha256:2ec58d88172505b9

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_vphpypsjapnabkkb.svg)](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.

versioncommittedcommitsizeaudit
git:20260805.df1ebac latest2026-08-05 df1ebac 3,567 BA view · diff
git:20260707.5b915952026-07-07 5b91595 3,373 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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

AGENTS.md AGENTS.md file
aws-samples/sample-autonomous-cloud-coding-agents · AGENTS.md
git:20260916.0ab2c71 · audit A · 162 stars
CLAUDE.md CLAUDE.md file
aws-samples/sample-autonomous-cloud-coding-agents · CLAUDE.md
git:20260426.3da9751 · audit A · 162 stars
AGENTS.md@agent AGENTS.md file
aws-samples/sample-autonomous-cloud-coding-agents · agent/AGENTS.md
git:20260805.df1ebac · audit A · 162 stars
AGENTS.md@cdk AGENTS.md file
aws-samples/sample-autonomous-cloud-coding-agents · cdk/AGENTS.md
git:20261007.cd9bc54 · audit A · 162 stars
AGENTS.md@docs AGENTS.md file
aws-samples/sample-autonomous-cloud-coding-agents · docs/AGENTS.md
git:20260707.5b91595 · audit A · 162 stars
deploy SKILL.md skill
aws-samples/sample-autonomous-cloud-coding-agents · docs/abca-plugin/skills/deploy/SKILL.md · Deploy, diff, or destroy the ABCA CDK stack. Handles pre-deployment validation, synthesis, and post-deployment…
git:20260623.ab27dc8 · audit A · 162 stars
onboard-repo SKILL.md skill
aws-samples/sample-autonomous-cloud-coding-agents · docs/abca-plugin/skills/onboard-repo/SKILL.md · Onboard a new GitHub repository to the ABCA platform so the agent can target it. Use when the user says "onboard a…
git:20261016.6dad935 · audit A · 162 stars
setup SKILL.md skill
aws-samples/sample-autonomous-cloud-coding-agents · docs/abca-plugin/skills/setup/SKILL.md · Guided installation and first-time setup for ABCA. Walks through prerequisites, toolchain installation, dependency…
git:20260702.7723355 · audit A · 162 stars
status SKILL.md skill
aws-samples/sample-autonomous-cloud-coding-agents · docs/abca-plugin/skills/status/SKILL.md · Check ABCA platform status — stack health, running tasks, and recent task history. Use when the user says "status"…
git:20260623.ab27dc8 · audit A · 162 stars
submit-task SKILL.md skill
aws-samples/sample-autonomous-cloud-coding-agents · docs/abca-plugin/skills/submit-task/SKILL.md · Submit a coding task to the ABCA platform via CLI or REST API. Guides prompt quality, workflow selection, and cost…
git:20260630.4e03e44 · audit A · 162 stars
troubleshoot SKILL.md skill
aws-samples/sample-autonomous-cloud-coding-agents · docs/abca-plugin/skills/troubleshoot/SKILL.md · Diagnose and fix common ABCA issues: deployment failures, preflight errors, authentication problems, agent failures…
git:20261016.6dad935 · audit A · 162 stars

Every file in aws-samples/sample-autonomous-cloud-coding-agents

Other files named AGENTS.md@cli

AGENTS.md@cli AGENTS.md file
vellum-ai/vellum-assistant · cli/AGENTS.md
git:20261008.8517a4a · audit A · 1,442 stars
AGENTS.md@cli AGENTS.md file
first-fluke/oh-my-agent · cli/AGENTS.md
git:20260912.7e4c0d1 · audit A · 1,346 stars
AGENTS.md@cli AGENTS.md file
boshu2/agentops · cli/AGENTS.md
git:20260924.55c2c93 · audit A · 450 stars
AGENTS.md@cli AGENTS.md file
evermind-ai/everme · cli/AGENTS.md
git:20260821.0f36645 · audit B · 69 stars
AGENTS.md@cli AGENTS.md file
phnx-labs/agi-cli · cli/AGENTS.md
git:20261020.ac859d7 · audit B · 25 stars
AGENTS.md@cli AGENTS.md file
veryfront/veryfront-code · cli/AGENTS.md
git:20260406.809cc37 · audit A · 20 stars
AGENTS.md@cli AGENTS.md file
unvulcanised-watercress762/mem9 · cli/AGENTS.md
git:20260312.512cdb8 · audit A · 3 stars

Browse by kind, by grade A, or by owner.