dnfjeff/expand-yoyr-mind/container
Claude Code and agent skill by dnfjeff/expand-yoyr-mind
- community
Checking that the SKILL.md file is still in the repository.
Intermediate scope for inheritance — like OpenLaszlo's <node>
Install
npx vskill@latest install dnfjeff/expand-yoyr-mind/containerSKILL.md
The same SKILL.md was published earlier as simhacker/moollm/container.
Container
Intermediate scopes that provide inheritance without being navigable rooms.
Containers are directories that define shared properties for their children, without themselves being places you can "go to."
The OpenLaszlo Inspiration
In OpenLaszlo (Don Hopkins' earlier work!), <node> was a fundamental building block:
MOOLLM's CONTAINER.yml does the same for adventure directories:
All rooms inside maze/ automatically inherit these properties!
Container vs Room vs Meta
| Type | File | Navigable? | Inherits to children? | |
|---|---|---|---|---|
| Room | ROOM.yml | ✅ Yes | ❌ No | |
| Container | CONTAINER.yml | ❌ No | ✅ Yes | |
| Meta | .meta.yml | ❌ No | ❌ No (just metadata) |
Use Container when:
- You want to define shared properties
- Children should inherit automatically
- The directory itself is not a place
Use Room when:
- The directory is a navigable location
- It has exits and can be entered
Use .meta.yml when:
- Just declaring "this is a system directory"
- No inheritance needed
Inheritance Rules
Cascade Down
Properties in inherits: flow to ALL descendants:
Override by Redefining
Children can override inherited values:
Merge, Don't Replace
For objects and arrays, inheritance MERGES:
Result: room-g has BOTH rules.
Defaults vs Inherits
| Field | Purpose | |
|---|---|---|
inherits | Properties that children GET automatically | |
defaults | Values to use IF a child doesn't define them |
Use Cases
Maze with Grue Rules
Animal Character Category
Kitchen Appliances
Resolution Order
When looking up a property:
- Self — Check the object/room itself
- Parent Container — Check
CONTAINER.ymlin parent dir - Grandparent Container — Keep going up
- Adventure Defaults —
ADVENTURE.ymldefaults - Prototype — The skill template
Linter Behavior
The linter recognizes CONTAINER.yml:
Containers suppress the "missing type declaration" warning:
Related Patterns
- Prototype Inheritance (Self/JavaScript) — Objects inherit from prototypes
- Lexical Scope (Lisp/JavaScript) — Inner scopes access outer variables
- Cascading (CSS) — Styles flow from parent to child
- XML Namespaces — Context flows through the tree
Credits
- OpenLaszlo — The
<node>element as non-visual scope - Self — Prototype inheritance without classes
- CSS — The cascade as inheritance mechanism
- Don Hopkins — For remembering OpenLaszlo! 🎉
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingOurVersion/engine/2-world/container/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dnfjeff/expand-yoyr-mind/container)