cm: Add checking and reporting tools