trpg

trpg is a skill for Claude Code, Codex from serejaris/kimi-skills. It costs 60 tokens per session (3,832 once invoked), scanned A, original, MIT.

A toolkit for writing tabletop role-playing game scenarios and modules. Tabletop role-playing games are group storytelling games such as Dungeons & Dragons or Call of Cthulhu, played through rules, characters, and guided scenes.

In plain words
What is it for?
Use it to create one-shots, campaigns, NPCs, encounters, maps, handouts, and safety tools for systems including CoC, D&D, Pathfinder, and FATE.
Why use it?
It helps structure adventures so that the setting, non-player characters, encounters, handouts, and safety guidance support a playable session or campaign.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python skills/general-writing/scripts/check_wordcount.py <file> --min {target} --lang auto.

Good fit Use it to create one-shots, campaigns, NPCs, encounters, maps, handouts, and safety tools for systems including CoC, D&D, Pathfinder, and FATE.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/serejaris/kimi-skills
agentmods
npx agentmods add skills/serejaris/kimi-skills/trpg

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for trpg

README.md
[![agentmods](https://agentmods.dev/badge/skills/serejaris/kimi-skills/trpg/github.svg)](https://agentmods.dev/skills/serejaris/kimi-skills/trpg)
Your own site
<a href="https://agentmods.dev/skills/serejaris/kimi-skills/trpg"><img src="https://agentmods.dev/badge/skills/serejaris/kimi-skills/trpg/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for trpg

Your own site · 80×15
<a href="https://agentmods.dev/skills/serejaris/kimi-skills/trpg"><img src="https://agentmods.dev/badge/skills/serejaris/kimi-skills/trpg.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,832 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00060 $0.03832
Opus 5.5 $0.00024 $0.01533
Sonnet 5.5 $0.00012 $0.00766
Haiku 4.5 $0.00006 $0.00383

Measured 2mo ago against content hash f0489d261abc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

trpg scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/general-writing/trpg/SKILL.md · 262 lines

How it starts

The opening of the file, as written. The whole thing — 262 lines — stays where its author put it; the contents beside it link to each section on GitHub.

TRPG Writing

Sub-skill of general-writing. Inherits shared principles, anti-AI discipline, and quality gates.

CRITICAL — Review → Fix Brief → Dispatched Subagent: When a review finds issues, translate them into a detailed fix brief (file paths, quoted findings, expected outcome, scope boundary, self-check) and dispatch a fresh subagent to apply the fix. Never use inline sed/edit_file fixes.

CRITICAL — Anti-Read-Loop Rule: The orchestrator must dispatch its first subagent (world_designer, encounter_designer, or npc_writer) within 10 iterations. If the orchestrator has spent 10+ iterations only reading files without creating any subagent, it is in a read-loop. Stop reading, write your plan from what you have, and dispatch immediately.

CRITICAL — Step Budget & Delivery: You have a limited step budget. Plan delivery accordingly:

  • One-shots: fully achievable in one session. Write all components, review, assemble, convert to .docx.
  • Campaigns / multi-session modules: prioritize core scenario + key NPCs + encounter maps. Deliver completed components with .docx and ask user whether to continue.
  • Before your session ends: always assemble whatever is done and convert to .docx — never end with only raw component files.

Trigger Keywords

跑团, TRPG, tabletop RPG, CoC, DnD, 模组, scenario, one-shot, campaign, keeper, dungeon master, NPC设计, encounter, Pathfinder, FATE, sandbox, 战役, 调查员, 修仙

File Paths

Output Directory Structure

/mnt/agents/output/
├── research/                    # User uploads (system rulebooks, setting refs)
├── {project_name}.outline.md
├── documents/
│   ├── {project_name}.npcs.md
│   ├── {project_name}.encounters.md
│   └── {project_name}.maps.md
└── scenes/
    ├── {project_name}.scene{NN}.md
    ├── {project_name}.stat_blocks.md
    └── {project_name}.handouts/

User-Uploaded Files

Before Stage 1, copy all user-uploaded files (system rulebooks, setting references, existing campaign notes) to /mnt/agents/output/research/. Preserve original filenames. Reference these copies (not originals) in all subagent task prompts — subagents may run in sandboxed environments without access to the original paths.

Read the full file on GitHub · 262 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 262 lines · 60 tokens per session scan A f0489d261abc

Subscribe to this mod's changes

trpg is a skill published in the GitHub repository serejaris/kimi-skills (13 stars, last pushed 4mo ago), licensed MIT. It adds 60 tokens to every session and 3,832 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

trpg compared with skills from other repositories

trpg next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
trpgserejaris/kimi-skillsSkill134mo agoMITA60Claude Code, Codex
fiscalisteromainsimon/paperasseSkill2.6k18d agoMITA306Claude Code
human-in-the-loop-designmohitagw15856/pm-claude-skillsSkill1.6ktodayMITA120Claude Code
ai-assisted-performance-reviewmohitagw15856/pm-claude-skillsSkill1.6ktodayMITA122Claude Code
site-analysis-reportmohitagw15856/pm-claude-skillsSkill1.6ktodayMITA101Claude Code
pr-description-writermohitagw15856/pm-claude-skillsSkill1.6ktodayMITA80Claude Code, Codex
agent-incident-postmortemmohitagw15856/pm-claude-skillsSkill1.6ktodayMITA120Claude Code