apache-spark

apache-spark is a skill for Claude Code from Galius5136/databricks-spark-3.5-cert-prep. It costs 77 tokens per session (3,433 once invoked), scanned A, original, MIT.

A reference guide to Apache Spark and PySpark, including distributed data processing, DataFrames, SQL, and streaming. Spark divides large computations across multiple machines.

In plain words
What is it for?
Use it to study Spark architecture, work with DataFrame and SQL APIs, configure processing, and understand streaming or performance topics.
Why use it?
It provides structured explanations for learning Spark concepts, preparing for certification, and solving common PySpark tasks.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to study Spark architecture, work with DataFrame and SQL APIs, configure processing, and understand streaming or performance topics.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/galius5136/databricks-spark-3.5-cert-prep/apache-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 Galius5136/databricks-spark-3.5-cert-prep --skill apache-spark
Clone the repo
git clone --depth 1 https://github.com/Galius5136/databricks-spark-3.5-cert-prep

Made for: Claude Code.

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 apache-spark

README.md
[![agentmods](https://agentmods.dev/badge/skills/galius5136/databricks-spark-3.5-cert-prep/apache-spark.svg)](https://agentmods.dev/skills/galius5136/databricks-spark-3.5-cert-prep/apache-spark)
Your own site
<a href="https://agentmods.dev/skills/galius5136/databricks-spark-3.5-cert-prep/apache-spark"><img src="https://agentmods.dev/badge/skills/galius5136/databricks-spark-3.5-cert-prep/apache-spark.svg" alt="Measured on agentmods" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,433 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00077 $0.03433
Opus 5 $0.00039 $0.01716
Sonnet 5 $0.00015 $0.00687
Haiku 4.5 $0.00008 $0.00343

Measured 8d ago against content hash 64b53306d5d7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

apache-spark scanned grade A with 0 findings 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 8d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/apache-spark/SKILL.md · 255 lines

How it starts

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

Learning Spark, 2nd Edition — Knowledge Base

Authors: Jules S. Damji, Brooke Wenig, Tathagata Das, Denny Lee | Chapters: 12 | Generated: 2026-05-24

This skill is tuned for Databricks Certified Associate Developer for Apache Spark exam prep — PySpark first, with emphasis on architecture, DataFrame API, Spark SQL, tuning, and Structured Streaming.

How to Use This Skill

  • Without arguments — load the Core Frameworks below as a Spark mental model.
  • By topic — ask about shuffle partitions, broadcast join, watermark, output modes, etc. → I find and read the relevant chapter.
  • By chapter number — ask for ch07 to load that specific chapter file.
  • Browse — ask "what chapters do you have?" to see the full index.

When you ask about a topic that's only briefly mentioned in Core Frameworks, I'll read the relevant chapter file before answering.


Core Frameworks & Mental Models

Spark in one paragraph

A unified engine for large-scale data processing. The driver orchestrates executors on a cluster; computation is expressed as a DAG of transformations (lazy) and actions (eager). Structured APIs (DataFrame, Dataset) are optimized by the Catalyst optimizer and compiled by Tungsten into compact JVM bytecode. The same engine powers batch (Spark SQL), streaming (Structured Streaming), ML (MLlib), and graph (GraphX) workloads.

Execution hierarchy (memorize for the exam)

ApplicationJob (per action) → Stage (split at every shuffle/exchange) → Task (one per partition, runs on one executor core).

Lazy evaluation + lineage

Transformations record a lineage DAG; actions trigger execution. Lineage = fault tolerance — Spark can rebuild lost partitions by replaying transformations on the source data.

Narrow vs Wide transformations

Narrow (filter, select, map, union): 1 input partition → 1 output partition, no shuffle. Wide (groupBy, orderBy, join, distinct, repartition): cross-partition data exchange → stage boundary.

Read the full file on GitHub · 255 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. 8d ago First seen · 255 lines · 77 tokens per session scan A 64b53306d5d7

Subscribe to this mod's changes

apache-spark is a skill published in the GitHub repository Galius5136/databricks-spark-3.5-cert-prep (12 stars, last pushed 3mo ago), licensed MIT. It adds 77 tokens to every session and 3,433 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.