cloudthinker-ai/cloudskills/aws-athena
Claude Code and agent skill by cloudthinker-ai/cloudskills
- community
Checking that the SKILL.md file is still in the repository.
Use when working with Aws Athena — aWS Athena query execution analysis, workgroup management, Data Catalog integration, and cost-per-query tracking. Covers query history, performance optimization, workgroup quota management, saved queries, and data scanned analysis.
Install
npx vskill@latest install cloudthinker-ai/cloudskills/aws-athenaSKILL.md
The same SKILL.md was published earlier as cloudthinker-ai/cloudskills/aws-athena.
AWS Athena Skill
Analyze AWS Athena queries and workgroups with parallel execution and anti-hallucination guardrails.
Relationship to other AWS skills:
aws-athena/→ Athena-specific analysis (queries, workgroups, cost tracking)aws/→ "How to execute" (parallel patterns, throttling, output format)aws-glue/→ Data Catalog (databases, tables, partitions)
CRITICAL: Parallel Execution Requirement
ALL independent operations MUST run in parallel using background jobs (&) and wait.
Helper Functions
Common Operations
1. Workgroup Inventory
2. Query Cost Analysis (Data Scanned)
3. Failed Query Investigation
4. Workgroup Quota and Limits
5. Data Catalog Database and Table Summary
Anti-Hallucination Rules
- Pricing is per data scanned - Athena charges $5 per TB of data scanned. Minimum charge is 10 MB per query. Cancelled queries are charged for data scanned before cancellation.
- batch-get-query-execution limit - Maximum 50 query IDs per
batch-get-query-executioncall. Chunk larger lists. - Engine versions - Athena engine version 2 uses Presto. Engine version 3 uses Trino. Query syntax differences exist between versions.
- Workgroup isolation - Workgroups can enforce result location, encryption, and data scan limits.
EnforceWorkGroupConfiguration=trueoverrides per-query settings. - Query results in S3 - Athena writes query results to S3. These results accumulate and incur S3 storage costs. Clean up periodically.
Output Format
Present results as a structured report:
Target ≤50 lines of output. Use tables for multi-resource comparisons.
Counter-Rationalizations
| 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 |
Common Pitfalls
- CTAS/INSERT INTO: CREATE TABLE AS SELECT and INSERT INTO write data to S3. This incurs both Athena query charges AND S3 storage costs.
- Partitioning reduces cost: Queries on partitioned tables only scan relevant partitions. Always WHERE-filter on partition columns.
- Data format matters: Columnar formats (Parquet, ORC) scan less data than CSV/JSON. Compression (Snappy, ZSTD) further reduces scan.
- CloudWatch statistics syntax: Use spaces not commas:
--statistics Average Maximum. - Named queries are not cached results: Named queries are saved SQL templates, not cached results. Each execution scans data again.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/connections/aws-athena/SKILL.md
Popularity
- Repository stars
- 6
- Repository forks
- 3
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 23 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/cloudthinker-ai/cloudskills/aws-athena)