Spell Reference 标志

Spell Reference

社区
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.

概览

发布者nicmarti
代码仓库skills-weaver
技能名称spell-reference
星标数
30
复刻数
3
附带文件
仅含指令
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 nicmarti 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Spell Reference AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/nicmarti/skills-weaver/tree/master/core_agents/skills/spell-reference
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Spell Reference,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Spell Reference。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Spell Reference 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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

常见问题

Spell Reference AI 技能有什么作用?

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

为什么在 TypingMind 中使用 Spell Reference?

因为您只需安装一次,就能搭配任何模型使用。Spell Reference 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Spell Reference?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/nicmarti/skills-weaver/tree/master/core_agents/skills/spell-reference。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Spell Reference?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Spell Reference 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Spell Reference 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Spell Reference AI 技能免费吗?

nicmarti 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇