Azure Digital Twins logo

Azure Digital Twins

Organization
MicrosoftDocs
azure-digital-twins

Expert knowledge for Azure Digital Twins development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when modeling DTDL graphs, integrating IoT Hub/ADx, configuring endpoints/routes, securing access, or tuning query units, and other Azure Digital Twins related development tasks. Not for Azure IoT Hub (use azure-iot-hub), Azure IoT Central (use azure-iot-central), Azure IoT Operations (use azure-iot-operations).

Overview

PublisherMicrosoftDocs
RepositoryAgent-Skills
Skill nameazure-digital-twins
Stars
778
Forks
126
Bundled files
Instructions only
LicenseCC-BY-4.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by MicrosoftDocs on GitHub. Read the source before you install it.

Installation

Install the Azure Digital Twins AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/MicrosoftDocs/Agent-Skills/tree/main/skills/azure-digital-twins
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/MicrosoftDocs/Agent-Skills.git /tmp/Agent-Skills
mkdir -p .claude/skills
cp -r /tmp/Agent-Skills/skills/azure-digital-twins .claude/skills/azure-digital-twins
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Azure Digital Twins in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Azure Digital Twins on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Azure Digital Twins is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Azure Digital Twins Skill

This skill provides expert guidance for Azure Digital Twins. Covers troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. It combines local quick-reference content with remote documentation fetching capabilities.

How to Use This Skill

IMPORTANT for Agent: Use the Category Index below to locate relevant sections. For categories with line ranges (e.g., L35-L120), use read_file with the specified lines. For categories with file links (e.g., [security.md](security.md)), use read_file on the linked reference file

IMPORTANT for Agent: If metadata.generated_at is more than 3 months old, suggest the user pull the latest version from the repository. If mcp_microsoftdocs tools are not available, suggest the user install it: Installation Guide

This skill requires network access to fetch documentation content:

  • Preferred: Use mcp_microsoftdocs:microsoft_docs_fetch with query string from=learn-agent-skill. Returns Markdown.
  • Fallback: Use fetch_webpage with query string from=learn-agent-skill&accept=text/markdown. Returns Markdown.

Category Index

CategoryLinesDescription
TroubleshootingL37-L46Diagnosing and fixing common Azure Digital Twins issues: 403/404 errors, Explorer auth problems, CLI parse failures, known bugs, and performance troubleshooting.
Best PracticesL47-L52Guidance on modeling best practices: converting RDF/OWL ontologies to DTDL, extending DTDL for Azure Digital Twins, and designing effective tagging patterns for twin graphs.
Decision MakingL53-L57Guidance on selecting DTDL-based industry ontologies for your twin models and instructions for migrating from Azure Digital Twins preview control plane APIs to current APIs.
Architecture & Design PatternsL58-L63Designing resilient Digital Twins solutions (HA/DR) and translating industry ontologies into DTDL models for interoperable twin graphs.
Limits & QuotasL64-L69Details on Azure Digital Twins query unit usage, plus service limits, throttling behavior, and how to view/request changes to adjustable quotas.
SecurityL70-L78Security guidance for Azure Digital Twins: auth with Entra app registrations, client authentication, Private Link setup, and handling customer personal data and best practices.
ConfigurationL79-L103Configuring and operating Azure Digital Twins: instance setup, security, endpoints/routes, data history, monitoring, graph/twin/model management, Explorer/3D tools, and query language usage.
Integrations & Coding PatternsL104-L120Using SDKs, REST/CLI, queries, and plugins to integrate Azure Digital Twins with IoT Hub, Azure Data Explorer, Functions, Power Platform, and .NET clients, including query and DTDL model patterns.
DeploymentL121-L124Guidance for moving an Azure Digital Twins instance to a different region, including prerequisites, supported scenarios, and step-by-step migration procedures.

Troubleshooting

Best Practices

TopicURL
Extend DTDL ontologies for Azure Digital Twinshttps://learn.microsoft.com/en-us/azure/digital-twins/concepts-ontologies-extend
Implement tagging patterns for Azure Digital Twinshttps://learn.microsoft.com/en-us/azure/digital-twins/how-to-use-tags

Decision Making

TopicURL
Migrate from Azure Digital Twins preview control plane APIshttps://learn.microsoft.com/en-us/azure/digital-twins/resources-migrate-from-preview-apis

Architecture & Design Patterns

TopicURL
Plan high availability and disaster recovery for Digital Twinshttps://learn.microsoft.com/en-us/azure/digital-twins/concepts-high-availability-disaster-recovery
Convert industry ontologies to DTDL for Azure Digital Twinshttps://learn.microsoft.com/en-us/azure/digital-twins/concepts-ontologies-convert

Limits & Quotas

TopicURL
Understand Query Unit consumption in Digital Twinshttps://learn.microsoft.com/en-us/azure/digital-twins/concepts-query-units
Azure Digital Twins service limits and adjustable quotashttps://learn.microsoft.com/en-us/azure/digital-twins/reference-service-limits

Security

Configuration

TopicURL
Interpret Azure Digital Twins event notificationshttps://learn.microsoft.com/en-us/azure/digital-twins/concepts-event-notifications
Configure endpoints and event routes in Digital Twinshttps://learn.microsoft.com/en-us/azure/digital-twins/concepts-route-events
Set up Azure Digital Twins data history connectionhttps://learn.microsoft.com/en-us/azure/digital-twins/how-to-create-data-history-connection
Configure Azure Digital Twins event endpointshttps://learn.microsoft.com/en-us/azure/digital-twins/how-to-create-endpoints
Configure event routes and filters in Azure Digital Twinshttps://learn.microsoft.com/en-us/azure/digital-twins/how-to-create-routes
Manage Azure Digital Twins graphs and relationshipshttps://learn.microsoft.com/en-us/azure/digital-twins/how-to-manage-graph
Manage DTDL models in Azure Digital Twinshttps://learn.microsoft.com/en-us/azure/digital-twins/how-to-manage-model
Manage individual digital twins via APIs/SDKshttps://learn.microsoft.com/en-us/azure/digital-twins/how-to-manage-twin
Configure monitoring, metrics, and logs for Azure Digital Twinshttps://learn.microsoft.com/en-us/azure/digital-twins/how-to-monitor
Provision and secure Digital Twins via CLIhttps://learn.microsoft.com/en-us/azure/digital-twins/how-to-set-up-instance-cli
Set up an Azure Digital Twins instance in portalhttps://learn.microsoft.com/en-us/azure/digital-twins/how-to-set-up-instance-portal
Use 3D Scenes Studio features with Digital Twinshttps://learn.microsoft.com/en-us/azure/digital-twins/how-to-use-3d-scenes-studio
Operate Azure Digital Twins Explorer featureshttps://learn.microsoft.com/en-us/azure/digital-twins/how-to-use-azure-digital-twins-explorer
Use FROM clause in Azure Digital Twins query languagehttps://learn.microsoft.com/en-us/azure/digital-twins/reference-query-clause-from
Use JOIN clause in Azure Digital Twins graph querieshttps://learn.microsoft.com/en-us/azure/digital-twins/reference-query-clause-join
Use MATCH clause for graph traversal in Azure Digital Twinshttps://learn.microsoft.com/en-us/azure/digital-twins/reference-query-clause-match
Use SELECT clause in Azure Digital Twins query languagehttps://learn.microsoft.com/en-us/azure/digital-twins/reference-query-clause-select
Use WHERE clause in Azure Digital Twins querieshttps://learn.microsoft.com/en-us/azure/digital-twins/reference-query-clause-where
Use functions in Azure Digital Twins query languagehttps://learn.microsoft.com/en-us/azure/digital-twins/reference-query-functions
Use operators in Azure Digital Twins query languagehttps://learn.microsoft.com/en-us/azure/digital-twins/reference-query-operators
Reserved keywords in Azure Digital Twins query languagehttps://learn.microsoft.com/en-us/azure/digital-twins/reference-query-reserved

Integrations & Coding Patterns

TopicURL
Work with Azure Digital Twins APIs and SDKshttps://learn.microsoft.com/en-us/azure/digital-twins/concepts-apis-sdks
Use Azure Digital Twins CLI command sethttps://learn.microsoft.com/en-us/azure/digital-twins/concepts-cli
Query Azure Digital Twins data with Azure Data Explorer pluginhttps://learn.microsoft.com/en-us/azure/digital-twins/concepts-data-explorer-plugin
Configure data history with Azure Data Explorerhttps://learn.microsoft.com/en-us/azure/digital-twins/concepts-data-history
Use Azure Digital Twins query languagehttps://learn.microsoft.com/en-us/azure/digital-twins/concepts-query-language
Ingest IoT Hub telemetry into Azure Digital Twinshttps://learn.microsoft.com/en-us/azure/digital-twins/how-to-ingest-iot-hub-data
Parse and validate DTDL models with .NEThttps://learn.microsoft.com/en-us/azure/digital-twins/how-to-parse-models
Query Azure Digital Twins graphs with exampleshttps://learn.microsoft.com/en-us/azure/digital-twins/how-to-query-graph
Set up twin-to-twin event propagation with Azure Functionshttps://learn.microsoft.com/en-us/azure/digital-twins/how-to-send-twin-to-twin-events
Call Azure Digital Twins REST APIs using .http fileshttps://learn.microsoft.com/en-us/azure/digital-twins/how-to-use-apis
Use Power Platform connector with Azure Digital Twinshttps://learn.microsoft.com/en-us/azure/digital-twins/how-to-use-power-platform-logic-apps-connector
Code a .NET client for Azure Digital Twinshttps://learn.microsoft.com/en-us/azure/digital-twins/tutorial-code
Use Azure CLI commands with Digital Twinshttps://learn.microsoft.com/en-us/azure/digital-twins/tutorial-command-line-cli

Deployment

TopicURL
Move an Azure Digital Twins instance across regionshttps://learn.microsoft.com/en-us/azure/digital-twins/how-to-move-regions

Frequently asked questions

What does the Azure Digital Twins AI skill do?

Expert knowledge for Azure Digital Twins development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when modeling DTDL graphs, integrating IoT Hub/ADx, configuring endpoints/routes, securing access, or tuning query units, and other Azure Digital Twins related development tasks. Not for Azure IoT Hub (use azure-iot-hub), Azure IoT Central (use azure-iot-central), Azure IoT Operations (use azure-iot-operations).

Why use Azure Digital Twins on TypingMind?

Because you install it once and use it with any model. Azure Digital Twins is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Azure Digital Twins in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/MicrosoftDocs/Agent-Skills/tree/main/skills/azure-digital-twins. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Azure Digital Twins?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Azure Digital Twins?

As many as you like. As long as a model supports skills, you can use Azure Digital Twins with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Azure Digital Twins AI skill free?

Yes. It is published on GitHub by MicrosoftDocs under the CC-BY-4.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇