inventory
БесплатноБез исполняемых скриптовНе проверенYou carry pointers. When you set them down, they become real.
от SimHacker★ 63 звезды на GitHubОб этом скилле
INVENTORY
"Carry pointers or values. Set them down, they become real."
The universal protocol for carrying, storing, and transferring objects. Applies to ANY container: characters, bags, rooms, artifacts, vehicles.
Files in This Skill
SKILL.md— Full protocol documentation (this file)README.md— Human landing pageCARD.yml— Interface definitionINVENTORY.yml.tmpl— Standalone inventory template
Core Philosophy
Inventory holds two kinds of things: POINTERS and VALUES.
Your character's home directory is their "bag." Items in it are:
| Type | Weight | What You Have |
|---|---|---|
| Pointer | 0 | Reference to where something lives |
| Value | varies | Text, number, array, object, subtree |
| Object | item.weight | Deep copy of the actual thing |
| Fungible | per-item | Stack with count, no individual tracking |
Pointers are lightweight: You don't carry the brass lantern. You carry a path to where it lives.
Values are direct: You can also carry raw text, numbers, arrays, entire subtrees — any YAML/JSON value.
When you drop either kind, it gets boxed into a YAML file with its own existence.
Universal Application
Inventory applies to ANY container, not just characters:
| Container | Has Inventory? | Example |
|---|---|---|
| Character | ✓ | Palm's backpack |
| Bag | ✓ | Bag of holding |
| Room | ✓ (implicit) | Objects in the pub |
| Chest | ✓ | Treasure chest contents |
| Vehicle | ✓ | Cargo hold |
| Artifact | ✓ | Ring with stored spell |
Embedding inventory:
# In CHARACTER.yml (most common)
inventory:
refs:
- pub/bar/brass-lantern.yml
fungibles:
- { proto: economy/gold.yml, count: 500 }
# Or standalone INVENTORY.yml for any container
# bag-of-holding/INVENTORY.yml
inventory:
refs:
- kitchen/cookie-jar.yml#cookie
- street/acme-catalog.yml
objects:
- { id: magic-sword, name: "Vorpal Blade", weight: 3 }
Reference Types
References can point into ANY file type. A reference is just a string that locates something.
Pointer Syntax
| Syntax | Points To | Example |
|---|---|---|
path/to/file.yml |
Whole YAML file | pub/cookie-jar.yml |
file.yml#id |
Section by id | pub/cookie-jar.yml#cookie |
file.yml#parent.child |
Nested path | seating.yml#bar.stool-1 |
file.md#heading |
Markdown heading | characters/README.md#doctor-no |
file.json#/json/path |
JSON pointer | config.json#/settings/defaults |
file.ext?search=pat |
Search pattern | npcs.yml?name=Henk |
file.cpp:42 |
Line number | engine.cpp:142 |
file.py:10-25 |
Line range | adventure.py:100-150 |
The pointer is the reference. It can point to:
- A prototype in a YAML file
- A section embedded in a larger file
- A heading in a markdown document
- A JSON field
- Even a line in source code
Unified Addressing
This pointer syntax is shared across ALL systems:
| System | Uses Pointers For |
|---|---|
| Inventory | What you carry (refs:) |
| Location | Where you are (location:) |
| Postal | Where to deliver mail (to:) |
| Structural Editing | Where to PEEK/POKE |
Same syntax, everywhere. Mail a letter to a function. Stand on a JSON key. POKE a value into a YAML path. It's all the same address space.
Not all addresses make sense — but they're all valid. You can stand on package.json#/devDependencies/vitest. Weird? Sure. Works? Yes.
Reference Structure
Simple reference (just a string):
inventory:
refs:
- pub/bar/brass-lantern.yml
- street/acme-catalog.yml#portable-hole
Rich reference (with metadata):
inventory:
refs:
- ref: pub/bar/brass-lantern.yml
acquired: "2026-01-23T10:00:00Z"
condition: "good"
note: "Found in the cellar"
Location as Pointer (Code as Space)
The pointer syntax is bidirectional. Not just "what you carry" — also "where you ARE."
Any object's location: field uses the same pointer syntax. This means characters, artifacts, and entities can exist inside any file type:
# Character standing on a TypeScript function
name: Alice
location: src/lib/utils.ts#fetchData
note: "Reviewing this function with the team"
# Artifact placed at a specific line range
name: Bug Marker
location: src/auth/login.ts:45-67
note: "The authentication bug lives here"
# Entity inside a JSON config
name: Config Watcher
location: package.json#/dependencies/svelte
note: "Monitoring version changes"
Code Review as Adventure
A hacking party can literally stand inside source code:
# The review party
participants:
- { name: Alice, location: "src/api/handler.ts#processRequest" }
- { name: Bob, location: "src/api/handler.ts#validateInput" }
- { name: Carol, location: "src/api/handler.ts:89-95" } # The problematic lines
session:
Установить inventory в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
read_filewrite_filelist_dirdelete_fileВложенные файлы
FAQ
Что делает скилл inventory?
You carry pointers. When you set them down, they become real.
Как установить скилл inventory?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл inventory запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic