jlc-ecad

Jlc Ecad CLI Skill — Development skill for Claude Code

Development community

JLC ECAD CLI Skill — 通过本地 WebSocket 中继驱动浏览器中的 ECAD 编辑器执行命令的 Claude Code Skill.

How to install Jlc Ecad CLI Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open jlc-ecad/jlc-ecad-cli-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Jlc Ecad CLI Skill does

JLC ECAD CLI Skill — 通过本地 WebSocket 中继驱动浏览器中的 ECAD 编辑器执行命令的 Claude Code Skill。A Claude Code skill that drives the ECAD editor running in a browser over a local WebSocket relay (create/open/close projects and any editor command).

Alternatives in Development

  • Dashclaw Quality — Recurring find-and-fix quality pass over the whole DashClaw app — browser smoke (frontend-verify) + code gates 297 ★
  • Quosparr — 🐦 Native menu bar & tray app for macOS, Windows and Linux: track Codex, Claude Code and Grok quotas, resets 288 ★
  • Agent Game Forge — The local-first, bring-your-own-agent 2D game IDE 207 ★

README

JLC ECAD CLI Skill

**English** | [简体中文](README.zh-CN.md)

A Claude Code skill that drives the ECAD editor running in a browser over a local WebSocket relay.

It lets an AI harness send editor commands (such as `create-project`, `open-project`, `close-project`, or any editor command) to the `ecad-editor` frontend and receive acknowledgements and results.

Features

  • Local WebSocket relay between the AI harness and browser windows.
  • Multi-window routing by windowId.
  • Multi-harness isolation by clientId.
  • Ack/result flow with configurable timeouts.
  • Structured JSON commands or raw CLI text passthrough.

Architecture

graph LR
    FE["Browser (ecad-editor)
frontend plugin
role=frontend, windowId"] RL["Bridge Server
ws-server.mjs
ws://127.0.0.1:15269"] CL["Client
ws-client.mjs
role=client, clientId"] CL -- "command { id, clientId }" --> RL RL -- "forward by windowId" --> FE FE -- "ack / result" --> RL RL -- "reply by clientId" --> CL
  • Client (ws-client.mjs): sends a command with a unique id and a clientId to the bridge server.
  • Bridge Server (relay, ws-server.mjs): keeps the frontend and client connections, forwards each command to the target window (windowId), and routes replies back to the originating client (clientId).
  • Frontend (browser plugin in ecad-editor): receives the command, returns ack immediately, then result after execution.
  • The bridge server is a local-only process and does not execute commands itself; all editor work happens in the browser.

Command flow: `client → bridge server → frontend`, then `frontend → bridge server (ack/result) → client`.

Requirements

  • Node.js >= 24
  • npm (this project uses npm; no pnpm or yarn)
  • An ECAD editor page open in a browser, with the frontend plugin connected to the relay

Installation

npm install

`ws` is the only runtime dependency.

Usage

1. Start the relay (idempotent)

`