AgentSkillsCN

loot-audit

当用户提出“创建 D&D 战役”、“制作新模块”、“添加 NPC”、“创建遭遇”、“搜寻怪物”、“寻找 D&D 物品”、“搜索法术”、“列出战役”、“布置地下城探索”、“打造神秘冒险”、“为角色添加战利品”、“搜寻陷阱”、“管理角色库存”、“构建冒险”、“填充地下城”、“为玩家发放道具”、“塑造反派角色”、“添加宝藏”、“撰写会话笔记”、“创建战役文档”、“补充世界背景”、“编制战役级别文档”、“上传地图”、“放置标记”、“提升角色等级”、“设定能力值”、“设定货币体系”、“搜索种族”、“搜索职业”、“搜索背景”、“搜索专长”、“搜索条件”、“删除模块”、“删除角色”、“删除文档”、“创建战役”、“导出战役”、“导入战役”、“自制道具”、“自制怪物”、“自制法术”、“创建自定义怪物”、“创建自定义道具”、“创建自定义法术”、“克隆怪物”、“克隆道具”、“克隆法术”,或提到“Mimir 战役”、“D&D 5e 创作”、“地下城主工具”时,可选用此技能。它为战役管理、模块创建、NPC 创作、角色管理、地图/标记放置、文档管理、自制内容创作,以及目录检索等环节,提供了 MCP 工具支持。

SKILL.md
--- frontmatter
name: loot-audit
description: >-
  This skill should be used when the user asks to "audit loot",
  "check treasure distribution", "review magic items", "is loot balanced",
  "treasure by level", "too much gold", "not enough magic items",
  "wealth check", or mentions "treasure placement", "loot tables",
  or "magic item distribution". Audits treasure and magic item placement across
  modules and character inventories to flag wealth imbalances, rarity mismatches,
  and loot gaps.

Loot & Treasure Audit

Purpose

Analyze treasure and magic item distribution across the campaign to ensure appropriate wealth and power progression. Identify modules with no loot, excessive rewards, or missing item types.

Analysis Process

1. Gather All Loot Data

code
list_modules()
# For each module:
get_module_details(module_id)
# Extract: module_items (loot), monsters (for hoard context)

# Check campaign-level documents for treasure references
list_documents()  # omit module_id for campaign-level docs

list_characters(character_type: "npc")
# For each NPC:
get_character(character_id)
get_character_inventory(character_id)
# Extract: inventory items that might be loot

list_characters(character_type: "pc")
# For each PC:
get_character_inventory(character_id)
# Extract: items already awarded to players

2. Catalog Items

For each item found:

code
search_items(name: item_name)

Extract rarity, type (weapon, armor, wondrous, etc.), attunement requirement, and value.

3. Distribution Analysis

Calculate:

  • Total gold value by module
  • Magic items by rarity
  • Items by type
  • Items requiring attunement

4. Identify Issues

IssueDescription
Loot DesertModule has no treasure defined
Gold FloodFar exceeds level-appropriate wealth
Attunement OverloadToo many attunement items (limit: 3)
Type GapNo weapons, or no armor, or no caster items
Rarity MismatchLegendary item at level 3
Consumable DroughtNo potions/scrolls for resource recovery

Output Format

markdown
# Treasure Audit: [Campaign Name]

## Summary
- Total modules: [X]
- Modules with loot: [Y]
- Total magic items: [Z]
- Estimated gold value: [N] gp

## Magic Item Distribution

### By Rarity
| Rarity | Count | Expected (Tier [X]) |
|--------|-------|---------------------|
| Common | [N] | [Expected] |
| Uncommon | [N] | [Expected] |
| Rare | [N] | [Expected] |
| Very Rare | [N] | [Expected] |
| Legendary | [N] | [Expected] |

### By Type
| Type | Count | Gap? |
|------|-------|------|
| Weapons | [N] | [Yes/No] |
| Armor | [N] | [Yes/No] |
| Wondrous | [N] | [Yes/No] |
| Consumables | [N] | [Yes/No] |

### Attunement Load
- Items requiring attunement: [N]
- If all found: [X] attunement slots needed
- Assessment: [OK / Overloaded]

## Module Breakdown

| Module | Gold | Magic Items | Issues |
|--------|------|-------------|--------|
| [Name] | [X] gp | [List] | [Issues] |

## Loot Deserts (No Treasure)
- [Module]: No loot defined
  - Suggestion: Add [appropriate items] based on CR [X] monsters

## Balance Concerns
- [Module]: [Issue description]
  - Suggestion: [Fix]

## Recommendations

### Missing Item Types
- Campaign needs more [type] items
- Suggested additions:
  - [Item] (search: `search_items(item_type: "X", rarity: "Y")`)

### Rarity Adjustments
- [Module] has [rarity] items too early
- Consider replacing with: [alternatives]

Interactive Mode

  1. Analyze full campaign loot
  2. Present summary findings
  3. For loot deserts, offer to search the catalog and add items via add_item_to_module
  4. For balance issues, suggest specific swaps

Reference Data

For gold-by-level guidelines and magic item tier expectations, see references/5e-treasure-guidelines.md.