Guide · Agent skill
How to use the Cloud Storage Access Pattern Analyzer skill
Updated · written with AI from the project's own documentation and checked against our catalogue data
The analyzing-cloud-storage-access-patterns skill gives an AI agent a procedure for reviewing who accessed your cloud storage buckets and flagging suspicious activity in AWS S3, GCS and Azure Blob Storage. It is written for security analysts investigating a suspected data leak and for cloud engineers building detection rules. By the end of this guide you will know what the skill does, how to install it, how to ask for it in plain language, and what limits to keep in mind.
Quick start
- 1Download the ZIP. Download the skill's ZIP file from this page.
- 2Install the skill. Unzip it into ~/.claude/skills/ for personal use or .claude/skills/ inside a project, or upload the ZIP under Settings, Capabilities, Skills in the Claude apps.
- 3Install the Python packages. Run pip install boto3 requests in an environment with Python 3.8 or newer.
- 4Configure AWS access. Set up the AWS CLI with credentials that can read CloudTrail and confirm you have access to CloudTrail data events for the target bucket.
- 5Ask for the analysis. Describe the bucket, the time window and the concern in plain language, for example suspected data exfiltration from a named bucket.
- 6Review the findings. Check the prioritised findings in the JSON report and verify each flagged event before drawing conclusions.
What the skill makes the agent do
The skill targets abnormal access to cloud storage. It describes analysing CloudTrail Data Events, GCS audit logs and Azure Storage Analytics for three main patterns: after-hours bulk downloads, access from IP addresses not seen before, and API-call spikes such as GetObject or object-listing requests.
The skill works from statistical baselines and time-series anomaly detection. The procedure is to query CloudTrail for S3 data events, build baselines of hourly request volume, per-user object counts and source IP history, run the anomaly checks, and produce a prioritised findings report. The findings are meant to help analysts decide what to investigate first. The skill analyses past events and does not block or stop access.
Install the skill in Claude
Download the ZIP file for the skill from this page. Then install it in one of two ways. For a personal setup, unzip it into ~/.claude/skills/. For a single project, unzip it into the .claude/skills/ folder inside that project. Alternatively, upload the ZIP in the Claude apps under Settings, then Capabilities, then Skills.
Once installed, the agent can find the skill when your request matches its description. You do not need to type a special command.
- Personal install: ~/.claude/skills/
- Project install: .claude/skills/ in your project folder
- Claude apps: Settings → Capabilities → Skills, then upload the ZIP
Set up the requirements
The skill needs Python 3.8 or newer, the boto3 and requests Python packages, and the AWS CLI installed and configured with credentials that can read CloudTrail. You also need access to CloudTrail data events for the bucket you are checking. Without those logs, the skill has nothing to analyse.
The skill's instructions list this install command for the Python packages:
pip install boto3 requestsAsk for the analysis in plain language
You do not need exact syntax to trigger the skill. Describe the bucket and the concern. Requests that mention suspected data exfiltration, unusual downloads, access from unfamiliar IP addresses, or building detection rules for S3, GCS or Azure Blob should match the skill's description.
The skill also includes a bundled Python script, scripts/agent.py, which pulls recent AWS CloudTrail events for a bucket and writes a JSON report. The example in the skill runs it against a bucket for the last 24 hours and saves the output to a file. Replace the bucket name with your own:
- Review access to my-sensitive-data over the last 24 hours and flag large downloads outside business hours.
- Check whether any IP addresses accessed our finance bucket this week that we have not seen before.
- Help me write detection rules for GetObject spikes in our Azure Blob storage account.
python scripts/agent.py --bucket my-sensitive-data --hours-back 24 --output s3_access_report.jsonUnderstand the detection rules and limits
The skill uses fixed rules of thumb. After-hours access means activity outside 8am to 6pm local time. A bulk download is more than 100 GetObject calls from a single principal in one hour. A new source IP is one not seen in the prior 30 days. ListBucket enumeration spikes are flagged as a possible reconnaissance sign.
The bundled script is an excerpt. The source does not show its GCS or Azure logic, so treat findings for those platforms as something to verify by hand. The thresholds are not tuned to your environment, so expect false positives and false negatives.
- After-hours: outside 8am-6pm local time
- Bulk download: more than 100 GetObject calls from one principal in 1 hour
- New IP: not seen in the prior 30 days
- Listing spike: unusual ListBucket activity, a reconnaissance indicator
Safety notes before you run it
The skill reads sensitive access records, so only use it on logs you are authorised to review. The skill runs scripts and uses the network, because the script calls AWS to fetch CloudTrail events. Read scripts/agent.py before running it in an environment that holds production credentials, and run it against a test or lab environment first, as the skill's prerequisites recommend.
Treat the output as a prioritisation aid. A flagged event may be a legitimate backup, deployment or analyst action, so confirm each finding against the actual event details and the principal's expected role.
- Use only with logs you are authorised to review
- The script makes network calls to AWS
- Test in a lab environment first
- Verify every finding before acting on it
What people use it for
- Investigating whether a user downloaded a large number of objects from an S3 bucket outside business hours.
- Checking whether access to a sensitive bucket came from IP addresses not seen in the previous 30 days.
- Drafting detection rules or threat-hunting queries for GetObject and ListBucket activity across S3, GCS or Azure Blob.
Frequently asked questions
How do I install the analyzing-cloud-storage-access-patterns skill?
Download the ZIP from this page and unzip it into ~/.claude/skills/ for personal use, or into .claude/skills/ inside a project. You can also upload the ZIP in the Claude apps under Settings, then Capabilities, then Skills.
What do I need to run this skill?
You need Python 3.8 or newer, the boto3 and requests packages, and the AWS CLI configured with credentials that can read CloudTrail. You also need access to CloudTrail data events for the bucket you are reviewing.
Is the skill free to use?
The skill is published under the Apache-2.0 licence. Check the licence file in the download for the full terms.
Does it work with Google Cloud Storage and Azure Blob Storage?
The skill's description covers GCS audit logs and Azure Storage Analytics, but the bundled script is only an excerpt and its GCS and Azure logic is not shown. Verify any findings for those platforms manually.
Can it block suspicious access in real time?
No. The skill analyses past events from logs and does not prevent or stop access.
What are the alternatives to this skill?
The source does not compare this skill with other tools. You can run the AWS CLI lookup-events command yourself, as shown in the skill's reference, and review results manually, or use your own detection tooling.
New agent skills, repos and AI tools — every week
The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.
Our verdict
This skill suits security analysts investigating a suspected cloud storage data leak, and engineers drafting detection rules who have authorised access to their logs. It is not suited to real-time blocking, to people without authorisation to review sensitive access records, or to production use without review, because its script is an excerpt and its thresholds are fixed rules of thumb.
Download the skill