Skip to main content
plugin CX Codex official · Google

data-agent-kit — Claude Code plugin: use and install

This plugin connects coding agents to Google Data Cloud services for pipeline design, SQL, notebooks, data exploration, and ML workflows.

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin install data-agent-kit@claude-plugins-official
/plugin marketplace add google/skills
/plugin install data-agent-kit@google-plugins
/plugin marketplace add anthropics/claude-plugins-community
/plugin install data-agent-kit-starter-pack@claude-community
/plugin marketplace add anthropics/claude-plugins-official
Open on GitHub

What data-agent-kit does

data-agent-kit connects Claude Code, Codex, and Gemini CLI with 15+ Google Data Cloud services, including BigQuery, Cloud Storage, Spanner, AlloyDB, and Managed Service for Apache Spark. You describe a data task, and the agent can produce SQL, notebook code, pipeline code, or an ML workflow.

Its use cases cover dbt and Dataform transformations, Airflow scheduling, BigQuery ML, Jupyter work, Knowledge Catalog discovery, and Dataflow troubleshooting through logs. It can also assemble an Airflow DAG that runs several data tasks on a schedule.

Node.js and an authenticated Google Cloud CLI are required. The agent will fail to access Google Cloud until gcloud auth login and gcloud auth application-default login have been run. In Claude Code, start configuration with /dak:dak-setup, then restart the agent when prompted.

What it helps with

  • build a pipeline from source data
  • write BigQuery SQL
  • create a PySpark notebook for model training
  • trace a failed Dataflow job
  • schedule data tasks with an Airflow DAG

Example prompts for the agent

  • Run /dak:dak-setup and guide me through configuring the plugin.
  • Create a PySpark notebook that trains a Random Forest model on my_transactions.
  • Find customer-order datasets in Knowledge Catalog and show their lineage.

How to install data-agent-kit

Plugin marketplace

/plugin install data-agent-kit@claude-plugins-official
/plugin marketplace add google/skills
/plugin install data-agent-kit@google-plugins
/plugin marketplace add anthropics/claude-plugins-community
/plugin install data-agent-kit-starter-pack@claude-community
/plugin marketplace add anthropics/claude-plugins-official

Step by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own

Questions about data-agent-kit

How do I install data-agent-kit in Claude Code?

Run /plugin marketplace add google/skills, then run /plugin install data-agent-kit@google-plugins.

What does data-agent-kit do?

It gives a coding agent data-focused workflows for Google Data Cloud, including SQL generation, notebooks, pipelines, ML tasks, and log-based troubleshooting.

What does data-agent-kit require?

You need a supported coding agent, Node.js, and an installed and authenticated Google Cloud CLI. Claude Code setup also uses /dak:dak-setup and requires an agent restart when prompted.

Source text

SKILL.md · Apache-2.0
# Data Agent Kit

Data Agent Kit is a **free** plugin that connects your coding agent to 15+
Google Data Cloud services, including BigQuery, Cloud Storage, Spanner,
AlloyDB, Managed Service for Apache Spark, and Knowledge Catalog.

Spend your time on insights, not boilerplate. Describe a data task in plain
language, and watch your agent handle the heavy lifting for you: writing SQL
queries, building notebooks, generating pipeline code, setting up ML workflows,
and more.

> [!IMPORTANT]
> This repository contains the Data Agent Kit **plugin** for coding agents:
> Antigravity CLI, Claude Code, Codex CLI, and any
> [Agent Plugins](https://github.com/agentplugins/agent-plugins-spec)–compatible
> client.
>
> If you use an IDE, install the Data Agent Kit **extension** instead. If you
> use **Visual Studio Code**, install Data Agent Kit from the
> [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=GoogleCloudTools.datacloud).
> If you use another VS Code-based IDE, such as **Antigravity IDE** or **Cursor**,
> search for "Data Agent Kit" in your IDE's Extensions panel and install it from
> there.

## Prerequisites

- A supported coding agent: Antigravity CLI, Claude Code, Codex CLI, or another Agent Plugins–compatible client.

- **Node.js** (latest LTS recommended).

- **Google Cloud CLI (`gcloud`)**, installed and authenticated:
  1. [Install the gcloud CLI](https://cloud.google.com/sdk/docs/install).
  2. Log in with your Google Cloud account:

     ```bash
     gcloud auth login
     ```

  3. Log in to
     [Application Default Credentials (ADC)](https://cloud.google.com/docs/authentication/provide-credentials-adc):

     ```bash
     gcloud auth application-default login
     ```

## Installation

<!-- {x-release-please-start-version} -->

<details>
<summary><b>Antigravity CLI</b></summary>

```bash
agy plugin install https://github.com/GoogleCloudPlatform/data-agent-kit-plugin
```

</details>

<details>
<summary><b>Claude Code</b></summary>

```bash
claude plugin marketplace add https://github.com/GoogleCloudPlatform/data-agent-kit-plugin
claude plugin install dak@dak-marketplace
```

</details>

<details>
<summary><b>Codex CLI</b></summary>

```bash
codex plugin marketplace add GoogleCloudPlatform/data-agent-kit-plugin
codex plugin add dak@dak-marketplace
```

</details>

<details>
<summary><b>Any Agent Plugins–compatible client</b></summary>

Point your client's plugin install command at this repository:

```text
https://github.com/GoogleCloudPlatform/data-agent-kit-plugin
```

See your agent's documentation for the exact command.

</details>

## Configuration

<details>
<summary><b>Antigravity CLI and Claude Code</b></summary>

Provide any prompt to your agent and it will walk you through configuring
Data Agent Kit.

Alternatively, you can manually invoke the Data Agent Kit setup skill:

```text
/dak:dak-setup
```

Restart your agent when prompted to complete the setup.
</details>

<details>
<summary><b>Codex CLI</b></summary>
Codex runs with a sandbox by default that prevents Data Agent Kit from
configuring itself. Temporarily disable the sandbox to allow setup:

```bash
codex -s danger-full-access
```

Invoke the Data Agent Kit setup skill:

```text
$dak:dak-setup
```

Restart your agent when prompted to complete the setup. You can now use Codex
normally with the sandbox enabled.
</details>

<!-- {x-release-please-end} -->
<!-- github-release-force: 1.1.0 -->

## Features and Common Uses

- **Data engineering:** Build pipelines that turn source data into
  analysis-ready tables, with quality checks along the way. Develop
  transformations with dbt or Dataform, schedule workflows with Managed Service
  for Apache Airflow, and debug failed runs by tracing execution logs and code.
- **Data science:** Develop experiments in Jupyter notebooks on local Python or
  remote Managed Service for Apache Spark kernels. Prepare features from
  BigQuery, train models with BigQuery ML, and schedule batch inference.
- **Data analysis:** Explore data across BigQuery, AlloyDB, and Cloud SQL. Find
  datasets with Knowledge Catalog, guided by data quality metrics and lineage,
  then build visualizations or reusable data models.

## Example Prompts

- "Create a PySpark notebook to train a distributed Random Forest model on the
BigQuery table `my_transactions`
- "Find datasets about customer orders in Knowledge Catalog and show their
  lineage"
- "Create an Airflow DAG that runs the dedup notebook, the dbt pipeline, and
  model training every Monday morning.
- "My last Dataflow job failed. Find the root cause in the logs and propose a
  fix"

## Troubleshooting

If you see `could not find default credentials` or other auth errors, ensure you
are logged into gcloud.

Exit your agent, run `gcloud auth login` followed by
`gcloud auth application-default login`, then restart your agent.

## Security

Your agent can run tools and commands on your behalf. Apply the **principle of
least privilege** to every CLI, MCP server, and resource it can access:

- Use
  [service account impersonation](https://cloud.google.com/docs/authentication/use-service-account-impersonation)
  instead of end-user credentials.
- Grant the service account only the
  [roles it needs](https://cloud.google.com/iam/docs/roles-overview).
- Use
  [Principal Access Boundary policies](https://cloud.google.com/iam/docs/principal-access-boundary-policies#use-case-one-project)
  with a condition in the policy binding to restrict your agent's service
  accounts to intended projects.

Learn how to
[mitigate prompt injection risks](https://docs.cloud.google.com/data-cloud-extension/vs-code/prompt-injection-risk)
with Google Cloud MCP.

## Usage Statistics

Data Agent Kit collects usage statistics (such as when included skills and MCP
tools are used) to improve reliability and performance. No user code, file
contents, or application data values are collected.

To opt out, either set `DO_NOT_TRACK=1` in your environment:

```bash
export DO_NOT_TRACK=1
```

Or create or update `~/.data_agent_kit/config.json`:

```json
{
  "enableTelemetry": false
}
```

## Feedback

We want your feedback! Please [open an issue](issues/new) to report bugs,
file feature requests, or ask questions.

## Resources

- [Data Agent Kit homepage](https://cloud.google.com/products/data-agent-kit)
- [Data Agent Kit documentation](https://docs.cloud.google.com/data-agent-kit)

© Google LLC · Apache-2.0 · GoogleCloudPlatform/data-agent-kit-plugin

Similar plugins

All plugins for Cloud: AWS, Azure, GCP →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor