● 커뮤니티
zxkane
⚡ 바로 사용
aws-skills
제작: zxkane · zxkane/aws-skills
Claude agent skills for AWS — shell-first workflows covering common services, with sensible defaults and least-privilege IAM.
aws-skills wraps common AWS CLI workflows as agent skills: EC2 fleet ops, S3 policy checks, IAM audits, CloudFormation/CDK scaffolding, and cost queries. Shell-first so you always see the commands being run. Pairs well with TerraShark for IaC.
왜 쓰나요
핵심 기능
- Shell-first — commands visible before execution
- Common services: EC2, S3, IAM, Lambda, CloudFormation, Cost Explorer
- Least-privilege IAM defaults
- Region and profile aware
- Works with Claude Code and Codex
사용 사례
실전 활용법: aws-skills
언제 쓸까: You need to patch or restart a group of instances matching a tag, without writing the whole script yourself.
흐름
-
Dry-run the query
Use aws-skill. List EC2 instances tagged Env=staging, App=api. Just describe, don't mutate.✓ 복사됨
→ Table of instance IDs with state
-
Plan the action
Now propose the command to restart all running ones. Show me the exact aws cli call before running it.✓ 복사됨
→ Command printed; no execution yet
-
Execute with guardrails
Execute in batches of 3 with 30s between batches. Abort if any fails.✓ 복사됨
→ Batched output with success/failure per batch
결과: A controlled fleet operation with no unpleasant surprises.
함정
- Wrong profile/region destroys prod — Always echo the resolved profile + region as the first line of any action
언제 쓸까: Before a compliance review, or after a misconfig alert.
흐름
-
List buckets
List all S3 buckets in our account with their public access block settings and any bucket policies that allow *.✓ 복사됨
→ Table with per-bucket status
-
Triage
Flag buckets that have public access and don't match our known public-bucket allowlist (list: [...]). Propose remediation for each.✓ 복사됨
→ Remediation plan per flagged bucket
결과: A prioritized remediation list for S3 public exposure.
함정
- OAI / OAC for CloudFront looks public at the bucket level — Check CloudFront origin config before flagging
언제 쓸까: A service account works with AdministratorAccess and you want to scope it down.
흐름
-
Collect usage
Pull the Access Analyzer / CloudTrail-derived actions used by this role over last 30 days.✓ 복사됨
→ Actions table
-
Generate scoped policy
Write the minimal policy matching those actions. No wildcard Resource unless necessary; comment where wildcards are justified.✓ 복사됨
→ Policy JSON with comments
결과: A least-privilege policy with documented rationale.
함정
- 30 days isn't long enough to capture all paths — Verify against known monthly or quarterly jobs before flipping the policy
언제 쓸까: Finance asks 'why did S3 spend spike in April?' — you want an answer before the meeting.
흐름
-
Query
Use Cost Explorer to compare S3 spend April vs March by usage type.✓ 복사됨
→ Diff table by usage type
-
Explain
Which usage type grew most, and which bucket is most likely responsible?✓ 복사됨
→ Hypothesis with specific bucket candidates
결과: A specific attribution you can follow up on.
조합
다른 MCP와 조합해 10배 효율
AWS-skill for one-off ops, TerraShark for codified infra
Investigate with aws-skill, then codify the fix as Terraform with terrashark.✓ 복사됨
Security reviews on IAM and S3 configs
After IAM scoping, run OWASP review on the resulting policy.✓ 복사됨
비용 및 제한
운영 비용
- API 쿼터
- AWS API limits vary per service; usually non-issue for interactive use
- 호출당 토큰
- 5-15k for planning; execution is free of Claude tokens
- 금액
- Free skill; AWS usage billed as normal
- 팁
- Cost Explorer API has per-request pricing. Cache results when iterating.
보안
권한, 시크릿, 파급범위
자격 증명 저장: Standard AWS CLI credentials (shared config, SSO). Skill reads active profile.
데이터 외부 송신: All AWS API calls. Command outputs may contain sensitive data (ARNs, tags).
절대 부여 금지: AdministratorAccess for interactive use
- Always verify active profile and region before destructive commands. Skill prints both before execution — don't skip the check.
- Use SSO short-lived credentials rather than long-lived access keys.
문제 해결
자주 발생하는 오류와 해결
AccessDenied despite correct profile
Role session may have expired. Re-authenticate (aws sso login or STS refresh)
확인: aws sts get-caller-identity
Commands hit the wrong region
Skill respects AWS_REGION env; set explicitly or pass --region each call
Rate-limiting on large fleet ops
Use the skill's batch mode with delays
대안
aws-skills 다른 것과 비교
| 대안 | 언제 쓰나 | 단점/장점 |
| AWS MCP server | You want native MCP tool calls instead of shell-first | Less shell visibility; different trust model |