Sql Executor

🌐Community
by aidotnet · vlatest · Repository

Executes SQL queries against databases, streamlining data retrieval and manipulation for automated workflows and reporting.

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 sql-executor npx -- -y @trustedskills/sql-executor
2

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

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

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

About This Skill

What it does

The sql-executor skill allows AI agents to execute SQL queries against a database. It enables retrieving, updating, and manipulating data stored in relational databases directly from within the agent's workflow. This facilitates tasks requiring interaction with structured data sources.

When to use it

  • Data Extraction: Retrieve specific information from a database based on user requests (e.g., "Get me all customers who live in California").
  • Report Generation: Generate reports by querying and aggregating data from multiple tables within a database.
  • Database Updates: Modify data in the database, such as updating customer addresses or adding new records.
  • Inventory Management: Check stock levels or update inventory counts based on sales transactions stored in a database.

Key capabilities

  • SQL query execution
  • Data retrieval from databases
  • Data modification within databases

Example prompts

  • "Run the following SQL query: SELECT * FROM products WHERE price > 100"
  • "Update the 'orders' table and set the status to 'shipped' for order ID 123."
  • "Can you get me a list of all users sorted by their registration date?"

Tips & gotchas

The skill requires access credentials (username, password) to connect to the target database. Ensure that the AI agent has appropriate permissions within the database schema to perform the requested operations.

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
aidotnet
Installs
4

🌐 Community

Passed automated security scans.