Dsql

🌐Community
by awslabs · vlatest · Repository

Dsql allows you to execute SQL queries directly against AWS Glue Data Catalog tables, simplifying data access and analysis.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add dsql npx -- -y @trustedskills/dsql
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "dsql": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/dsql"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

The dsql skill enables AI agents to interact with DynamoDB tables using a simplified, SQL-like syntax. It allows agents to query data without writing complex native DynamoDB expressions or managing low-level API calls directly. This abstraction makes it easier for agents to retrieve and manipulate structured data within AWS environments.

When to use it

  • Querying large datasets in DynamoDB when standard text-based prompts fail to return precise results.
  • Retrieving specific records based on complex filtering conditions that mimic SQL WHERE clauses.
  • Performing aggregations or sorting operations on NoSQL data stored in AWS infrastructure.
  • Automating data extraction tasks where the agent needs consistent, structured output from a database.

Key capabilities

  • Executes SQL-like queries against DynamoDB tables.
  • Simplifies complex data retrieval logic for AI agents.
  • Reduces the need for agents to understand native DynamoDB API syntax.
  • Facilitates seamless integration between generative AI and AWS NoSQL databases.

Example prompts

  • "Use dsql to find all users in the 'customers' table who have an active subscription status."
  • "Query the 'inventory' table for items where stock is below 10 units using dsql."
  • "Retrieve the top 5 highest-priced products from the 'products' table sorted by price descending."

Tips & gotchas

Ensure your AI agent has explicit permission to access the target DynamoDB tables before attempting queries. While dsql simplifies syntax, it still requires valid table names and column structures that exist in your AWS environment; incorrect schema references will result in query failures.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
awslabs
Installs
119

🌐 Community

Passed automated security scans.