To add custom commands to Cortana, you can use Cortanium. Cortanium is a Microsoft Store app that you can download for free on Windows 11 and Windows 10. For your information, you can add more than twenty-five custom commands to Cortana with the help of this app.