Skip to main content

shell

CLI interactive mode channel. Delivers Claude responses to the zylos shell REPL via Unix socket.

来源信息

仓库
zylos-ai/zylos-core
最近来源活动
2026年3月9日 12:20
检测到的 SKILL.md 语言
英语
星标
1,157
分支
132

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
3 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
shell
description
CLI interactive mode channel. Delivers Claude responses to the zylos shell REPL via Unix socket.
user-invocable
false
# Shell Channel Communication channel for `zylos shell` — the CLI interactive mode. ## How It Works 1. `zylos shell` starts a readline REPL and a Unix domain socket server 2. User input is sent to Claude via `c4-receive` (channel=shell, endpoint=socket path) 3. Claude responds via `c4-send` which invokes `scripts/send.js` 4. `send.js` connects to the Unix socket and delivers the response to the REPL 5. The REPL prints the response and prompts for the next input ## Socket Protocol - Socket path is passed as the endpoint (e.g., `/tmp/zylos-shell-<pid>.sock`) - `send.js` connects, writes the full message as UTF-8, then closes the connection - The REPL reassembles the message from socket data events
在 GitHub 查看