I usually allow an applicable knowledge check (religion, arcane, nature, ...) if the spellcasters botch their spellcraft rolls. But only if they have it and can cast those types of spells. So if the cleric screws up his spellcraft to see if a temple altar has any spells on it, he can make a...