"schema", "tables", "columns", "structure"?
WORKFLOW 1: Schema Inspection
Safe database operations for AI agents — schema inspection, read-only querying, performance analysis, governed migrations, and data exploration via Supabase, PlanetScale, Neon, or any SQL database.
What this skill teaches
An MCP server tells an agent which actions are available. A skill adds the judgment around those actions: how to recognize the job, which sequence to follow, what to avoid, and how to decide that the result is complete.
Orchestrate database operations — inspect schemas, query data safely, analyze performance, manage migrations, and explore data patterns. Use when querying databases, inspecting table schemas, analyzing slow queries, running migrations, checking index usage, or exploring data distributions.
Architecture
The skill stays readable and portable because it contains instructions rather than service credentials or business data. ADK-Rust supplies it to the agent, the agent chooses from its reviewed tool boundary, and the connected MCP server performs the authenticated operation.
The agent receives a goal expressed in ordinary language.
Matches intent, supplies the decision guide, and narrows the tool boundary.
Plans the workflow and streams each meaningful step through the runtime.
Executes authenticated operations against the system that owns the capability.
The skill's completion rules shape the evidence returned to the user.
Decision guide
These routes come directly from the skill instructions. They help the model recognize intent and select a focused tool or workflow instead of improvising across the entire capability surface.
"schema", "tables", "columns", "structure"?
WORKFLOW 1: Schema Inspection
"query", "select", "find data", "show me"?
WORKFLOW 2: Safe Querying
"slow", "performance", "optimize", "index"?
WORKFLOW 3: Performance Analysis
"migrate", "alter", "add column", "create table"?
WORKFLOW 4: Migrations
"insert", "update", "delete", "write"?
WORKFLOW 5: Governed Writes
Unclear?
list_tables first to understand the database
Proven workflows
A workflow joins several tool calls into a task the user actually recognizes. The skill explains the sequence and the intended result while ADK-Rust streams the agent's progress through the shared runtime.
Understand structure before acting
Read-only with LIMIT and EXPLAIN
Find slow queries + missing indexes
Generate → validate → apply with rollback
Validate → explain scope → execute
Tool boundary
This allowlist is declared by the skill. It keeps the agent focused on the actions needed for this job while mcp-database retains responsibility for authentication, validation, and the connected system.
Working rules
Operating boundaries
Install and connect
Install the repository where your ADK-Rust skill loader can discover it, connect mcp-database, and confirm the declared tools are available before asking the agent to use the workflow.
git clone https://github.com/zavora-ai/skill-database-operations.git \
~/.skills/skills/database-operationslet skills = SkillLoader::from_dir("~/.skills/skills").await?;
let skill = skills.load("database-operations").await?;
let agent = LlmAgentBuilder::new("agent")
.instruction(skill.instructions())
.tools(skill.allowed_tools(toolset)?)
.build()?;The repository's compatibility statement: Requires mcp-database server connected (Supabase, PlanetScale, Neon, or Custom API).
Official documentation
The repository remains authoritative for its exact instructions, examples, helper scripts, assets, MCP requirements, license, and later updates.
Keep exploring
Source record
Repository metadata for this skill entry.