[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F9NEGYX74BVVMDRZ7A4YXQ":3,"skill-same:01M6F9NEGYX74BVVMDRZ7A4YXQ":73},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":50,"commitSha":51,"skillDirectory":52,"forksCount":53,"repositoryHtmlUrl":54,"repositoryHomepageUrl":55,"ownerHtmlUrl":56,"ownerBlogUrl":6,"ownerDescription":57,"updatedAt":58,"install":59,"resources":72},"01M6F9NEGYX74BVVMDRZ7A4YXQ","databricks-debug-bundle",null,"Collect Databricks debug evidence for support tickets and troubleshooting.\nUse when encountering persistent issues, preparing support tickets,\nor collecting diagnostic information for Databricks problems.\nTrigger with phrases like \"databricks debug\", \"databricks support bundle\",\n\"collect databricks logs\", \"databricks diagnostic\".","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fjeremylongshore\u002Fclaude-code-plugins-plus-skills\u002Fdatabricks-debug-bundle\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"databricks debug bundle","debug","databricks","bundle","saas","information","trigger","io","evidence","use","read","Bash","openclaw","logs","collect","issues","code","debugging","support","python","2026-11-10 10:12:30",false,"---\nname: databricks-debug-bundle\ndescription: |\n  Collect Databricks debug evidence for support tickets and troubleshooting.\n  Use when encountering persistent issues, preparing support tickets,\n  or collecting diagnostic information for Databricks problems.\n  Trigger with phrases like \"databricks debug\", \"databricks support bundle\",\n  \"collect databricks logs\", \"databricks diagnostic\".\nallowed-tools: Read, Bash(databricks:*), Bash(tar:*), Bash(python:*), Grep\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ncompatible-with: claude-code, codex, openclaw\ntags: [saas, databricks, debugging]\n\n---\n# Databricks Debug Bundle\n\n## Current State\n!`databricks --version 2>\u002Fdev\u002Fnull || echo 'CLI not installed'`\n!`python3 -c \"import databricks.sdk; print(f'SDK {databricks.sdk.__version__}')\" 2>\u002Fdev\u002Fnull || echo 'SDK not installed'`\n\n## Overview\nCollect all diagnostic information needed for Databricks support tickets: environment info, cluster state, cluster events, job run details, Spark driver logs, and Delta table history. Produces a redacted tar.gz bundle safe to share with support.\n\n## Prerequisites\n- Databricks CLI installed and configured\n- Access to cluster logs (admin or cluster owner)\n- Permission to access job run details\n\n## Instructions\n\n### Step 1: Create Debug Collection Script\n```bash\n#!\u002Fbin\u002Fbash\nset -euo pipefail\n# databricks-debug-bundle.sh [cluster_id] [run_id] [table_name]\n\nBUNDLE_DIR=\"databricks-debug-$(date +%Y%m%d-%H%M%S)\"\nmkdir -p \"$BUNDLE_DIR\"\n\nCLUSTER_ID=\"${1:-}\"\nRUN_ID=\"${2:-}\"\nTABLE_NAME=\"${3:-}\"\n\necho \"=== Databricks Debug Bundle ===\" | tee \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"Generated: $(date -u +%Y-%m-%dT%H:%M:%SZ)\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"Workspace: ${DATABRICKS_HOST:-unset}\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n```\n\n### Step 2: Collect Environment Info\n```bash\n{\n    echo \"\"\n    echo \"--- Environment ---\"\n    echo \"CLI: $(databricks --version 2>&1)\"\n    echo \"SDK: $(pip show databricks-sdk 2>\u002Fdev\u002Fnull | grep Version || echo 'not installed')\"\n    echo \"Python: $(python3 --version 2>&1)\"\n    echo \"OS: $(uname -srm)\"\n    echo \"\"\n    echo \"--- Current User ---\"\n    databricks current-user me --output json 2>&1 | jq '{userName, active}' || echo \"Auth failed\"\n} >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n```\n\n### Step 3: Collect Cluster Information\n```bash\nif [ -n \"$CLUSTER_ID\" ]; then\n    echo \"\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n    echo \"--- Cluster: $CLUSTER_ID ---\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n\n    # Full cluster config\n    databricks clusters get --cluster-id \"$CLUSTER_ID\" --output json \\\n        > \"$BUNDLE_DIR\u002Fcluster_config.json\" 2>&1\n\n    # Key fields summary\n    jq '{state, spark_version, node_type_id, num_workers,\n         autotermination_minutes, termination_reason}' \\\n        \"$BUNDLE_DIR\u002Fcluster_config.json\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n\n    # Recent cluster events (state changes, errors, resizing)\n    databricks clusters events --cluster-id \"$CLUSTER_ID\" --limit 30 --output json \\\n        > \"$BUNDLE_DIR\u002Fcluster_events.json\" 2>&1\n\n    # Extract event timeline\n    jq -r '.events[]? | \"\\(.timestamp): \\(.type) — \\(.details \u002F\u002F \"no details\")\"' \\\n        \"$BUNDLE_DIR\u002Fcluster_events.json\" >> \"$BUNDLE_DIR\u002Fsummary.txt\" 2>\u002Fdev\u002Fnull\nfi\n```\n\n### Step 4: Collect Job Run Information\n```bash\nif [ -n \"$RUN_ID\" ]; then\n    echo \"\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n    echo \"--- Run: $RUN_ID ---\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n\n    # Full run details\n    databricks runs get --run-id \"$RUN_ID\" --output json \\\n        > \"$BUNDLE_DIR\u002Frun_details.json\" 2>&1\n\n    # Run state summary\n    jq '{state: .state, start_time, end_time, run_duration}' \\\n        \"$BUNDLE_DIR\u002Frun_details.json\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n\n    # Task-level breakdown\n    jq -r '.tasks[]? | \"  Task \\(.task_key): \\(.state.result_state \u002F\u002F \"RUNNING\") — \\(.state.state_message \u002F\u002F \"ok\")\"' \\\n        \"$BUNDLE_DIR\u002Frun_details.json\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n\n    # Run output (error messages, stdout)\n    databricks runs get-output --run-id \"$RUN_ID\" --output json \\\n        > \"$BUNDLE_DIR\u002Frun_output.json\" 2>&1\n\n    jq '{error, error_trace: (.error_trace \u002F\u002F \"\" | .[0:2000])}' \\\n        \"$BUNDLE_DIR\u002Frun_output.json\" >> \"$BUNDLE_DIR\u002Fsummary.txt\" 2>\u002Fdev\u002Fnull\nfi\n```\n\n### Step 5: Collect Spark Driver Logs\n```bash\nif [ -n \"$CLUSTER_ID\" ]; then\n    echo \"\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n    echo \"--- Spark Driver Logs (last 500 lines) ---\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n\n    python3 \u003C\u003C 'PYEOF' > \"$BUNDLE_DIR\u002Fdriver_logs.txt\" 2>&1\nfrom databricks.sdk import WorkspaceClient\nw = WorkspaceClient()\ntry:\n    content = w.dbfs.read(\"\u002Fcluster-logs\u002F${CLUSTER_ID}\u002Fdriver\u002Flog4j-active.log\")\n    # Take last 500 lines\n    lines = content.data.decode().splitlines()[-500:]\n    print(\"\\n\".join(lines))\nexcept Exception as e:\n    print(f\"Could not fetch driver logs: {e}\")\n    print(\"Tip: Enable cluster log delivery in cluster config for persistent logs\")\nPYEOF\nfi\n```\n\n### Step 6: Collect Delta Table Diagnostics\n```bash\nif [ -n \"$TABLE_NAME\" ]; then\n    echo \"\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n    echo \"--- Delta Table: $TABLE_NAME ---\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n\n    python3 \u003C\u003C PYEOF > \"$BUNDLE_DIR\u002Fdelta_diagnostics.txt\" 2>&1\nfrom databricks.connect import DatabricksSession\nspark = DatabricksSession.builder.getOrCreate()\n\nprint(\"=== Table Details ===\")\nspark.sql(\"DESCRIBE DETAIL ${TABLE_NAME}\").show(truncate=False)\n\nprint(\"\\n=== Recent History (last 20 operations) ===\")\nspark.sql(\"DESCRIBE HISTORY ${TABLE_NAME} LIMIT 20\").show(truncate=False)\n\nprint(\"\\n=== Schema ===\")\nspark.sql(\"DESCRIBE ${TABLE_NAME}\").show(truncate=False)\n\nprint(\"\\n=== File Stats ===\")\ndetail = spark.sql(\"DESCRIBE DETAIL ${TABLE_NAME}\").first()\nprint(f\"Files: {detail.numFiles}, Size: {detail.sizeInBytes \u002F 1024 \u002F 1024:.1f} MB\")\nPYEOF\nfi\n```\n\n### Step 7: Package Bundle (Redacted)\n```bash\n# Redact sensitive data from config snapshot\necho \"\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"--- Config (redacted) ---\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\nif [ -f ~\u002F.databrickscfg ]; then\n    sed 's\u002Ftoken = .*\u002Ftoken = ***REDACTED***\u002F' \\\n        ~\u002F.databrickscfg > \"$BUNDLE_DIR\u002Fconfig-redacted.txt\"\n    sed -i 's\u002Fclient_secret = .*\u002Fclient_secret = ***REDACTED***\u002F' \\\n        \"$BUNDLE_DIR\u002Fconfig-redacted.txt\"\nfi\n\n# Network connectivity test\necho \"--- Network ---\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho -n \"API reachable: \" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \\\n    \"${DATABRICKS_HOST}\u002Fapi\u002F2.0\u002Fclusters\u002Flist\" \\\n    -H \"Authorization: Bearer ${DATABRICKS_TOKEN}\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n\n# Create archive\ntar -czf \"$BUNDLE_DIR.tar.gz\" \"$BUNDLE_DIR\"\nrm -rf \"$BUNDLE_DIR\"\n\necho \"\"\necho \"Bundle created: $BUNDLE_DIR.tar.gz\"\necho \"Contents: summary.txt, cluster_config.json, cluster_events.json,\"\necho \"  run_details.json, run_output.json, driver_logs.txt,\"\necho \"  delta_diagnostics.txt, config-redacted.txt\"\n```\n\n## Output\n- `databricks-debug-YYYYMMDD-HHMMSS.tar.gz` containing:\n  - `summary.txt` — Human-readable diagnostic summary\n  - `cluster_config.json` — Full cluster configuration\n  - `cluster_events.json` — State changes, errors, resizing events\n  - `run_details.json` — Job run with task-level breakdown\n  - `run_output.json` — Stdout\u002Fstderr and error traces\n  - `driver_logs.txt` — Last 500 lines of Spark driver log\n  - `delta_diagnostics.txt` — Table details, history, schema\n  - `config-redacted.txt` — CLI config with secrets removed\n\n## Error Handling\n| Item | Included | Notes |\n|------|----------|-------|\n| Tokens\u002Fsecrets | NEVER | Redacted with `***REDACTED***` |\n| PII in logs | Review before sharing | Scan driver_logs.txt manually |\n| Cluster IDs | Yes | Safe to share with support |\n| Error traces | Yes | Check for embedded connection strings |\n\n## Examples\n\n### Usage\n```bash\n# Environment only\nbash databricks-debug-bundle.sh\n\n# With cluster diagnostics\nbash databricks-debug-bundle.sh 0123-456789-abcde\n\n# With cluster + job run\nbash databricks-debug-bundle.sh 0123-456789-abcde 12345\n\n# Full diagnostics including Delta table\nbash databricks-debug-bundle.sh 0123-456789-abcde 12345 catalog.schema.table\n```\n\n### Submit to Support\n1. Generate bundle: `bash databricks-debug-bundle.sh [args]`\n2. Review `summary.txt` for sensitive data\n3. Open ticket at [help.databricks.com](https:\u002F\u002Fhelp.databricks.com)\n4. Attach the `.tar.gz` bundle\n5. Include workspace ID (found in workspace URL: `adb-\u003Cworkspace-id>`)\n\n## Resources\n- [Databricks Support](https:\u002F\u002Fhelp.databricks.com)\n- [Status Page](https:\u002F\u002Fstatus.databricks.com)\n- [Community Forum](https:\u002F\u002Fcommunity.databricks.com)\n\n## Next Steps\nFor rate limit issues, see `databricks-rate-limits`.\n\n","# Databricks Debug Bundle\n\n## Current State\n!`databricks --version 2>\u002Fdev\u002Fnull || echo 'CLI not installed'`\n!`python3 -c \"import databricks.sdk; print(f'SDK {databricks.sdk.__version__}')\" 2>\u002Fdev\u002Fnull || echo 'SDK not installed'`\n\n## Overview\nCollect all diagnostic information needed for Databricks support tickets: environment info, cluster state, cluster events, job run details, Spark driver logs, and Delta table history. Produces a redacted tar.gz bundle safe to share with support.\n\n## Prerequisites\n- Databricks CLI installed and configured\n- Access to cluster logs (admin or cluster owner)\n- Permission to access job run details\n\n## Instructions\n\n### Step 1: Create Debug Collection Script\n```bash\n#!\u002Fbin\u002Fbash\nset -euo pipefail\n# databricks-debug-bundle.sh [cluster_id] [run_id] [table_name]\n\nBUNDLE_DIR=\"databricks-debug-$(date +%Y%m%d-%H%M%S)\"\nmkdir -p \"$BUNDLE_DIR\"\n\nCLUSTER_ID=\"${1:-}\"\nRUN_ID=\"${2:-}\"\nTABLE_NAME=\"${3:-}\"\n\necho \"=== Databricks Debug Bundle ===\" | tee \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"Generated: $(date -u +%Y-%m-%dT%H:%M:%SZ)\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"Workspace: ${DATABRICKS_HOST:-unset}\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n```\n\n### Step 2: Collect Environment Info\n```bash\n{\n    echo \"\"\n    echo \"--- Environment ---\"\n    echo \"CLI: $(databricks --version 2>&1)\"\n    echo \"SDK: $(pip show databricks-sdk 2>\u002Fdev\u002Fnull | grep Version || echo 'not installed')\"\n    echo \"Python: $(python3 --version 2>&1)\"\n    echo \"OS: $(uname -srm)\"\n    echo \"\"\n    echo \"--- Current User ---\"\n    databricks current-user me --output json 2>&1 | jq '{userName, active}' || echo \"Auth failed\"\n} >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n```\n\n### Step 3: Collect Cluster Information\n```bash\nif [ -n \"$CLUSTER_ID\" ]; then\n    echo \"\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n    echo \"--- Cluster: $CLUSTER_ID ---\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n\n    # Full cluster config\n    databricks clusters get --cluster-id \"$CLUSTER_ID\" --output json \\\n        > \"$BUNDLE_DIR\u002Fcluster_config.json\" 2>&1\n\n    # Key fields summary\n    jq '{state, spark_version, node_type_id, num_workers,\n         autotermination_minutes, termination_reason}' \\\n        \"$BUNDLE_DIR\u002Fcluster_config.json\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n\n    # Recent cluster events (state changes, errors, resizing)\n    databricks clusters events --cluster-id \"$CLUSTER_ID\" --limit 30 --output json \\\n        > \"$BUNDLE_DIR\u002Fcluster_events.json\" 2>&1\n\n    # Extract event timeline\n    jq -r '.events[]? | \"\\(.timestamp): \\(.type) — \\(.details \u002F\u002F \"no details\")\"' \\\n        \"$BUNDLE_DIR\u002Fcluster_events.json\" >> \"$BUNDLE_DIR\u002Fsummary.txt\" 2>\u002Fdev\u002Fnull\nfi\n```\n\n### Step 4: Collect Job Run Information\n```bash\nif [ -n \"$RUN_ID\" ]; then\n    echo \"\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n    echo \"--- Run: $RUN_ID ---\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n\n    # Full run details\n    databricks runs get --run-id \"$RUN_ID\" --output json \\\n        > \"$BUNDLE_DIR\u002Frun_details.json\" 2>&1\n\n    # Run state summary\n    jq '{state: .state, start_time, end_time, run_duration}' \\\n        \"$BUNDLE_DIR\u002Frun_details.json\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n\n    # Task-level breakdown\n    jq -r '.tasks[]? | \"  Task \\(.task_key): \\(.state.result_state \u002F\u002F \"RUNNING\") — \\(.state.state_message \u002F\u002F \"ok\")\"' \\\n        \"$BUNDLE_DIR\u002Frun_details.json\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n\n    # Run output (error messages, stdout)\n    databricks runs get-output --run-id \"$RUN_ID\" --output json \\\n        > \"$BUNDLE_DIR\u002Frun_output.json\" 2>&1\n\n    jq '{error, error_trace: (.error_trace \u002F\u002F \"\" | .[0:2000])}' \\\n        \"$BUNDLE_DIR\u002Frun_output.json\" >> \"$BUNDLE_DIR\u002Fsummary.txt\" 2>\u002Fdev\u002Fnull\nfi\n```\n\n### Step 5: Collect Spark Driver Logs\n```bash\nif [ -n \"$CLUSTER_ID\" ]; then\n    echo \"\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n    echo \"--- Spark Driver Logs (last 500 lines) ---\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n\n    python3 \u003C\u003C 'PYEOF' > \"$BUNDLE_DIR\u002Fdriver_logs.txt\" 2>&1\nfrom databricks.sdk import WorkspaceClient\nw = WorkspaceClient()\ntry:\n    content = w.dbfs.read(\"\u002Fcluster-logs\u002F${CLUSTER_ID}\u002Fdriver\u002Flog4j-active.log\")\n    # Take last 500 lines\n    lines = content.data.decode().splitlines()[-500:]\n    print(\"\\n\".join(lines))\nexcept Exception as e:\n    print(f\"Could not fetch driver logs: {e}\")\n    print(\"Tip: Enable cluster log delivery in cluster config for persistent logs\")\nPYEOF\nfi\n```\n\n### Step 6: Collect Delta Table Diagnostics\n```bash\nif [ -n \"$TABLE_NAME\" ]; then\n    echo \"\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n    echo \"--- Delta Table: $TABLE_NAME ---\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n\n    python3 \u003C\u003C PYEOF > \"$BUNDLE_DIR\u002Fdelta_diagnostics.txt\" 2>&1\nfrom databricks.connect import DatabricksSession\nspark = DatabricksSession.builder.getOrCreate()\n\nprint(\"=== Table Details ===\")\nspark.sql(\"DESCRIBE DETAIL ${TABLE_NAME}\").show(truncate=False)\n\nprint(\"\\n=== Recent History (last 20 operations) ===\")\nspark.sql(\"DESCRIBE HISTORY ${TABLE_NAME} LIMIT 20\").show(truncate=False)\n\nprint(\"\\n=== Schema ===\")\nspark.sql(\"DESCRIBE ${TABLE_NAME}\").show(truncate=False)\n\nprint(\"\\n=== File Stats ===\")\ndetail = spark.sql(\"DESCRIBE DETAIL ${TABLE_NAME}\").first()\nprint(f\"Files: {detail.numFiles}, Size: {detail.sizeInBytes \u002F 1024 \u002F 1024:.1f} MB\")\nPYEOF\nfi\n```\n\n### Step 7: Package Bundle (Redacted)\n```bash\n# Redact sensitive data from config snapshot\necho \"\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"--- Config (redacted) ---\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\nif [ -f ~\u002F.databrickscfg ]; then\n    sed 's\u002Ftoken = .*\u002Ftoken = ***REDACTED***\u002F' \\\n        ~\u002F.databrickscfg > \"$BUNDLE_DIR\u002Fconfig-redacted.txt\"\n    sed -i 's\u002Fclient_secret = .*\u002Fclient_secret = ***REDACTED***\u002F' \\\n        \"$BUNDLE_DIR\u002Fconfig-redacted.txt\"\nfi\n\n# Network connectivity test\necho \"--- Network ---\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho -n \"API reachable: \" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \\\n    \"${DATABRICKS_HOST}\u002Fapi\u002F2.0\u002Fclusters\u002Flist\" \\\n    -H \"Authorization: Bearer ${DATABRICKS_TOKEN}\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\necho \"\" >> \"$BUNDLE_DIR\u002Fsummary.txt\"\n\n# Create archive\ntar -czf \"$BUNDLE_DIR.tar.gz\" \"$BUNDLE_DIR\"\nrm -rf \"$BUNDLE_DIR\"\n\necho \"\"\necho \"Bundle created: $BUNDLE_DIR.tar.gz\"\necho \"Contents: summary.txt, cluster_config.json, cluster_events.json,\"\necho \"  run_details.json, run_output.json, driver_logs.txt,\"\necho \"  delta_diagnostics.txt, config-redacted.txt\"\n```\n\n## Output\n- `databricks-debug-YYYYMMDD-HHMMSS.tar.gz` containing:\n  - `summary.txt` — Human-readable diagnostic summary\n  - `cluster_config.json` — Full cluster configuration\n  - `cluster_events.json` — State changes, errors, resizing events\n  - `run_details.json` — Job run with task-level breakdown\n  - `run_output.json` — Stdout\u002Fstderr and error traces\n  - `driver_logs.txt` — Last 500 lines of Spark driver log\n  - `delta_diagnostics.txt` — Table details, history, schema\n  - `config-redacted.txt` — CLI config with secrets removed\n\n## Error Handling\n| Item | Included | Notes |\n|------|----------|-------|\n| Tokens\u002Fsecrets | NEVER | Redacted with `***REDACTED***` |\n| PII in logs | Review before sharing | Scan driver_logs.txt manually |\n| Cluster IDs | Yes | Safe to share with support |\n| Error traces | Yes | Check for embedded connection strings |\n\n## Examples\n\n### Usage\n```bash\n# Environment only\nbash databricks-debug-bundle.sh\n\n# With cluster diagnostics\nbash databricks-debug-bundle.sh 0123-456789-abcde\n\n# With cluster + job run\nbash databricks-debug-bundle.sh 0123-456789-abcde 12345\n\n# Full diagnostics including Delta table\nbash databricks-debug-bundle.sh 0123-456789-abcde 12345 catalog.schema.table\n```\n\n### Submit to Support\n1. Generate bundle: `bash databricks-debug-bundle.sh [args]`\n2. Review `summary.txt` for sensitive data\n3. Open ticket at [help.databricks.com](https:\u002F\u002Fhelp.databricks.com)\n4. Attach the `.tar.gz` bundle\n5. Include workspace ID (found in workspace URL: `adb-\u003Cworkspace-id>`)\n\n## Resources\n- [Databricks Support](https:\u002F\u002Fhelp.databricks.com)\n- [Status Page](https:\u002F\u002Fstatus.databricks.com)\n- [Community Forum](https:\u002F\u002Fcommunity.databricks.com)\n\n## Next Steps\nFor rate limit issues, see `databricks-rate-limits`.\n\n",{"name":5,"tags":44,"author":45,"license":15,"version":46,"description":47,"allowed-tools":48,"compatible-with":49},[23,21,36],"Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Collect Databricks debug evidence for support tickets and troubleshooting.\nUse when encountering persistent issues, preparing support tickets,\nor collecting diagnostic information for Databricks problems.\nTrigger with phrases like \"databricks debug\", \"databricks support bundle\",\n\"collect databricks logs\", \"databricks diagnostic\".\n","Read, Bash(databricks:*), Bash(tar:*), Bash(python:*), Grep","claude-code, codex, openclaw","main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Fjeremylongshore\u002Fclaude-code-plugins-plus-skills\u002Fdatabricks-debug-bundle",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill databricks-debug-bundle",{"tool":65,"command":66},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill databricks-debug-bundle",{"tool":68,"command":69},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill databricks-debug-bundle","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fjeremylongshore\u002Fclaude-code-plugins-plus-skills\u002Fdatabricks-debug-bundle\u002FSKILL.md",true,[],[74,83,92,101,107,113],{"skillNo":75,"name":76,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":39},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[80,81,82],"model","model hierarchy","model hierarchy skill",{"skillNo":84,"name":85,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":39},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[89,90,91],"MCP","zoom","zoom mcp",{"skillNo":93,"name":94,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":39},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[98,99,100,90],"sdk","zoom apps sdk","apps",{"skillNo":102,"name":103,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":39},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[103],{"skillNo":108,"name":109,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":39},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[109],{"skillNo":114,"name":115,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":39},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[115]]