Logo Azure Digital Twins

Azure Digital Twins

Tổ chức
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).

Tổng quan

Nhà phát hànhMicrosoftDocs
Kho mãAgent-Skills
Tên kỹ năngazure-digital-twins
Sao
778
Bản fork
126
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépCC-BY-4.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Đầy đủ trong hướng dẫn

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được MicrosoftDocs công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Azure Digital Twins trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/MicrosoftDocs/Agent-Skills/tree/main/skills/azure-digital-twins
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Azure Digital Twins trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Azure Digital Twins ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Azure Digital Twins không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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

Câu hỏi thường gặp

Kỹ năng AI Azure Digital Twins làm được gì?

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

Vì sao nên dùng Azure Digital Twins trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Azure Digital Twins là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Azure Digital Twins trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/MicrosoftDocs/Agent-Skills/tree/main/skills/azure-digital-twins. TypingMind đọc tệp SKILL.md và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Azure Digital Twins?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Azure Digital Twins với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Azure Digital Twins với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Azure Digital Twins có miễn phí không?

Có. Kỹ năng này được MicrosoftDocs phát hành trên GitHub theo giấy phép CC-BY-4.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇