dataproc-skills

v2026.09.24

Skills to interact with your Dataproc clusters and jobs.

GitHub
安装命令
npx skhub add cline/dataproc-skills
Markdown
SKILL.md

Usage

All scripts can be executed using Node.js. Replace <param_name> and <param_value> with actual values.

Bash: node <skill_dir>/scripts/<script_name>.js '{"<param_name>": "<param_value>"}'

PowerShell: node <skill_dir>/scripts/<script_name>.js '{\"<param_name>\": \"<param_value>\"}'

Note: The scripts automatically load the environment variables from various .env files. Do not ask the user to set vars unless skill executions fails due to env var absence.

Scripts

get_cluster

Gets a Dataproc cluster

Parameters

NameTypeDescriptionRequiredDefault
clusterNamestringThe short name of the cluster, e.g. for "projects/my-project/regions/us-central1/clusters/my-cluster", pass "my-cluster" (the project and region are inherited from the source)No

get_job

Gets a Dataproc job

Parameters

NameTypeDescriptionRequiredDefault
jobIdstringThe job ID, e.g. for "projects/my-project/regions/us-central1/jobs/my-job", pass "my-job" (the project and region are inherited from the source)No

list_clusters

Lists and filters Dataproc clusters

Parameters

NameTypeDescriptionRequiredDefault
filterstringA filter constraining the clusters to list. Filters are case-sensitive and have the following syntax: field = value [AND [field = value]] ... where field is one of status.state, clusterName, or labels.[KEY], and [KEY] is a label key. value can be * to match all values. status.state can be one of the following: ACTIVE, INACTIVE, CREATING, RUNNING, ERROR, DELETING, UPDATING, STOPPING, or STOPPED. ACTIVE contains the CREATING, UPDATING, and RUNNING states. INACTIVE contains the DELETING, ERROR, STOPPING, and STOPPED states. clusterName is the name of the cluster provided at creation time. Only the logical AND operator is supported; space-separated items are treated as having an implicit AND operator.No
pageSizeintegerThe maximum number of clusters to return in a single page (default 20)No20
pageTokenstringA page token, received from a previous ListClusters callNo

list_jobs

Lists and filters Dataproc jobs

Parameters

NameTypeDescriptionRequiredDefault
filterstringA filter constraining the jobs to list. Filters are case-sensitive and have the following syntax: field = value [AND [field = value]] ... where field is clusterName, status.state, or labels.[KEY], and [KEY] is a label key. value can be * to match all values. status.state can be one of the following: PENDING, RUNNING, CANCEL_PENDING, JOB_STATE_CANCELLED, DONE, ERROR, or ATTEMPT_FAILURE. Only the logical AND operator is supported; space-separated items are treated as having an implicit AND operator. Filtering by clusterName is recommended to improve query performance.No
jobStateMatcherstringSpecifies if the job state matcher should match ALL jobs, only ACTIVE jobs, or only NON_ACTIVE jobs. Defaults to ALL. Supported values: ALL, ACTIVE, NON_ACTIVE.No
pageSizeintegerThe maximum number of jobs to return in a single page (default 20)No20
pageTokenstringA page token, received from a previous ListJobs callNo

发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

2026年9月24日

分类

未分类

许可证

Apache-2.0

源路径

skills/dataproc-skills

默认分支

main

最新提交

2637846

Tree SHA

3e51c9f