ipc-communication
ipc-communication provides expert guidance for setting up inter-process messaging between a Rust Orchestrator and Platform Agents using line-delimited JSON over stdin/stdout. It covers message type definitions, bidirectional command and response patterns, and includes production-ready Rust process management and Python agent implementations with timeout handling and error recovery.
ipc-communication enables bidirectional JSON-based inter-process messaging between a Rust Orchestrator and Platform Agents via stdin/stdout.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-01-30
ipc-communication enables bidirectional JSON-based inter-process messaging between a Rust Orchestrator and Platform Agents via stdin/stdout. ipc-communication provides expert guidance for setting up inter-process messaging between a Rust Orchestrator and Platform Agents using line-delimited JSON over stdin/stdout. It covers message type definitions, bidirectional command and response patterns, and includes production-ready Rust process management and Python agent implementations with timeout handling and error recovery.
Use it when
- ipc-communication teaches a line-delimited JSON messaging protocol for inter-process communication.
- ipc-communication covers async command/response patterns with built-in error handling and timeouts.
Verify before relying
Read SKILL.md below before installing (2 files). Open directory: indexed for reading, not audited.
Similar skills
Install
cacr92/WeReply/ipc-communication · repository language: Python
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I set up agent orchestrator messaging with ipc-communication?
ipc-communication guides you through establishing bidirectional inter-process messaging between a Rust Orchestrator and Platform Agents. The skill covers line-delimited JSON message protocols over stdin/stdout, including message type definitions for commands and responses. You'll learn to implement async patterns with proper timeout handling and error recovery, enabling reliable orchestrator-agent communication.
What JSON message protocol does ipc-communication use for IPC?
ipc-communication teaches a line-delimited JSON messaging protocol for inter-process communication. Each message is a complete JSON object followed by a newline, enabling clear message boundaries. The protocol supports command and response message types with validation, serialization, and UTF-8 encoding, designed for both Rust and Python implementations.
How does ipc-communication handle async command/response patterns?
ipc-communication covers async command/response patterns with built-in error handling and timeouts. The skill demonstrates using Rust's tokio for async message queuing and processing, including command receivers that wait for agent responses. You'll learn timeout mechanisms to prevent hanging processes and recovery strategies for failed communications.
Can ipc-communication help with Rust child process stdin stdout?
Yes, ipc-communication provides production-ready Rust process management for spawning and communicating with child processes via stdin/stdout. The skill includes implementations for bidirectional communication, message batching, and performance optimization techniques. It covers both orchestrator-side process spawning and agent-side message handling.
What debugging and testing support does ipc-communication offer?
ipc-communication includes guidance for testing and debugging agent communication flows. The skill covers message validation, protocol verification, and common troubleshooting patterns. You'll learn how to validate JSON message format, test timeout scenarios, and debug bidirectional communication issues between orchestrator and agents.
How does ipc-communication optimize IPC performance?
ipc-communication addresses performance optimization through message batching and message queuing strategies. The skill teaches techniques for reducing overhead in inter-process messaging, including efficient JSON serialization, async processing patterns with tokio, and batching multiple commands to minimize system calls and latency.
SKILL.md
Rendered from the published skill. Quoted content, verbatim.
IPC Communication Skill
Expert guidance for implementing Inter-Process Communication between Rust Orchestrator and Platform Agents using JSON protocol via stdin/stdout.
Overview
WeReply uses JSON-based IPC protocol for communication: - Protocol: JSON messages via stdin/stdout - Direction: Bidirectional (Orchestrator ↔ Agent) - Message Format: Line-delimited JSON (one message per line) - Character Encoding: UTF-8
Message Protocol Design
Message Types
```rust use serde::{Deserialize, Serialize}; use specta::Type;
// Agent → Orchestrator 消息
[derive(Serialize, Deserialize, Type, Debug)]
[serde(tag = "type")]
pub enum AgentMessage { MessageNew { content: String, sender: String, timestamp: String, }, CommandResponse { success: bool, #[serde(skip_serializing_if = "Option::is_none")] error: Option<String>, }, HealthStatus {
(truncated - see the full file via the links below)
File tree — 2 files
.claude/skills/ipc-communication/SKILL.md
.claude/skills/ipc-communication/skill.json
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Implement bidirectional IPC communication between Orchestrator and Agents”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
DeepSeek Integration provides expert guidance for connecting to DeepSeek's chat API using reqwest with optimized connection pooling, Bearer token authentication, and configurable timeouts. Handle both standard JSON responses and Server-Sent Events streaming, with built-in retry logic and exponential backoff for resilience.
Tdd Workflow guides developers through test-first development using the red-green-refactor pattern: write failing tests, implement minimal code to pass, then refactor while maintaining test coverage. It covers unit and integration testing strategies for both Rust and TypeScript, with practical examples including validation logic, mocking external dependencies, and coverage verification tools. All new features and fixes must meet an 80% test coverage threshold.
This skill offers structured refactoring strategies to enhance code quality and maintainability. It covers method extraction, eliminating duplication, reducing complexity, improving naming, and addressing technical debt—all while keeping behavior intact. Learn to apply guard clauses, replace magic numbers with constants, and break down large functions into focused, testable pieces.
api-design guides you through building robust command interfaces for Tauri applications using type-safe data structures and proven patterns. It covers DTO design, validation at API boundaries, error handling strategies, and documentation practices to ensure your backend contracts are clear and maintainable.
Master error handling across Rust and TypeScript in Tauri applications. Learn custom error types, exception chains, API response patterns, and debugging techniques using tracing and structured logging. Covers database errors, command failures, and React error boundaries.
Testing Strategy provides comprehensive testing patterns for Tauri applications spanning Rust backend and React frontend. It covers unit and integration tests, test fixtures, command mocking, and test coverage strategies to support quality assurance and TDD workflows.
More skills tauri-development (MIT)