rpg-treasure-forge

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

A tool that compares the treasure recorded for a role-playing campaign with the items and money actually held by player characters in Foundry VTT. It can update the campaign's wealth record and put awarded loot onto character sheets.

In plain words
What is it for?
Use it to check each character's inventory and currency, total the party's wealth, record the actual amount, and add awarded treasure to their sheets.
Why use it?
It removes the need to compare character inventories, coins, and expected rewards manually. It shows where the recorded wealth differs from what the characters really have.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the rpg-foundry-forge plugin — 9 skills, 4 commands, 3 agents shipped together

Good fit Use it to check each character's inventory and currency, total the party's wealth, record the actual amount, and add awarded treasure to their sheets.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vstrapasson/rpg-marketplace/rpg-treasure-forge
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add vstrapasson/rpg-marketplace --skill rpg-treasure-forge
Clone the repo
git clone --depth 1 https://github.com/vstrapasson/rpg-marketplace

Made for: Claude Code.

Or install rpg-foundry-forge, the plugin that ships this one along with the rest of its 9 skills, 4 commands, 3 agents.

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-forge

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/vstrapasson/rpg-marketplace/rpg-treasure-forge"><img src="https://agentmods.dev/badge/skills/vstrapasson/rpg-marketplace/rpg-treasure-forge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 162 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 790 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.00162 $0.00790
Opus 5 $0.00081 $0.00395
Sonnet 5 $0.00032 $0.00158
Haiku 4.5 $0.00016 $0.00079

Measured 11d ago against content hash d44cf7f15b65, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

rpg-treasure-forge 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 11d 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-foundry-forge/skills/rpg-treasure-forge/SKILL.md · 24 lines

How it starts

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

RPG Treasure Forge — sync wealth with Foundry

What this skill is for

rpg-treasure-builder itemizes loot and tracks expected vs awarded wealth in the vault's party-<slug>.md ## Wealth section. This skill closes the loop on the Foundry side: it reads the PCs' actual inventories from Foundry, reconciles the three numbers, and pushes the awarded loot onto the sheets. It is the first sync-back in the kit — the forge has always written only to Foundry; this reads Foundry state and writes one narrow thing back to the vault (the Wealth section's Actual row, a loose file — never an entity, never via rpg-preserve).

Workflow

  1. Resolve PCs. list-characters → the player characters (the jogador ↔ Foundry actor mapping rpg-ownership-forge established). Confirm the roster against the party overview.
  2. Read inventory. For each PC: get-character + search-character-items → their items and currency → compute actual wealth (sum of item values + coin). Show the per-PC and party totals.
  3. Reconcile. Write the Actual and Drift rows of the ## Wealth section in party-<slug>.md (a direct loose-file write — the sync-back is scoped to wealth only). Report drift: the party above/below the Treasure-by-Level expectation for their level. Do not touch any vault entity.
  4. Push loot (approval-gated). Given the GM's "who gets what" assignment, for each awarded item: manage-world-items(action:"add-to-actor", actorIdentifier:<PC>, items:[{ name, type }])type from foundryItemType(item.category) (see foundry-args.mjs). This is the same add-to-actor mechanism rpg-encounter-forge uses to seed loot on a creature, aimed at PC sheets. Always confirm the assignment before writing — who receives a permanent item is a GM call.
  5. Serialize all sheet writes one at a time (the parallel-write race); record itemIds in the manifest for idempotency.

See references/wealth-sync.md for the read/reconcile/push details and the honesty rules.

Read the full file on GitHub · 24 lines

Files

What ships with it

1 file 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. 11d ago First seen · 24 lines · 0 tokens per session scan A d44cf7f15b65

Subscribe to this mod's changes

rpg-treasure-forge is a skill published in the GitHub repository vstrapasson/rpg-marketplace (2 stars, last pushed 1mo ago), licensed MIT. It adds 162 tokens to every session and 790 once invoked, about $0.0008 per session on Opus 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

Other skills, from other repositories

gameobject-component-destroy

Destroy one or more Components from a target GameObject. Missing (null) components are skipped — they cannot be destroyed. Use 'gameobject-find' and 'gameobject-component-get' to identify the components first.

IvanMurzak/Unity-MCP · 49 tokens

unity-version-split

Split a C# file into Unity 6.5+ and pre-Unity 6.5 variants. Use when a file needs different implementations for different Unity versions due to API changes (e.g., EntityId vs int, GetEntityId vs GetInstanceID).

IvanMurzak/Unity-MCP · 59 tokens

godot-signals-groups

Build event-driven, decoupled Godot 4.7 gameplay with signals and node groups: declare and emit custom signals, connect with Callables (incl. bind/one-shot), and broadcast to many nodes via groups and callgroup. Use when wiring node communication in a Godot project, replacing tight references with signals…

gamedev-skills/awesome-gamedev-agent-skills · 95 tokens

unity-addressables

Manage Addressables groups, entries, profiles and content builds (com.unity.addressables, reflection-based).

Besty0728/Unity-Skills · 25 tokens

motion

How an agent turns a character mesh into a usable animated FBX — and how to judge whether the result is shippable.

OpenDCAI/GameFactory-3A · 0 tokens

threejs-exposure-color-grading

Build a measured exposure and grading path in Three.js. Use for a 64x36 encoded luminance meter, asynchronous readback, weighted log-average exposure, asymmetric adaptation, single tone-map ownership, and a generated 32-cube post-tone-map LUT.

scottstts/Threejs-Awesome-Graphics-Agent-Skills · 60 tokens