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.
npx skills add mexmarv/ai-genie-factory --skill databricks-appgit clone --depth 1 https://github.com/mexmarv/ai-genie-factoryWrote 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.
[](https://agentmods.dev/skills/mexmarv/ai-genie-factory/databricks-app)<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.
<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>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00063 | $0.01591 |
| Opus 5 | $0.00032 | $0.00796 |
| Sonnet 5 | $0.00013 | $0.00318 |
| Haiku 4.5 | $0.00006 | $0.00159 |
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 12d 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.
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.pyusesWorkspaceClient().statement_executionand follows@data-access.logic.pyhas no SQL and no UI imports.ui.pyhas no SQL, remote access, KPI definitions, or aggregations.app.pyowns 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_loggerfrom_logger.pyin every Python module; never useprint(). - Catch and translate exceptions at every layer boundary. Never show raw tracebacks.
- Every visual UI supports
alpura-darkandalpura-lightfrom@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")
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.
- 12d ago First seen · 202 lines · 63 tokens per session scan A ebe49da6ddf3
databricks-app is a skill published in the GitHub repository mexmarv/ai-genie-factory (5 stars, last pushed 1mo ago), licensed MIT. It adds 63 tokens to every session and 1,591 once invoked, about $0.0003 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-31.
Other skills, from other repositories
cloud-deploy-gate
The pre-deployment gate for managed AI platforms (Azure AI Foundry, Google Vertex AI, AWS Bedrock), evals packed, budget set, guardrails on, owner named. Use before any cloud deployment.
databricks-expert
Expert-level Databricks platform, Apache Spark, Delta Lake, MLflow, notebooks, and cluster management. Use when the user mentions Apache Spark, Delta Lake, MLflow, lakehouse architecture, or PySpark, or when the task involves Cluster Configuration and Management, Delta Lake Architecture, PySpark Data Processing, or…
data-divergence
Investigate why two datasets that should agree don't — two pipelines writing the same logical table, a rollup vs the detail it aggregates, a dashboard vs its source, one environment vs another. Use when row counts, totals, or date ranges disagree and the question is what happened rather than just what differs. Covers…
sql-diagram
Diagram a SQL query and explain what it shows — either its execution steps (mode=plan) or its column lineage (mode=lineage) — then trace it through small data so the defects the picture cannot show become visible. Use when asked to visualize, diagram, explain or review what a query does, how it joins its tables, or…
project-costs
Run the project cost report and write the analysis into it. Use when asked about this project's cloud spend, cost anomalies, spikes or trends, DBU/DSU consumption, per-job or per-pipeline cost, or the AWS vs Databricks split. Runs make project-costs (AWS Cost Explorer + Databricks system.billing), then analyses the…
databricks-platform-provisioning
Provision and test Databricks workspaces. Use when the user asks to create a workspace, set up a new environment, provision infrastructure, bootstrap Databricks, test a workspace, verify a deployment, or run validation checks against a Databricks workspace. Covers Azure, AWS, and GCP.