fabric-spark-perf-remediate

fabric-spark-perf-remediate is a skill for Claude Code, Codex from PatrickGallucci/fabric-skills. It costs 140 tokens per session (1,851 once invoked), scanned A, original, MIT.

A troubleshooting guide for Apache Spark workloads in Microsoft Fabric, Microsoft's cloud platform for data work. Spark runs data-processing code across multiple computers, and this guide covers diagnosing and fixing slow jobs and related capacity or storage problems.

In plain words
What is it for?
Use it to investigate slow Spark notebooks and SQL queries, shuffle bottlenecks, throttling, streaming slowdowns, Delta Lake small files, resource profiles, and related Spark settings.
Why use it?
It helps identify whether slowness comes from data skew, excessive data movement between computers, too many small files, limited capacity, or unsuitable settings. It provides structured checks for choosing a fix.

Skill for Claude CodeCodex

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

Good fit Use it to investigate slow Spark notebooks and SQL queries, shuffle bottlenecks, throttling, streaming slowdowns, Delta Lake small files, resource profiles, and related Spark settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/patrickgallucci/fabric-skills/fabric-spark-perf-remediate
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 PatrickGallucci/fabric-skills --skill fabric-spark-perf-remediate
Clone the repo
git clone --depth 1 https://github.com/PatrickGallucci/fabric-skills

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 fabric-spark-perf-remediate

README.md
[![agentmods](https://agentmods.dev/badge/skills/patrickgallucci/fabric-skills/fabric-spark-perf-remediate/github.svg)](https://agentmods.dev/skills/patrickgallucci/fabric-skills/fabric-spark-perf-remediate)
Your own site
<a href="https://agentmods.dev/skills/patrickgallucci/fabric-skills/fabric-spark-perf-remediate"><img src="https://agentmods.dev/badge/skills/patrickgallucci/fabric-skills/fabric-spark-perf-remediate/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 fabric-spark-perf-remediate

Your own site · 80×15
<a href="https://agentmods.dev/skills/patrickgallucci/fabric-skills/fabric-spark-perf-remediate"><img src="https://agentmods.dev/badge/skills/patrickgallucci/fabric-skills/fabric-spark-perf-remediate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 140 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,851 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.00140 $0.01851
Opus 5 $0.00070 $0.00925
Sonnet 5 $0.00028 $0.00370
Haiku 4.5 $0.00014 $0.00185

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

Security

Grade A, and why

fabric-spark-perf-remediate 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 12d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/Get-FabricSparkDiagnostics.ps1, templates/spark-perf-notebook.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/fabric-spark-perf-remediate/SKILL.md · 160 lines

How it starts

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

Microsoft Fabric Apache Spark Performance remediate

Systematic workflows for diagnosing, analyzing, and resolving Apache Spark performance problems in Microsoft Fabric Data Engineering and Data Science workloads.

When to Use This Skill

Activate when encountering any of the following scenarios:

  • Spark notebooks or jobs running slower than expected
  • Capacity throttling errors (HTTP 430 / TooManyRequestsForCapacity)
  • Data skew detected by Spark Advisor in notebook cells
  • Excessive shuffle read/write in Spark UI stages
  • Small files accumulation in Delta Lake tables
  • Streaming ingestion throughput degradation
  • Need to select or tune a Fabric Spark resource profile
  • VOrder vs. Optimized Write decision-making
  • Autotune configuration and validation
  • Right-sizing Spark pools, node counts, or Fabric capacity SKUs

Prerequisites

  • Access to a Microsoft Fabric workspace with Data Engineering enabled
  • Contributor or higher role on the workspace
  • Familiarity with PySpark or Spark SQL
  • PowerShell 7+ (for diagnostic scripts)
  • Fabric REST API access token (for API-based diagnostics)

Quick Diagnosis Decision Tree

Start here when a Spark job is slow:

  1. Is the job queued or throttled? Check Monitoring Hub for HTTP 430.

  2. Did the Spark Advisor flag warnings? Check notebook cell indicators.

  3. Is a single stage disproportionately slow? Open Spark UI → Stages tab.

  4. Are executors underutilized? Check Resources tab in monitoring detail.

Read the full file on GitHub · 160 lines

Files

What ships with it

6 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. 12d ago First seen · 160 lines · 140 tokens per session scan A c60b5e20e501

Subscribe to this mod's changes

fabric-spark-perf-remediate is a skill published in the GitHub repository PatrickGallucci/fabric-skills (16 stars, last pushed 3mo ago), licensed MIT. It adds 140 tokens to every session and 1,851 once invoked, about $0.0007 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

issue-authoring

Draft or refine IDD-ready GitHub issues, roadmap issues, and sub-issues before the normal IDD execution loop begins. Use when a request is too large or ambiguous for one reviewable change, when work needs decomposition or dependency encoding, or when the user asks for issue drafting, roadmap planning, or…

kurone-kito/idd-skill · 71 tokens

kitty-explain

Turn source content into a humorous sketchnote-style explanation featuring photorealistic cats based on the cat images in the references folder.

microsoft/microsoft-copilot-agents-playbook · 32 tokens

routeros-command-tree

RouterOS command tree introspection via /console/inspect API. Use when: building tools that parse RouterOS commands, generating API schemas from RouterOS, working with /console/inspect, mapping CLI commands to REST verbs, traversing the RouterOS command hierarchy, or when the user mentions inspect, command tree, RAML…

tikoci/routeros-skills · 79 tokens

routeros-container

RouterOS /container subsystem for running OCI containers on MikroTik devices. Use when: enabling containers on RouterOS, setting up VETH/bridge networking for containers, managing container lifecycle via CLI or REST API, building OCI images for RouterOS, configuring container environment variables, troubleshooting…

tikoci/routeros-skills · 86 tokens

routeros-mndp

MNDP (MikroTik Neighbor Discovery Protocol) wire format, behavior, and RouterOS /ip/neighbor integration. Use when: implementing MNDP discovery, parsing MNDP packets, working with /ip/neighbor, understanding WinBox device discovery, debugging why a router doesn't appear in neighbor lists, or when the user mentions…

tikoci/routeros-skills · 88 tokens

routeros-syntax-inspection

Inspecting and validating RouterOS command/script syntax against a live device via /console/inspect (highlight, completion, syntax, child) and :parse IL. Use when: validating RouterOS commands before execution, explaining or linting RouterOS scripts, building syntax-aware tooling (LSP servers, validators, agent…

tikoci/routeros-skills · 111 tokens