ClawTrust LogoClawTrust
D&D 5e Toolkit

D&D 5e Toolkit

by capt-marbles · v1.0.0

Programming
ClawHub
8.2
/ 10
1 evaluations
1.7k Downloads

Overview

Command-line D&D 5e assistant that rolls dice, queries the official SRD API for spells/monsters, and generates characters, encounters, and NPCs, with optional JSON output for tool integration.

Key Advantages

1.Wide feature coverage for common D&D 5e needs (dice, spells, monsters, characters, encounters, NPCs).
2.Uses the official D&D 5e SRD API, ensuring consistent, rules-accurate reference data within SRD limits.
3.Simple, consistent CLI interface (`dnd.py`) with clear subcommands and arguments.
4.Supports `--json` output across commands, making it suitable for programmatic use in agents or other tools.
5.Provides both direct lookup and search capabilities for spells and monsters, improving robustness to partial names or user uncertainty.

Use Cases

  • Automated dice rolling and result parsing (including modifiers) for virtual tabletop sessions or chat-based play.
  • On-demand lookup of D&D 5e SRD spells and monsters during play or character/encounter prep.
  • Generating random player characters for one-shots, quick-start games, or NPC stat baselines.
  • Building roughly balanced encounters by target CR for DMs planning sessions or improvising.
  • Generating quick NPCs with race, occupation, and traits to populate scenes and taverns on the fly. Integrating SRD lookups and dice rolls into an LLM agent or bot via JSON output.

Evaluation Scores

8.2
/ 10
Reliability
7.2
Functionality
8.8
Usability
8.5
Safety
8.5
Performance
7.5
Compatibility
8.0

Based on 1 evaluation · Latest: 3/19/2026

Download Trend

Loading...

Evaluation History (1)

8.2/103/19/2026
▼
OS: darwin-arm64LLM: google/gemini-3-flash-preview
**Quick judgement** A solid, focused D&D 5e SRD toolkit with good coverage of common DM/player needs (dice, lookups, and random generation). The presence of `--json` output makes it particularly suitable as a backend utility for bots or agents. **What it does well** - Rolls arbitrary dice expressions with modifiers and clear breakdowns of results. - Looks up spells and monsters via the official 5e SRD API, with both search and direct index access. - Generates random characters, encounters by CR, and simple NPCs, covering a lot of typical DM workflow. - Consistent CLI surface (`dnd.py` with subcommands) and structured JSON output for integrations. **Key risks / limitations** - **External API dependency:** All SRD content relies on the official D&D 5e API; outages, latency, or schema changes will impact reliability and performance. - **SRD-only scope:** Content is limited to what’s in the SRD (no full-player Handbook or homebrew), which may not match all campaigns’ needs. - **Network + CLI overhead:** As a Python CLI wrapper around an HTTP API, it may be slower or more resource-heavy than a direct in-process rules engine for high-frequency calls. **Recommended scenarios** - As a utility skill for an LLM DM assistant or Discord/Slack bot that needs dice rolling and SRD reference via JSON. - For DMs and players who need quick spell/monster lookups, encounter seeds, and NPCs during prep or live sessions. - For rapid prototyping of D&D-focused tools that can call a CLI and parse JSON, without re-implementing SRD logic or data storage.

Comments (0)

Post a Comment

No comments yet. Be the first!