economy
Currency and trade — gold flows where stories lead
When & Why to Use This Skill
The Economy skill is a specialized framework designed to manage currency, trade, and value exchange within AI-driven environments. It enables Claude agents to facilitate complex financial interactions, including earning gold through tasks, purchasing items from NPCs, and executing bartering logic. By integrating transaction logs and inventory updates, it provides a robust engine for building immersive simulations, interactive narratives, and resource-management workflows.
Use Cases
- Gaming & RPG Development: Automate in-game commerce, allowing players to buy, sell, and trade items with AI-controlled merchants using gold or custom currencies.
- Economic Simulations: Model market dynamics and resource distribution by tracking the flow of wealth between different agents or entities in a controlled environment.
- Interactive Storytelling: Enhance narrative depth by implementing a functional wealth system where character choices directly impact their financial status and inventory.
- Task-Based Reward Systems: Create 'earn-to-play' or 'work-for-hire' mechanics where agents reward users or other NPCs with currency upon the successful completion of quests or services.
- Barter & Negotiation Logic: Facilitate non-currency trades where the value of skills or items is negotiated dynamically between parties.
| name | economy |
|---|---|
| description | NPC or entity buying |
| license | MIT |
| tier | 1 |
| related | [character, scoring, room, advertisement] |
| tags | [moollm, currency, trade, gold, commerce] |
| type | string |
| required | false |
💰 Economy Skill
"Gold flows where stories lead."
Economic systems for currency, trade, and value exchange. Money is earned, spent, hidden, and traded.
Key Concepts
- Currency — Usually gold, can be custom
- Earning — Find, quest, sell, trade, work
- Spending — Buy items, services, information
- Hidden value — Not all gold is visible
Currency
Default Currency
Gold is the standard, but alternatives include:
- Reputation (social currency)
- Favors (barter)
- Skill tokens
- Custom per-adventure
Earning
| Method | Examples |
|---|---|
| Exploration | Find treasure (hidden, maze, rewards) |
| Quests | Complete tasks (notice board, requests) |
| Trade | Sell items |
| Skills | Trade or teach skills |
| Games | Win at arcade, pub games, gambling |
| Work | Complete NPC jobs and requests |
Spending
| Category | Typical Prices |
|---|---|
| Food/Drink | 1-5 gold per item |
| Catalog Items | 3-50 gold per item |
| Lodging | 5 gold per night |
| Information | 5-20 gold (secrets, tips) |
| Services | Variable |
Price Examples
Cheap (1-2 gold)
- Stroopwafel: 1
- Coffee: 1
- Espresso: 2
Moderate (3-5 gold)
- Snack: 3
- Tosti: 4
Expensive (10-50 gold)
- Cannabis strain: 15
- Catalog gadgets: 25-50
Catalog Items
- Mystery Box: 3
- Monkey's Paw: 5
Hidden Value
Not all gold is visible. Exploration reveals hidden wealth:
- Kitchen drawer: 25 gold
- Mattress stash: 10 gold
- Secret compartment: variable
Trade
Barter
Items can be traded directly without currency. Value is negotiated between parties.
Skill Trade
Skills themselves can be:
- Traded for items
- Taught for payment
- Auctioned to highest bidder
- Bequeathed to future characters
Commands
| Command | Syntax | Checks |
|---|---|---|
INVENTORY |
INVENTORY |
Shows current gold amount |
BUY |
BUY [item] FROM [seller] |
Gold available, item in stock |
SELL |
SELL [item] TO [buyer] |
Fair value or negotiated price |
TRADE |
TRADE [item/skill] FOR [item/skill] |
Relative value, relationship modifiers |
Integration
| Skill | Relationship |
|---|---|
| character | Gold stored in character inventory |
| room | Shops and merchants in rooms |
| buff | Some buffs affect prices |
| scoring | Skills have economic value |