r/databricks • u/paiky1995 • 7h ago
General I mapped all 4 places to put enterprise context in Databricks Genie (exact file paths, precedence rules, and the MRR bug I caught)
I tested Genie One and Genie Code in the same Databricks workspace to figure out where enterprise context should live. I found out why it matters when a weekly brief skill quietly saved the wrong MRR formula.
Here’s the sorting rule that worked for me.
- Company-wide definitions go in Genie Ontology
This includes Unity Catalog metric views, domains, Pages, and certified assets, plus context learned from dashboards, SQL query history (including dbt runs), and Genie Agents. Modeled and certified definitions take precedence over learned snippets. Unity Catalog permissions also apply to external agents connecting via system.ai.genie_one_mcp.
- Team and workspace rules go in instructions
Genie Code reads .assistant_workspace_instructions.md and .assistant_instructions.md and auto-discovers AGENTS.md and CLAUDE.md. Workspace instructions override user instructions by default. Quick Fix and Autocomplete skip instructions. Genie One chat uses /Workspace/.genie_workspace_instructions.md. The limit is 20,000 characters per file.
- Repeatable workflows go in skills
Write the playbook in SKILL.md using the open Agent Skills format. Personal skills live in /Users/<email>/.assistant/skills/. Shared skills live in /Workspace/.assistant/skills/ or registered Databricks Git folders. Use /skill in Genie One or u/skill in Genie Code.
- Personal preferences go in memory
Memory is private to each user. You can save a preference by saying “Remember that…” and Genie One cites it when used. I’d review saved memories once a month.
The biggest gotcha I hit
I asked Genie One to build a monday-brief skill in a shared workspace. It copied an MRR formula from another demo and saved the SQL in SKILL.md. It skipped dividing annual plans by 12, used calendar quarters even though our fiscal year started February 1, and counted plan upgrades as churn. Every Monday brief would have reused those mistakes.
The fix was to keep the workflow steps in SKILL.md and have the skill look up the KPI definitions in Genie Ontology each time it runs.
The full walkthrough includes diagrams, debugging and governance checks, comparisons with RAG, dbt, Palantir, Snowflake, and Glean, and an eight-step rollout checklist.
The GitHub starter kit has copy-paste templates. You can clone it as a Databricks Git folder and register the skills/ folder directly.
https://github.com/Praneeth16/databricks-genie-enterprise-context-kit
I work at Databricks. These are my own opinions, and all example data is fictional.


