advertisement
БесплатноБез исполняемых скриптовНе проверенObjects announce what they can do — The Sims style
от SimHacker★ 63 звезды на GitHubОб этом скилле
Advertisement
"Objects don't wait to be used — they announce what they can do."
What Is It?
Advertisement is The Sims-style object interaction: every object in a room broadcasts its available actions, scored by relevance to the current context.
Instead of the user memorizing commands, objects advertise what's possible:
You approach the workbench.
Available actions (sorted by relevance):
⭐ CRAFT tool (you have materials)
• EXAMINE blueprints
• ORGANIZE parts
• MORE options...
The Sims Connection
In The Sims, objects have "advertisements" — each interaction scores based on:
- The Sim's current needs (hunger, fun, social)
- Object properties (a fridge scores high for hunger)
- Context (can't use stove if broken)
This extensible object architecture was key to The Sims' massive success:
- User-created objects — anyone could make new furniture, appliances, characters
- Expansion packs — just drop in new objects with their advertisements
- No code changes — objects self-describe their behaviors
- Infinite variety — the community created millions of objects
The same YAML file that defines what an object is also defines what it can do. Plug-in architecture for free.
MOOLLM applies this to any object:
# workbench.yml
advertisements:
CRAFT:
score: 80
score_if: "the actor has materials and the crafting skill"
satisfies: [productivity, creativity]
EXAMINE:
satisfies: [curiosity]
EXAMINE says nothing about its score or when it applies, so it bids the default 50, always.
One Concept
Everything that says "choose me, here, for this" is an advertisement. The populations differ in which keys they use, not in what they are:
| Population | Where | Typical keys |
|---|---|---|
| World offers | objects, rooms, characters | score, guard, effect, cost, say, give |
| Word and concept triggers | props, characters | trigger, say, guard |
| Skill relevance | every skill CARD | score, score_if (prose, judged by the model) |
| Provides and wants | service skills (leela-ai, manufacturing-intelligence) | parameters, satisfies, effect |
| AMBIENT | skills that stay in context | score, score_if, scope, resolution |
A canned response is the degenerate case, not the model. A trigger advertisement can carry a guard, a score_if and parameters like any other, which is what keeps it from being a canned reply.
Protocol
The canonical schema is ADVERTISEMENT.yml, in the format of SCHEMA.md. Its top-level slots (score: 50, reach: room, invoked_by: [player, npc]) are what every advertisement inherits; its schema: key describes every key with shape, default and meaning, plus worked examples.
Defaults: state only what is unusual
Every key has a default, and an omitted key means its default. No score_if: means always. No guard: means always available. No reach: means the advertiser's room. No method: means the method with the advertisement's name, if there is one. A linter treats a value equal to its default as removable.
Two conventions hold for every key unless the key says otherwise:
- a bare string where a list is expected is a list of one;
- a list means any of its members,
{ all: [...] }every member,{ not: [...] }none.
Shape
advertisements: is a map keyed by name. UPPERCASE names are commands a player types; lowercase names are callable from code. Each entry is a map of the keys below.
advertisements:
RING-GONG:
description: "Ring the brass gong to announce good news"
when_flags: [good_news, victory, milestone]
say: "BWONGGG. {actor} has news."
satisfies: { social: 20 }
Base keys
| Key | Shape | Default | Meaning |
|---|---|---|---|
description |
prose | none; the name is the label | what it offers; the LLM performs it from this when there is no effect or method |
score |
0..100 | 50 | the bid when score_if holds or is absent |
score_if |
prose, compiles | always | the situation in which it wants to be chosen |
guard |
prose, compiles | always available | what must be true for it to be offered at all |
guard_fail |
string | the engine's generic refusal | what the actor hears when the guard refuses |
parameters |
map name → prose | none | what it needs from the actor or context |
effect |
prose, compiles | none | what happens, beyond the graduated effect keys |
method |
method name | the method with its name | what performs it, called with its parameters |
satisfies |
list or map | none | motives on the actor; a bare list means 10 each |
invoked_by |
list of player, npc, self, any | [player, npc] |
who may choose it |
reach |
self … user | room |
how close an actor must be to see it |
guard and score_if are different questions. The guard asks can you? and hides the advertisement when false. score_if asks *would you want
Установить advertisement в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
read_filewrite_filelist_dirВложенные файлы
FAQ
Что делает скилл advertisement?
Objects announce what they can do — The Sims style
Как установить скилл advertisement?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл advertisement запускает скрипты?
Нет, скилл состоит только из инструкций (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