Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

aws-cloudtrail

Skill by sickn33

Configure AWS CloudTrail for audit logging, including organization trails, event selectors, CloudWatch alerts and Athena log queries. Built for security teams handling compliance reviews and incident investigations.

  • Score 89
  • 51k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install aws-cloudtrail

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/aws-cloudtrail ~/.claude/skills/aws-cloudtrail

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install aws-cloudtrail in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill gives an assistant AWS CLI commands and checklists for configuring AWS CloudTrail audit logging. It covers creating an organization trail with an S3 bucket for log storage, including encryption, versioning, public access blocking and lifecycle rules. It also covers advanced event selectors for management and data events, CloudWatch metric filters and alarms for sensitive activity, and Athena table definitions and queries for analysing logs.

The source says it is meant for compliance work such as SOC 2, HIPAA, PCI DSS or FedRAMP, security investigations and forensic analysis. It asks users to check permissions and export existing configuration before making changes, because put operations can replace settings. The snippets use placeholder names and account IDs and do not create dependencies such as KMS keys or IAM roles. It is published under the MIT license by a community contributor.

Written from the project's SKILL.md and checked against it.

What it can do

  • Organization trail setupCreates a multi-region organization trail that writes logs to an S3 bucket.
  • Audit bucket hardeningApplies bucket policy, public access block, versioning, encryption and lifecycle rules.
  • Event selectorsConfigures advanced selectors for management, S3, Lambda and DynamoDB data events.
  • CloudWatch alertsAdds metric filters and alarms for unauthorized calls, root usage and IAM or security group changes.
  • Athena queriesDefines a CloudTrail table in Athena and provides queries for deletes, console logins and access key use.

What you need

  • AWS account with organization management or delegated administrator permissions
  • AWS CLI
  • KMS key policy, CloudWatch log group and IAM role set up before use
  • Budget review for paid data events, Lake and Athena scope

Try asking

  • Set up an organization CloudTrail trail with encrypted S3 log storage
  • Create CloudWatch alarms for root account usage and IAM policy changes
  • Write an Athena query for console logins from unexpected IP addresses

Good to know

  • Snippets use synthetic placeholder names, account IDs and ARNs.
  • put-* operations can replace existing configuration, so export current settings first.
  • Log-file validation detects changes but does not prevent deletion.
  • Does not provision KMS keys, CloudWatch log groups or IAM roles.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/aws-cloudtrail/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md20 KB

Alternatives to aws-cloudtrail

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

aws-cloudtrail: common questions

Does this skill create the AWS dependencies for me?

No. The source says the snippets do not provision dependencies such as KMS keys, log groups or IAM roles, which must exist first.

Is log file validation enough to stop log deletion?

No. The source says log-file validation detects changes but does not prevent deletion, and versioning alone is not immutable retention.

Which compliance frameworks does this skill mention?

The source lists SOC 2, HIPAA, PCI DSS and FedRAMP as compliance requirements the logging setup may help meet.

How do I install aws-cloudtrail?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is aws-cloudtrail free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is aws-cloudtrail safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to aws-cloudtrail?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

aws-cloudtrail Install

Add to stack

Loading.