Detect Magic

Bard, Sorcerer/wizard, druid, cleric divination cantrip

This spell detects magic within 60 feet. Using it for one round detects presence or abscence of magic. 2 rounds says the number of auras and the power of the strongest one. 3 tells all. The strength and location of each aura is revealed, and if you can see spells without the detect magic, you can make a Spellcraft check to see what school it is.

For a spell, the aura is faint if the level is 3rd level or below (spell level, not caster level), Moderate for 4th to 6th, Strong for 7th to 9th, and overwhelming if the spell is epic.

Artifacts use Faint: 5th caster level or lower, Moderate: 6th to 11th, Strong: 12th to 20th, and Overwhelming for an epic artifact.

After the power is gone, a very dim aura remains. If the level was faint, the lingering is 1d6 rounds. It is 1d6 minutes for moderate, 1d6 times 10 minutes for strong, and 1d6 days for overwhelming.