  We provide a thermodynamic task to certify the general quantum resources of
both states and channels via work extraction, showing that general quantum
resources provide advantages in work extraction. Such work extraction tasks can
be further applied to certify quantum entanglement in a one-sided
device-independent way. As an application, we report a novel type of anomalous
energy flow -- a type of locally extractable energy that is attributed to the
globally distributed entanglement. Finally, we show that the existence of this
novel anomalous energy flow is equivalent to measurement incompatibility.
