erlang-message-sync

Send and receive Erlang-style messages between simulated processes via filesystem.

Updated Nov 9, 2025
One-click install
npx skills add https://github.com/kokuyouwind/claude-plugins --skill erlang-message-sync
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: erlang-message-sync
Source: https://github.com/kokuyouwind/claude-plugins/tree/main/plugins/code-like-prompt/skills/erlang-message-sync
Command: npx skills add https://github.com/kokuyouwind/claude-plugins --skill erlang-message-sync

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill enables true Erlang-style message passing between simulated processes by using the filesystem as a transport layer, providing asynchronous send, blocking receive, pattern matching, timeout support, and message persistence.

Core Features & Use Cases

  • Asynchronous send: Non-blocking message delivery to a recipient's mailbox
  • Blocking receive: Waits for a matching message with optional timeout
  • Pattern matching: Filter messages by sender
  • Timeout support: Prevents indefinite blocking
  • Message persistence: Uses /tmp filesystem for reliable delivery

Use Cases: Testing actor-model interactions, multi-process coordination, and debugging inter-process communication.

Quick Start

Use the provided Bash scripts to send and receive messages between processes. For example:

  • Send: bash <plugin_path>/skills/erlang-message-sync/scripts/send-message.sh main worker_1 '{"type":"request","data":"hello"}'
  • Receive: bash <plugin_path>/skills/erlang-message-sync/scripts/receive-message.sh worker_1