GoogleCloudPlatform avatar

db-context-engineering

v0.7.5

by GoogleCloudPlatform · author: Google Cloud Platform

Context Engineering Agent for generating natural language to SQL templates, facets, and value searches.

What db-context-engineering does, in the publisher's words

The Context Engineering Agent is an AI coding agent plugin designed to run in developer agent harnesses (such as Claude Code, Antigravity, or Gemini CLI). It generates, evaluates, and iteratively tunes tailored context artifacts (ContextSets comprising Templates, Facets, and Value Searches) to enrich database schemas for Gemini Data Analytics's data agent developer platform tools, supporting both relational SQL and Graph Query Language (GQL) across AlloyDB, Cloud SQL (PostgreSQL / MySQL), and Cloud Spanner (GoogleSQL & Spanner Graph).

When building data agents and natural language analytics interfaces, accurately translating user intent into database queries, whether relational SQL, pure GQL, or hybrid graph queries, is critical.

As outlined in Build Context with Context Engineering Agent (AlloyDB | Cloud SQL: PostgreSQL / MySQL | Spanner (GoogleSQL)), by optimizing a ContextSet to match your application's expected query stream, the QueryData API acts as a data agent tool capable of achieving ~100% NL-to-SQL/GQL translation accuracy with low latency.

From the project README, punctuation lightly normalized · Open the README on GitHub

Skills
7
MCP servers
2
Stars
41
License
Apache-2.0
Repo created
2025-02-10
Last pushed
2026-10-15
Publisher type
Organization
Version
0.7.5

Links

Skills · 7

context-engineering-bootstrap
Guides the agent to bootstrap an initial ContextSet (templates, facets, and value searches) by deducing key information from the database schema and generating a ContextSet file.
context-engineering-dataset-generation
Generate or expand a golden evaluation dataset of SQL/Question (NLQ+SQL) pairs for evaluating NL-to-SQL translation accuracy on a target database.
context-engineering-evaluate
Guides the agent to execute an evaluation of a ContextSet against a golden NLQ+SQL dataset using the Evalbench framework.
context-engineering-hillclimb
Guides the agent to perform hill-climbing iterations to improve a ContextSet based on Evalbench evaluation results.
context-engineering-init
Orchestrates the initialization workflow for context engineering, and provides helper workflow for setting up database connections by creating or updating tools.yaml configurations.
context-engineering-workflow
Context engineering for Gemini Data Analytics API's data agent developer platform tools. Generates, evaluates, and iteratively optimizes a ContextSet (Templates, Facets, Value Searches) to maximize Natural-Language-to-SQL translation accuracy. Use this skill to run the automated setup, NL-SQL pair…
context-generation-guide
Guidelines and best practices for generating context items (Templates, Facets, Value Searches). Use this skill whenever the user asks to create, author, or generate context for database enrichment, or asks for examples and instructions on how to write templates, facets, or value searches. It helps…

Descriptions come from the frontmatter of each SKILL.md, punctuation lightly normalized.

MCP servers · 2

db-context-engineeringstdio
uvx google-cloud-db-context-engineering@0.7.2
toolboxstdio
uvx toolbox-server@1.4.0 --config autoctx/tools.yaml --stdio

Read from the plugin's own mcp.json. We list environment variable names, never values.

Category

Databases & Data. Assigned by this directory. Agent Plugins 1.0.0 has no category field, so no manifest declares one.

Keywords

database · context-engineering · nl2sql · google-cloud · mcp

Related by publisher and keywords

  • bigtableGoogleCloudPlatform

    Official plugin for Google Cloud Bigtable. Manage instances/tables, design schemas, query data using SQL or client libraries, and more

  • dataprocGoogleCloudPlatform

    Manage Dataproc clusters and jobs.

  • genmediaGoogleCloudPlatform

    Google Cloud genmedia MCP servers bundled as launchable MCP servers. Currently wires the Nanobanana image-generation server; the remaining genmedia servers will be added.

  • Netlify platform skills, functions, edge functions, blobs, database, identity, image CDN, forms, config, CLI, frameworks, caching, AI gateway, and deployment, plus the official Netlify MCP server.

  • airtablestigmer

    Airtable's hosted MCP server: read and update the bases, tables and records your account can see. Sign in with your Airtable account.

  • adomcpJohn0King

    Explore SQL Server, MySQL, PostgreSQL, SQLite, and Oracle schemas and data through MCP.

Add the verified badge to your README[![Verified by AgentPluginsDirectory.com against Schema 1.0.0](https://agentpluginsdirectory.com/badge.svg)](https://agentpluginsdirectory.com/plugins/db-context-engineering)

✓ Verified . We fetched the manifest from GitHub and checked it against the official Agent Plugins 1.0.0 schema at agent-plugins.org.