databricks-app

databricks-app is a skill for Claude Code, Codex from mexmarv/ai-genie-factory. It costs 63 tokens per session (1,591 once invoked), scanned A, original, MIT.

A set of architecture and deployment rules for Databricks Apps, which are web applications hosted in Databricks and built with Dash or Streamlit.

In plain words
What is it for?
Use it when creating or reviewing app.py, app.yaml, requirements, permissions, startup behavior, deployment, or debugging.
Why use it?
It keeps data access, business rules, user-interface code, configuration, and deployment settings in clear places.

Skill for Claude CodeCodex

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

Good fit Use it when creating or reviewing app.py, app.yaml, requirements, permissions, startup behavior, deployment, or debugging.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/mexmarv/ai-genie-factory/databricks-app/github.svg)](https://agentmods.dev/skills/mexmarv/ai-genie-factory/databricks-app)
Your own site
<a href="https://agentmods.dev/skills/mexmarv/ai-genie-factory/databricks-app"><img src="https://agentmods.dev/badge/skills/mexmarv/ai-genie-factory/databricks-app/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 databricks-app

Your own site · 80×15
<a href="https://agentmods.dev/skills/mexmarv/ai-genie-factory/databricks-app"><img src="https://agentmods.dev/badge/skills/mexmarv/ai-genie-factory/databricks-app.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,591 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.00063 $0.01591
Opus 5.5 $0.00025 $0.00636
Sonnet 5.5 $0.00013 $0.00318
Haiku 4.5 $0.00006 $0.00159

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

Security

Grade A, and why

databricks-app 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 2mo 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/databricks-app/SKILL.md · 202 lines

How it starts

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

Databricks App Architecture — Alpura

Apply to every Databricks App. The workspace instructions are authoritative if another example conflicts with this skill.

Required architecture

my-app/
├── app.py              # orchestration, configuration, layout wiring, callbacks
├── data.py             # WorkspaceClient Statement Execution reads only
├── logic.py            # pandas transformations and business rules only
├── ui.py               # Plotly figures and Dash/Streamlit components only
├── _logger.py          # shared structured logger
├── app.yaml            # command and resource-backed environment variables
├── requirements.txt
└── APP.md              # purpose, audience, Gold tables, filters, KPIs, acceptance criteria

Rules

  • No Spark session exists in Databricks Apps.
  • data.py uses WorkspaceClient().statement_execution and follows @data-access.
  • logic.py has no SQL and no UI imports.
  • ui.py has no SQL, remote access, KPI definitions, or aggregations.
  • app.py owns validated configuration and orchestration; it contains no SQL.
  • UI-facing reads are Gold-only and use three-part Unity Catalog names.
  • Reuse centrally defined semantic KPIs; never recalculate them in an app.
  • Import get_logger from _logger.py in every Python module; never use print().
  • Catch and translate exceptions at every layer boundary. Never show raw tracebacks.
  • Every visual UI supports alpura-dark and alpura-light from @ui-ux-patterns.

Configuration pattern

All values vary by environment and must come from app resources or environment variables. Validate them during startup without opening a remote connection.

"""Application entry point and orchestration."""
import os

from _logger import get_logger

logger = get_logger(__name__)

CONFIG = {
    "table_name": os.environ["UC_TABLE_NAME"],
    "warehouse_id": os.environ["DATABRICKS_WAREHOUSE_ID"],
    "row_limit": int(os.environ["APP_ROW_LIMIT"]),
}

logger.info("Config loaded")

Read the full file on GitHub · 202 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. 2mo ago First seen · 202 lines · 63 tokens per session scan A ebe49da6ddf3

Subscribe to this mod's changes

databricks-app is a skill published in the GitHub repository mexmarv/ai-genie-factory (5 stars, last pushed 2mo ago), licensed MIT. It adds 63 tokens to every session and 1,591 once invoked, about $0.0003 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

databricks-app compared with skills from other repositories

databricks-app next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
databricks-appmexmarv/ai-genie-factorySkill52mo agoMITA63Claude Code, Codex
databricks-expertpersonamanagmentlayer/pclSkill4412d agoApache-2.0A74Claude Code
sql-diagramandre-salvati/databricks-templateSkill871mo agoApache-2.0A121Claude Code
data-divergenceandre-salvati/databricks-templateSkill871mo agoApache-2.0A123Claude Code
project-costsandre-salvati/databricks-templateSkill871mo agoApache-2.0A93Claude Code
cloud-deploy-gatezorost/AI-Engineering-LabSkill3152mo agoMITA49Claude Code, Codex
databricks-platform-provisioningdatabricks-solutions/ai-platform-kitSkill2224d agononeA69Claude Code