Character Generator logo

Character Generator

Community
nicmarti
character-generator

Crée des personnages D&D 5e. Génère caractéristiques (4d6kh3 ou répartition standard), applique modificateurs d'espèce, calcule bonus maîtrise, points de vie et or de départ. 9 espèces, 12 classes. Sauvegarde dans data/characters/.

Overview

Publishernicmarti
Repositoryskills-weaver
Skill namecharacter-generator
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 Character Generator 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/character-generator
  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/character-generator .claude/skills/character-generator
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Character Generator 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 Character Generator 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 Character Generator 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.

Character Generator - Générateur de Personnages D&D 5e

Skill pour créer et gérer des personnages dans D&D 5e (5ème édition).

Utilisation Rapide

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

# Créer un personnage
./sw-character create "Nom" --species=human --class=fighter

Commandes Disponibles

Créer un personnage

bash
./sw-character create "Aldric" --species=human --class=fighter
./sw-character create "Lyra" --species=elf --class=wizard
./sw-character create "Gorim" --species=dwarf --class=cleric
./sw-character create "Zara" --species=dragonborn --class=paladin
./sw-character create "Finnian" --species=halfling --class=rogue

# Méthode classique (3d6, plus difficile)
./sw-character create "Sage" --species=human --class=wizard --method=classic

# Avec background
./sw-character create "Marcus" --species=human --class=fighter --background=soldier

Gérer les personnages

bash
./sw-character list              # Liste tous les personnages
./sw-character show "Aldric"     # Affiche la fiche complète
./sw-character delete "Aldric"   # Supprime un personnage

Exporter

bash
./sw-character export "Aldric" --format=json    # Export JSON
./sw-character export "Aldric" --format=md      # Export Markdown

Espèces Disponibles (9)

EspèceIDModificateursParticularités
Humainhuman+1 toutes ou variantePolyvalent
Drakéidedragonborn+2 FOR, +1 CHASouffle, résistance élémentaire
Elfeelf+2 DEXVision dans le noir, transe
Gnomegnome+2 INTVision dans le noir, résistance magie
Goliathgoliath+2 FOR, +1 CONEndurance de pierre
Halfelinhalfling+2 DEXChanceux, brave
Naindwarf+2 CONVision dans le noir, résistance
Orcorc+2 FOR, +1 CONVision dans le noir, endurance
Tieffelintiefling+2 CHA, +1 INTVision dans le noir, magie infernale

Classes Disponibles (12)

ClasseIDDé de VieRôleSauvegardes
Barbarebarbariand12Tank, rageFOR, CON
Bardebardd8Support, magieDEX, CHA
Clercclericd8Soins, divineWIS, CHA
Druidedruidd8Magie natureINT, WIS
Ensorceleursorcererd6Magie innéeCON, CHA
Guerrierfighterd10CombatFOR, CON
Magicienwizardd6Magie arcaniqueINT, WIS
Moinemonkd8Arts martiauxFOR, DEX
Occultistewarlockd8Magie pacteWIS, CHA
Paladinpaladind10Combat sacréWIS, CHA
Rôdeurrangerd10Pistage, natureFOR, DEX
Roublardrogued8DiscrétionDEX, INT

Backgrounds Disponibles

BackgroundIDCompétences
AcolyteacolyteIntuition, Religion
CriminelcriminalTromperie, Discrétion
ÉruditsageArcanes, Histoire
Héros du Peuplefolk-heroDressage, Survie
NoblenobleHistoire, Persuasion
Artisanguild-artisanIntuition, Persuasion
SoldatsoldierAthlétisme, Intimidation

Pas de Restrictions Espèce/Classe

D&D 5e : Toutes les combinaisons espèce/classe sont valides. Pas de limite de niveau par espèce.

Processus de Création

  1. Génération des caractéristiques :
    • Standard : 4d6kh3 (×6)
    • Classic : 3d6 (×6, plus difficile)
    • Répartition standard : 15, 14, 13, 12, 10, 8
  2. Application des modificateurs d'espèce : Bonus selon l'espèce
  3. Calcul des modificateurs : (Score - 10) ÷ 2 (arrondi vers le bas)
  4. Bonus de maîtrise : +2 au niveau 1
  5. Points de vie : Dé de classe max + modificateur CON
  6. Compétences : Classe (2-4) + Background (2)
  7. Or de départ : Selon classe
  8. Sauvegarde : Fichier JSON dans data/characters/

Formule des Modificateurs D&D 5e

Modificateur = (Score - 10) ÷ 2 (arrondi vers le bas)
ScoreModificateurScoreModificateur
1-510-110
2-3-412-13+1
4-5-314-15+2
6-7-216-17+3
8-9-118-19+4

Bonus de Maîtrise par Niveau

NiveauBonusNiveauBonus
1-4+213-16+5
5-8+317-20+6
9-12+4

Exemples de Résultats

Création d'un guerrier humain

## Création de Aldric

### Génération des caractéristiques (4d6kh3)

| Caractéristique | Jets | Total | Modificateur |
|-----------------|------|-------|--------------|
| Force           | 6, ~~1~~, 5, 4 | **15** | +2 |
| Intelligence    | ~~2~~, 3, 6, 4 | **13** | +1 |
| Sagesse         | 5, ~~2~~, 6, 3 | **14** | +2 |
| Dextérité       | 4, 4, ~~1~~, 6 | **14** | +2 |
| Constitution    | 6, 5, ~~3~~, 4 | **15** | +2 |
| Charisme        | 3, 4, ~~2~~, 5 | **12** | +1 |

### Modificateurs d'espèce (Humain)

+1 à toutes les caractéristiques → FOR 16 (+3), INT 14 (+2), etc.

### Points de vie (niveau 1, d10 max)

PV = 10 (dé max) + 3 (CON) = **13**

### Bonus de maîtrise

**+2** au niveau 1

### Or de départ

**150 po** (5d4×10 pour guerrier)

Fichiers de Sortie

Les personnages sont sauvegardés en JSON dans data/characters/ :

json
{
  "id": "uuid",
  "name": "Aldric",
  "species": "human",
  "class": "fighter",
  "level": 1,
  "proficiency_bonus": 2,
  "background": "soldier",
  "abilities": {
    "strength": 16,
    "dexterity": 14,
    "constitution": 15,
    "intelligence": 14,
    "wisdom": 14,
    "charisma": 12
  },
  "modifiers": {
    "strength": 3,
    "dexterity": 2,
    "constitution": 2,
    "intelligence": 2,
    "wisdom": 2,
    "charisma": 1
  },
  "hit_points": 13,
  "max_hit_points": 13,
  "armor_class": 10,
  "gold": 150,
  "skills": {
    "athletics": true,
    "intimidation": true
  },
  "saving_throw_profs": {
    "strength": true,
    "constitution": true
  }
}

Conseils d'Utilisation

  • Aucune restriction espèce/classe en D&D 5e
  • Utilisez --method=classic pour génération 3d6 (plus difficile)
  • La skill dice-roller peut être utilisée pour jets supplémentaires
  • Les compétences sont automatiquement assignées selon classe + background
  • Bonus de maîtrise augmente avec le niveau (+2 → +6)

Différences vs BFRPG

AspectBFRPGD&D 5e
Espèces4 races9 espèces
Classes4 classes12 classes
RestrictionsLimites niveau/raceAucune
ModificateursTable lookupFormule (Score-10)÷2
CompétencesAucune18 formelles
Bonus maîtrisePar caractéristique+2 à +6 (niveau)

Utilisé par

Ce skill est utilisé par les agents suivants :

AgentUsage
character-creatorCréation guidée de personnages

Type : Skill autonome, peut être invoqué directement via /character-generator

Dépendances : Utilise dice-roller pour la génération des caractéristiques

Frequently asked questions

What does the Character Generator AI skill do?

Crée des personnages D&D 5e. Génère caractéristiques (4d6kh3 ou répartition standard), applique modificateurs d'espèce, calcule bonus maîtrise, points de vie et or de départ. 9 espèces, 12 classes. Sauvegarde dans data/characters/.

Why use Character Generator on TypingMind?

Because you install it once and use it with any model. Character Generator 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 Character Generator in TypingMind?

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

Which AI models can use Character Generator?

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 Character Generator?

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

Is the Character Generator 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 👇