Agent skill · Data & Analytics

matlab-connect-databricks-spark

Set up the MATLAB Interface for Databricks and read data via Databricks Connect (Spark). Use when connecting MATLAB to Databricks for the first time, configuring authentication (OauthU2M, OauthM2M, PAT), creating Spark sessions with getDatabricksSession(), reading Unity Catalog tables, filtering DataFrames server-side, or converting results to MATLAB tables. Triggers on: Databricks Connect, Spark from MATLAB, getDatabricksSession, .databrickscfg, large table server-side filtering.

matlabgithub.com/matlabGitHub ↗
claude-codecodexcopilotNOASSERTION
Install
npx skills add matlab/matlab-agentic-toolkit --skill matlab-connect-databricks-spark --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 15 KB
Bundled scripts: none
Version: 1.0
Declared author: MathWorks
Path: skills-catalog/reporting-and-database-access/matlab-connect-databricks-spark/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 868
Language: MATLAB

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# MATLAB Interface for Databricks — Spark (Databricks Connect) Read data from Databricks into MATLAB via Databricks Connect. This skill covers first-time setup, authentication, and using Spark DataFrames from desktop MATLAB. ## When to Use - First-time setup of the MATLAB Interface for Databricks package - Configuring `.databrickscfg` and authentication (OauthU2M, OauthM2M, PAT) - Reading large tables via Spark with server-side filtering before pulling data locally - Creating a Spark session from desktop MATLAB (`getDatabricksSession`) - Converting Spark DataFrames to MATLAB tables or writing MATLAB tables back to Spark ## When NOT to Use - SQL queries on small-to-medium datasets via JDBC/ODBC — use `/matlab-connect-databricks-jdbc` - Deploying compiled MATLAB code to Databricks clusters (Job workflow) - Databricks Files API operations - REST API management (Clusters, Jobs, Unity Catalog admin) ## Workflow 0. **Obtain the package** — Ask the user if they already have the MATLAB Interface for Databricks downloaded locally. If not, direct them to download it from https://www.mathworks.com/solutions/partners/databricks.html 1. **Setup** — Run `setup` from the package directory to conf

What's inside
Steps it walks through
  1. When to Use
  2. When NOT to Use
  3. Workflow
  4. Key Functions
  5. Patterns
  6. First-Time Setup
  7. Authentication Configuration
  8. Create a Spark Session (Classic Compute)
  9. Create a Spark Session (Serverless Compute)
  10. Read and Filter a Table
  11. Filter and Limit Rows
  12. Add Computed Columns with withColumn
  13. Read Files from Unity Catalog Volumes
  14. Convert MATLAB Table Back to Spark DataFrame
Ships with 1 file
  • manifest.yaml
More from matlab-agentic-toolkit
All skills →
About this skill
What does the matlab-connect-databricks-spark skill do?

Set up the MATLAB Interface for Databricks and read data via Databricks Connect (Spark). Use when connecting MATLAB to Databricks for the first time, configuring authentication (OauthU2M, OauthM2M, PAT), creating Spark sessions with getDatabricksSession(), reading Unity Catalog tables, filtering DataFrames server-side, or converting results to MATLAB tables. Triggers on: Databricks Connect, Spark from MATLAB, getDatabricksSession, .databrickscfg, large table server-side filtering.

How do I install it?

Run `npx skills add matlab/matlab-agentic-toolkit --skill matlab-connect-databricks-spark --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From matlab/matlab-agentic-toolkit, a repository with 868 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going