run-training-on-databricks

run-training-on-databricks is a skill for Claude Code from duonginspace/claude-code-databricks-ml. It costs 38 tokens per session (381 once invoked), scanned A, original, MIT.

A procedure for submitting machine-learning training scripts to Databricks and retrieving their results.

In plain words
What is it for?
Building and uploading the project, choosing a job cluster, waiting for completion, reading logs, pulling MLflow metrics, and summarising loss, accuracy, and training time.
Why use it?
It provides a repeatable path from local project code to a remote training run and highlights common setup failures.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Building and uploading the project, choosing a job cluster, waiting for completion, reading logs, pulling MLflow metrics, and summarising loss, accuracy, and training time.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/duonginspace/claude-code-databricks-ml/run-training-on-databricks
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 duonginspace/claude-code-databricks-ml --skill run-training-on-databricks
Clone the repo
git clone --depth 1 https://github.com/duonginspace/claude-code-databricks-ml

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 run-training-on-databricks

README.md
[![agentmods](https://agentmods.dev/badge/skills/duonginspace/claude-code-databricks-ml/run-training-on-databricks/github.svg)](https://agentmods.dev/skills/duonginspace/claude-code-databricks-ml/run-training-on-databricks)
Your own site
<a href="https://agentmods.dev/skills/duonginspace/claude-code-databricks-ml/run-training-on-databricks"><img src="https://agentmods.dev/badge/skills/duonginspace/claude-code-databricks-ml/run-training-on-databricks/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 run-training-on-databricks

Your own site · 80×15
<a href="https://agentmods.dev/skills/duonginspace/claude-code-databricks-ml/run-training-on-databricks"><img src="https://agentmods.dev/badge/skills/duonginspace/claude-code-databricks-ml/run-training-on-databricks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 381 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.00038 $0.00381
Opus 5.5 $0.00015 $0.00152
Sonnet 5.5 $0.00008 $0.00076
Haiku 4.5 $0.00004 $0.00038

Measured 3mo ago against content hash 9caa95c5d3bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

run-training-on-databricks 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 3mo 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.

skills/run-training-on-databricks/SKILL.md · 24 lines

What it actually says

Run Training on Databricks

  1. The submit script builds a wheel of the project, uploads it + the training script to DBFS, and submits a Spark Python task: uv run python scripts/submit_to_databricks.py scripts/train.py <args> The training script pip-installs the wheel at startup (DBR 15+ does not support DBFS library installs).
    • Add --job-cluster to use an ephemeral job cluster (lower DBU rate, ~5-10min startup) instead of the existing cluster
    • Default uses the existing cluster from DATABRICKS_CLUSTER_ID
  2. Wait for the run to complete (the script handles polling and log capture)
  3. If the run failed, read mlflow_results/job_logs.txt for the full output and error trace. Common issues:
    • Stale pydantic/typing_extensions from the Databricks runtime (the bootstrap should handle this, but check logs)
    • Missing HF_TOKEN for gated models (TabPFN)
    • MLflow experiment name must be a /Users/... workspace path, not a bare name
  4. If the run succeeded, pull results: uv run python scripts/pull_results_on_databricks.py
  5. Read mlflow_results/latest_run.json for metrics
  6. Summarize key metrics: loss, accuracy, training time
  7. Compare with previous runs in mlflow_results/all_runs.csv
  8. Suggest concrete next steps (hyperparameter changes, architecture modifications)
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. 3mo ago First seen · 24 lines · 38 tokens per session scan A 9caa95c5d3bc

Subscribe to this mod's changes

run-training-on-databricks is a skill published in the GitHub repository duonginspace/claude-code-databricks-ml (5 stars, last pushed 8mo ago), licensed MIT. It adds 38 tokens to every session and 381 once invoked, about $0.0002 per session on Opus 5.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-31.

Related

run-training-on-databricks compared with skills from other repositories

run-training-on-databricks next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
run-training-on-databricksduonginspace/claude-code-databricks-mlSkill58mo agoMITA38Claude Code
tensorrt-llmNousResearch/hermes-agentSkill268ktodayMITA18Claude Code, Codex
agent-platform-tuninggoogle/skillsSkill25kyesterdayApache-2.0A64Claude Code, Codex
google-cloud-solution-guided-gke-ai-migrationgoogle/skillsSkill25kyesterdayApache-2.0A157Claude Code, Codex
apigee-agent-gateway-governancegoogle/skillsSkill25kyesterdayApache-2.0A222Claude Code, Codex
gke-inferencegoogle/skillsSkill25kyesterdayApache-2.0A119Claude Code, Codex
agent-platform-endpoint-managementgoogle/skillsSkill25kyesterdayApache-2.0A64Claude Code, Codex