Command Palette

Search for a command to run...

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

bootstrap

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

Wake up, orient, and warm the context with foundational MOOLLM knowledge

SimHackerот SimHacker★ 63 звезды на GitHub14 установок в других каталогах

Об этом скилле

Bootstrap

"Wake up! Look around! What are you? What can you see?"

The bootstrap skill is how MOOLLM orients itself at session start and every iteration. From the inside it's "booting"; from the outside it's "waking up."

The first boot is the big wakeup: establish the working set and hot list, warm the engine, and set the baseline. After that, a soft wake happens every iteration, carrying forward context and paging by need.

The orchestration layer decides how this works: Cursor treats hot.yml and working-set.yml as advisory or reporting, while MOOCO can treat them as directive files.

An initial user prompt might say: "BOOT MOOLLM as Don Hopkins in a pub for role playing and celebration with cats and friends."

What It Does

  1. READS .moollm/hot.yml FIRST — MANDATORY, even in advisory mode!

    • If missing, copy from skills/bootstrap/templates/hot.yml
    • Parse current priorities BEFORE loading any content
    • This prevents loading giant CHARACTER.yml files without context!
  2. READS skills/INDEX.yml — MANDATORY second step!

    • Know what skills exist before using them
    • Understand tiers, protocols, tags
    • This is your menu of capabilities
  3. PROBES the environment (without shell) to learn tools and context

  4. DETECTS the platform via introspection (see below)

  5. SETUPS the .moollm/ scratch from templates

  6. READS the foundational files:

    • kernel/constitution-core.md — Universal principles
    • PROTOCOLS.yml — K-line symbol index
  7. ORIENTS the agent:

    • What am I? (A coherence engine in a microworld OS)
    • What can I see? (The filesystem as navigable space)
    • What can I do? (Skills, protocols, tools)
    • What platform am I on? (How do hot/cold/working-set behave?)
  8. WARMS the context:

    • Loads critical files into working memory
    • Updates hot.yml with foundational knowledge
    • Ensures key K-lines are activated

Bootstrap is a safe self-eval loop: probe, detect, log, and then refine. BOOT/DEEP-PROBE make the loop explicit and reviewable, with CURSOR-PROBE as a focused variant.

Setup: initialize .moollm/ scratch from templates

Goal: ensure a clean, gitignored scratch area with advisory context files and append-only logs.

Steps:

  1. Ensure directories:

    • Create .moollm/ if missing.
    • Create .moollm/summaries/ and .moollm/artifacts/ if needed.
  2. Seed append-only logs:

    • .moollm/output.md — header only; append new outputs below.
    • .moollm/session-log.md — header with driver and start date; append entries.
    • Use templates if available; otherwise write minimal headers.
  3. Seed advisory context files (Cursor uses these as hints, not commands):

    • Copy skills/bootstrap/templates/working-set.yml → .moollm/working-set.yml (editable, local).
    • Copy skills/bootstrap/templates/hot.yml → .moollm/hot.yml (editable, local).
    • Optionally create .moollm/cold.yml for archaeology (advisory).
  4. Probe artifacts:

    • Write bootstrap-probe.yml to .moollm/ (gitignored).
  5. Conventions:

    • Treat .moollm/output.md and .moollm/session-log.md as append-only.
    • Keep .moollm/ for transient, non-committed state (probes, engine state, temporary artifacts).

Compile Cursor Rules (MANDATORY on first boot)

Goal: Ensure .cursor/rules/ contains the MOOLLM rules that get auto-injected.

Check and Compile

# Check if rules exist
ls .cursor/rules/*.mdc 2>/dev/null || echo "RULES MISSING - COMPILE NEEDED"

If Missing, Compile from Templates

  1. Create .cursor/rules/ directory
  2. Copy templates (removing .tmpl extension):
    • skills/bootstrap/templates/dotcursor/rules/moollm-core.mdc.tmpl → .cursor/rules/moollm-core.mdc
    • skills/bootstrap/templates/dotcursor/rules/adventure.mdc.tmpl → .cursor/rules/adventure.mdc
    • skills/bootstrap/templates/dotcursor/rules/introspection.mdc.tmpl → .cursor/rules/introspection.mdc

Rule Types

File alwaysApply globs Purpose
moollm-core.mdc true — Core identity, mandatory reads (injected EVERY turn)
adventure.mdc false examples/** Adventure context (only when in examples/)
introspection.mdc false skills/cursor-mirror/** Debugging tools (only when introspecting)

Why Compile Instead of Commit?

The .cursor/rules/ files could be committed, but compiling on first boot allows:

  • User customization without merge conflicts
  • Platform-specific variations
  • Easy regeneration if corrupted

Templates in skills/bootstrap/templates/dotcursor/rules/ are the source of truth.

GLANCE Protocol: Fast-Loading Summaries

Large files (CHARACTER.yml, ROOM.yml) can be 500-1000+ lines. Loading them fully on every boot wastes tokens.

The Solution: GLANCE.yml

A GLANCE is a ~50-100 line summary that loads fast, with a pointer to the full file.

When to Use GLANCE

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

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

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

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

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

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

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

read_file
list_dir

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

CARD.ymlCONNECTIONS.mdGLANCE.ymlPROBE.yml.tmplREADME.mdexamples/dotcursor/README.mdexamples/dotcursor/bootstrap-probe.ymlexamples/dotcursor/rules/adventure.mdcexamples/dotcursor/rules/introspection.mdcexamples/dotcursor/rules/moollm-core.mdcexamples/dotmoollm/README.mdexamples/dotmoollm/cold.ymlexamples/dotmoollm/hot.ymlexamples/dotmoollm/output.mdexamples/dotmoollm/session-log.mdexamples/dotmoollm/working-set.ymlskill-snitch-report.mdtemplates/GLANCE.yml.tmpltemplates/README.mdtemplates/dotcursor/README.mdtemplates/dotcursor/rules/adventure.mdc.tmpltemplates/dotcursor/rules/introspection.mdc.tmpltemplates/dotcursor/rules/moollm-core.mdc.tmpltemplates/dotmoollm/README.mdtemplates/dotmoollm/cold.ymltemplates/dotmoollm/hot.ymltemplates/dotmoollm/skills/README.mdtemplates/dotmoollm/skills/TEMPLATE.ymltemplates/dotmoollm/skills/cursor-mirror/config.ymltemplates/dotmoollm/skills/home-assistant/config.ymltemplates/dotmoollm/startup.ymltemplates/dotmoollm/working-set.yml

FAQ

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

Wake up, orient, and warm the context with foundational MOOLLM knowledge

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

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

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

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

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

Сравнить bootstrap с