spark-engineer

spark-engineer is a skill for Claude Code, Codex from eric861129/SKILLS_All-in-one. It costs 75 tokens per session (1,451 once invoked), scanned A, a copy of spark-engineer, MIT.

A specialist guide to Apache Spark, a system for processing large datasets across multiple machines. It covers Spark jobs, table-like transformations, SQL, distributed data structures, and cluster performance.

In plain words
What is it for?
Use it to build data-processing pipelines, write Spark SQL and DataFrame transformations, tune joins and partitioning, debug slow jobs, and configure Spark clusters.
Why use it?
It helps avoid bottlenecks when data processing is spread across a cluster. It provides checks for issues such as uneven work distribution, excessive data movement, and memory spill.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build data-processing pipelines, write Spark SQL and DataFrame transformations, tune joins and partitioning, debug slow jobs, and configure Spark clusters.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/eric861129/skills_all-in-one/spark-engineer
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 eric861129/SKILLS_All-in-one --skill spark-engineer
Clone the repo
git clone --depth 1 https://github.com/eric861129/SKILLS_All-in-one

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/eric861129/skills_all-in-one/spark-engineer/github.svg)](https://agentmods.dev/skills/eric861129/skills_all-in-one/spark-engineer)
Your own site
<a href="https://agentmods.dev/skills/eric861129/skills_all-in-one/spark-engineer"><img src="https://agentmods.dev/badge/skills/eric861129/skills_all-in-one/spark-engineer/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 spark-engineer

Your own site · 80×15
<a href="https://agentmods.dev/skills/eric861129/skills_all-in-one/spark-engineer"><img src="https://agentmods.dev/badge/skills/eric861129/skills_all-in-one/spark-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,451 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 98% copy Near-identical to another mod 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.00075 $0.01451
Opus 5 $0.00037 $0.00726
Sonnet 5 $0.00015 $0.00290
Haiku 4.5 $0.00007 $0.00145

Measured 7d ago against content hash 4844b7aa4007, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

spark-engineer 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 7d 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.

Origin

This is a copy

98% identical to spark-engineer — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

public/SKILLS/Data & Analysis/spark-engineer/SKILL.md · 149 lines

How it starts

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

Spark Engineer

Senior Apache Spark engineer specializing in high-performance distributed data processing, optimizing large-scale ETL pipelines, and building production-grade Spark applications.

Core Workflow

  1. Analyze requirements - Understand data volume, transformations, latency requirements, cluster resources
  2. Design pipeline - Choose DataFrame vs RDD, plan partitioning strategy, identify broadcast opportunities
  3. Implement - Write Spark code with optimized transformations, appropriate caching, proper error handling
  4. Optimize - Analyze Spark UI, tune shuffle partitions, eliminate skew, optimize joins and aggregations
  5. Validate - Check Spark UI for shuffle spill before proceeding; verify partition count with df.rdd.getNumPartitions(); if spill or skew detected, return to step 4; test with production-scale data, monitor resource usage, verify performance targets

Reference Guide

Load detailed guidance based on context:

Topic Reference Load When
Spark SQL & DataFrames references/spark-sql-dataframes.md DataFrame API, Spark SQL, schemas, joins, aggregations
RDD Operations references/rdd-operations.md Transformations, actions, pair RDDs, custom partitioners
Partitioning & Caching references/partitioning-caching.md Data partitioning, persistence levels, broadcast variables
Performance Tuning references/performance-tuning.md Configuration, memory tuning, shuffle optimization, skew handling
Streaming Patterns references/streaming-patterns.md Structured Streaming, watermarks, stateful operations, sinks

Code Examples

Quick-Start Mini-Pipeline (PySpark)

from pyspark.sql import SparkSession
from pyspark.sql import functions as F
from pyspark.sql.types import StructType, StructField, StringType, LongType, DoubleType

spark = SparkSession.builder \
    .appName("example-pipeline") \
    .config("spark.sql.shuffle.partitions", "400") \
    .config("spark.sql.adaptive.enabled", "true") \
    .getOrCreate()

# Always define explicit schemas in production
schema = StructType([
    StructField("user_id", StringType(), False),
    StructField("event_ts", LongType(), False),
    StructField("amount", DoubleType(), True),
])

df = spark.read.schema(schema).parquet("s3://bucket/events/")

result = df \
    .filter(F.col("amount").isNotNull()) \
    .groupBy("user_id") \
    .agg(F.sum("amount").alias("total_amount"), F.count("*").alias("event_count"))

# Verify partition count before writing
print(f"Partition count: {result.rdd.getNumPartitions()}")

result.write.mode("overwrite").parquet("s3://bucket/output/")

Read the full file on GitHub · 149 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago First seen · 149 lines · 75 tokens per session scan A 4844b7aa4007

Subscribe to this mod's changes

spark-engineer is a skill published in the GitHub repository eric861129/SKILLS_All-in-one (52 stars, last pushed 4mo ago), licensed MIT. It adds 75 tokens to every session and 1,451 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. It is 98% identical to spark-engineer, differing in 2 lines, and is treated as a copy.

Related

Other skills, from other repositories

prompt-architect

Analyzes and improves prompts using 31 frameworks across 7 intent categories. Use when a user wants to improve, rewrite, structure, or engineer a prompt — including requests like "help me write a better prompt", "improve this prompt", "what framework should I use", "make this prompt more effective", or any prompt…

ckelsoe/prompt-architect · 111 tokens

extremerouter-stt

Speech-to-text via ExtremeRouter /v1/audio/transcriptions using OpenAI Whisper / Groq / Gemini / Deepgram / AssemblyAI / NVIDIA / HuggingFace models. Use when the user wants to transcribe audio, convert speech to text, or get subtitles from audio files.

rsalmn/ExtremeRouter · 64 tokens

extremerouter

Entry point for ExtremeRouter — local/remote AI gateway with OpenAI-compatible REST for chat, image, TTS, embeddings, web search, web fetch. Use when the user mentions ExtremeRouter, NINEROUTERURL, or wants AI without writing provider boilerplate. This skill covers setup + indexes capability skills; fetch the relevant…

rsalmn/ExtremeRouter · 84 tokens

anthropic-api-knowledge-patch

Use this skill when building or migrating integrations for the Messages API, hosted platform variants, Managed Agents, structured outputs, tools, streaming, prompt caching, model selection, or rate-limit handling. Treat the project's actual SDK types, API responses, and model metadata as authoritative when they differ…

Nevaberry/nevaberry-plugins · 11 tokens

apache-flink-knowledge-patch

Use this skill when upgrading or operating Flink, writing DataStream or Table API jobs, changing SQL, implementing connectors, or diagnosing state, checkpoint, scheduling, and deployment behavior. Start with the quick checks, then open the topic reference that matches the work.

Nevaberry/nevaberry-plugins · 11 tokens

dagster-knowledge-patch

Use this skill when upgrading or maintaining Dagster definitions, Components, automation, execution infrastructure, storage, deployment configuration, or integration packages. Check the installed Dagster and integration-package versions first, then open the reference that matches the task.

Nevaberry/nevaberry-plugins · 9 tokens