This skill should be used when the user asks to "cast a spell", "spell slots", "spell save DC", "concentration", "spell attack", "spellcasting ability", "cantrip", "ritual casting", or needs guidance on d20 system magic mechanics. Provides spellcasting rules, formulas, and references for running magical gameplay.
This skill inherits all available tools. When active, it can use any tool Claude has access to.
references/spellcasting.mdProvides guidance for handling spellcasting in d20 system adventures. Use this skill when players cast spells, manage spell resources, or when you need to resolve magical effects.
These formulas are essential for all spellcasting. The spellcasting ability depends on class: Intelligence (Wizard), Wisdom (Cleric, Druid, Ranger), or Charisma (Bard, Paladin, Sorcerer, Warlock).
When a spell forces a target to make a saving throw:
Spell Save DC = 8 + Proficiency Bonus + Spellcasting Ability Modifier
Example: A level 5 Wizard with Intelligence 18 (+4 modifier) has proficiency bonus +3.
When a spell requires an attack roll against a target:
Spell Attack Modifier = Proficiency Bonus + Spellcasting Ability Modifier
Example: Same level 5 Wizard with Intelligence 18.
To make a spell attack, use the dice-roller skill:
bash "${CLAUDE_PLUGIN_ROOT}/skills/dice-roller/scripts/roll.sh" "1d20+7"
Compare the result against the target's Armor Class (AC).
Spell slots represent a caster's magical energy. Each level 1+ spell requires expending a slot of that level or higher.
See references/spellcasting.md for complete spell slot tables by class and level.
Full Casters (Bard, Cleric, Druid, Sorcerer, Wizard): Access spell levels 1-9, gain slots at every level.
Half Casters (Paladin, Ranger): Access spell levels 1-5, gain first slot at level 1 (Ranger) or level 2 (Paladin), progress more slowly.
Warlocks: Use Pact Magic with fewer slots that recharge on Short Rest. See references for details.
Cantrips are level 0 spells that don't consume spell slots.
Cantrip Damage Scaling Example (Fire Bolt):
| Character Level | Damage |
|---|---|
| 1-4 | 1d10 |
| 5-10 | 2d10 |
| 11-16 | 3d10 |
| 17+ | 4d10 |
Many powerful spells require concentration to maintain their effects.
Concentration ends immediately if:
When you take damage while concentrating:
Constitution Save DC = Higher of: 10 OR (Damage Taken / 2)
Maximum DC is 30 (from 60+ damage).
Example: A Wizard concentrating on Haste takes 18 damage.
Roll the concentration save:
bash "${CLAUDE_PLUGIN_ROOT}/skills/dice-roller/scripts/roll.sh" "1d20+2"
(Assuming Constitution save modifier of +2)
If the save fails, the spell ends immediately.
When a spell requires an attack roll:
1d20+[modifier]Example: Casting Chromatic Orb (ranged spell attack, 3d8 damage)
# Attack roll with +7 modifier
bash "${CLAUDE_PLUGIN_ROOT}/skills/dice-roller/scripts/roll.sh" "1d20+7"
# If result >= target AC, roll damage
bash "${CLAUDE_PLUGIN_ROOT}/skills/dice-roller/scripts/roll.sh" "3d8"
When a spell requires the target to make a saving throw:
Example: Fireball (Dex save, DC 15)
Spells with the Ritual tag can be cast without expending a slot.
Classes with ritual casting: Bard, Cleric, Druid, Wizard (from spellbook without preparation).
Spells require specific components to cast:
| Component | Requirement |
|---|---|
| V (Verbal) | Must speak incantations; cannot cast if silenced |
| S (Somatic) | Must have free hand for gestures |
| M (Material) | Must have specified material or spellcasting focus |
Focus Substitution: A spellcasting focus (arcane focus, holy symbol, druidic focus) can replace material components that don't have a gold cost and aren't consumed.
| Situation | Formula |
|---|---|
| Spell Save DC | 8 + Proficiency + Ability Mod |
| Spell Attack | 1d20 + Proficiency + Ability Mod |
| Concentration DC (damage) | Max(10, Damage/2), cap 30 |
For detailed spell slot tables and class-specific spellcasting features, see:
references/spellcasting.md - Complete spell slot progression tablesreferences/srd/07_Spells.md - Full spell descriptionsreferences/srd/03_Classes/ - Class-specific spellcasting rules