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

AWS Copilot CLI

$ copilot Official High Risk
Amazon Web Services · Cloud & Infra · Apache-2.0 · macos / linux / windows

AWS Copilot CLI (copilot) provisions and deploys containerized applications onto Amazon ECS, Fargate, and AWS App Runner using declarative copilot/ manifests, offering --json output on inspection commands (app, env, svc show/ls).

FCRS-1.0 Score
77 /100
Good
Medium Confidence
Zero-Friction Install
brew install copilot-cli
CLI vs MCP Decision CLI Preferred vs MCP

copilot operates directly on local copilot/*/manifest.yml files and Dockerfiles, making local CLI execution natural.

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 18 / 25

ls, show, and status commands support --json, while copilot init and several setup wizards default to interactive prompts.

  • Supports --json on ls/show/status; init wizard is interactive
Trust & Safety 18 / 25

Declarative manifest files and environment isolation help, though deploy lacks a --dry-run diff mode.

  • Manifest-driven ECS deployments; copilot svc package renders CloudFormation
Setup & Portability 14 / 15

Single static Go binary available via Homebrew and GitHub releases across macOS, Linux, and Windows.

  • Single Go binary via brew install copilot-cli
Utility & Efficiency 11 / 15

Drastically simplifies ECS/Fargate boilerplate, though tailored strictly to opinionated container patterns.

  • Generates VPC/ALB/ECS CloudFormation stacks automatically
Maintenance & Lineage 8 / 10

Official aws/copilot-cli repository under Apache-2.0, now in slower maintenance cadence.

  • Official aws/copilot-cli GitHub repository
Docs & Verifiability 8 / 10

Clear documentation site and built-in --help.

  • Documentation at aws.github.io/copilot-cli

Security, Auth & Guardrails

Auth Modes
Config File Env API Key OAuth Browser
Credential Storage

Reuses standard AWS CLI credentials from ~/.aws/credentials, AWS_PROFILE, or environment keys.

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

CLI is free (Apache-2.0); provisioned ECS/ALB/NAT resources incur AWS billing.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# AWS Copilot Agent Rules
- Read state via `copilot svc ls --json` and `copilot svc show --json` first.
- Avoid `copilot init` (interactive wizard); pass explicit flags on `app/env/svc init`.
- Do not run `copilot app delete` or `copilot env delete` without explicit approval.

Agent-Ready Command Recipes

Safe Read-Only Queries

List Copilot services in JSON
copilot svc ls --json

Outputs all services in the current Copilot application as structured JSON.

Inspect service endpoints and resources
copilot svc show --name api --json

Prints service routes, environment overrides, and ECS/App Runner details in JSON.

Strengths for Agents

  • + Fast Go binary with --json on ls, show, and status commands.
  • + copilot svc package emits the underlying CloudFormation template for inspection.
  • + Declarative manifest.yml files fit Git-tracked agent edits.

Caveats & Pitfalls

  • ! copilot init triggers an interactive TUI wizard unless replaced by explicit subcommands.
  • ! No built-in --dry-run diff view before copilot svc deploy.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI