Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

AWS Amplify CLI

$ amplify Official High Risk
Amazon Web Services · Code & DevOps · Apache-2.0 · macos / linux / windows

Official AWS Amplify Gen 1 CLI (@aws-amplify/cli) for scaffolding and pushing cloud backends from local categories. While --yes and complex headless JSON stdin payloads exist for CI, its prompt-heavy design, heavy Node runtime, and CloudFormation state make it tricky for autonomous agents.

FCRS-1.0 Score
72 /100
Usable w/ Caveats
Medium Confidence
Zero-Friction Install
npm install -g @aws-amplify/cli
CLI vs MCP Decision CLI Preferred vs MCP

Keep local amplify/ directory state synced via amplify CLI if maintaining a Gen 1 repo; prefer aws CLI or Amplify Gen 2 (ampx) for cleaner automation.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 14 / 25

Interactive wizards dominate add/update/init; headless mode requires undocumented or verbose JSON stdin blobs, and status outputs ASCII tables rather than JSON.

  • amplify add and amplify configure prompt interactively
  • amplify push --yes supports non-interactive execution once configured
Trust & Safety 16 / 25

Provisions live AWS CloudFormation stacks with billing and IAM implications; lacks a native dry-run flag for push beyond amplify status.

  • amplify status shows category diffs before push
  • amplify delete tears down entire cloud environments
Setup & Portability 11 / 15

Very large npm dependency tree or packaged installer with slow cold startup and Node version sensitivity.

  • Heavy npm package (@aws-amplify/cli) with slow startup
Utility & Efficiency 13 / 15

Convenient high-level scaffolding for Cognito/AppSync/S3 in legacy Gen 1 projects, though AWS now steers new apps toward Gen 2.

  • Manages multi-service CloudFormation templates from amplify/
Maintenance & Lineage 9 / 10

Official AWS CLI under Apache-2.0, though Gen 1 is increasingly superseded by Amplify Gen 2 (ampx).

  • Official aws-amplify/amplify-cli repository
Docs & Verifiability 9 / 10

Extensive AWS documentation covering Gen 1 CLI commands and headless CI scripts.

  • Documented at docs.amplify.aws/gen1/tools/cli/

Security, Auth & Guardrails

Auth Modes
Config File Env API Key
Credential Storage

Uses standard AWS SDK credential chains (~/.aws/credentials, ~/.aws/config, or AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY).

Side Effects
Read-Only Local Write Remote Write Destructive Billing Impact
Cost & Quotas

Apache-2.0 open-source CLI; provisioned AWS resources (Cognito, AppSync, Lambda, DynamoDB) incur AWS billing.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# AWS Amplify CLI (amplify) Agent Rules
- Always run `amplify status` before `amplify push --yes` to inspect CloudFormation diffs.
- Never run `amplify delete` or `amplify remove` without explicit user confirmation.
- Avoid `amplify add <category>` without prepared headless JSON payloads, as it opens interactive wizards.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect local vs deployed Amplify resource status
amplify status

Prints a table of Create/Update/Delete diffs for local backend categories without pushing to AWS.

Controlled Writes & Previews

Push backend changes non-interactively
amplify push --yes

Deploys pending CloudFormation stack changes using --yes to skip confirmation prompts.

Strengths for Agents

  • + amplify status clearly summarizes pending CloudFormation creates, updates, and deletes.
  • + Reuses standard AWS CLI profiles and environment variables.
  • + amplify push --yes supports CI deployments once backend files are authored.

Caveats & Pitfalls

  • ! Most amplify add / init flows launch multi-step interactive prompts unless fed complex headless JSON schemas.
  • ! Heavy installation footprint, slow startup, and no --json output on amplify status.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI