aws-inventorylisted
Install: claude install-skill aquavis12/aws-inventory-plugin
# AWS Infrastructure Inventory
Ported from the `power-aws-inventory` Kiro Power (github.com/aquavis12/power-aws-inventory). Same 109-category scan logic and Excel output — adapted here to run over the Bash tool and AWS CLI/boto3 directly, since Claude Code doesn't need an MCP proxy for this: it already has native shell access.
## Step 1: Validate AWS Session
1. Run `aws sts get-caller-identity` via Bash to confirm credentials.
2. Record **account ID**, **caller ARN**, and **default region**.
3. Report: "Authenticated as `<arn>` in account `<accountId>`"
**Profile handling**: If the default profile points to the wrong account, check `aws configure list-profiles`, verify with `aws sts get-caller-identity --profile <name>`, and ask the user which profile/region to use — pass `--profile` explicitly on every subsequent call rather than mutating their environment.
If credentials are expired, tell the user to re-authenticate (`aws sso login` or equivalent) and stop.
## Step 2: Configure Scope & Regions
Load `context-templates/inventory-scope.json` if the user has copied it into their workspace; otherwise ask:
| Setting | Options | Default |
|---------|---------|---------|
| Scan mode | `full` / `category` / `quick` | full |
| Region scope | `single` / `multi` / `all` | all |
| Include tags | yes / no | yes |
| Include cost data | yes / no (requires Cost Explorer) | no |
| Output dir | path | `./inventory-reports` |
**Region resolution:**
- `single` → use the specified regio