Command Palette

Search for a command to run...

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

protocol

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

Protocol names ARE K-lines.

majiayu000от majiayu000★ 31 звезда на GitHub

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

PROTOCOL

"Protocol names ARE K-lines."

MOOLLM protocol symbols are Minsky's K-lines made concrete and greppable.


Protocol Names = K-Lines

A K-line (Minsky, Society of Mind) is a mental structure that, when activated, reactivates an entire constellation of knowledge, skills, and associations.

Protocol names are exactly this:

YAML-JAZZ         ← Activates: semantic comments, jazz interpretation, LLM-as-musician
POSTEL            ← Activates: charitable interpretation, robustness, collaboration
PLAY-LEARN-LIFT   ← Activates: exploration, pattern-finding, crystallization, sharing
COHERENCE-ENGINE  ← Activates: consistency, constraints, orchestration, referee, simulation, DM

Type the name → activate the tradition → invoke the behavior.

The UPPER-CASE-HYPHENATED format makes these K-lines findable.


Naming Convention

Rule Example Why
ALL CAPS YAML-JAZZ not yaml-jazz Stands out in prose
Hyphen-separated PLAY-LEARN-LIFT not PLAY_LEARN_LIFT Shell-friendly, readable
No colons POSTEL not WP:POSTEL Cleaner than Wikipedia
Semantic ROBUST-FIRST not RF Self-documenting

Why This Convention?

1. Grep-Friendly

# Find all uses of a protocol
grep -r "YAML-JAZZ" .

# Find all protocol definitions
grep -r "^[A-Z-]*:" PROTOCOLS.yml

# Find all mentions in docs
grep -rn "POSTEL\|PLAY-LEARN-LIFT" skills/

2. Vector-Search Friendly

The UPPER-CASE format creates distinct embeddings. When you search for "YAML-JAZZ", you get:

  • The protocol definition
  • Files that reference it
  • Examples that demonstrate it

Not general YAML documentation.

3. Human-Scannable

In prose, protocols pop:

When parsing user input, apply POSTEL (charitable interpretation). If the command is ambiguous, use YAML-JAZZ to infer intent.

You can't miss them.


Protocol Layers

Kernel Protocols (Low-Level)

Defined in kernel/, fundamental to operation:

Protocol Purpose Location
FILES-AS-STATE Everything is files kernel/constitution-core.md
WHY-REQUIRED Tool calls need reasons kernel/tool-calling-protocol.md
APPEND-ONLY Never modify logs kernel/constitution-template.md
MINIMAL-DIFF Change only what's needed kernel/constitution-core.md

Skill Protocols (Mid-Level)

Defined in skills/, behavioral patterns:

Protocol Purpose Location
PLAY-LEARN-LIFT The methodology skills/play-learn-lift/
SOUL-CHAT Everything speaks skills/soul-chat/
POSTEL Charitable interpretation skills/postel/
YAML-JAZZ Comments carry meaning skills/yaml-jazz/

Ad-Hoc Protocols (Emergent)

Mentioned in conversations, examples, documents:

# In a soul-chat document
We should apply KITCHEN-RULES here — no running,
always clean up, respect the fridge contents.

# In an adventure room
This room follows GRUE-SAFE protocol — magically lit.

These don't need formal definitions. Naming them makes them real.


Where Protocols Live

Central Registry

PROTOCOLS.yml — The master list:

YAML-JAZZ:
  meaning: "Comments carry meaning. Data is interpreted."
  location: kernel/constitution-core.md §3
  invoke_when: "Writing or reading YAML with semantic intent"

Embedded in Files

Protocols can be defined inline where they're used:

# In a room's ROOM.yml
protocols:
  DARK-ROOM:
    meaning: "No light source = grue danger"
    applies_when: "player enters without lit lamp"

Referenced in Prose

Just mention them:

This adventure follows REINCARNATION protocol — death returns you to start, inventory preserved.

The name IS the definition until someone formalizes it.


Protocol Lifecycle

Mentioned → Documented → Formalized → Skill
    ↓            ↓            ↓          ↓
  "Let's       Entry in     Directory   Full
   try          PROTOCOLS    in          PROTOTYPE
   FOOD-CHAIN"  .yml         skills/     + templates

Most protocols stay informal. Only crystallize when needed.


K-REFs: File Pointers as K-Lines

A K-REF is a K-line that points to a specific location in a file with optional metadata:

/path/to/file.md:42-58 # section_type | preview text

K-REF Format

PATH[:LINE[-END]][#ANCHOR][?SEARCH] # TYPE [LABEL] SEVERITY - DESCRIPTION
  EXCERPT or MASKED_VALUE

Components:

  • PATH — Absolute file path (if no line number, refers to whole file)
  • LINE — Line number (1-based), optionally with column :LINE:COL. Omit for whole file.
  • END — Optional end line or column for ranges
  • #ANCHOR — Jump to heading/section (like URL fragments)
  • ?SEARCH — Find first match of pattern (like URL query)
  • TYPE — What was found (uuid, secret, user_prompt, tool_call, etc.)
  • LABEL — Optional redact la
Полный SKILL.md на GitHub

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

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

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

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

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

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

read_file
write_file

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

metadata.json

FAQ

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

Protocol names ARE K-lines.

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

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

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

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

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

Сравнить protocol с