What problem does it solve? Custom PyTorch operators that run in Eager mode cannot be captured by torch.compile or npugraph_ex graph mode without proper registration and Meta functions. This Skill walks you through the complete workflow of adapting custom operators for graph mode on Ascend NPU, covering both registration paths and Meta inference function authoring. ## Core Features & Use Cases - State-based routing: Identifies whether your operator is undeveloped, Eager-ready, or already in-graph, then routes to the correct workflow (template generation, adaptation, or triage). - Dual registration paths: Supports both torch.library.custom_op with register_fake and pure Python torch.library.Library with FRAGMENT/IMPL/Meta registration, including in-place (mutates_args, Tensor(a!)) versus out-of-place semantics. - Meta function authoring: Generates shape/dtype/device-only inference skeletons that enable graph capture without executing real computation. - Use Case: You have a FlashAttention operator running in Eager mode via torch.library.custom_op and want it compiled by npugraph_ex; the Skill guides you to write a register_fake Meta function in your user script so torch.compile can build the graph. ## Quick Start Ask the assistant how to adapt your existing Eager custom operator registered with torch.library.custom_op for npugraph_ex graph mode.