gcp-spark

gcp-spark is a skill for Claude Code, Codex from saski/arnesto. It costs 253 tokens per session (4,125 once invoked), scanned A, original, Unlicense.

A guide for developing and running Apache Spark data-processing and machine-learning jobs on Google Cloud Dataproc, including serverless runs.

In plain words
What is it for?
Use it to create Spark notebooks, inspect data schemas, read and write through BigLake Iceberg, BigQuery, or Spanner, debug failures, and train or run models.
Why use it?
It helps avoid incorrect data fields, incompatible output schemas, and inefficient Spark jobs when working with cloud data.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to create Spark notebooks, inspect data schemas, read and write through BigLake Iceberg, BigQuery, or Spanner, debug failures, and train or run models.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/saski/arnesto/gcp-spark
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add saski/arnesto --skill gcp-spark
Clone the repo
git clone --depth 1 https://github.com/saski/arnesto

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gcp-spark

README.md
[![agentmods](https://agentmods.dev/badge/skills/saski/arnesto/gcp-spark/github.svg)](https://agentmods.dev/skills/saski/arnesto/gcp-spark)
Your own site
<a href="https://agentmods.dev/skills/saski/arnesto/gcp-spark"><img src="https://agentmods.dev/badge/skills/saski/arnesto/gcp-spark/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gcp-spark

Your own site · 80×15
<a href="https://agentmods.dev/skills/saski/arnesto/gcp-spark"><img src="https://agentmods.dev/badge/skills/saski/arnesto/gcp-spark.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 253 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,125 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00253 $0.04125
Opus 5.5 $0.00101 $0.01650
Sonnet 5.5 $0.00051 $0.00825
Haiku 4.5 $0.00025 $0.00413

Measured 5d ago against content hash 0d60b9e8555b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gcp-spark scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

files, download JARs from Maven Central (`curl`/`wget`) to upload to
.agents/skills/gcp-spark/SKILL.md · 336 lines

How it starts

The opening of the file, as written. The whole thing — 336 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Managed Spark on Google Cloud

Keep authoring and schema inspection within the requested scope. Run jobs, create sessions or resources, upload dependencies, or write data only when the user authorized the target and operation. Treat Maven uploads and IAM changes as separate actions.

[!IMPORTANT]

You MUST follow the Task Execution Workflow when writing spark code.

Notebook Generation Environment Rules

[!CAUTION]

When the task is to generate a Spark notebook (as opposed to executing one), you MUST NOT modify your own local execution environment (i.e. do not run these commands with your shell or other tools). Specifically:

  • NEVER create a virtual environment (python -m venv, virtualenv, conda create, uv venv, poetry init/install, etc.).
  • NEVER install packages (pip install, %pip install, uv pip install, conda install, poetry add).
  • NEVER run environment discovery loops such as activating a venv, pip list, or probing for ipykernel / google-cloud-spark-connect as a precondition for writing the notebook.

Assume the user will select the appropriate kernel and dependencies after the notebook is generated.

Task Execution Workflow

  1. Understand user request:

    • New Spark notebooks target the Local Python kernel and connect to Managed Spark Serverless with ManagedSparkSession (Spark Connect); do NOT ask the user which kernel to use. Only when the prompt explicitly asks for a Remote Spark kernel or to run against a Dataproc cluster, skip session initialization and use the pre-initialized spark variable. Use the Runtime Profile (formerly Session Template) named in the prompt; otherwise ask the user which one to use (scan for existing ones with gcloud dataproc session-templates list --location=<REGION>). Local Python notebooks MUST start with these two cells (plain constants; no os.environ, no Session() objects):

Read the full file on GitHub · 336 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago Changed · +246 lines · +142 tokens per session 0d60b9e8555b
  2. 3mo ago First seen · 90 lines · 111 tokens per session scan A 01e5234be715

Subscribe to this mod's changes

gcp-spark is a skill published in the GitHub repository saski/arnesto (7 stars, last pushed 5d ago), licensed Unlicense. It adds 253 tokens to every session and 4,125 once invoked, about $0.0010 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

gcp-spark compared with skills from other repositories

gcp-spark next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gcp-sparksaski/arnestoSkill75d agoUnlicenseA253Claude Code, Codex
cdf-event-video-generationNVIDIA/skillsSkill4.2ktodayApache-2.0A167Codex
cdf-image-attribute-augmentationNVIDIA/skillsSkill4.2ktodayApache-2.0A89Codex
cdf-video-data-augmentationNVIDIA/skillsSkill4.2ktodayApache-2.0A97Codex
tao-train-pointpillarsNVIDIA/skillsSkill4.2ktodayApache-2.0A110Claude Code
nemo-automodel-launcher-configNVIDIA/skillsSkill4.2ktodayApache-2.0A30Claude Code
mcore-run-on-slurmNVIDIA/skillsSkill4.2ktodayApache-2.0A65Claude Code