Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计通过

protocolprotocol 搜索

Agent Skill

protocol 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

264

周安装

11

GitHub Stars

37

下载量

88
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:protocol(protocol 搜索)
来源仓库:https://github.com/simhacker/moollm
仓库路径:skills/protocol
安装命令:
npx skills add https://github.com/simhacker/moollm --skill protocol
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/simhacker/moollm --skill protocol

简介

protocol 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词、任务场景或来源线索快速定位候选结果。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装并使用。
  • 安装前需确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 建议结合原始 README 核验具体用法和功能边界。

SKILL.md

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.


Activation: scene and stance, not only a pointer

A K-line is not only a compact reference to a concept. In Minsky’s account, activating a K-line tends to re-instantiate a configuration that worked before: which sub-skills, tone, and moves to bring online. Henry Minsky put it in terms of a whole state of mind (or “scene”) bound to a name—closer to a re-enterable closure than to a bare pointer.

That matters in MOOLLM because:

  • Shared indexPROTOCOLS.yml, skills/INDEX.yml, and prior turns give the same symbol the same load-bearing role. Without that, a name is noise.
  • Embodied triggers — A photo, a warning sign, a vocal cue can act like a K-line if the culture around it is shared: they snap attention to a lived situation, not a map coordinate.

Linguistic analogy (not Minsky’s wording, but useful): In some languages, *am Bahnhof Zoo* vs bare *Bahnhof Zoo* shifts from bare reference toward situated, insider scene—the way *the 405* in Los Angeles is not “a highway” but that corridor of life. Same mechanism in spirit: name → thick situation, not only name → fact.

Optional cultural example: Nina Hagen’s *Berlin Zoo* (1982) is often read as performative activation—noise, animal theatre, West Berlin grit—not as zoology. The track works as a charged name for a subculture-tinted “zoo” of people and noise. A zoo sign about a lion spraying urine through bars is thematically on that wavelength: blunt, bodily, public—scene-first, not taxonomy-first.

Contrast: Frames (Minsky) describe the shape of a situation (slots, defaults). Drescher schemas (see schema-mechanism) describe learned causality (Context → Action → Result). Schemapedia (see schema, schemas/registry.yml) indexes interchange, causal, frames, activation, relational SQL/SQLite, and SoM—each family with its own delegate skills. Protocol symbols here describe which competence bundle to load. See knowledge-frames for the full map.


Naming Convention

RuleExampleWhy
ALL CAPSYAML-JAZZ not yaml-jazzStands out in prose
Hyphen-separatedPLAY-LEARN-LIFT not PLAY_LEARN_LIFTShell-friendly, readable
No colonsPOSTEL not WP:POSTELCleaner than Wikipedia
SemanticROBUST-FIRST not RFSelf-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:

ProtocolPurposeLocation
FILES-AS-STATEEverything is fileskernel/constitution-core.md
WHY-REQUIREDTool calls need reasonskernel/tool-calling-protocol.md
APPEND-ONLYNever modify logskernel/constitution-template.md
MINIMAL-DIFFChange only what's neededkernel/constitution-core.md

Skill Protocols (Mid-Level)

Defined in skills/, behavioral patterns:

ProtocolPurposeLocation
PLAY-LEARN-LIFTThe methodologyskills/play-learn-lift/
SOUL-CHATEverything speaksskills/soul-chat/
POSTELCharitable interpretationskills/postel/
YAML-JAZZComments carry meaningskills/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 label like [SSH_KEY]
  • SEVERITY — Icon: 🔴 critical, 🟠 high, 🟡 medium, 🔵 low, ℹ️ info
  • DESCRIPTION — Human-readable explanation
  • EXCERPT — Surrounding context or masked value

Location Specifiers

FormatMeaningExample
/path/fileWhole file/etc/config.yml
/path/file:42Line 42/src/main.py:42
/path/file:42-58Lines 42-58/src/main.py:42-58
/path/file:42:10-46Line 42, cols 10-46/src/main.py:42:10-46
/path/file#sectionAnchor/heading/docs/API.md#authentication
/path/file?patternSearch for pattern/src/main.py?def process_data
/path/file#section?patternSection + search/docs/API.md#errors?401

Anchor Types

# Markdown headings (slugified)
/README.md#installation
/SKILL.md#k-ref-format

# YAML keys (dot-path)
/config.yml#server.port
/CARD.yml#methods.K-REF

# Code symbols (function/class)
/main.py#def:process_data
/main.py#class:AuditRunner

# HTML-style id
/page.html#footer

Search Patterns

# Literal string (default)
/file.py?def main

# Regex (prefix with ~)
/file.py?~def\s+\w+\(

# First match of pattern
/transcript.txt?user:

# Combine with line context
/file.py?def main # function - Jump to main()

Examples

/path/to/config.yml # config - Whole file reference
/path/to/SKILL.md#k-refs # section - Jump to K-REFs section
/path/to/main.py?def audit # search - Find audit function
/path/transcript.txt:91:12-48 # uuid ℹ️
  fe18ce96-5200-4e15-acd3-190695de6295

/path/transcript.txt:7528:18-45 # private_key ([PRIVATE_KEY]) 🔴 - Private key header
  ********** ******* ********

/path/config.json:15 # password ([PASSWORD]) 🟠 - Database password
  ************

Images Work Too!

Cursor (and other orchestrators) can read absolute file paths directly — INCLUDING IMAGES!

/Users/me/Screenshots/error.png # screenshot - Analyze this error
/tmp/architecture-diagram.jpg # diagram - Explain this system
/path/to/chart.png # data - What trends do you see?

No line numbers for images (obviously). Just the absolute path.

This is powerful:

  • Point to any image on disk
  • Cursor reads and analyzes it
  • Works with screenshots, diagrams, charts, photos
  • Supports: jpeg, png, gif, webp

Security note: Cursor can read ANYWHERE on your disk, not just the workspace. Powerful, but be aware.

Sister Script Methodology

Problem: LLMs have limited context windows. Dumping entire files wastes tokens.

Solution: Sister scripts emit K-REFs (pointers) instead of full content:

# Sister script → K-REF → LLM flow
kref_flow:
  source: "cursor-mirror (sister script)"
  produces: "K-REFs (pointers)"
  consumer: "LLM reads only what it needs"
  1. Scan — Script searches large data (transcripts, databases)
  2. Emit — Output K-REFs pointing to relevant sections
  3. Read — LLM selectively reads only the referenced ranges

This is reference by pointer, not by value — parsimonious context.

K-REF Output Modes

ModeCommandUse Case
K-REF--emit-krefHuman/LLM navigation
REDACT--emit-redactPipe to masking tool
JSON--jsonProgrammatic processing

Example: cursor-mirror as Sister Script

# Emit K-REFs for secrets (LLM reads just the pointers)
cursor-mirror audit --patterns secrets --emit-kref

# Output:
# /path/file.txt:42:10-46 # openai_key ([OPENAI_KEY]) 🔴 - OpenAI API key
#   sk-proj-****...(48 chars)...****

# LLM can then selectively read context around line 42

Commands

CommandAction
PROTOCOL [name]Describe or invoke a protocol
PROTOCOLSList defined protocols
DEFINE-PROTOCOL [name]Add to PROTOCOLS.yml
GREP-PROTOCOL [name]Find all references
K-REF [path:line]Navigate to a K-REF location

Protocol Symbols

SymbolMeaning
PROTOCOLThis meta-protocol
K-LINEMinsky's concept — name activates tradition
K-REFK-line as file pointer: path:line + metadata
SISTER-SCRIPTTool emits K-REFs, LLM reads selectively
GREPPABLEEasy to find with text search
UPPER-CASEThe naming convention itself

Dovetails With


The Power of Naming

*"In the beginning was the Word."*

When you name something, you can:

  • Find it — grep, vector search, memory
  • Invoke it — type the name, activate the tradition
  • Compose it — combine named things into new things
  • Teach it — names are handles for concepts

MOOLLM protocols are handles on ideas. The UPPER-CASE convention makes them impossible to miss, trivial to find.


*"Name it, grep it, use it."*

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.77%
按下载量换算31

Claude

29%
按下载量换算26

Cursor

15.78%
按下载量换算14

Gemini CLI

9.67%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills