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

Rain

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

Rain (rain) streamlines AWS CloudFormation authoring and deployment with rain deploy, rain diff, rain ls, rain logs, rain build --json, and rain fmt --json. Designed for fast iterative stack diffs and clean error logs without verbose raw CloudFormation boilerplate.

FCRS-1.0 Score
86 /100
Good
Medium Confidence
Zero-Friction Install
brew install rain
CLI vs MCP Decision CLI Preferred vs MCP

rain inspects local CloudFormation templates, formats/converts YAML-to-JSON, and diffs against live stacks much more compactly than raw aws cloudformation or MCP tools.

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

Supports --json on template commands (build, fmt), --yes non-interactive deployment, and clean --profile/--region flags.

  • Supports rain build --json, rain fmt --json, and rain deploy --yes
  • Clean Go CLI with concise stack event logs via rain logs
Trust & Safety 20 / 25

Uses standard AWS IAM profiles and asks confirmation before deploy/rm unless --yes is passed, though CloudFormation mutations carry high blast radius.

  • Requires --yes to bypass interactive confirmation on deploy and rm
Setup & Portability 14 / 15

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

  • Available via brew install rain with no Python/Node runtime required
Utility & Efficiency 13 / 15

Substantially more ergonomic and token-efficient than aws cloudformation for stack diffs, template scaffolding, and failure logs.

  • Built-in rain diff, rain logs, and rain forecast diagnostics
Maintenance & Lineage 9 / 10

Official AWS CloudFormation team project (aws-cloudformation/rain) under Apache-2.0 license.

  • Official aws-cloudformation/rain repository under Apache-2.0
Docs & Verifiability 8 / 10

Clean GitHub Pages docs and self-documenting Cobra --help commands.

  • Published docs at aws-cloudformation.github.io/rain

Security, Auth & Guardrails

Auth Modes
Config File Env API Key
Credential Storage

Reuses standard AWS SDK profiles (~/.aws/credentials, ~/.aws/config, --profile) and AWS_* environment variables.

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

Apache-2.0 open-source CLI; rain deploy provisions billable AWS CloudFormation resources.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Rain (AWS CloudFormation) Agent Rules
- Run `rain fmt <file>` and `rain ls` / `rain logs <stack>` before deploying.
- Pass `--yes` on `rain deploy` only after user approval; never run `rain rm <stack> --yes` unapproved.
- Pin `--profile` and `--region` explicitly.

Agent-Ready Command Recipes

Safe Read-Only Queries

List deployed CloudFormation stacks
rain ls

Lists stack names and statuses in the target AWS region.

Convert or format a template to JSON
rain fmt template.yaml --json

Parses and validates a local CloudFormation template and emits canonical JSON to stdout.

Controlled Writes & Previews

Deploy a stack non-interactively after review
rain deploy template.yaml my-stack --yes --params Env=staging

Passes --yes and explicit --params so rain deploy does not block waiting for confirmation.

Strengths for Agents

  • + rain fmt --json and rain build --json simplify local CloudFormation authoring and validation.
  • + Concise rain logs and rain diff cut noise compared to raw AWS CLI CloudFormation output.
  • + Single static Go binary with --yes for non-interactive deploys.

Caveats & Pitfalls

  • ! rain ls and rain logs default to human-readable text rather than JSON.
  • ! Omitting --yes on rain deploy or rain rm triggers an interactive confirmation prompt.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI