skills$openclaw/mlscp
sirkrouph-dev7.7k

by sirkrouph-dev

mlscp – OpenClaw Skill

mlscp is an OpenClaw Skills integration for ai ml workflows. Parse and generate MLSCP (Micro LLM Swarm Communication Protocol) commands. Use when communicating with other agents efficiently, parsing compressed commands, or generating token-efficient instructions. Reduces token usage by 70-80% compared to natural language.

7.7k stars1.4k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026ai ml

Skill Snapshot

namemlscp
descriptionParse and generate MLSCP (Micro LLM Swarm Communication Protocol) commands. Use when communicating with other agents efficiently, parsing compressed commands, or generating token-efficient instructions. Reduces token usage by 70-80% compared to natural language. OpenClaw Skills integration.
ownersirkrouph-dev
repositorysirkrouph-dev/mlscp
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @sirkrouph-dev/mlscp
last updatedFeb 7, 2026

Maintainer

sirkrouph-dev

sirkrouph-dev

Maintains mlscp in the OpenClaw Skills directory.

View GitHub profile
File Explorer
2 files
.
_meta.json
269 B
SKILL.md
2.9 KB
SKILL.md

name: mlscp description: Parse and generate MLSCP (Micro LLM Swarm Communication Protocol) commands. Use when communicating with other agents efficiently, parsing compressed commands, or generating token-efficient instructions. Reduces token usage by 70-80% compared to natural language.

MLSCP Skill

MLSCP (Micro LLM Swarm Communication Protocol) is a token-efficient command language for agent-to-agent communication. This skill lets you parse, validate, and generate MLSCP commands without any LLM overhead.

Why Use MLSCP?

Natural LanguageMLSCPSavings
"Please modify the file src/chain_orchestrator.py by adding retry logic at line 47"F+ s/co > ln47 + 'retry logic'~75%
"Read the contents of utils/file_manager.py from lines 10 to 50"F? u/fm > ln10-50~80%
"Delete the variable 'temp_cache' from config.py"V- c/c > 'temp_cache'~70%

Quick Start

Parse a Command

./scripts/mlscp.sh parse "F+ s/co > ln47 + 'retry logic'"

Validate Syntax

./scripts/mlscp.sh validate "F+ s/co > ln47 + 'retry logic'"

Generate Vocabulary

./scripts/mlscp.sh vocab /path/to/project

Compress Natural Language

./scripts/mlscp.sh compress "Add error handling to the main function in app.py"

Command Reference

Operations

CodeMeaningExample
F+File add/insertF+ s/app > ln10 + 'new code'
F~File modifyF~ s/app > ln10-20 ~ 'updated code'
F-File deleteF- s/app > ln10-15
F?File query/readF? s/app > ln1-100
V+Variable addV+ s/app + 'new_var = 42'
V~Variable modifyV~ s/app > 'old_var' ~ 'new_value'
V-Variable deleteV- s/app > 'temp_var'
V?Variable queryV? s/app > 'config_*'

Location Specifiers

  • ln47 - Single line
  • ln10-50 - Line range
  • fn:main - Function name
  • cls:MyClass - Class name

Context Blocks

CTX{"intent":"resilience","priority":"high","confidence":0.9}

Scripts

  • mlscp.sh - Main CLI tool
  • vocab.py - Vocabulary generator (Python)

Integration

With Other Agents

When receiving commands from MLSCP-enabled agents:

./scripts/mlscp.sh parse "$INCOMING_COMMAND"

Sending Commands

Generate compact commands for other agents:

./scripts/mlscp.sh compress "Your natural language instruction"

API (Python)

from mlscp import parse, MLSCPParser

# Quick parse
cmd = parse("F+ s/co > ln47 + 'retry logic'")
print(cmd.operation)  # OperationType.FILE_ADD
print(cmd.target)     # "s/co"

# With vocabulary
parser = MLSCPParser(vocab_lookup)
cmd = parser.parse("F+ s/co > ln47 + 'code'")
full_path = vocab_lookup.get("s/co")  # "src/chain_orchestrator.py"

Resources

README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install mlscp?

Run openclaw add @sirkrouph-dev/mlscp in your terminal. This installs mlscp into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/sirkrouph-dev/mlscp. Review commits and README documentation before installing.