Ljg Classic logo

Ljg Classic

CommunityPopular
lijigang
ljg-classic

古文逐字注解、组合排版、章节意旨图与全章解读生成器。把原文、字词注、句义注、无字顶部配图和章节解读排成一张可读的长 PNG。USE WHEN 用户调用 ljg-classic OR 要求给文言文、古诗文、经史子集做逐字注解、彩色夹注、章节解读、古文讲义图、章节配图。NOT FOR 只翻译一句古文、只写现代文章或通用内容卡片。

Overview

Publisherlijigang
Repositoryljg-skills
Skill nameljg-classic
Stars
7.4K
Forks
834
Bundled files
11
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 11 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by lijigang on GitHub. Read the source before you install it.

Installation

Install the Ljg Classic AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/lijigang/ljg-skills.git /tmp/ljg-skills
mkdir -p .claude/skills
cp -r /tmp/ljg-skills/skills/ljg-classic .claude/skills/ljg-classic
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Ljg Classic in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Ljg Classic on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Ljg Classic is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

ljg-classic:古文笺

原文是主干,注解贴着字词生长,章节解读把整章重新接成一个能运行的判断。最终交付一张标明书名与章节的 PNG 长图到 $HOME/Downloads/;生成与复验过程留在独占 /tmp 工作区。

Workflow Notification

执行工作流时,只输出文字通知:

text
Running the **AnnotateAndRender** workflow in the **ljg-classic** skill to annotate and render the chapter...

不发送开始、阶段或进度语音;完成语音由系统统一处理。

Workflow Routing

WorkflowTriggerFile
AnnotateAndRender逐字注解、彩色夹注、章节解读、生成古文 PNGWorkflows/AnnotateAndRender.md

快速合同

  • 输入必须能确定原文、书名、章节;版本不明时保留异文边界。
  • 所有非标点原文片段都有对应注解,不能只挑“重点词”。
  • 青色解释字词与语法,朱色解释整句动作,赭色只标异文与不确定处;章节解读使用暖纸深墨,不用蓝色长正文。
  • 解读继承 ljg-plain 的直白中文和 ljg-writes 的「条件—机制—结果、迁移、边界」,但不显示「解读边界」等写作脚手架。
  • 默认调用内置 image_gen 生成一幅无字、低干扰的章节意旨图,放在章节标题与原文之间;图像不可用时继续生成无图版本并说明。
  • 每次运行先建立独占 /tmp/ljg-classic-* 工作区;JSON、HTML、manifest、意旨图、候选 PNG 与重叠 QA 切片都只放在该工作区。
  • 候选 PNG 完成硬验收后,才复制到 $HOME/Downloads/ 作为最终卡片;用户显式指定另一最终路径时以本次指令为准。未经明确要求不覆盖同名文件。

Gotchas

  • “逐字”指原文覆盖率 100%,不等于把固定词拆成失去意义的单字;成词、虚词功能和通假关系按最小有意义单位注。
  • 注解不能改写原文。底本疑似错字、通假或版本差异用 variant 标出,不能静默替换。
  • 字词注与句义注若都写成长句,原文会被淹没。字词注只解决局部读法,句义注只补当前动作或因果。
  • 章节解读不是逐句译文的重复,也不是金句合集。它只运行一个主关系,并说明一个可迁移场景或失效边界。
  • 边界要自然写进文章,不另起「解读边界」「应用边界」「迁移测试」之类的方法标题;这些词会让读者从内容中跳回写作后台。
  • 顶部配图负责压缩母题,不负责复述情节。禁止图中文字、书法、印章、水印与高饱和宗教奇观;画面细节太满会抢走原文的第一阅读权。
  • PNG 文件存在不算完成。必须核对真实尺寸、标题章节、注解覆盖、页面底部、整图与长图切片。
  • 不直接渲染到 Downloads。先在 /tmp 验收候选 PNG,再复制最终卡片,并读回候选与交付文件的 SHA-256 一致性。
  • 图像宽度固定不代表字号固定。文字量增加时先增高页面和调整断行,不能把正文字号压到难读。
  • 标点不能作为可独立换行的单元。句末标点与闭引号跟住前一原文 token;段首引号跟住后一 token,避免孤行。

Examples

Example 1:整章古文排版

text
User: 「/ljg-classic 《道德经》第十六章,逐字注解并讲透」
→ 锁定书名、章节与底本
→ 逐段生成字词注、句义注和全章解读
→ 在独占 `/tmp` 工作区完成验收,只把带书名章节的 1080px 长 PNG 交付到 `$HOME/Downloads/`

Example 2:用户提供原文

text
User: 「把这段《论语·学而》做成文言文夹注图,最后写完整解读」
→ 原文逐片段覆盖,通假与语法另行标色
→ 解读用直白中文跑通条件、机制和结果
→ JSON、HTML、manifest、配图和 QA 切片保留在 `/tmp`;最终 PNG 交付到 `$HOME/Downloads/`

Example 3:只翻译一句

text
User: 「这句古文是什么意思?」
→ 不触发 ljg-classic
→ 直接做简短翻译或使用 ljg-plain

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Ljg Classic AI skill do?

古文逐字注解、组合排版、章节意旨图与全章解读生成器。把原文、字词注、句义注、无字顶部配图和章节解读排成一张可读的长 PNG。USE WHEN 用户调用 ljg-classic OR 要求给文言文、古诗文、经史子集做逐字注解、彩色夹注、章节解读、古文讲义图、章节配图。NOT FOR 只翻译一句古文、只写现代文章或通用内容卡片。

Why use Ljg Classic on TypingMind?

Because you install it once and use it with any model. Ljg Classic is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Ljg Classic in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/lijigang/ljg-skills/tree/master/skills/ljg-classic. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Ljg Classic?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Ljg Classic?

As many as you like. As long as a model supports skills, you can use Ljg Classic with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Ljg Classic AI skill free?

Yes. It is published on GitHub by lijigang under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇