Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .claude-plugin/mcp.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
"command": "node",
"type": "stdio",
"args": [
"${CLAUDE_PLUGIN_ROOT}/mcp/dist/index.js",
"--mode=data-agent-kit"
"${CLAUDE_PLUGIN_ROOT}/mcp/dist/dak-mcp.js"
]
},
"dak-alloydb": {
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/markdown-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,23 @@
branches: [ main ]

jobs:
link-check:

Check warning on line 22 in .github/workflows/markdown-checks.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

markdown-checks.yml:22: overly broad permissions: default permissions used due to no permissions: block
name: Run link check
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6

Check warning on line 27 in .github/workflows/markdown-checks.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

markdown-checks.yml:27: action's hash pin has mismatched or missing version comment: points to commit d23441a48e51

- name: Link Checker
uses: lycheeverse/lychee-action@8646ba30535128ac92d33dfc9133794bfdd9b411 # v2.8.0
with:
# There is no security token. So, it would fail on any links which aren't public.
#
# The google-cloud-storage-*, bigtable-basics, bigquery-*, and gcp-spark-observability skill docs
# The google-cloud-storage-*, bigtable-basics, bigquery-*, gcp-spark-observability,
# and managed-mlflow-notebook skill docs
# contain illustrative command examples and Console URLs with placeholder
# buckets, projects, regions, endpoints, versions, and accounts. Additionally,
# external CI runner IPs hitting Google Cloud documentation links trigger
# Google anti-abuse rate limits. Exclude these partner skill paths from the
# link checker.
args: "--verbose --no-progress --exclude-path skills/google-cloud-storage-basics --exclude-path skills/google-cloud-storage-fuse --exclude-path skills/google-cloud-storage-bucket-architect --exclude-path skills/bigtable-basics --exclude-path skills/bigtable_basics --exclude-path skills/bigquery-observability --exclude-path skills/bigquery-optimization --exclude-path skills/bigquery-troubleshooting --exclude-path skills/gcp-spark-observability --exclude-path skills/gcp_spark_observability **/*.md"
args: "--verbose --no-progress --exclude-path skills/google-cloud-storage-basics --exclude-path skills/google-cloud-storage-fuse --exclude-path skills/google-cloud-storage-bucket-architect --exclude-path skills/bigtable-basics --exclude-path skills/bigtable_basics --exclude-path skills/bigquery-observability --exclude-path skills/bigquery-optimization --exclude-path skills/bigquery-troubleshooting --exclude-path skills/gcp-spark-observability --exclude-path skills/gcp_spark_observability --exclude-path skills/managed-mlflow-notebook --exclude-path skills/managed_mlflow_notebook **/*.md"
3 changes: 3 additions & 0 deletions .github/workflows/skills-validate-fallback.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ on:
- "skills/**"
workflow_dispatch:

permissions:
contents: read

jobs:
skills-validate:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/skills-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
skills-validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3

- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: "3.11"

Expand Down
3 changes: 1 addition & 2 deletions mcp.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
"command": "node",
"type": "stdio",
"args": [
"${PLUGIN_ROOT}/mcp/dist/index.js",
"--mode=data-agent-kit"
"${PLUGIN_ROOT}/mcp/dist/dak-mcp.js"
]
},
"dak-alloydb": {
Expand Down
47 changes: 47 additions & 0 deletions mcp/dist/dak-mcp.js

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions mcp_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
"command": "node",
"type": "stdio",
"args": [
"mcp/dist/index.js",
"--mode=data-agent-kit"
"mcp/dist/dak-mcp.js"
]
},
"dak-alloydb": {
Expand Down
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
"name": "data-agent-kit",
"version": "1.3.0",
"description": "Developer toolkit for Data Cloud and AI integrations.",
"bin": {
"data-agent-kit": "mcp/dist/index.js",
"notebook-tools": "mcp/dist/index.js"
},
"dependencies": {
"cross-spawn": "^7.0.3"
}
Expand Down
8 changes: 4 additions & 4 deletions skills/bigquery-data-transfer-service/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: Discovers and inspects BigQuery Data Transfer Service (DTS) configu
data that may already be managed by a DTS transfer.
license: Apache-2.0
metadata:
version: v2
version: v3
publisher: google
---

Expand All @@ -18,8 +18,8 @@ metadata:
> [!IMPORTANT]
>
> All new BigQuery Data Transfer Service (DTS) configurations **MUST** be
> provisioned through the **gcp pipeline resource provisioning** framework,
> which includes generating a `deployment.yaml`.
> provisioned through the **gcp pipeline provisioning** framework, which
> includes generating a `deployment.yaml`.
>
> - **Do NOT** use imperative CLI commands (e.g., `bq mk` or `gcloud`) to
> create or update configurations.
Expand Down Expand Up @@ -185,7 +185,7 @@ of the tasks.
## Definition of Done

- A BigQuery DTS transfer configuration has been discovered or provisioned
declaratively (via **gcp pipeline resource provisioning** with a generated
declaratively (via **gcp pipeline provisioning** with a generated
`deployment.yaml`).
- Mandatory datasource parameters have been identified and confirmed with the
user.
Expand Down
8 changes: 7 additions & 1 deletion skills/dak-setup/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: dak-setup
description: Configures (or reconfigures) the Google Cloud Data Agent Kit (DAK) plugin by checking gcloud and ADC credentials, collecting the GCP project ID, region, and services, and running its bundled `dak-setup` script. Use this proactively and without waiting to be asked whenever a SessionStart hook or any other system/context message reports that the Data Agent Kit plugin is not configured, is missing configuration, or needs to be reconfigured. Also use it whenever the user mentions setting up, configuring, reconfiguring, or changing the project, region, or service integrations for the Data Agent Kit or DAK plugin — even if they phrase it casually, like "dak isn't working" or "I want to enable more GCP service integrations".
license: Apache-2.0
metadata:
version: v2
version: v3
publisher: google
---

Expand Down Expand Up @@ -170,6 +170,12 @@ Details that matter:
"/home/ana/.claude/plugins/data-agent-kit/skills/setup/scripts/dak-setup.js"
save --project-id "acme-analytics-prod" --region "us-central1" --services
"BigQuery" "Cloud Storage" "Dataflow"`
- Preview features: only if the user asks for one, add `--preview` with the
preview name, for example `--preview "managed-spark-workloads"` for Managed
Spark Workloads (Private Preview; the project must be allowlisted). Without
`--preview`, `save` keeps the previews that are already configured; pass
`--clear-previews` to disable all saved previews. Do not offer previews on
your own.
- Setup can take a few minutes depending on how many services were selected.
Run it in the foreground with an extended timeout (around 10 minutes) so it
isn't killed partway through.
Expand Down
Loading
Loading