/agentic-engineering:adk-sql-agent-engineeringfrom Agentic Engineering Skills
Builds, adapts, tests, or troubleshoots Google ADK SQL agents with reviewed templates, selective schemas, and read-only execution. For natural-language analytics, SQL routing, and query reliability.
Ships in Agentic Engineering Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Deliver an SQL-agent change, an evidence-based review, an implementable architecture plan or a verified runtime recovery. Preserve the target application's conventions and business definitions. The skill is self-contained; the book and companion repository are optional provenance, not runtime dependencies.
Read the target's contributor instructions, dependency declarations and lockfiles, configuration loader, entry point, routing/context/SQL modules and relevant tests. Inspect before importing application modules: imports can load secrets, construct clients or start work.
Use scripts/inspect_project.py for a bounded, read-only inventory. Invoke it with the target's existing Python interpreter and --project set to its root; --help documents the options. Its static findings are leads for inspection, not proof that a control is enforced. Inspect skipped or unsupported manifests manually without exposing values.
Record these facts before choosing a change:
Read references/compatibility.md before version-sensitive ADK changes. Preserve existing pins and package management. An unknown or different version requires a compatibility check, not an automatic upgrade or downgrade. If a required API is absent, report the exact incompatibility and continue only with independent work.
Inspection is complete when the change can name its existing integration points and tests, or identify the specific missing decision. Ask only for business meaning, target selection or authorisation that cannot be inferred safely.
| Mode | Use when | Deliverable |
|---|---|---|
| Implement or adapt | The user wants working behaviour | Small coherent changes integrated into existing modules and tests |
| Review or diagnose | The user wants findings or a failure explained | Reproduced evidence, severity, correction and validation plan; edit only within the requested scope |
| Plan or select | Code, business rules or a provider contract are missing | Concrete architecture, interfaces, prerequisites and acceptance cases; avoid speculative scaffolding |
| Prepare or recover runtime | The SQL agent needs identity, fixture setup, project migration or owned cleanup | Read-only diagnosis, reproducible local procedure and bounded execution within explicit approval |
Within one application, combine these paths as needed:
Before broad edits, give a short plan naming the path, files, preserved contracts and tests. Read references/implementation.md for implementation or architectural selection. In a review, read only its relevant boundary.
Load deeper guidance only for the work at hand:
| Work | Read next |
|---|---|
| Define metrics, joins, values or selected context | Semantic contracts; for a semantic map kept in reviewed files and its CI check, implementation |
| Save successful queries as templates or few-shot examples | Troubleshooting, step 6 of turning a trace into a reviewed template |
| Wire ADK models, callbacks, events or credentials | ADK runtime; its bundled offline contract asset preserves the real framework and SDK |
| Provision, resume or clean up BigQuery/Vertex resources | Lifecycle runbook; the tested serving surface was local ADK Web, not a deployed cloud frontend |
| Investigate a wrong answer, refusal, SDK failure or misleading PASS | Troubleshooting |
| MCP Toolbox for Databases or a managed data agent is the executor | Acceptance and extensions, section 6: the Toolbox branch checklist (read-only at the source, flags, parameters, secure tenant ids, bypass fixtures) and the DataAgentToolset facts |
| Test the public app, add telemetry, follow-ups or a managed branch | Acceptance and extensions |
For every executable route, read references/execution-safety.md. A prompt, schema or successful dry run cannot substitute for application and database enforcement.
Keep four boundaries explicit:
Reuse project modules rather than replacing the project with a sample application. For greenfield work, implement one useful vertical slice and its refusal path before generalising. Additional caller policy, cumulative deadlines, result completeness, repair or follow-up behaviour needs its own implementation and tests; companion evidence does not certify those extensions.
Inspection is read-only, and code generation authorises no deployment, paid call or live test. Before any consequential operation (an API, billing or quota change, a billable resource, a secret, IAM, a data migration, a deployment, a deletion, or a paid or destructive test), read consequential operations, present the exact scope and limits, obtain explicit approval and end the turn to wait for it. Cleanup is a separate confirmed operation on resources this workflow created.
Use a bounded campaign for approved live tests. Detailed procedures are in the lifecycle runbook; apply the boundaries in execution safety.
Read references/validation.md for the changed paths. Use the project's existing environment, formatter, static checks and test runner. Start with deterministic tests; mark provider doubles and SQLite substitutes as offline evidence. Exercise the public workflow, not only isolated helper functions.
At minimum, an implementation needs a correct supported answer, invalid/unsupported input with zero execution, selected-schema-only retrieval, a rejected write, and a second invocation without unwanted duplicate effects. Test required schema fields through actual framework-to-SDK serialisation when changing structured output. Do not execute a paid call to compensate for a failed local assertion.
scripts/check_results.py compares sanitised fixture aggregates using explicit aliases and exact finite decimals. Its --dry-run checks shapes only. It does not establish routing, authorisation, live connectivity, ranking order or SQL safety; assert those at the application boundary.
Complete the report with files changed, commands and exit results, exact environment, assertions passed/failed, manual prerequisites and unverified behaviour. A production principle stated but not exercised is guidance. Do not generalise a small sample to an SLA or universal SQL correctness. The skill's tested versions are in references/compatibility.md.
Label each result with its tier (offline, local, live or release) and
outcome (pass, fail, blocked or not run) as
evidence labels defines them;
earlier, vendor and documentation-only results are historical,
vendor-measured or guidance, never this session's evidence.
This is an independent community project and is not affiliated with or endorsed by Google.
LICENSE (opens in a new tab)agents/openai.yaml (opens in a new tab)assets/test_adk_contract.py (opens in a new tab)references/acceptance-and-extensions.md (opens in a new tab)references/adk-runtime.md (opens in a new tab)references/compatibility.md (opens in a new tab)references/execution-safety.md (opens in a new tab)references/implementation.md (opens in a new tab)references/lifecycle-runbook.md (opens in a new tab)references/operating-rules.md (opens in a new tab)references/semantic-contracts.md (opens in a new tab)references/troubleshooting.md (opens in a new tab)references/validation.md (opens in a new tab)scripts/check_results.py (opens in a new tab)scripts/inspect_project.py (opens in a new tab)tests/test_check_results.py (opens in a new tab)tests/test_inspect_project.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub ruslankhis/agentic-engineering-skills --plugin agentic-engineering26 skills in this plugin
/adk-agent-evaluationBuild, adapt or audit a Python ADK agent's test strategy: deterministic tool and Runner tests, live eval sets, simulated conversations, conformance replay, strict result checks and quote or citation support. Use for agent behaviour, regression coverage, eval reliability, fixing a failed stage without re-running paid earlier ones, holdout budgets, error analysis on a labelled dev set to fix wrong decisions, measuring each prompt, exemplar or model change, and subject-matter expert labelling: failure taxonomy, inter-rater agreement and judge calibration. Do not activate for non-agent unit tests, standalone model benchmarks, deployment or cleanup alone, prompt wording or exemplar design (adk-agent-instructions), model settings (adk-model-and-output-contracts), wiring eval gates into CI (adk-release-engineering), production telemetry (adk-agent-observability), adversarial suites (adk-agent-security) or presenting results (adk-presenter)./adk-agent-instructionsDesign, review or repair the instructions of Python Google ADK agents, covering instruction structure and altitude, session-state templating, tool-use guidance inside the prompt, sub-agent descriptions for routing, few-shot exemplar design, the instruction-versus-code division, model-generation prompt notes and prompt-as-code layout with change tests. Use when an agent follows its prompt poorly, over- or under-calls tools, routes to the wrong sub-agent, raises templating KeyErrors, or a prompt must move to a new model generation. Do not activate for the measured evaluation loop (adk-agent-evaluation), orchestration or a key an earlier agent's output_key never wrote (adk-workflow-design), tool docstrings and parameter schemas (adk-tool-interface-design), output schemas or model configuration (adk-model-and-output-contracts), releasing prompt versions (adk-release-engineering), or injection-screening products (protect-adk-sensitive-data)./adk-agent-interoperabilityConnect, expose or audit Python Google ADK agents across process boundaries with MCP and A2A: tool-source selection (FunctionTool, OpenAPIToolset, McpToolset, Toolbox, Application Integration), consuming MCP servers (connection, lifecycle, tool_filter, prefixes, headers, the confirmation flag, SDK pin), exposing an agent as an MCP server, the sub-agents versus remote A2A topology decision, consuming a remote agent with RemoteA2aAgent (agent cards, task states, streaming, timeouts), exposing with to_a2a and registering on Agent Runtime or Gemini Enterprise. Use when an agent must call or be called by another service or framework, or to review MCP and A2A wiring. Do not activate for the MCP threat model, allowlists or pinning policy (adk-agent-security), in-process orchestration (adk-workflow-design), OAuth plumbing (adk-tool-auth-and-secrets), one API call's retry policy (safe-api-tool-calls) or deployment (deploy-adk-on-google-cloud)./adk-agent-observabilityInstrument, monitor, alert on and debug Python Google ADK agents in production: the spans, metrics and logs ADK emits and their environment gates, exporters per host, SLIs, SLOs and alerts including Online Monitors, BigQuery Agent Analytics, feedback capture, production traces into evaluation cases, trace-to-session debugging, operations handover to a client's IT team and blameless agent postmortems. Use for missing or duplicated telemetry, token or cost accounting, alert design, dashboards or a production incident on an ADK agent. Do not activate for content-redaction policy (protect-adk-sensitive-data), GKE exporter allowlists and custom spans (optimise-adk-on-google-cloud), evaluation design (adk-agent-evaluation), enforcing budgets (adk-operational-guardrails), canary and rollback (adk-release-engineering), first deployment (deploy-adk-on-google-cloud) or Terraform and CLI scaffolding of telemetry (Google's agents-cli skills)./adk-agent-securityThreat-model, harden or review a whole Python Google ADK agent against prompt injection, tool and MCP supply-chain compromise, excessive agency, insecure output handling and unsafe code execution: the lethal-trifecta check, injection-resistant structure, MCP allowlists and pinning, tool tiering (which actions need confirmation), code-executor selection and an adversarial suite with forbidden-action assertions, mapped to OWASP IDs. Use when an agent reads untrusted content and can act, before exposing MCP servers or code execution, or for a security review. Do not activate for PII screening and Model Armor (protect-adk-sensitive-data), credential plumbing (adk-tool-auth-and-secrets), approval mechanics and budgets (adk-operational-guardrails), MCP or A2A wiring (adk-agent-interoperability), eval harness runs (adk-agent-evaluation), delimiting documents in drafts (adk-workflow-design) or questionnaire answers (adk-governance-pack)./adk-discoveryFind where AI would pay off in a business and pick the first use case, before any system is designed: with a rough area in mind, locate where the current journey breaks, choose the first workflow to improve and the business outcome to measure with its baseline; with no use case at all, go from what the business does and the KPIs it watches to the processes that drive them and the opportunities in them. Every opportunity gets a technology fit (agent, single LLM call, classical machine learning, rules or scripting, or a process change) and the portfolio is ranked. Ends with a discovery brief and the prompt for adk-system-designer. Do not activate when the use case and its measure are already chosen (adk-system-designer), for a change to an existing agent (adk-engineer), for market or competitor research, or to present results (adk-presenter).