How to install ljg-paper-flow
npx skills add https://github.com/lijigang/ljg-skills --skill ljg-paper-flowFull instructions (SKILL.md)
Source of truth, from lijigang/ljg-skills.
name: ljg-paper-flow description: "Paper workflow: read papers + cast 取景框 library cards in one go. Takes one or more arxiv links, paper URLs, PDFs, or paper names. For each paper, runs ljg-paper (generates org analysis) then ljg-library (distills the paper's 取景框 into a 2050 library card PNG). Use when user says '论文流', 'paper flow', '读论文并做卡片', '论文卡片', or provides multiple papers wanting both analysis and cards." user_invocable: true version: "1.1.0"
ljg-paper-flow: 论文流
一条命令完成:读论文 → 生成解读 → 铸成取景框借书卡。支持多篇并行。
模式
强制 NATIVE 模式。 本 workflow 是纯 skill 管道(ljg-paper → ljg-library),不需要 Algorithm 的七步流程。直接按下方执行步骤调用 skill,不走 OBSERVE/THINK/PLAN/BUILD/EXECUTE/VERIFY/LEARN。
参数
无 flag。论文来源从对话或命令里取(arxiv URL、PDF 路径、论文名)。每篇论文走 ljg-paper → ljg-library,卡片类型固定为取景框借书卡——ljg-library 只产这一种卡,没有 ljg-card 那套 -l/-i/-c/-v 模具可选。
执行
1. 收集论文列表
从用户消息中提取所有论文来源(arxiv URL、PDF 路径、论文名称等)。
2. 并行处理每篇论文
对每篇论文,启动一个 Agent subagent,每个 subagent 按顺序执行两步:
步骤 A — 读论文(ljg-paper):
调用 Skill tool 执行 ljg-paper,传入该论文的来源。等待完成,获得生成的 org 文件路径。
步骤 B — 铸取景框卡(ljg-library):
读取步骤 A 生成的 org 文件——里面已经把这篇论文的命题、内核、它带来的新看世界方式拆透了,这正是 ljg-library 要的「已想透的取景框思想」。把这份思想连同论文标题 / 作者 / arxiv 信息交给 Skill tool 执行 ljg-library:走它的输入弹性路径(给了思想就只校验 + 画图,跳过从零提炼),产出取景框借书卡 PNG。等待完成,获得 PNG 路径。
3. 汇总报告
所有论文处理完成后,汇总输出:
════ 论文流完成 ═══════════════════════
📄 {论文标题1}
📝 解读: {org 文件路径}
🃏 取景框卡: {PNG 文件路径}
📄 {论文标题2}
📝 解读: {org 文件路径}
🃏 取景框卡: {PNG 文件路径}
...
关键约束
- 每篇论文的两步必须串行(先 paper 后 library),但多篇论文之间并行
- ljg-paper 和 ljg-library 各自的质量标准、红线、品味准则不变
- 卡片的取景框来自生成的 org 文件(已拆透的命题 + 内核),不是原始论文
- 论文 ≠ 书,素材降级:ljg-library 的封面(weread)/ 作者头像(维基)/ 出版社字段是为书设计的。论文走 arxiv:weread 多半搜不到 → 封面落 CSS 占位;arxiv 作者多半不在维基 → 头像省略;书目行改用 arxiv 元数据(作者 · arXiv:ID · 年份)。卡的命在取景框意向画面 + 费曼讲解 + 手绘图,这部分论文完全适配,封面 / 头像缺位不伤核心。
- 并行隔离 /tmp 竞争:ljg-library 默认把封面 / 头像写死在
/tmp/lib_cover.jpg、/tmp/lib_avatar.jpg;多篇并行会互相串图。每个 subagent 必须用唯一路径(如/tmp/lib_cover_{slug}.jpg),渲染后亲眼验图确认没串。
Related skills
More from lijigang/ljg-skills and the wider catalog.
ljg-travel
Deep travel research workflow for museums and ancient architecture. Input a city name, auto-generates structured knowledge document (org-mode) + portable reference cards (PNG). Covers historical background, museum highlights, archaeological significance, and architectural heritage. Use when user says '旅行研究', '博物馆功课', '古建功课', 'travel research', '出发前功课', or provides a city name with intent to do deep cultural travel preparation.
ljg-card
Content caster (铸). Transforms content into PNG visuals. Seven molds: -l (default) long reading card, -i infograph, -m multi-card reading cards (1080x1440), -v editorial sketchnote (problem→failure→pivot→insight→naming, magazine + archive layout), -c comic (manga-style B&W), -w whiteboard (marker-style board layout), -b big-fonts attachment card (1080x1440, weathered 碑刻 style for 小红书). Output to ~/Downloads/. Use when user says '铸', 'cast', '做成图', '做成卡片', '做成信息图', '做成海报', '视觉笔记', 'sketchnote', '杂志', 'editorial', '漫画', 'comic', 'manga', '白板', 'whiteboard', '大字', '附件图', 'big fonts', '小红书卡片'. Replaces ljg-cards and ljg-infograph.
ljg-roundtable
Agent skill from lijigang/ljg-skills.
ljg-paper
Paper reader for non-academics. Reads a paper and tells it back as one continuous story — the life of the paper's core proposition (命题), told on a seven-beat spine (主角 / 困境 / 旧路 / 转折 / 解法 / 结局 / 内核): born in a bind on a base-rate ruler, crystallized as a bold conjecture, argued through mechanism and evidence, distilled into a new way of seeing, then walked out of the paper — life-tested and cashed into falsifiable predictions (检验). Output opens with a scannable 速读 card (一句话 / 大想法 / 只记三件事) that compresses the whole story three ways for the time-poor reader and the six-months-later self, then tells the full story. The job is storytelling that makes the paper land, not academic critique. Use when user shares an arxiv link, paper URL, PDF, or asks to analyze a research paper. Trigger words: '读论文', '讲论文', '把这篇讲给我听', '分析论文', 'paper', or when user shares an academic paper.
ljg-plain
Agent skill from lijigang/ljg-skills.
ljg-learn
Deep concept anatomist that deconstructs any concept through 8 exploration dimensions (history, dialectics, phenomenology, linguistics, formalization, existentialism, aesthetics, meta-philosophy) and compresses insights into an epiphany. Use when user asks to explain, dissect, or deeply understand a concept, term, or idea. Triggers on '解剖概念', '概念解剖', 'explain concept', 'learn concept', '/ljg-learn'. Produces org-mode output.