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.5 | $0.00025 | $0.00636 |
| Sonnet 5.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 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.
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.
- 2mo 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 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.
databricks-app compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| databricks-appmexmarv/ai-genie-factory | Skill | 5 | 2mo ago | MIT | A | 63 | Claude Code, Codex |
| databricks-expertpersonamanagmentlayer/pcl | Skill | 44 | 12d ago | Apache-2.0 | A | 74 | Claude Code |
| sql-diagramandre-salvati/databricks-template | Skill | 87 | 1mo ago | Apache-2.0 | A | 121 | Claude Code |
| data-divergenceandre-salvati/databricks-template | Skill | 87 | 1mo ago | Apache-2.0 | A | 123 | Claude Code |
| project-costsandre-salvati/databricks-template | Skill | 87 | 1mo ago | Apache-2.0 | A | 93 | Claude Code |
| cloud-deploy-gatezorost/AI-Engineering-Lab | Skill | 315 | 2mo ago | MIT | A | 49 | Claude Code, Codex |
| databricks-platform-provisioningdatabricks-solutions/ai-platform-kit | Skill | 22 | 24d ago | none | A | 69 | Claude Code |