apache-spark-knowledge-patch

A reference guide for Apache Spark, a system for processing large datasets with batch or streaming applications. It covers modern Spark runtime, SQL, data sources, streaming, Python, machine learning, and deployment features.

In plain words
What is it for?
It supports Spark upgrades, configuration, SQL and DataFrame work, data sources, streaming and checkpoints, PySpark, Spark Connect, machine-learning pipelines, and deployment debugging.
Why use it?
It helps match advice to the application's Spark version and avoids relying on outdated behavior when upgrading, configuring, extending, or debugging it.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/nevaberry/nevaberry-plugins/apache-spark-knowledge-patch
Any agent
npx skills add Nevaberry/nevaberry-plugins --skill apache-spark-knowledge-patch
Clone the repo
git clone --depth 1 https://github.com/Nevaberry/nevaberry-plugins

Made for: Claude Code, Codex.

Per session 10 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,218 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00010 $0.02218
Opus 5 $0.00005 $0.01109
Sonnet 5 $0.00002 $0.00444
Haiku 4.5 $0.00001 $0.00222

Measured 2d ago against content hash a15e211c02b9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

apache-spark-knowledge-patch 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 2d 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.

plugins/knowledge-patch/patches-claude/apache-spark-knowledge-patch/SKILL.md · 194 lines

How it starts

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

Apache Spark Knowledge Patch

Use this skill when upgrading, configuring, extending, or debugging modern Apache Spark applications. Check the application's Spark version before using version-specific advice, and prefer the application's manifests, code, and tests when they demonstrate different behavior.

Reference index

Reference Topics
references/migration-and-runtime.md Core runtime defaults, compatibility switches, API corrections, and upgrade hazards
references/sql-and-dataframes.md SQL semantics, parser and DDL changes, expressions, types, views, and DataFrame behavior
references/data-sources-and-formats.md Data Source V2, JDBC, catalogs, file formats, schema evolution, and connector APIs
references/streaming-and-state.md Structured Streaming triggers, checkpoints, state APIs, joins, and Python streaming sources
references/python-and-pandas.md PySpark requirements, Arrow execution, pandas API on Spark, UDFs, exceptions, and inference
references/connect-ml-and-pipelines.md Spark Connect, Spark ML, Declarative Pipelines, client modes, and remote lifecycle APIs
references/deployment-security-observability.md Kubernetes, YARN, standalone deployment, security, metrics, logging, web UI, and History Server
references/dependencies-and-packaging.md Bundled libraries, language runtimes, build flags, packaging, and dependency alignment

Upgrade triage

Before changing code, identify whether the failure comes from a new default, a removed compatibility alias, a stricter correctness check, or a genuinely new API. Use the following order:

  1. Pin the exact Spark runtime used by driver and executors.
  2. Compare SQL, Python, streaming, storage, and deployment compatibility flags.
  3. Confirm bundled dependency overrides match Spark's own dependency line.
  4. Re-run query-result and checkpoint-restart tests, not only compilation.
  5. Use a legacy switch only as a temporary migration step and document it.

Read the full file on GitHub · 194 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. 2d ago First seen · 194 lines · 10 tokens per session scan A a15e211c02b9

Subscribe to this mod's changes

apache-spark-knowledge-patch is a skill published in the GitHub repository Nevaberry/nevaberry-plugins (24 stars, last pushed 5d ago), licensed MIT. It adds 10 tokens to every session and 2,218 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

design-mcp-server

Design the tool surface, resources, and service layer for a new MCP server. Use when starting a new server, planning a major feature expansion, or when the user describes a domain/API they want to expose via MCP. Produces a design doc at docs/design.md that drives implementation.

cyanheads/obsidian-mcp-server · 62 tokens

api-context

Canonical reference for the unified Context object passed to every tool and resource handler in @cyanheads/mcp-ts-core. Covers the full interface, its RequestContext base, all sub-APIs (ctx.log, ctx.state, ctx.requestInput, ctx.inputs, ctx.enrich, ctx.content), and when to use each.

cyanheads/obsidian-mcp-server · 79 tokens

api-canvas

DataCanvas primitive reference — a Tier 3 SQL/analytical workspace for tabular MCP servers, backed by DuckDB. Use when registering tables from upstream APIs, running ad-hoc SQL across them, and exporting results. Covers the acquire → register → query → export flow, per-table TTL, the token-sharing pattern for…

cyanheads/obsidian-mcp-server · 85 tokens

api-testing

Testing patterns for MCP tool/resource handlers using createMockContext and Vitest. Covers mock context options, handler testing, McpError assertions, format testing, Vitest config setup, and test isolation conventions.

cyanheads/obsidian-mcp-server · 46 tokens

field-test

Exercise tools, resources, and prompts against a live HTTP server via MCP JSON-RPC over curl. Starts the server, surfaces the catalog, runs real and adversarial inputs, and produces a tight report with concrete findings and numbered follow-up options. Use after adding or modifying definitions, or when the user asks to…

cyanheads/obsidian-mcp-server · 76 tokens

api-config

Reference for core and server configuration in @cyanheads/mcp-ts-core. Covers env var tables with defaults, priority order, server-specific Zod schema pattern, and Workers lazy-parsing requirement.

cyanheads/obsidian-mcp-server · 43 tokens