Agent skill

agentuity-cli-cloud-db-sql

Execute SQL query on a database. Requires authentication. Use for Agentuity cloud platform operations

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/agentuity-cli-cloud-db-sql

Metadata

Additional technical details for this skill

tags
slow requires-auth
command
agentuity cloud db sql

SKILL.md

Cloud Db Sql

Execute SQL query on a database

Prerequisites

  • Authenticated with agentuity auth login
  • Organization context required (--org-id or default org)

Usage

bash
agentuity cloud db sql <name> <query>

Arguments

Argument Type Required Description
<name> string Yes -
<query> string Yes -

Examples

Execute SQL query:

bash
bunx @agentuity/cli cloud db sql my-database "SELECT * FROM users LIMIT 10"

Execute query with JSON output:

bash
bunx @agentuity/cli cloud db exec my-database "SELECT COUNT(*) FROM orders" --json

Query with filter:

bash
bunx @agentuity/cli cloud db query my-database "SELECT * FROM products WHERE price > 100"

Output

Returns JSON object:

json
{
  "rows": "array",
  "rowCount": "number",
  "truncated": "boolean"
}
Field Type Description
rows array Query results
rowCount number Number of rows returned
truncated boolean Whether results were truncated

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results