원클릭으로
paper-card
把一篇论文拆解成结构化研究卡片。 当用户说"做个卡片"、"写阅读笔记"、"总结这篇论文"、 "帮我读一下"、"结构化分析"、"拆解论文"时触发。 输出 card.md(快速概览)和 card-deep.md(深度分析)。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
把一篇论文拆解成结构化研究卡片。 当用户说"做个卡片"、"写阅读笔记"、"总结这篇论文"、 "帮我读一下"、"结构化分析"、"拆解论文"时触发。 输出 card.md(快速概览)和 card-deep.md(深度分析)。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
一键导入论文:从标题/DOI/链接/模糊描述开始,自动走完 resolve → acquire → repo 管线。 当用户说"导入这篇论文"、"帮我把这篇论文弄下来"、"下载这篇论文"、 "把这篇论文弄到本地"、"帮我搞定这篇论文"时触发。 覆盖从搜索到下载到找代码的全流程。如果用户只需要搜索/确认论文身份, 不需要下载,应使用 paper-search skill。 三步默认全部执行:确定论文 → 获取 PDF+markdown → 找代码仓库。 用 --no-acquire 跳过下载,--no-repo 跳过代码搜索。
搜索论文并解析论文身份,生成结构化 metadata.yaml。 当用户要搜论文、找文献、确认论文身份(标题/DOI/arXiv ID/URL)、 查论文信息、做论文 metadata 时触发。 不负责下载 PDF 或转 markdown(那是 paper-acquire 的工作)。 覆盖 20+ 学术源(arXiv、PubMed、Semantic Scholar、Crossref、OpenAlex、DBLP、Unpaywall 等)。 如果用户想要"导入论文"(全流程),应使用 paper-import skill。 如果用户只要"下载论文"或"获取 PDF",应使用 paper-acquire skill。
获取论文原文:下载 PDF 并转成结构化 markdown。 当用户要求下载论文、获取 PDF、把论文转成 markdown 时触发。 也作为 paper-search 的下游自动步骤——确定了论文身份后自动获取原文。
找论文的代码仓库。 当用户问"代码在哪"、"有没有实现"、"帮我找 repo"、 "官方代码"、"复现"、"复现代码"、"开源实现"、 "开源代码"、"GitHub 地址"时触发。 验证仓库真实性后自动 clone。
PDF 转高质量 markdown,支持公式、表格、混合排版。 当用户要求 PDF 转 markdown、提取论文文本、OCR 提取时触发。 注意:paper-acquire 内部会调用它,不需要单独触发。
| name | paper-card |
| description | 把一篇论文拆解成结构化研究卡片。 当用户说"做个卡片"、"写阅读笔记"、"总结这篇论文"、 "帮我读一下"、"结构化分析"、"拆解论文"时触发。 输出 card.md(快速概览)和 card-deep.md(深度分析)。 |
| argument-hint | <论文引用 | folder_slug | PDF路径> [--lang zh|en] |
Generate structured research cards from an acquired paper.
This skill owns:
$PAPERS_DIR/{folder_slug}/card.md — quick card$PAPERS_DIR/{folder_slug}/card-deep.md — deep cardThis skill does not:
paper-acquire)paper-search)paper-repo)metadata.yaml按以下优先级检测输入类型:
$PAPERS_DIR/{input}/metadata.yaml 是否存在。
存在 → 检查 paper/paper.md → 生成卡片。
输入看起来像 folder_slug(无 .pdf 后缀、无 URL scheme、无 DOI/arXiv 前缀)但目录不存在时,告知用户该论文未导入,询问是否需要导入。.pdf 文件路径(Path(input).suffix == '.pdf' and Path(input).is_file())。
→ 调 pdf-to-md 转 markdown → 调 paper-search 解析身份 → 复制 PDF 和 markdown 到 $PAPERS_DIR/{folder_slug}/paper/ → 生成卡片。paper-import 完成 search+acquire → 用生成的 folder_slug → 生成卡片。用户给本地 PDF(如 ~/Downloads/paper.pdf)时:
pdf-to-md 把 PDF 转成 markdown,输出到 PDF 同目录2301.13688.pdf → arXiv ID,attention_is_all_you_need.pdf → 标题关键词)paper-search 生成 metadata.yaml$PAPERS_DIR/{folder_slug}/paper/ 下创建标准目录结构,复制(不移动)PDF 和 markdown非 folder_slug、非本地 PDF 的输入,agent 应:
paper-import skill,传入用户的论文引用在 Windows 上执行 paper-acquire / pdf-to-md 的 bash 命令时:
PYTHONIOENCODING=utf-8 环境变量避免 GBK 编码错误MINERU_API_TOKEN 在当前 shell session 中可用(检查 $env:MINERU_API_TOKEN 或 os.environ)python3 可能不存在,使用 python 替代检测输入类型并确保前置条件满足(详见 Input Handling)。
完成后,以下文件必须存在:
$PAPERS_DIR/{folder_slug}/metadata.yaml$PAPERS_DIR/{folder_slug}/paper/paper.mdRead both files:
$PAPERS_DIR/{folder_slug}/metadata.yaml — for frontmatter (title, authors, year, venue, url, code, tags)$PAPERS_DIR/{folder_slug}/paper/paper.md — full paper textRead both templates (templates/paper-card-deep.md and templates/paper-card-quick.md). The deep card template contains inline extraction rules (in HTML comments and annotation blocks) that guide how to fill each section. Follow them.
Read the full paper.md and fill both templates section by section:
metadata.yaml + your assessment (tags, builds_on, contrasts_with, ratings, verdict)Optional parallel execution: If the caller supports subagent dispatch, run two independent extractions in parallel for cross-validation. Both read paper.md independently and follow the same templates. When two results are available, use cross-validation rules:
If subagents are not available, the main agent performs the extraction directly — same templates, single pass.
Write to:
$PAPERS_DIR/{folder_slug}/card.md$PAPERS_DIR/{folder_slug}/card-deep.mdBoth files should be self-contained Markdown with YAML frontmatter.
卡片输出语言由 --lang 参数决定。未指定时跟随用户对话语言(用户用中文提问则输出中文,用英文则输出英文)。
语言规则:
模板文件保持英文不变。agent 在生成卡片时根据语言指令翻译 section headers 和正文内容。
Both templates contain inline extraction rules (HTML comments). Read them for guidance, but do NOT include them in the output. Preserve all section headers, numbering, annotations, and callout syntax exactly as they appear.
This skill runs after paper-acquire (which runs after paper-search).
Use paper-import for end-to-end workflow including card generation.