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.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install mlscp或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install mlscp⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/mlscp/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- 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 (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.
| Natural Language | MLSCP | Savings | |-----------------|-------|---------| | "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% |
./scripts/mlscp.sh parse "F+ s/co > ln47 + 'retry logic'"
./scripts/mlscp.sh validate "F+ s/co > ln47 + 'retry logic'"
./scripts/mlscp.sh vocab /path/to/project
./scripts/mlscp.sh compress "Add error handling to the main function in app.py"
| Code | Meaning | Example | |------|---------|---------| | F+ | File add/insert | F+ s/app > ln10 + 'new code' | | F~ | File modify | F~ s/app > ln10-20 ~ 'updated code' | | F- | File delete | F- s/app > ln10-15 | | F? | File query/read | F? s/app > ln1-100 | | V+ | Variable add | V+ s/app + 'new_var = 42' | | V~ | Variable modify | V~ s/app > 'old_var' ~ 'new_value' | | V- | Variable delete | V- s/app > 'temp_var' | | V? | Variable query | V? s/app > 'config_*' |
ln47 - Single lineln10-50 - Line rangefn:main - Function namecls:MyClass - Class nameCTX{"intent":"resilience","priority":"high","confidence":0.9}
mlscp.sh - Main CLI toolvocab.py - Vocabulary generator (Python)When receiving commands from MLSCP-enabled agents:
./scripts/mlscp.sh parse "$INCOMING_COMMAND"
Generate compact commands for other agents:
./scripts/mlscp.sh compress "Your natural language instruction"
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"
references/grammar.abnfreferences/protocol.md安装 Mlscp 后,可以对 AI 说这些话来触发它
Help me get started with Mlscp
Explains what Mlscp does, walks through the setup, and runs a quick demo based on your current project
Use Mlscp to parse and generate MLSCP (Micro LLM Swarm Communication Protocol) c...
Invokes Mlscp with the right parameters and returns the result directly in the conversation
What can I do with Mlscp in my marketing & growth workflow?
Lists the top use cases for Mlscp, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/mlscp/ 目录(个人级,所有项目可用),或 .claude/skills/mlscp/(项目级)。重启 AI 客户端后,用 /mlscp 主动调用,或让 AI 根据上下文自动发现并使用。
Mlscp 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Mlscp 可免费安装使用。请查阅仓库了解许可证信息。
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 属于「Marketing & Growth」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my marketing & growth tasks using Mlscp
Identifies repetitive steps in your workflow and sets up Mlscp to handle them automatically