Cloudflare GraphQL Analytics for zone traffic, firewall events, Workers metrics, and schema exploration. Use when querying Cloudflare analytics data or exploring the GraphQL API.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Use when working with Aws S3 — aWS S3 bucket analysis, storage class distribution, lifecycle policies, access patterns, and cost optimization. Covers bucket inventory, object metrics, versioning status, encryption audit, public access analysis, and intelligent tiering evaluation.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
Analyze AWS S3 buckets with parallel execution and anti-hallucination guardrails.
Relationship to other AWS skills:
aws-s3/ → S3-specific analysis (buckets, storage classes, lifecycle, access)aws/ → "How to execute" (parallel patterns, throttling, output format)ALL independent operations MUST run in parallel using background jobs (&) and wait.
#!/bin/bash
export AWS_PAGER=""
for bucket in $buckets; do
get_bucket_info "$bucket" &
done
wait
#!/bin/bash
export AWS_PAGER=""
# List all buckets
list_buckets() {
aws s3api list-buckets --output text --query 'Buckets[].[Name,CreationDate]'
}
# Get bucket region
get_bucket_region() {
local bucket=$1
aws s3api get-bucket-location --bucket "$bucket" \
--output text --query 'LocationConstraint' 2>/dev/null || echo "us-east-1"
}
# Get bucket size from CloudWatch (S3 metrics have 1-day delay)
get_bucket_size() {
local bucket=$1
local end_time start_time
end_time=$(date -u +"%Y-%m-%dT%H:%M:%S")
start_time=$(date -u -d "3 days ago" +"%Y-%m-%dT%H:%M:%S" 2>/dev/null || date -u -v-3d +"%Y-%m-%dT%H:%M:%S")
aws cloudwatch get-metric-statistics \
--namespace AWS/S3 --metric-name BucketSizeBytes \
--dimensions Name=BucketName,Value="$bucket" Name=StorageType,Value=StandardStorage \
--start-time "$start_time" --end-time "$end_time" \
--period 86400 --statistics Average \
--output text --query 'Datapoints[-1].[Average]'
}
# Get bucket object count from CloudWatch
get_object_count() {
local bucket=$1
local end_time start_time
end_time=$(date -u +"%Y-%m-%dT%H:%M:%S")
start_time=$(date -u -d "3 days ago" +"%Y-%m-%dT%H:%M:%S" 2>/dev/null || date -u -v-3d +"%Y-%m-%dT%H:%M:%S")
aws cloudwatch get-metric-statistics \
--namespace AWS/S3 --metric-name NumberOfObjects \
--dimensions Name=BucketName,Value="$bucket" Name=StorageType,Value=AllStorageTypes \
--start-time "$start_time" --end-time "$end_time" \
--period 86400 --statistics Average \
--output text --query 'Datapoints[-1].[Average]'
}
# Get bucket encryption status
get_encryption() {
local bucket=$1
aws s3api get-bucket-encryption --bucket "$bucket" \
--output text \
--query 'ServerSideEncryptionConfiguration.Rules[0].ApplyServerSideEncryptionByDefault.[SSEAlgorithm,KMSMasterKeyID]' 2>/dev/null || echo "NONE"
}
# Get public access block
get_public_access() {
local bucket=$1
aws s3api get-public-access-block --bucket "$bucket" \
--output text \
--query 'PublicAccessBlockConfiguration.[BlockPublicAcls,IgnorePublicAcls,BlockPublicPolicy,RestrictPublicBuckets]' 2>/dev/null || echo "NOT_SET"
}
#!/bin/bash
export AWS_PAGER=""
BUCKETS=$(aws s3api list-buckets --output text --query 'Buckets[].Name')
for bucket in $BUCKETS; do
{
enc=$(aws s3api get-bucket-encryption --bucket "$bucket" \
--output text --query 'ServerSideEncryptionConfiguration.Rules[0].ApplyServerSideEncryptionByDefault.SSEAlgorithm' 2>/dev/null || echo "NONE")
pub=$(aws s3api get-public-access-block --bucket "$bucket" \
--output text --query 'PublicAccessBlockConfiguration.BlockPublicAcls' 2>/dev/null || echo "NOT_SET")
ver=$(aws s3api get-bucket-versioning --bucket "$bucket" \
--output text --query 'Status' 2>/dev/null || echo "Disabled")
printf "%s\tEnc:%s\tPubBlock:%s\tVersioning:%s\n" "$bucket" "$enc" "$pub" "${ver:-Disabled}"
} &
done
wait
#!/bin/bash
export AWS_PAGER=""
BUCKET=$1
aws s3api list-objects-v2 --bucket "$BUCKET" --max-items 1000 \
--output text --query 'Contents[].[StorageClass]' \
| sort | uniq -c | sort -rn
#!/bin/bash
export AWS_PAGER=""
BUCKETS=$(aws s3api list-buckets --output text --query 'Buckets[].Name')
for bucket in $BUCKETS; do
{
rules=$(aws s3api get-bucket-lifecycle-configuration --bucket "$bucket" \
--output text \
--query 'Rules[].[ID,Status,Transitions[0].Days,Transitions[0].StorageClass,Expiration.Days]' 2>/dev/null || echo "NO_LIFECYCLE")
printf "%s\t%s\n" "$bucket" "$rules"
} &
done
wait
#!/bin/bash
export AWS_PAGER=""
BUCKETS=$(aws s3api list-buckets --output text --query 'Buckets[].Name')
for bucket in $BUCKETS; do
{
logging=$(aws s3api get-bucket-logging --bucket "$bucket" \
--output text --query 'LoggingEnabled.TargetBucket' 2>/dev/null || echo "DISABLED")
printf "%s\tLogging:%s\n" "$bucket" "${logging:-DISABLED}"
} &
done
wait
#!/bin/bash
export AWS_PAGER=""
BUCKET=$1
aws s3api list-objects-v2 --bucket "$BUCKET" --max-items 5000 \
--output text --query 'Contents[?Size>`1073741824`].[Key,Size,StorageClass,LastModified]' \
| sort -k2 -rn | head -20
--prefix for key filtering, then post-process.get-bucket-location returns null/None for us-east-1 buckets. Handle this case explicitly.Present results as a structured report:
Aws S3 Report
═════════════
Resources discovered: [count]
Resource Status Key Metric Issues
──────────────────────────────────────────────
[name] [ok/warn] [value] [findings]
Summary: [total] resources | [ok] healthy | [warn] warnings | [crit] critical
Action Items: [list of prioritized findings]
Target ≤50 lines of output. Use tables for multi-resource comparisons.
| Shortcut | Counter | Why |
|---|---|---|
| "I'll skip discovery and check known resources" | Always run Phase 1 discovery first | Resource names change, new resources appear — assumed names cause errors |
| "The user only asked for a quick check" | Follow the full discovery → analysis flow | Quick checks miss critical issues; structured analysis catches silent failures |
| "Default configuration is probably fine" | Audit configuration explicitly | Defaults often leave logging, security, and optimization features disabled |
| "Metrics aren't needed for this" | Always check relevant metrics when available | API/CLI responses show current state; metrics reveal trends and intermittent issues |
| "I don't have access to that" | Try the command and report the actual error | Assumed permission failures prevent useful investigation; actual errors are informative |
--page-size and --max-items for large buckets. Never attempt to list all objects in buckets with millions of keys.--region if the bucket is in a different region than your default.--request-payer requester.--statistics Average Maximum.아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.
로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.
아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.
Cloudflare GraphQL Analytics for zone traffic, firewall events, Workers metrics, and schema exploration. Use when querying Cloudflare analytics data or exploring the GraphQL API.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Use when working with Alloydb — google AlloyDB instance analysis, query insights, columnar engine optimization, maintenance windows, and cluster health.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Use when working with Aqua — aqua Security platform analysis. Covers container runtime protection, image assurance policies, compliance frameworks, vulnerability management, workload protection, and registry scanning. Use when analyzing container security posture, reviewing image compliance, investigating runtime alerts, or auditing security policies.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Use when working with Bigquery — google BigQuery job analysis, slot utilization, cost analysis, dataset management, and query optimization.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Use when working with Cassandra — apache Cassandra keyspace analysis, compaction strategies, repair status, nodetool operations, and cluster health monitoring.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Use when working with Checkov — checkov infrastructure-as-code security scanning. Covers Terraform, CloudFormation, Kubernetes, and Dockerfile scanning, policy management, custom checks, compliance frameworks, and suppression management. Use when scanning IaC for security misconfigurations, evaluating compliance, managing custom policies, or reviewing scan results.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.