Digital twin

From rnavarych/alpha-engineer · View interactive version

Digital twin is an AI agent skill from the GitHub repository rnavarych/alpha-engineer. Digital twin design patterns including state-based and simulation-based modeling, real-time state synchronization, predictive maintenance via simulation, what-if scenario analysis, 3D visualization, and platform guidance for Azure Digital Twins and AWS IoT TwinMaker.

How to use this skill

Skill file

Digital Twin Patterns

When to use

Core principles

  1. Maturity determines complexity — start with a digital shadow (read-only), graduate to bidirectional twin only when control use cases are proven
  2. Graph topology mirrors physical topology — site → building → floor → room → device; queries follow the physical hierarchy
  3. Eventual consistency is fine for monitoring; not for control — sub-second twin updates matter only in closed-loop control scenarios
  4. Staleness thresholds are a first-class feature — a twin that hasn't updated in 5x its expected interval is broken, not just quiet
  5. Sandbox before touching the physical asset — all what-if scenarios run on a cloned twin state, never against the live twin

Reference Files

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.