بنقرة واحدة
web-console
// Built-in web interface for communicating with Claude without external services. Use when setting up or configuring the web console channel, or troubleshooting browser-based access.
// Built-in web interface for communicating with Claude without external services. Use when setting up or configuring the web console channel, or troubleshooting browser-based access.
| name | web-console |
| description | Built-in web interface for communicating with Claude without external services. Use when setting up or configuring the web console channel, or troubleshooting browser-based access. |
| lifecycle | {"npm":true,"service":{"type":"pm2","name":"web-console","entry":"scripts/server.js"}} |
Default communication channel - works without any external service.
Allows users to communicate with Claude even without Telegram/Lark/Discord. This is the baseline, always-available interface.
# Install dependencies
cd ~/zylos/.claude/skills/web-console
npm install
# Start server (default port 3456)
node scripts/server.js
# Or with PM2
pm2 start scripts/server.js --name web-console
Local only: http://127.0.0.1:3456
Server binds to 127.0.0.1 by default for security.
Browser ──► Web Console Server ──► C4 Bridge ──► Claude
│
▼
SQLite (c4.db)
| Endpoint | Method | Description |
|---|---|---|
/api/status | GET | Get Claude's current status |
/api/conversations/recent | GET | Get recent conversation history |
/api/send | POST | Send message to Claude |
/api/poll?since_id=N | GET | Poll for new messages |
/api/health | GET | Server health check |
~/zylos/.claude/skills/web-console/
├── SKILL.md
├── package.json
├── scripts/
│ ├── server.js # Express API server
│ └── send.js # CLI message sender
└── public/
├── index.html # Chat UI
├── styles.css # Styling
└── app.js # Frontend logic
| Variable | Default | Description |
|---|---|---|
WEB_CONSOLE_PORT | 3456 | Server port |
ZYLOS_WEB_PASSWORD | (empty) | Set to enable password protection (also reads WEB_CONSOLE_PASSWORD as fallback) |
WEB_CONSOLE_BIND | 127.0.0.1 | Bind address |
ZYLOS_DIR | ~/zylos | Data directory |
By default, no password is required (suitable for local access).
To enable password protection (recommended when exposing externally):
ZYLOS_WEB_PASSWORD in ~/zylos/.envC4 communication bridge — central gateway for ALL external communication (Telegram, Lark, etc.). Use when replying to users via the "reply via" path, sending proactive messages to external channels, querying recent conversations or checkpoint status (prefer c4-db.js CLI; sqlite3 OK for unsupported queries), fetching conversation history for Memory Sync, or creating checkpoints after sync. Incoming messages are queued by channel bots and delivered to Claude via a PM2 dispatcher daemon. Session-start hooks automatically provide conversation context and can trigger Memory Sync when unsummarized conversations exceed the configured threshold.
Guardian service that monitors the active runtime agent's state and automatically restarts it if stopped. Use when checking agent liveness state or understanding the auto-restart mechanism.
Guidelines for managing zylos components via CLI and C4 channels. Use when installing, upgrading, or uninstalling components, or when user asks about available components.
Start a new session when context is high. Claude uses /clear, Codex uses /exit. Use when context is high or when a fresh session is needed.
Use when the user asks to restart Claude Code, or after changing settings/hooks/keybindings.
Upgrade Claude Code to the latest version with graceful shutdown and auto-restart. Use when the user asks to upgrade or when a new Claude Code version is available.