Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Create and manage Databricks Agent Bricks: Knowledge Assistants (KA) for document Q&A, Genie Spaces for SQL exploration, and Multi-Agent Supervisors (MAS) for multi-agent orchestration. Use when building conversational AI applications on Databricks.
.claude/skills/majiayu000-agent-bricks/SKILL.md| Model | Eval pass | Runs |
|---|---|---|
| gemini-3.6-flash | 100% | 9 |
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-08 | ✗→✓ | ▲ Improved | 39% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 22% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 36% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 44% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 386% | 0% |
Create and manage Databricks Agent Bricks - pre-built AI components for building conversational applications.
Agent Bricks are three types of pre-built AI tiles in Databricks:
| Brick | Purpose | Data Source | |-------|---------|-------------| | Knowledge Assistant (KA) | Document-based Q&A using RAG | PDF/text files in Volumes | | Genie Space | Natural language to SQL | Unity Catalog tables | | Multi-Agent Supervisor (MAS) | Multi-agent orchestration | Model serving endpoints |
Before creating Agent Bricks, ensure you have the required data:
unstructured-pdf-generation skill if neededsynthetic-data-generation skillspark-declarative-pipelines skillcreate_or_update_ka - Create or update a Knowledge Assistant
name: Name for the KAvolume_path: Path to documents (e.g., /Volumes/catalog/schema/volume/folder)description: (optional) What the KA doesinstructions: (optional) How the KA should answertile_id: (optional) Existing tile_id to updateadd_examples_from_volume: (optional, default: true) Auto-add examples from JSON filesget_ka - Get Knowledge Assistant details
tile_id: The KA tile IDdelete_ka - Delete a Knowledge Assistant
tile_id: The KA tile ID to deleteIMPORTANT: Before creating a Genie Space, you MUST first inspect the table schemas using get_table_details to understand the data. This allows you to:
Genie Space Creation Workflow:
get_table_details(catalog, schema) to fetch table schemascreate_or_update_genie with the prepared contentcreate_or_update_genie - Create or update a Genie Space for SQL exploration
display_name: Display name for the spacetable_identifiers: List of tables (e.g., ["catalog.schema.table1", "catalog.schema.table2"])warehouse_id: (optional) SQL warehouse ID (auto-detects if not provided)description: (optional) What the space does - explain the data model and relationshipssample_questions: (optional) List of sample questions that reference actual columnsspace_id: (optional) Existing space_id to updateget_genie - Get Genie Space details
space_id: The Genie space IDdelete_genie - Delete a Genie Space
space_id: The Genie space ID to deletecreate_or_update_mas - Create or update a Multi-Agent Supervisor
name: Name for the MASagents: List of agent configurations:name: Agent nameendpoint_name: Model serving endpoint namedescription: What this agent handles (used for routing)description: (optional) What the MAS doesinstructions: (optional) Routing instructionstile_id: (optional) Existing tile_id to updateexamples: (optional) List of example questions with question and guideline fieldsget_mas - Get Multi-Agent Supervisor details
tile_id: The MAS tile IDdelete_mas - Delete a Multi-Agent Supervisor
tile_id: The MAS tile ID to deleteBefore creating Agent Bricks, generate the required source data:
For KA (document Q&A):
1. Use `unstructured-pdf-generation` skill to generate PDFs
2. PDFs are saved to a Volume with companion JSON files (question/guideline pairs)For Genie (SQL exploration):
1. Use `synthetic-data-generation` skill to create raw parquet data
2. Use `spark-declarative-pipelines` skill to create bronze/silver/gold tablesUse the appropriate create_or_update_* tool with your data sources.
Newly created KA and MAS tiles need time to provision. The endpoint status will progress:
PROVISIONING - Being created (can take 2-5 minutes)ONLINE - Ready to useOFFLINE - Not runningFor KA, if add_examples_from_volume=true, examples are automatically extracted from JSON files in the volume and added once the endpoint is ONLINE.
1-knowledge-assistants.md - Detailed KA patterns and examples2-genie-spaces.md - Detailed Genie patterns and examples3-multi-agent-supervisors.md - Detailed MAS patterns and examples| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-02 | pass→pass | 19,882 | 11,041 | -44% | 1 | 1 | 0% | 2,266 | 3,670 | +62% | 0 | 0 | — |
case-03 | pass→pass | 19,859 | 21,090 | +6% | 1 | 1 | 0% | 3,659 | 4,823 | +32% | 0 | 0 | — |
case-01 | pass→pass | 10,239 | 14,091 | +38% | 1 | 1 | 0% | 1,987 | 3,164 | +59% | 0 | 0 | — |
case-04 | fail→fail | 13,096 | 10,479 | -20% | 1 | 1 | 0% | 357 | 1,843 | +416% | 0 | 0 | — |
case-05 | fail→fail | 9,213 | 19,458 | +111% | 1 | 1 | 0% | 1,555 | 1,839 | +18% | 0 | 0 | — |
case-06 | fail→fail | 37,423 | 24,735 | -34% | 1 | 1 | 0% | 3,387 | 2,458 | -27% | 0 | 0 | — |
case-07 | pass→pass | 11,017 | 7,598 | -31% | 1 | 1 | 0% | 1,787 | 2,763 | +55% | 0 | 0 | — |
case-08 | fail→pass | 12,295 | 6,938 | -44% | 1 | 1 | 0% | 1,241 | 1,731 | +39% | 0 | 0 | — |
case-09 | fail→pass | 12,243 | 1,869 | -85% | 1 | 1 | 0% | 1,403 | 1,707 | +22% | 0 | 0 | — |
case-10 | fail→pass | 12,799 | 7,480 | -42% | 1 | 1 | 0% | 1,302 | 1,766 | +36% | 0 | 0 | — |
case-11 | fail→pass | 10,028 | 1,660 | -83% | 1 | 1 | 0% | 1,145 | 1,647 | +44% | 0 | 0 | — |
case-12 | fail→pass | 7,910 | 7,120 | -10% | 1 | 1 | 0% | 366 | 1,780 | +386% | 0 | 0 | — |
case-13 | fail→pass | 11,536 | 2,010 | -83% | 1 | 1 | 0% | 1,101 | 1,735 | +58% | 0 | 0 | — |
case-14 | fail→pass | 12,960 | 7,693 | -41% | 1 | 1 | 0% | 1,951 | 1,879 | -4% | 0 | 0 | — |
case-15 | fail→fail | 15,572 | 8,083 | -48% | 1 | 1 | 0% | 1,757 | 1,859 | +6% | 0 | 0 | — |
case-16 | pass→pass | 7,397 | 2,107 | -72% | 1 | 1 | 0% | 1,207 | 1,753 | +45% | 0 | 0 | — |
case-17 | pass→pass | 13,640 | 7,503 | -45% | 1 | 1 | 0% | 1,530 | 1,814 | +19% | 0 | 0 | — |
case-18 | fail→pass | 38,432 | 7,793 | -80% | 1 | 1 | 0% | 2,923 | 1,792 | -39% | 0 | 0 | — |
case-19 | fail→pass | 6,363 | 7,072 | +11% | 1 | 1 | 0% | 928 | 1,722 | +86% | 0 | 0 | — |
case-20 | fail→pass | 11,643 | 7,533 | -35% | 1 | 1 | 0% | 1,056 | 1,867 | +77% | 0 | 0 | — |
case-21 | fail→pass | 19,767 | 1,652 | -92% | 1 | 1 | 0% | 2,550 | 1,646 | -35% | 0 | 0 | — |
case-22 | pass→pass | 20,622 | 15,947 | -23% | 1 | 1 | 0% | 2,680 | 3,134 | +17% | 0 | 0 | — |
case-23 | pass→pass | 11,702 | 8,661 | -26% | 1 | 1 | 0% | 1,060 | 1,799 | +70% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 23 cases were attempted, and 20 counted toward the lift figure. The other 3 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +48 percentage points is the difference between those two pass rates over the 20 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.