Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

advertisement

БесплатноБез исполняемых скриптовНе проверен

Objects announce what they can do — The Sims style

SimHackerот 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

Полный SKILL.md на GitHub

Установить advertisement в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

read_file
write_file
list_dir

Вложенные файлы

ADVERTISEMENT.ymlCARD.ymlGLANCE.ymlREADME.mdskill-snitch-report.md

FAQ

Что делает скилл advertisement?

Objects announce what they can do — The Sims style

Как установить скилл advertisement?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл advertisement запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить advertisement с