hdinsight-migration

hdinsight-migration is a skill for Claude Code from microsoft/skills-for-fabric. It costs 71 tokens per session (3,102 once invoked), scanned A, original, MIT.

A migration guide for moving HDInsight Spark and Hive workloads to Microsoft Fabric. HDInsight is Microsoft’s older cloud service for big-data processing; Fabric uses Spark, OneLake, and Lakehouse storage.

In plain words
What is it for?
Use it to update Spark and Hive code, replace old storage paths with OneLake shortcuts, convert Hive definitions to Delta tables, and turn Oozie workflows into pipeline activities and triggers.
Why use it?
It identifies incompatible APIs, storage paths, table definitions, and workflow components that need changes during the move.

Skill for Claude Code ✓ vendor

Written for Claude Code: shipped in a Claude Code plugin.

Part of the fabric-skills plugin — 25 skills shipped together

Good fit Use it to update Spark and Hive code, replace old storage paths with OneLake shortcuts, convert Hive definitions to Delta tables, and turn Oozie workflows into pipeline activities and triggers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/skills-for-fabric/hdinsight-migration
About the project

Microsoft Fabric Skills is a collection of reusable instructions and MCP systems that help AI assistants work with Microsoft Fabric workloads, APIs, queries, and operations. It is intended for users of GitHub Copilot CLI and compatible coding tools; the catalogue entries are the skills, agents, instructions, MCP systems, plugins, and rules distributed by the project.

microsoft/skills-for-fabric · 1,321 stars · on GitHub

Install

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.

Any agent
npx skills add microsoft/skills-for-fabric --skill hdinsight-migration
Clone the repo
git clone --depth 1 https://github.com/microsoft/skills-for-fabric

Made for: Claude Code.

Or install fabric-skills, the plugin that ships this one along with the rest of its 25 skills.

Wrote 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.

agentmods badge for hdinsight-migration

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/skills-for-fabric/hdinsight-migration/github.svg)](https://agentmods.dev/skills/microsoft/skills-for-fabric/hdinsight-migration)
Your own site
<a href="https://agentmods.dev/skills/microsoft/skills-for-fabric/hdinsight-migration"><img src="https://agentmods.dev/badge/skills/microsoft/skills-for-fabric/hdinsight-migration/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.

agentmods 80×15 button for hdinsight-migration

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/skills-for-fabric/hdinsight-migration"><img src="https://agentmods.dev/badge/skills/microsoft/skills-for-fabric/hdinsight-migration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,102 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00071 $0.03102
Opus 5.5 $0.00028 $0.01241
Sonnet 5.5 $0.00014 $0.00620
Haiku 4.5 $0.00007 $0.00310

Measured 2mo ago against content hash c7d9776a2705, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hdinsight-migration 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.

plugins/fabric-skills/skills/hdinsight-migration/SKILL.md · 194 lines

How it starts

The opening of the file, as written. The whole thing — 194 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Telemetry — MANDATORY. Every api.fabric.microsoft.com call must carry x-ms-fabric-skill: hdinsight-migration (az rest: --headers "x-ms-fabric-skill=hdinsight-migration"), including every LRO poll, fabric_lro and retry. Snippets omit it — add it anyway.

CRITICAL NOTES

  1. To find workspace details (including its ID) from a workspace name: list all workspaces, then use JMESPath filtering
  2. To find item details (including its ID) from workspace ID, item type, and item name: list all items of that type in that workspace, then use JMESPath filtering
  3. HDInsight has no mssparkutils or dbutils equivalent — notebookutils is net-new capability being introduced
  4. HiveContext and SQLContext are legacy Spark 1.x/2.x APIs — Fabric uses Spark 3.x SparkSession exclusively
  5. wasb:// paths are deprecated and require a Storage Account key or SAS — replace with OneLake shortcuts
  6. Fabric cannot read or shortcut hdfs:// directly. Its Pipeline HDFS connector supports Anonymous authentication only; export or bridge Kerberos sources to supported storage first.

HDInsight → Microsoft Fabric Migration

Prerequisite Knowledge

Read these companion documents before executing migration tasks:

  • COMMON-CORE.md — Fabric REST API patterns, authentication, token audiences, item discovery
  • COMMON-CLI.md — az rest, az login, token acquisition, Fabric REST via CLI
  • SPARK-AUTHORING-CORE.md — Notebook deployment, lakehouse creation, Spark job execution

For notebook and Lakehouse creation, see spark-cli. For Fabric Warehouse DDL/DML authoring, see sqldw-cli.


Table of Contents

Topic Reference
Migration Workload Map § Migration Workload Map
SparkSession & Context API Changes § SparkSession API Changes
WASB / ABFS → OneLake Path Migration path-migration.md
Hive DDL → Delta Lake / Lakehouse Schemas hive-to-delta.md
Oozie → Fabric Pipelines § Oozie → Fabric Pipelines
Introducing notebookutils § Introducing notebookutils
Before/After Code Patterns code-patterns.md
Spark Configuration Differences § Spark Configuration Differences
Must / Prefer / Avoid § Must / Prefer / Avoid
Authentication & Token Acquisition COMMON-CORE.md § Authentication
Lakehouse Management SPARK-AUTHORING-CORE.md § Lakehouse Management

Read the full file on GitHub · 194 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 2mo ago First seen · 194 lines · 71 tokens per session scan A c7d9776a2705

Subscribe to this mod's changes

hdinsight-migration is a skill published in the GitHub repository microsoft/skills-for-fabric (1,321 stars, last pushed yesterday), licensed MIT. It adds 71 tokens to every session and 3,102 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-30.

Related

hdinsight-migration compared with skills from other repositories

hdinsight-migration next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hdinsight-migrationmicrosoft/skills-for-fabricSkill1.3kyesterdayMITA71Claude Code
tensorrt-llmNousResearch/hermes-agentSkill261kyesterdayMITA18Claude Code, Codex
agent-platform-tuninggoogle/skillsSkill22kyesterdayApache-2.0A64Claude Code, Codex
google-cloud-solution-guided-gke-ai-migrationgoogle/skillsSkill22kyesterdayApache-2.0A157Claude Code, Codex
apigee-agent-gateway-governancegoogle/skillsSkill22kyesterdayApache-2.0A222Claude Code, Codex
modalK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA65Claude Code, Codex
gke-inferencegoogle/skillsSkill22kyesterdayApache-2.0A119Claude Code, Codex