prototype
БесплатноЗапускает вложенные скриптыНе проверенMOOLLM's object model: objects delegate to parents listed in inherits:, Self-style, with no classes. How to declare parents, how lookup resolves a slot, and…
Об этом скилле
PROTOTYPE
"Objects all the way down."
Part of MOOLLM · This skill's directory
MOOLLM has no classes. Every object is concrete: a directory, a file, or a map inside a file. An object that lacks a slot asks its parents, in order, and the first one that has it answers. That's Self's model, applied to a filesystem an LLM walks.
Self in one page
A Self object is a set of slots. Some hold data, some hold code, and some, marked with *,
are parent slots:
cat: (|
name <- "Terpie".
meow = (| | "Meow!" |).
traits* = catTraits.
|)
Sending meow looks in the object's own slots, then in each parent, then in their parents.
First match wins. There can be several parent slots, and they can be reassigned at run time,
so an object can change what it is by pointing a parent somewhere else. New objects are made by
cloning an existing one and changing what differs. Classes, mixins, traits and generic
functions can all be built from this; none of them is needed to start.
The schemapedia describes Self as a mechanism (self); this skill's CARD inherits from it.
MOOLLM keeps that model and changes the storage: slots are YAML keys and files, objects are directories, and lookup is something both a script and an LLM can do by following paths.
Objects
| Object | Address | Slots |
|---|---|---|
| directory | examples/adventure-4/pub |
the top-level keys of its interface files, merged, plus its files and subdirectories |
| file | examples/adventure-4/maze/grue.yml |
its top-level keys |
| embedded | garden/ROOM.yml#objects.bench |
the keys of that map |
Files are flat: slots at the top level, no wrapper key repeating the filename (room: inside
ROOM.yml) and no object: envelope. An UPPERCASE file (ROOM.yml, CHARACTER.yml, RUN.yml)
is an interface: it holds the slots that belong to that role, and a directory has as many
interfaces as it has interface files. A data slot must not share a name with a child directory.
Declaring parents
inherits:
- skills/animal # repo path
- ../characters/fictional/grue # relative path
- real-being # bare id: nearest skills/<id>, characters/<id>, ...
- EDITH-BUNKER # K-line: latent, the model knows it
- "Garfield, the comic-strip cat" # prose: latent
- aisle-e/PROTOTYPES.yml#prototypes.wine-rack # an embedded object
- { ref: skills/cat, gets: [PAT, FEED], overrides: [PAT], why: "a cat with opinions" }
- { ref: EDITH-BUNKER, but: "Dutch, and forty years younger" }
traits*: skills/cat # named parent: a role that can be reassigned
mood*: moods/sleepy
inherits: is a list, most specific first. An entry is a reference string, or a map with
ref: and clauses:
| Clause | Means | Read by |
|---|---|---|
| a comment on the line | which aspect is inherited | the LLM |
why: |
the same, as data | the LLM, reports |
gets: / overrides: / except: |
methods taken from this parent, redefined here, refused | the LLM; no script checks them yet |
but: |
how this object differs from a latent parent | the LLM |
as: |
a role name; same as writing role*: ref |
lookup |
A key ending in * is a named parent, Self's parent slot. Use one when the parent is a role
that changes (a mood, a costume, a current owner), so it can be reassigned without touching the
others. Named parents come after inherits: in lookup order, in the order they're written.
A reference that names no file is latent: the model's own knowledge stands in for the file. That is legitimate for K-lines and prose. A path-shaped reference that names no file is a broken link.
Implied parents. An interface file implies the skill its name names: ROOM.yml implies
room, RUN.yml implies run. The parent is the skill's prototype file, named for the
interface (skills/room/ROOM.yml): a concrete room holding the defaults and methods every room
has, written as valid YAML with comments describing the slots instances fill in. The skill's
GLANCE, CARD and README describe the skill to readers and are not inherited. The skill is looked up in enclosing scopes first, so an
experiment can own experiment/skills/run/ and its runs inherit it before any repo-wide one.
If no scope defines it, the parent is the latent K-line RUN until somebody writes the skill.
An embedded object implies the skill of its collection key (objects: → object, exits: →
exit). Implied parents come last, because they're the most generic.
Lookup
- The object's own slots.
- Each declared parent in order (
inherits:, then named parents), depth-first. defaults:of enclosing containers, nearest first (see Containers).- Implied parents, the most generic.
- First match wins. A cycle is skipped and reported.
- A dotted slot (
stomach.contents)
Установить prototype в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
read_filerun_terminal_cmdВложенные файлы
FAQ
Что делает скилл prototype?
MOOLLM's object model: objects delegate to parents listed in inherits:, Self-style, with no classes. How to declare parents, how lookup resolves a slot, and resolve.py to check it.
Как установить скилл prototype?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл prototype запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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