World Model Architecture Scaffold

Generate a modular world-model scaffold with ABC interfaces and Hydra-compatible YAML configs.

Updated Feb 28, 2026
One-click install
npx skills add https://github.com/sovr610/refffiy --skill world-model-architecture-scaffold
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: World Model Architecture Scaffold
Source: https://github.com/sovr610/refffiy/tree/main/brain-ai-dev/skills/world-model-scaffold
Command: npx skills add https://github.com/sovr610/refffiy --skill world-model-architecture-scaffold

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires torch, pytest, pyyaml, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Scaffold a production-ready, modular world-model scaffold that ensures consistent interfaces and fast hot-swapping of components for rapid project setup.

Core Features & Use Cases

  • Modular world-model scaffold with BaseEncoder/BaseDynamics/BaseDecoder contracts
  • Dependency injection-based composition root enabling hot-swapping of components without code changes
  • Config-driven project templates (model/training/dataset/hardware) and ready-to-run scaffolding
  • Registry-based factory pattern and optional memory/planner components for extended workflows
  • Comprehensive docs and tooling artifacts (references/assets/scripts) to support adoption

Quick Start

Use the scaffold generator to create a complete, configurable world-model skeleton in your project directory.

Frequently Asked Questions about World Model Architecture Scaffold

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a modular world-model project with hot-swappable components?

A modular world-model scaffold uses a strict ABC-based interface and dependency injection composition root, allowing you to hot-swap encoders, dynamics, and decoders without altering source code.

What is dependency injection in world-model architecture and how does it work here?

Dependency injection here uses a composition root to enforce dimensional consistency across components, ensuring encoder embed dim equals dynamics state dim and decoder input dim during project generation.

Can I use Hydra YAML configs to manage world-model project templates?

Yes, you can use Hydra-compatible YAML configs for config-driven project generation, providing ready-to-run templates for model, training, dataset, and hardware configurations in your world-model project.

Does this world-model scaffold support optional memory and planner components?

Yes, the world-model scaffold supports optional memory and planner components for extended workflows, utilizing a registry-based factory pattern to integrate these components dynamically.

What are the limitations of using ABC-based interfaces for AI project scaffolding?

Using ABC-based interfaces for AI project scaffolding requires strict adherence to dimensional consistency constraints, meaning encoder, dynamics, and decoder dimensions must match exactly, limiting arbitrary component combinations.

Do I need PyTorch and PyYAML installed to generate a world-model scaffold?

Yes, you need PyTorch, PyYAML, and pytest installed, as these are the core dependencies required to run the scaffold generation and execute the resulting world-model project code.