cell-lct README

The project's README from github.com/yrui-cmd/cell-lct. As one markdown file: README.md.

Cell-lct

把参考图重建为 Adobe Illustrator 中可继续修改的矢量路径和真实文本,并追加到用户已经打开的画板。

Cell-lct 先记录文字,再从去字后的工作图识别路径;返回的 SVG 只解析一次,随后按原图层级分批写入 Illustrator。已有画板内容保持不变,最终同时保留可编辑 AI 文件和导出的 PNG。

你会得到

选择安装版本

最新流程会在去字后询问是否使用 cell_no_ai。选择使用时,必须先接收处理结果再继续矢量识别;选择跳过时直接使用已核对的去字图。安装会同步该独立 Skill,但安装依赖不等于授权付费处理。第三方处理效果以服务返回和后续验证为准。

从最新 main 安装:

git clone --branch main --depth 1 https://github.com/yrui-cmd/cell-lct.git
Set-Location .\cell-lct
powershell -ExecutionPolicy Bypass -File .\setup.ps1

下方的固定 Tag、校验文件和环境契约对应 v0.2.1 稳定版。

稳定版保证

环境要求

从固定 Tag 一键安装

git clone --branch v0.2.1 --depth 1 https://github.com/yrui-cmd/cell-lct.git
Set-Location .\cell-lct
powershell -ExecutionPolicy Bypass -File .\setup.ps1

首次安装会安装锁定依赖、复制 Skill、在终端中安全提示录入 API Key,并运行诊断。API Key 不应写进命令、仓库、截图或聊天记录。

如果已经存在同名 Skill,并确认要替换:

powershell -ExecutionPolicy Bypass -File .\setup.ps1 -Force

安装后重启 Codex,并新建任务。先由用户打开 Illustrator 2026 和目标文档,然后发送:

使用 $cell-lct,根据我上传的内容或图片在当前 Illustrator 画板中作图,保留全部已有内容。

从 Release ZIP 安装

下载同一版本的两个文件:

验证后解压并运行 setup.ps1:

$zip = '.\cell-lct-v0.2.1.zip'
$expected = ((Get-Content "$zip.sha256") -split '\s+')[0]
$actual = (Get-FileHash $zip -Algorithm SHA256).Hash.ToLowerInvariant()
if ($actual -ne $expected) { throw 'SHA256 校验失败,停止安装。' }
Expand-Archive $zip -DestinationPath .\cell-lct-v0.2.1
Set-Location .\cell-lct-v0.2.1\cell-lct-v0.2.1
powershell -ExecutionPolicy Bypass -File .\setup.ps1

诊断

.\doctor.ps1
.\doctor.ps1 -VerifyApi -RequireIllustratorOpen
.\doctor.ps1 -Json

诊断只检查 Illustrator 注册和进程状态,不会启动、重启、聚焦、最大化或关闭 Illustrator。

工作方式

测试与发行

.\tests\test-package.ps1
.\tests\test-windows-e2e.ps1
.\build-release.ps1

Illustrator 真机测试会向当前打开的文档写入测试图,只能在一次性测试文档中显式运行:

.\tests\test-illustrator-e2e.ps1 -ConfirmDisposableOpenDocument

生成的 ZIP 与 SHA256 位于 dist。CI 使用 Windows runner 执行离线绘制链路测试;Illustrator 真机链路仅在带 Illustrator 2026 的自托管 Windows runner 上人工触发。

可复现性边界

仓库可以固定 Skill、脚本、依赖、测试和发行文件,但无法把 Codex 内置 Image 2 或 Adobe Illustrator 本体打包进去。另一台电脑要获得一致流程,必须满足 runtime-lock.json 中的环境契约,并自行配置 DPAPI API Key。

完整插件源码位于 plugins/cell-lct,安装器只把其中的 cell-lct Skill 部署到用户的 Codex Skills 目录。原版 Cell-lct 与 Cell-lct 可以并存。

cell-lct (yrui-cmd/cell-lct)

Searching Database…

What is this?Cell-lct is an editable scientific vector drawing plugin for Adobe Illustrator. It reconstructs reference images (charts with arrows, axes, heatmaps, legends) into real editable vector paths and genuine SVG text, then draws them directly into the Illustrator document you already have open.
Is this an Illustrator plugin, or does it also need something else running?It ships as a Codex Desktop Skill plus PowerShell install scripts: Codex drives the workflow using its built-in Image 2 editing capability, while the actual vector drawing happens live inside Adobe Illustrator 2026 through a persistent connection.
What do I need installed before I can use it?Windows 10/11 x64, Codex Desktop, Adobe Illustrator 2026 (30.x), PowerShell 5.1 or higher, and Python 3.11–3.14, with all Python dependencies pinned via requirements.lock.
Does it ever touch my existing artwork in Illustrator?No — it never deletes, hides, or replaces content already on the artboard, and it only exports a PNG at the very end of the process; non-text elements like arrows, boxes, axes, heatmaps and legends are preserved throughout.
Does this work without internet access?No — text removal and the optional AI watermark-hiding step are both handled by a third-party API, so the quality of results depends on that external service and an internet connection with available quota is required.
What is cellnoai and do I have to use it?cellnoai is a separate open-source tool now wired into the latest main branch that can strip hidden AI watermarks from the de-texted reference image before vectorization. It's optional — skipping it just continues with the original image.
Does using this cost money?Image processing goes through a third-party API that consumes quota. Free daily quota is handed out in the author's Douyin group, and paid quota can be arranged via a Xiaohongshu contact; if a single image is expected to use more than one credit, the tool asks for confirmation before uploading.
Can I trust a v0.2.1 install to behave the same on another PC?Reproducibility is locked for the Skill, scripts, dependencies and release artifacts via requirements.lock and runtime-lock.json, but Codex's built-in Image 2 feature and Adobe Illustrator itself can't be bundled — both still need to be set up separately on each machine.
Do I click through a separate app, or just chat with Codex?There's no standalone GUI for this plugin. You open Illustrator 2026 and your target document yourself, then send the drawing request as a message in a Codex Desktop task.
Creator
yrui-cmd
Size
0.3 MB
Stars
407
Age
3mo
Commits · 90 Days