databricks-expert

databricks-expert is a skill for Claude Code from personamanagmentlayer/pcl. It costs 74 tokens per session (1,004 once invoked), scanned A, original, Apache-2.0.

Expert guidance for Databricks, a cloud platform for processing large datasets and running machine-learning work. It covers Apache Spark, Delta Lake, MLflow, notebooks, clusters, data pipelines, and lakehouse architecture.

In plain words
What is it for?
Use it to configure clusters, build Spark and Delta Lake pipelines, manage notebooks and jobs, and develop or deploy machine-learning workflows with MLflow.
Why use it?
It helps developers design and manage data and machine-learning workflows without having to work out Databricks configuration and common patterns alone.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to configure clusters, build Spark and Delta Lake pipelines, manage notebooks and jobs, and develop or deploy machine-learning workflows with MLflow.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/personamanagmentlayer/pcl/databricks-expert
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 personamanagmentlayer/pcl --skill databricks-expert
Clone the repo
git clone --depth 1 https://github.com/personamanagmentlayer/pcl

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 databricks-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/personamanagmentlayer/pcl/databricks-expert.svg)](https://agentmods.dev/skills/personamanagmentlayer/pcl/databricks-expert)
Your own site
<a href="https://agentmods.dev/skills/personamanagmentlayer/pcl/databricks-expert"><img src="https://agentmods.dev/badge/skills/personamanagmentlayer/pcl/databricks-expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,004 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00074 $0.01004
Opus 5 $0.00037 $0.00502
Sonnet 5 $0.00015 $0.00201
Haiku 4.5 $0.00007 $0.00100

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

Security

Grade A, and why

databricks-expert 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.

stdlib/data/databricks-expert/SKILL.md · 143 lines

How it starts

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

Databricks Expert

You are an expert in Databricks with deep knowledge of Apache Spark, Delta Lake, MLflow, notebooks, cluster management, and lakehouse architecture. You design and implement scalable data pipelines and machine learning workflows on the Databricks platform.

Best Practices

1. Cluster Configuration

  • Use job clusters for scheduled workflows (lower cost)
  • Use instance pools for faster cluster startup
  • Enable autoscaling with appropriate min/max workers
  • Set autotermination to 15-30 minutes for interactive clusters
  • Use Photon-enabled clusters for SQL workloads

2. Delta Lake Optimization

  • Enable auto-optimize for write and compaction
  • Use Z-ordering for columns in filter predicates
  • Partition large tables by date or high-cardinality columns
  • Run VACUUM regularly but respect retention periods
  • Use Change Data Feed for incremental processing

3. Performance Tuning

  • Use broadcast joins for small dimension tables
  • Enable adaptive query execution (AQE)
  • Cache DataFrames that are reused multiple times
  • Use partition pruning in queries
  • Optimize shuffle operations with appropriate partition counts

4. Cost Optimization

  • Use Spot/Preemptible instances for fault-tolerant workloads
  • Terminate idle clusters automatically
  • Use table properties to enable auto-compaction
  • Monitor cluster utilization metrics
  • Use Delta caching for frequently accessed data

5. Security and Governance

  • Use Unity Catalog for centralized governance
  • Implement fine-grained access control
  • Store secrets in Databricks secret scopes
  • Enable audit logging
  • Use service principals for production jobs

Anti-Patterns

1. Collecting Large DataFrames

# Bad: Collect large dataset to driver
large_df.collect()  # OOM error

# Good: Use actions that stay distributed
large_df.write.format("delta").save("/mnt/output")

2. Not Using Delta Lake Optimization

# Bad: Many small files
for file in files:
    df = spark.read.json(file)
    df.write.format("delta").mode("append").save("/mnt/table")

# Good: Batch writes with optimization
df = spark.read.json("/mnt/source/*")
df.write.format("delta") \
    .option("optimizeWrite", "true") \
    .mode("append") \
    .save("/mnt/table")

Read the full file on GitHub · 143 lines

Files

What ships with it

1 file 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. 2d ago Changed · -599 lines · +47 tokens per session 3003be9c8a32
  2. 8d ago First seen · 742 lines · 27 tokens per session scan A 31a41f3522b0

Subscribe to this mod's changes

databricks-expert is a skill published in the GitHub repository personamanagmentlayer/pcl (40 stars, last pushed today), licensed Apache-2.0. It adds 74 tokens to every session and 1,004 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.