Spell Reference logo

Spell Reference

Community
nicmarti
spell-reference

Consulte les sorts D&D 5e par classe et niveau (0-9). Cantrips, écoles, concentration, rituels. Utilisez pour vérifier les sorts lancés.

Overview

Publishernicmarti
Repositoryskills-weaver
Skill namespell-reference
Stars
30
Forks
3
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by nicmarti on GitHub. Read the source before you install it.

Installation

Install the Spell Reference AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/nicmarti/skills-weaver/tree/master/core_agents/skills/spell-reference
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/nicmarti/skills-weaver.git /tmp/skills-weaver
mkdir -p .claude/skills
cp -r /tmp/skills-weaver/core_agents/skills/spell-reference .claude/skills/spell-reference
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Spell Reference in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Spell Reference on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Spell Reference is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Spell Reference - Grimoire des Sorts D&D 5e

Skill pour consulter les sorts D&D 5e (257 sorts, 12 classes, 8 écoles de magie). Indispensable pour vérifier les effets des sorts pendant le jeu.

Utilisation Rapide

bash
# Compiler si nécessaire
go build -o sw-spell ./cmd/spell

# Lister les sorts par classe
./sw-spell list --class=wizard

# Cantrips d'une classe
./sw-spell cantrips wizard

# Détails d'un sort
./sw-spell show projectile_magique

# Sorts de concentration
./sw-spell concentration

# Slots de sorts
./sw-spell slots wizard --level=5

Commandes Disponibles

Lister les Sorts

bash
./sw-spell list                              # Tous les sorts (257)
./sw-spell list --class=wizard               # Sorts de magicien
./sw-spell list --class=cleric --level=1     # Clerc niveau 1
./sw-spell list --level=0                    # Cantrips
./sw-spell list --school=evocation           # École d'évocation
./sw-spell list --format=md                  # Fiches détaillées
./sw-spell list --format=json                # Format JSON

Cantrips (Level 0)

bash
./sw-spell cantrips <classe>

# Exemples:
./sw-spell cantrips wizard        # Cantrips de magicien (13)
./sw-spell cantrips cleric        # Cantrips de clerc
./sw-spell cantrips warlock       # Cantrips d'occultiste

Écoles de Magie

bash
./sw-spell schools                # Liste les 8 écoles
./sw-spell schools --format=detail   # Avec exemples de sorts

8 Écoles D&D 5e :

  • Abjuration : Protection (Bouclier, Protection contre le mal)
  • Invocation : Création/téléportation (Invoquer familier)
  • Divination : Connaissance (Détection de la magie)
  • Enchantement : Contrôle mental (Charme-personne)
  • Évocation : Énergie/dégâts (Projectile magique, Boule de feu)
  • Illusion : Tromperie (Image silencieuse)
  • Nécromancie : Mort/non-mort (Animation des morts)
  • Transmutation : Transformation (Métamorphose)

Sorts de Concentration

bash
./sw-spell concentration          # Liste 69 sorts concentration
./sw-spell concentration --format=md   # Fiches détaillées

Règle concentration : Seul 1 sort de concentration peut être actif à la fois. Brisée si : dégâts (JdS CON DC 10 ou ½ dégâts), incapacité, mort, nouveau sort concentration.

Sorts Rituels

bash
./sw-spell rituals                # Liste 22 sorts rituels

Règle rituels : Sorts rituels prennent +10 minutes mais ne consomment pas de slot.

Afficher un Sort

bash
./sw-spell show <id>

# Exemples:
./sw-spell show projectile_magique    # Projectile magique
./sw-spell show soin_des_blessures    # Soins des blessures
./sw-spell show sommeil               # Sommeil
./sw-spell show --format=json         # Format JSON
./sw-spell show --format=short        # Une ligne

Rechercher des Sorts

bash
./sw-spell search <terme>

# Exemples:
./sw-spell search lumière            # Par nom français
./sw-spell search light              # Par nom anglais
./sw-spell search feu                # Sorts de feu

Slots de Sorts

bash
./sw-spell slots <classe> --level=<niveau>

# Exemples:
./sw-spell slots wizard --level=5    # Magicien niveau 5
./sw-spell slots paladin --level=3   # Paladin niveau 3
./sw-spell slots warlock --level=11  # Occultiste niveau 11

Classes de Lanceurs D&D 5e

ClasseTypeDébutNiveaux max
Magicien (wizard)Full caster19
Ensorceleur (sorcerer)Full caster19
Clerc (cleric)Full caster19
Druide (druid)Full caster19
Barde (bard)Full caster19
Occultiste (warlock)Pact caster15 (pact slots)
PaladinHalf caster25
Rôdeur (ranger)Half caster25
Guerrier (fighter)1/3 caster34 (Eldritch Knight)
Roublard (rogue)1/3 caster34 (Arcane Trickster)

Aliases FR/EN acceptés : magicien/wizard, clerc/cleric, ensorceleur/sorcerer, occultiste/warlock, rôdeur/ranger, guerrier/fighter, roublard/rogue.

Format de Sortie

Fiche Sort (Markdown)

markdown
## Projectile magique

**Niveau 1** | **École** : Évocation

| Caractéristique | Valeur |
|-----------------|--------|
| **Temps d'incantation** | action |
| **Portée** | 36 m |
| **Composantes** | V, S |
| **Durée** | instantanée |
| **Classes** | Magicien, Ensorceleur |
| **Dégâts** | 1d4+1 |

### Description

Vous créez trois fléchettes lumineuses d'énergie magique...

### Aux niveaux supérieurs

Chaque emplacement de sort de niveau supérieur crée une fléchette supplémentaire.

Format Court

Projectile magique [N1 Évocation] - 36 m, instantanée
Lumière [Cantrip Évocation] - contact, 1 heure
Détection de la magie (C) (R) [N1 Divination] - personnelle, Concentration, jusqu'à 10 minutes

(C) = Concentration | (R) = Rituel

Slots de Sorts par Niveau

Full Casters (Wizard, Sorcerer, Cleric, Druid, Bard)

Niv123456789Cantrips
12--------3-4
23--------3-4
342-------3-4
5432------4-5
943331----4-6
174333211115-6
204333322115-6

Half Casters (Paladin, Ranger)

Niv12345Cantrips
22-----
542----
9432---
134331--
1743331-
2043332-

Warlock (Pact Magic)

NivSlot LevelSlotsCantrips
1112
2122
3222
5323
11534
17544

Note Occultiste : Tous les slots sont du même niveau. Restaurés au repos court.

Mécaniques D&D 5e

Concentration

  • Maximum : 1 sort de concentration actif à la fois
  • Brisée si :
    • Dégâts : JdS CON DC 10 ou ½ dégâts (le plus élevé)
    • Incapacité ou mort
    • Nouveau sort de concentration lancé
  • 69 sorts avec concentration (vérifier avec ./sw-spell concentration)

Rituels

  • +10 minutes de temps d'incantation
  • Pas de slot consommé
  • 22 sorts rituels (vérifier avec ./sw-spell rituals)
  • Exemples : Détection de la magie, Identification, Alarme

Cantrips

  • Illimités par jour
  • Scale avec niveau perso (pas niveau sort)
  • Exemples : Trait de feu 1d10 → 2d10 (niv 5) → 3d10 (niv 11) → 4d10 (niv 17)

Upcasting

  • Lancer sort avec slot niveau supérieur pour effet amélioré
  • Exemple : Projectile magique avec slot niveau 3 = 5 fléchettes au lieu de 3
  • Champ upcast dans la fiche sort décrit l'effet

Composantes

  • V (Verbal) : Parole nécessaire
  • S (Somatique) : Main libre nécessaire
  • M (Matériel) : Matériau ou focalisateur arcanique/divin
  • Si M avec coût spécifique : matériau consommé

Spell Save DC

Formule : 8 + bonus maîtrise + modificateur caractéristique

Exemple : Magicien niveau 5, INT 16 (+3)

  • Bonus maîtrise : +3
  • DD sauvegarde : 8 + 3 + 3 = 14

Spell Attack Bonus

Formule : bonus maîtrise + modificateur caractéristique

Exemple : Magicien niveau 5, INT 16 (+3)

  • Bonus attaque : 3 + 3 = +6

Intégration avec Adventure Manager

bash
# Vérifier un sort avant de l'utiliser
./sw-spell show sommeil

# Logger le sort dans le journal (via sw-dm)
# L'agent dungeon-master peut appeler get_spell tool

Conseils d'Utilisation

Pour le Dungeon Master

bash
# Vérifier rapidement un sort ennemi
./sw-spell show charme_personne

# Trouver sorts de zone
./sw-spell search "rayon"

# Vérifier sorts concentration actifs
./sw-spell concentration

Pour vérifier un personnage

bash
# Sorts disponibles pour magicien niveau 1
./sw-spell list --class=wizard --level=1

# Cantrips de clerc
./sw-spell cantrips cleric

# Slots disponibles
./sw-spell slots wizard --level=5

Utilisé par

Ce skill est utilisé par les agents suivants :

AgentUsage
dungeon-masterVérification effets sorts, concentration, slots
rules-keeperRéférence sorts pour arbitrage
character-creatorChoix sorts initiaux (cantrips + level 1)

Type : Skill autonome, peut être invoqué directement via /spell-reference

Données

  • 257 sorts D&D 5e dans data/5e/spells.json
  • Source : docs/markdown-new/sorts_et_magie.md (376 KB)
  • Niveaux : 0-9 (0 = cantrips, 25 sorts)
  • Écoles : 8 (abjuration, conjuration, divination, enchantment, evocation, illusion, necromancy, transmutation)
  • Concentration : 69 sorts
  • Rituels : 22 sorts

Frequently asked questions

What does the Spell Reference AI skill do?

Consulte les sorts D&D 5e par classe et niveau (0-9). Cantrips, écoles, concentration, rituels. Utilisez pour vérifier les sorts lancés.

Why use Spell Reference on TypingMind?

Because you install it once and use it with any model. Spell Reference is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Spell Reference in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/nicmarti/skills-weaver/tree/master/core_agents/skills/spell-reference. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Spell Reference?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Spell Reference?

As many as you like. As long as a model supports skills, you can use Spell Reference with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Spell Reference AI skill free?

It is published on GitHub by nicmarti. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇