Convert
remotion-dev/remotion
Start the local @remotion/convert app and open it in the Codex browser.
将 ltc-guji.cls 文件转换为 ltc-guji-digital 格式. An agent skill from open-guji/luatex-cn.
$ npx skills add open-guji/luatex-cn --skill convert-to-digital -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install open-guji/luatex-cn convert-to-digital --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/open-guji/luatex-cn.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/convert-to-digital .claude/skills/convert-to-digital && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "convert-to-digital" agent skill from https://github.com/open-guji/luatex-cn/tree/main/.claude/skills/convert-to-digital into .claude/skills/convert-to-digital/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "convert-to-digital", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/open-guji/luatex-cn/tree/main/.claude/skills/convert-to-digitalType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add open-guji/luatex-cn --skill convert-to-digital -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install open-guji/luatex-cn convert-to-digital --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/open-guji/luatex-cn.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/convert-to-digital .agents/skills/convert-to-digital && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "convert-to-digital" agent skill from https://github.com/open-guji/luatex-cn/tree/main/.claude/skills/convert-to-digital into .agents/skills/convert-to-digital/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "convert-to-digital", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add open-guji/luatex-cn --skill convert-to-digital -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install open-guji/luatex-cn convert-to-digital --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/open-guji/luatex-cn.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/convert-to-digital .cursor/skills/convert-to-digital && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "convert-to-digital" agent skill from https://github.com/open-guji/luatex-cn/tree/main/.claude/skills/convert-to-digital into .cursor/skills/convert-to-digital/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "convert-to-digital", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/open-guji/luatex-cn.git --path .claude/skills/convert-to-digital--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add open-guji/luatex-cn --skill convert-to-digital -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install open-guji/luatex-cn convert-to-digital --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/open-guji/luatex-cn.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/convert-to-digital .gemini/skills/convert-to-digital && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "convert-to-digital" agent skill from https://github.com/open-guji/luatex-cn/tree/main/.claude/skills/convert-to-digital into .gemini/skills/convert-to-digital/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "convert-to-digital", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install open-guji/luatex-cn convert-to-digitalInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add open-guji/luatex-cn --skill convert-to-digital -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/open-guji/luatex-cn.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/convert-to-digital .github/skills/convert-to-digital && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "convert-to-digital" agent skill from https://github.com/open-guji/luatex-cn/tree/main/.claude/skills/convert-to-digital into .github/skills/convert-to-digital/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "convert-to-digital", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add open-guji/luatex-cn --skill convert-to-digital -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install open-guji/luatex-cn convert-to-digital --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/open-guji/luatex-cn.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/convert-to-digital .opencode/skills/convert-to-digital && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "convert-to-digital" agent skill from https://github.com/open-guji/luatex-cn/tree/main/.claude/skills/convert-to-digital into .opencode/skills/convert-to-digital/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "convert-to-digital", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
convert-to-digital将 ltc-guji.cls 文件转换为 ltc-guji-digital 格式. An agent skill from open-guji/luatex-cn.
Convert To Digital is an agent skill from open-guji/luatex-cn. 将 ltc-guji.cls 文件转换为 ltc-guji-digital 格式
Its SKILL.md is about 750 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: 基于LuaTeX的中文排版宏包,支持古籍版式精确复刻,以及符合W3C《中文排版需求》的现代中文排版. The licence is Apache-2.0.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 8c48bdc. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are tex, python and bash).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Convert To Digital loads about 747 tokens when it runs. Until then it costs about 15 tokens; SKILL.md has 124 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from open-guji/luatex-cn at commit 8c48bdc, republished under its Apache-2.0 licence (© open-guji). 124 words, ~747 tokens.
.claude/skills/convert-to-digital/SKILL.md (or your agent's skills folder).将使用 ltc-guji(语义模式)编写的古籍排版文件转换为 ltc-guji-digital(布局模式)格式。
先阅读 memory 中的 guji_digital.md 了解 ltc-guji-digital 的命令体系。
参考完整示例:
示例/史记五帝本纪/史记.textest/digital_test/史记五帝-layout.tex% ltc-guji.cls:
\documentclass[四库全书彩色]{ltc-guji}
% ltc-guji-digital:
\documentclass[SiKuQuanShu-colored]{ltc-guji-digital}模板名称映射:四库全书彩色 → SiKuQuanShu-colored
% ltc-guji.cls:
\begin{正文} ... \end{正文}
% ltc-guji-digital:
\begin{数字化内容} ... \end{数字化内容}ltc-guji.cls 的 \列表 嵌套转换为 \缩进[N]:
\缩进[1]\缩进[2]% ltc-guji.cls:
\begin{列表}
\item 史記卷一
\item
\begin{列表}
\item \填充文本框[12]{漢太史令}司馬遷\空格 撰
\end{列表}
\item 五帝本紀第一
\end{列表}
% ltc-guji-digital:
\缩进[1] 史記卷一
\缩进[2] \填充文本框[12]{漢太史令}司馬遷\空格 撰
\缩进[1] 五帝本紀第一这是转换中最复杂的部分。ltc-guji.cls 的 \夹注{全部注释文字} 需要手动分栏为 \双列{\右小列{...}\左小列{...}}。
默认每列 21 字。当正文和夹注共享一列时:
黄帝者(3字)→ 每小列 18 字,一行 36 字用 Python 脚本辅助计算:
def split_annotation(text, chars_per_subcol=21):
"""将注释文字按每小列 chars_per_subcol 字分栏"""
pos = 0
lines = []
while pos < len(text):
right = text[pos:pos+chars_per_subcol]
left = text[pos+chars_per_subcol:pos+2*chars_per_subcol]
lines.append((right, left))
pos += 2 * chars_per_subcol
return lines当正文字符和夹注在同一行:
% 正文"黄帝者"(3字) + 夹注,每小列 21-3=18 字:
黄帝者\双列{\右小列{集解徐廣曰號有熊索隠按有土徳之瑞土色}\左小列{黄故稱黄帝猶神農火徳王而稱炎帝然也此}}当上一段夹注尾部字数不足一整行,可以和下一段正文+夹注拼在同一列:
% 上段夹注尾(11+11) + 正文"生而神靈弱而能言"(8字) + 下段夹注头(3+3) = 21+21
\双列{\右小列{為名又以為號是本姓公}\左小列{孫長居姬水因改姓姬}}生而神靈弱而能言\双列{\右小列{索隠弱}\左小列{謂幼弱}}计算规则:同一行所有元素(上段夹注尾 + 正文 + 下段夹注头)的总字符 = 21+21 = 42
% ltc-guji.cls:
\begin{段落}[indent=3]
\夹注{...长文本...}
\end{段落}
% ltc-guji-digital:
\缩进[3]\双列{\右小列{...}\左小列{...}}
\缩进[3]\双列{\右小列{...}\左小列{...}}
... (逐行,每行 21+21 字)注意:\缩进[N] 只影响当前列,所以段落中的每一行都需要加 \缩进[3]。
% ltc-guji.cls(可以有详细位置参数):
\印章[page=1, opacity=0.7, color=black, xshift=5.3cm, yshift=6.7cm, width=12.9cm]{文渊阁宝印.png}
% ltc-guji-digital(简化,位置由模板决定;末尾加 % 防止空列):
\印章[page=1,opacity=0.7,color=black]{文渊阁宝印.png}%关键:印章命令后必须加 %,否则换行符会产生空列。
ltc-guji.cls 中的内容自然流动不需要手动换页。ltc-guji-digital 中如果需要在特定位置换页:
\换页单独占一行,前后不要有其他内容。
数字化内容 中使用 % 注释 — 会吃掉换行符导致两行合并\夹注、\段落、\列表、\正文 在 digital 中不存在# 编译转换后的文件
cd test/digital_test && lualatex 史记五帝-layout.tex
# 与原文件对比页数和外观
cd 示例/史记五帝本纪 && lualatex 史记.tex
# 两个 PDF 应该页数相同、内容一致© open-guji, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/convert-to-digital of open-guji/luatex-cn.
Open the folder on GitHubat commit 8c48bdc
Convert To Digital next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Convert To Digital this skillopen-guji/luatex-cn | 119 | — | ~747 | Automated safety check: Pass | Apache-2.0 | |
| Convertremotion-dev/remotion | 63k | — | ~247 | Automated safety check: Pass | Custom licence | |
| Digital Forensicssickn33/agentic-awesome-skills | 47k | 1 repos | ~495 | Automated safety check: Pass | MIT | |
| Digital Forensicszhaoxuya520/reverse-skill | 41k | 2 repos | ~389 | Automated safety check: Warn | MIT | |
| ClsLiberatedPixelCup/Universal-LPC-Spritesheet-Character-Generator | 1.8k | — | ~822 | Automated safety check: Pass | GPL-3.0 | |
| Word to Markdown Convertergithub/awesome-copilot | 40k | — | ~1.6k | Automated safety check: Pass | MIT |
remotion-dev/remotion
Start the local @remotion/convert app and open it in the Codex browser.
sickn33/agentic-awesome-skills
Authorized digital forensics: memory dumps, disk timelines, PCAP investigation, artifact triage, and incident-response evidence preservation.
zhaoxuya520/reverse-skill
A skill your agent uses for authorized digital forensics including memory dumps, disk timelines, PCAP investigation, artifact triage, and IR evidence preservation.
LiberatedPixelCup/Universal-LPC-Spritesheet-Character-Generator
Measure lab CLS with profile:cls, debug layout shift from loading shells and first-paint jump, and keep budgets tied to a CI artifact.
github/awesome-copilot
Converts Word .docx files to Markdown with a bundled script before analysis, extracting embedded images and handling whole folders alongside the PDF and Excel converters.
sickn33/agentic-awesome-skills
Expert skill for converting any codebase (React/HTML/Next.js) into a pixel-perfect, SEO-optimized, and dynamic WordPress theme.
open-guji/luatex-cn
比较 Original (ltc-guji.cls) 和 Digital (ltc-guji-digital.cls) TeX 文件的 layout 输出
open-guji/luatex-cn
准备下一个补丁版本 (Prepare next patch version release). An agent skill from open-guji/luatex-cn.
open-guji/luatex-cn
运行视觉回归测试验证代码更改是否正确,支持 basic/pastissue/complete 套件及基线更新. An agent skill from open-guji/luatex-cn.
open-guji/luatex-cn
通过回归测试框架编译并查看 TeX 文件的渲染效果,避免在工作目录生成多余 PDF. An agent skill from open-guji/luatex-cn.
open-guji/luatex-cn
修复 GitHub Issue 的完整工作流
open-guji/luatex-cn
清理重构代码 (Code cleanup and refactoring)
将 ltc-guji.cls 文件转换为 ltc-guji-digital 格式. An agent skill from open-guji/luatex-cn. Convert To Digital is an agent skill from open-guji/luatex-cn.
Run `npx skills add open-guji/luatex-cn --skill convert-to-digital -a claude-code`. Or copy the skill folder (.claude/skills/convert-to-digital in open-guji/luatex-cn) into .claude/skills/convert-to-digital in your project. Claude Code loads it when a task matches its description.
Run `npx skills add open-guji/luatex-cn --skill convert-to-digital -a codex`. Or copy the skill folder (.claude/skills/convert-to-digital in open-guji/luatex-cn) into .agents/skills/convert-to-digital in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add open-guji/luatex-cn --skill convert-to-digital -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/convert-to-digital, .gemini/skills/convert-to-digital, .github/skills/convert-to-digital and .opencode/skills/convert-to-digital in your project.
SKILL.md names no scripts, command-line tools or credentials: Convert To Digital is instructions for the agent only. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Convert To Digital is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 747 tokens (SKILL.md is roughly 3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Convert To Digital: Convert (remotion-dev/remotion, 63k stars), Digital Forensics (sickn33/agentic-awesome-skills, 47k stars), Digital Forensics (zhaoxuya520/reverse-skill, 41k stars) and Cls (LiberatedPixelCup/Universal-LPC-Spritesheet-Character-Generator, 1.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
open-guji (a GitHub organization) maintains it in open-guji/luatex-cn, which has 119 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 2, 2026.
Source: open-guji/luatex-cn on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.