rpg-treasure-builder

rpg-treasure-builder is a skill for Claude Code from vstrapasson/rpg-marketplace. It costs 194 tokens per session (2,379 once invoked), scanned A, original, MIT.

A Pathfinder 2e tool that converts a gold-piece treasure budget into specific loot, such as permanent items, consumables, currency, gems, and art objects. Pathfinder 2e is a tabletop role-playing game, and Archives of Nethys is its online rules reference.

In plain words
What is it for?
Use it to build treasure for an encounter, plan a level's rewards, or itemize loot for a party of a given level and size.
Why use it?
It removes the guesswork from choosing rewards while keeping the party's wealth aligned with the game's expected progression.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the rpg-gamemaster plugin — 8 skills, 1 command shipped together

Good fit Use it to build treasure for an encounter, plan a level's rewards, or itemize loot for a party of a given level and size.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add vstrapasson/rpg-marketplace
Claude Code
/plugin install rpg-gamemaster

Made for: Claude Code.

Or install rpg-gamemaster, the plugin that ships this one along with the rest of its 8 skills, 1 command.

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 rpg-treasure-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/vstrapasson/rpg-marketplace/rpg-treasure-builder/github.svg)](https://agentmods.dev/skills/vstrapasson/rpg-marketplace/rpg-treasure-builder)
Your own site
<a href="https://agentmods.dev/skills/vstrapasson/rpg-marketplace/rpg-treasure-builder"><img src="https://agentmods.dev/badge/skills/vstrapasson/rpg-marketplace/rpg-treasure-builder/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 rpg-treasure-builder

Your own site · 80×15
<a href="https://agentmods.dev/skills/vstrapasson/rpg-marketplace/rpg-treasure-builder"><img src="https://agentmods.dev/badge/skills/vstrapasson/rpg-marketplace/rpg-treasure-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 194 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,379 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.00194 $0.02379
Opus 5.5 $0.00078 $0.00952
Sonnet 5.5 $0.00039 $0.00476
Haiku 4.5 $0.00019 $0.00238

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

Security

Grade A, and why

rpg-treasure-builder 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.

plugins/rpg-gamemaster/skills/rpg-treasure-builder/SKILL.md · 97 lines

How it starts

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

RPG Treasure Builder (Pathfinder 2e kit — the loot layer)

What this skill is for

Turn a treasure budget into actual loot, and keep the party's wealth honest across a level. The rpg-encounter-builder outputs a gp number for a fight; this skill takes that number (or a whole level's budget) and itemizes it — specific permanent items, consumables, currency, gems, and art objects by item level — referenced to Archives of Nethys, with the arithmetic shown. It is the by-the-book counterpart to the encounter builder, for everything below the relic tier.

It does not invent magic items or write stat blocks — it picks existing PF2e items from AoN category pages and reskins flavor. The math is in references/pf2e-treasure-math.md.

The boundary with the artifact creator

rpg-artifact-creator builds the top tier only — legendary relics as narrative nodes (provenance, will, staged price). This skill builds everything below: the coins, gems, consumables, and permanent magic items the party finds and uses. If a level's primary permanent item should be a story relic, this skill references it ([[The Drowned Bell]]) and hands off to the artifact creator to design it — it never designs the relic itself.

The two layers — itemized loot AND honest wealth

  1. The hoard — the budget itemized: named permanent items and consumables (each with value, item level, rarity, category), plus aggregate currency/gems/art. The arithmetic against the budget, always shown.
  2. The wealth tracker — the running picture of where the party's wealth sits versus the official Treasure-by-Level expectation, kept in the party overview's ## Wealth section so the GM can see drift (the party richer or poorer than their level expects).

When to use / when not

Use this skill when:

  • Itemizing an encounter's treasure (the rpg-encounter-builder handed you a gp allotment).
  • Planning a whole level's treasure — the permanent/consumable/currency breakdown spread across the level's encounters and rewards.
  • Checking or updating the party's wealth-by-level.
  • A session-prep or encounter handoff flags "→ rpg-treasure-builder" for loot.

Read the full file on GitHub · 97 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 Changed · +2 lines c62153fb3ebb
  2. 3mo ago First seen · 95 lines · 194 tokens per session scan A 64f33f8b5328

Subscribe to this mod's changes

rpg-treasure-builder is a skill published in the GitHub repository vstrapasson/rpg-marketplace (2 stars, last pushed 2mo ago), licensed MIT. It adds 194 tokens to every session and 2,379 once invoked, about $0.0008 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-08-31.

Related

rpg-treasure-builder compared with skills from other repositories

rpg-treasure-builder next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rpg-treasure-buildervstrapasson/rpg-marketplaceSkill22mo agoMITA194Claude Code
playtest-reportDonchitos/Claude-Code-Game-StudiosSkill42k24d agoMITA20Claude Code
godot-signals-groupsgamedev-skills/awesome-gamedev-agent-skillsSkill13k3d agoApache-2.0A93Claude Code
scenario-unreal-gameplayscenario-labs/skillsSkill4.7kyesterdayMITA121Claude Code
texture-workflowarjun988/blender-skillsSkill5.8k27d agoMITA41Claude Code
motionOpenDCAI/GameFactory-3ASkill1.6kyesterdayApache-2.0A0Claude Code, Codex
gamedev-shadersericrisco/rsc-harnessSkill707yesterdayMITA102Claude Code, Codex