agentleFS
dmzoneilldmzoneill/skills/cloud-inventory/SKILL.md

cloud-inventory

Skill2 starsChanged 19 days agoApache-2.0View on GitHub

Get comprehensive inventory of AWS and GCP resources - EC2, S3, IAM, GCP compute, GCS, GKE. Use when user says "cloud inventory", "list AWS resources", "GCP resources", "cloud assets".

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If include_storage: aws_s3_ls() — S3 buckets

    line 32
  2. Very specific:

    If include_iam: aws_iam_list_users(), aws_iam_list_roles()

    line 33
  3. Very specific:

    If include_storage: gcloud_storage_ls() — GCS buckets

    line 41

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Cloud Inventory

Get a comprehensive inventory of cloud resources across AWS and GCP.

Inputs

InputTypeDefaultPurpose
providersstring"all"aws, gcp, all
include_iamboolfalseInclude IAM users and roles
include_storagebooltrueInclude S3/GCS inventory

Workflow

1. Bootstrap

  • persona_load("devops") — cloud tools
  • check_known_issues("aws"), check_known_issues("gcloud")

2. AWS (if providers in ["aws", "all"])

  • aws_sts_get_caller_identity() — caller identity
  • aws_configure_list() — config
  • aws_regions_list() — regions
  • aws_ec2_describe_instances() — EC2 instances
  • aws_ec2_describe_security_groups() — security groups
  • If include_storage: aws_s3_ls() — S3 buckets
  • If include_iam: aws_iam_list_users(), aws_iam_list_roles()

3. GCP (if providers in ["gcp", "all"])

  • gcloud_auth_list() — auth status
  • gcloud_config_list() — config
  • gcloud_projects_list() — projects
  • gcloud_compute_instances_list() — compute instances
  • If include_storage: gcloud_storage_ls() — GCS buckets
  • gcloud_container_clusters_list() — GKE clusters

4. Analysis

  • Count EC2 instances, S3 buckets, GCP instances, GCS buckets, GKE clusters
  • Summarize total resources per provider

5. Failure Learning

  • "expired" / "invalid" → learn_tool_fix("aws_sts_get_caller_identity", "credentials expired", "Cloud credentials expired", "Refresh with aws configure or gcloud auth login")
  • "not configured" / "not found" → learn_tool_fix("aws_configure_list", "not configured", "Cloud CLI not configured", "Run aws configure or gcloud init")

6. Memory

  • memory_session_log("Cloud inventory ({providers})", "total_resources=X")

Key MCP Tools

  • persona_load, check_known_issues, learn_tool_fix, memory_session_log
  • AWS: aws_sts_get_caller_identity, aws_configure_list, aws_regions_list, aws_ec2_describe_instances, aws_ec2_describe_security_groups, aws_s3_ls, aws_iam_list_users, aws_iam_list_roles
  • GCP: gcloud_auth_list, gcloud_config_list, gcloud_projects_list, gcloud_compute_instances_list, gcloud_storage_ls, gcloud_container_clusters_list

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.