querying-aws-s3

querying-aws-s3 is a skill for Claude Code from aws/agent-toolkit-for-aws. It costs 153 tokens per session (3,190 once invoked), scanned A, original, Apache-2.0.

A query guide for Amazon S3 Metadata and Storage Lens tables, which record information about stored objects and aggregated storage activity. It uses SQL through Amazon Athena to analyze that data.

In plain words
What is it for?
Use it to count objects, find recent uploads or deletions, identify who changed data, search object annotations, and analyze bucket storage metrics.
Why use it?
It avoids manually checking objects one at a time and can reveal details such as uploaders, source IP addresses, deletions, tags, and storage trends.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to count objects, find recent uploads or deletions, identify who changed data, search object annotations, and analyze bucket storage metrics.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aws/agent-toolkit-for-aws/querying-aws-s3
About the project

Agent Toolkit for AWS is a collection of AWS-supported MCP servers, skills, plugins, commands, and hooks that help AI coding agents build, deploy, and manage applications on AWS. It is used by developers working with AWS services through agents such as Claude Code, Codex, Cursor, and Kiro. The catalogue entries are the toolkit's own agent extensions for AWS development and operations.

aws/agent-toolkit-for-aws · 3,609 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add aws/agent-toolkit-for-aws --skill querying-aws-s3
Clone the repo
git clone --depth 1 https://github.com/aws/agent-toolkit-for-aws

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for querying-aws-s3

README.md
[![agentmods](https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/querying-aws-s3/github.svg)](https://agentmods.dev/skills/aws/agent-toolkit-for-aws/querying-aws-s3)
Your own site
<a href="https://agentmods.dev/skills/aws/agent-toolkit-for-aws/querying-aws-s3"><img src="https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/querying-aws-s3/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for querying-aws-s3

Your own site · 80×15
<a href="https://agentmods.dev/skills/aws/agent-toolkit-for-aws/querying-aws-s3"><img src="https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/querying-aws-s3.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 153 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,190 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 17 Jun 2026
  • Snyk pass 17 Jun 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00153 $0.03190
Opus 5.5 $0.00061 $0.01276
Sonnet 5.5 $0.00031 $0.00638
Haiku 4.5 $0.00015 $0.00319

Measured 2mo ago against content hash c54322af8c73, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

querying-aws-s3 scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/specialized-skills/system-table-skills/querying-aws-s3/SKILL.md · 333 lines

How it starts

The opening of the file, as written. The whole thing — 333 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Query AWS S3 System Tables

Overview

Works best with the AWS MCP server for sandboxed execution and audit logging. All commands below use the AWS CLI and work in any environment with configured AWS credentials. Use IAM roles or temporary credentials; avoid long-lived access keys.

Amazon S3 Metadata provides continuously-updated Apache Iceberg tables that capture object-level metadata for general-purpose buckets. S3 Storage Lens exports aggregated storage and activity metrics as Iceberg tables. Both are read-only, stored in the AWS-managed aws-s3 table bucket, and queryable via Amazon Athena.

System tables are preferred over raw S3 APIs (list-objects-v2, head-object) because:

  • list-objects-v2 paginates at 1000 objects/page — inefficient for large buckets (millions or billions of objects). The inventory table answers SELECT COUNT(*) in seconds at any scale.
  • list-objects-v2 cannot identify who uploaded an object, from which IP, or when something was deleted. Only the journal table has requester, source_ip_address, and delete event tracking.
  • Filtering by tag requires get-object-tagging per object. The inventory table has object_tags as a queryable map column.

Decision Tree

User intent Use this skill? Table Alternative
How many objects in my bucket Yes inventory —
What was recently uploaded/deleted Yes journal —
Who wrote/deleted objects (audit) Yes journal (requester, source_ip) —
Storage class breakdown Yes inventory —
Find objects by tag or user metadata Yes inventory —
Search annotation content Yes annotation Single object → direct API get-object-annotation
Write/update an annotation No — Direct API: put-object-annotation (tables are read-only)
Query data inside objects No — querying-data-lake
Bucket-level storage metrics/trends Yes Storage Lens tables —
Enable metadata tracking Yes see Enable section —

Read the full file on GitHub · 333 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 333 lines · 153 tokens per session scan A c54322af8c73

Subscribe to this mod's changes

querying-aws-s3 is a skill published in the GitHub repository aws/agent-toolkit-for-aws (3,609 stars, last pushed today), licensed Apache-2.0. It adds 153 tokens to every session and 3,190 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

querying-aws-s3 compared with skills from other repositories

querying-aws-s3 next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
querying-aws-s3aws/agent-toolkit-for-awsSkill3.6ktodayApache-2.0A153Claude Code
create-prprisma/ormSkill48ktodayApache-2.0A47Claude Code, Codex
schema-explorationlangchain-ai/deepagentsSkill32ktodayMITA57Claude Code, Codex
atlas-mssqlariga/atlasSkill8.9k4d agoApache-2.0A163Claude Code
ha-data-storesshiwenwen/hope-agentSkill1.9kyesterdayMITA115Claude Code, Codex
pentesting-mysqlxalgorix/xalgorixSkill1.5ktodayApache-2.0A65Claude Code, Codex
nornicdb-cypher-queriesorneryd/NornicDBSkill938todayMITA79Claude Code, Codex