SkillsGrove
SkillsGrove/Офисные документы/budoyh/paper-explainer/paper-explainer

paper-explainer

Установка

$npx skills add https://github.com/budoyh/paper-explainer --skill paper-explainer
$git clone --depth 1 https://github.com/budoyh/paper-explainer.git /tmp/paper-explainer && mkdir -p ~/.claude/skills && cp -r /tmp/paper-explainer/. ~/.claude/skills/paper-explainer
Пожалуйста, установи для меня этот Agent Skill: https://github.com/budoyh/paper-explainer/tree/8e195ddc65957c09307dad7690c9b55ab4267daa/ — сначала прочитай его SKILL.md и скрипты и устанавливай в мою папку навыков только после того, как убедишься, что он безопасен.

Кратко

Исходное описание · MITRead academic paper PDFs and produce self-contained, paper-complete, high-fidelity, reader-adapted Chinese deep-reading Markdown files. Use when Codex needs to explain, teach, translate, or rewrite a research paper so thoroughly that the reader can master the paper without opening the original PDF for first-pass study; preserve the paper's full structure, important subsections, terminology, figures, tables, formulas, algorithms, claims, classic short quotes, limitations, and future work; adapt explanations to the reader's resume or background materials; redraw conceptual figures with Codex's built-in GPT Image 2 first, not Mermaid/SVG/Markdown substitutes; and run multi-subagent quality review for exhaustive coverage, factual consistency, terminology, visual/formula fidelity, and readability.
Приведённый ниже SKILL.md воспроизведён из budoyh/paper-explainer (коммит 8e195dd) под лицензией MIT. Текст не изменён; опущены только метаданные заголовка файла, изображения показаны как ссылки, а очень длинные файлы сокращены. Авторские права: 2026 budoyh. Лицензия: LICENSE. Показан только файл с инструкциями; скрипты смотрите в исходном репозитории.

Paper Explainer

Produce a complete Chinese deep-reading explainer for an academic paper PDF. Do not produce a loose summary.

The default depth mode is exhaustive_single_file: one very detailed Markdown file that can replace a reader's first full pass through the original paper. The reader should not need to open the PDF to understand the paper's structure, concepts, argument, evidence, figures, formulas, limitations, and future directions.

The explainer must be faithful to the paper and easier to understand than the paper. Preserve the original argument, all numbered sections, important subsections, figures, tables, formulas, algorithms, key claims, classic short quotes, limitations, and future directions. Explain hard terms only when they appear in nearby prose, and connect them to the reader's background.

Default assumption for English ability: do not assume the reader knows academic English vocabulary. Preserve important English terms, but add Simplified Chinese support at first use. Use the high-density pattern English(中文直译;本文语境:...) for technical terms and uncommon general words that can block understanding, such as retrieval, malicious, hallucination, jailbreak, runtime monitor, benchmark, spoofing, and attestation.

Non-Negotiable Rules

  • Use Simplified Chinese as the main language.
  • Default to exhaustive_single_file. Unless the user explicitly asks for a brief summary, never output a summary-like short article. 中文硬规则:不能输出摘要式短文。
  • The document must let the reader master the paper without opening the original PDF for first-pass study.
  • Preserve important English terms and explain them at first use in context. English vocabulary guardrail: important terms and uncommon English words must include 中文直译 and 本文语境 near first appearance; do not leave bare English that forces the reader to use a dictionary.
  • If the reader's English level is weak or unknown, use high-density first-use explanations: explain both technical terms and uncommon general words, then briefly restate the Chinese meaning when the term reappears far away.
  • If reader materials exist, build a reader profile first and adapt the explanation depth to that profile.
  • Cover every numbered section and every important subsection. If sections are merged for readability, include them in the coverage checklist and state where they are explained.
  • If the prose discusses a figure, table, formula, equation, algorithm, or important quote, embed, redraw, transcribe, or screenshot it nearby.
  • Preserve the paper's essence: core concepts, taxonomy names, key definitions, short classic quotes, formulas, takeaways, limitations, future work, representative methods, cases, and evidence. Short quotes may be kept; long passages must be accurately paraphrased and explained.
  • Run a "reader confusion" check. Hardware, CPS, sensors, industrial control, security certification, math formulas, attack methods, evaluation metrics, datasets, benchmarks, and system components need background bridge + intuition + technical meaning + what breaks if ignored.
  • For conceptual figures, first call Codex built-in GPT Image 2 through the image generation tool to create a Chinese redraw. Do not use Mermaid, SVG, Markdown diagrams, or ASCII diagrams as substitutes for GPT Image 2.
  • If GPT Image 2 redraw fails strict verification twice, use the source crop in the final Markdown and record the failure. Do not fall back to Mermaid/SVG/Markdown as the replacement.
  • Never use AI image generation for numeric plots, experimental curves, dense tables, formulas, or evidence screenshots unless the user explicitly asks and verification proves no factual drift.
  • Do not silently overwrite an existing explainer unless the user asked to regenerate or replace it.
  • State explicitly when the paper does not contain formulas, algorithms, limitations, or experiments; do not invent missing content.

Required Workflow

1. Ground the inputs

Identify:

  • the primary paper PDF
  • reader background materials such as resumes, notes, previous explanations, course records, or project files
  • existing explainers and assets in the same directory
  • whether the user asked for regeneration, replacement, or cleanup

Infer the reader's strengths and weak spots from background materials. Do not include private contact details from resumes in the output.

2. Read the paper in four passes

Use a four-pass reading discipline inspired by open paper-reading workflows:

  1. Pass 1: paper skeleton Read title, abstract, introduction, conclusion, section headings, figures, tables, formulas, algorithms, and contribution statements. Output internally: one-sentence core contribution and paper route.
  2. Pass 2: section-by-section complete reading Read every numbered section and important subsection. Record the section's purpose, argument steps, concepts introduced, evidence used, assumptions, examples, limitations, and relation to neighboring sections.
  3. Pass 3: visual/formula/evidence verification Re-open important figures/tables/formulas, limitations, future directions, and result tables. Look for exceptions, failure cases, contradicted claims, omitted caveats, and terms that require background bridging.
  4. Pass 4: reader-blocker pass Identify anything the inferred reader may not understand without extra background. Add background bridges, intuition, technical explanation, and failure consequences where needed.

Read references/routing.md before drafting. Classify the paper as survey/review, method, system, or empirical, then preserve the paper's original numbered structure unless the user asks for a different structure.

3. Inventory structure, visuals, formulas, and claims

Before writing, build an internal inventory:

  • all numbered sections and important subsections
  • all named figures and tables
  • all numbered equations, important displayed formulas, notation blocks, and algorithm boxes
  • datasets, benchmarks, metrics, attack/defense taxonomies, frameworks, and key claims
  • explicit limitations, future work, and open problems
  • section coverage checklist, including merged or skipped items with reasons
  • core concept/term tracking table, with English term, 中文直译, 本文语境, first-use location, explanation status, and repeat-reminder rule
  • classic short quotes worth preserving
  • reader-blocker map: concepts likely to be unclear and where the explainer will bridge them

Every discussed item must appear near its explanation. Only items marked skip may be absent from the final Markdown.

Read references/output-spec.md for file naming, output sections, image rules, and writing rules.

4. Handle figures with GPT Image 2 first

For each conceptual figure such as a taxonomy, workflow, framework, threat map, architecture overview, or simple pipeline:

  1. Crop and save the source figure as figXX_source.png.
  2. Write figXX_redraw_spec.md with the source fact checklist: title/number, all nodes, relations/arrows, grouping/hierarchy, legend/color meaning, key labels/numbers, and what must not change.
  3. Call Codex built-in GPT Image 2 via the image generation tool. Use the source crop and checklist as the generation basis. Ask for a clean Chinese reader-facing redraw.
  4. Save the redraw as figXX_redraw_zh.png.
  5. Verify the redraw against the source crop and checklist.
  6. Embed the redraw only if it passes verification.

If the redraw fails twice, embed figXX_source.png instead and record the failure in the final response or self-check section. Mermaid/SVG/Markdown are not allowed as fallback replacements for conceptual figures.

Use screenshots or faithful transcription for tables, formulas, algorithm boxes, numeric plots, experimental curves, dense diagrams, screenshots, and evidence examples.

5. Write for understanding, not only completeness

Start every explainer with:

  • title and citation context
  • one-sentence core contribution
  • paper-complete coverage commitment: state that this is a detailed first-pass replacement, not a summary
  • reader profile and what background will be supplemented
  • how to read the explainer
  • whole-paper map
  • section-by-section coverage checklist
  • complete figure/table/formula/algorithm inventory
  • core concept/term tracking table
  • classic original viewpoints and short quotes list
  • reader-blocker background map

For each important section, use this local flow without making it mechanically repetitive:

  • what this section solves in the paper
  • original-paper logic: preserve the paper's actual argument step by step
  • in-context terminology: explain terms only where they appear nearby
  • English vocabulary support: for key English terms and uncommon words, use English(中文直译;本文语境:...) at first use; include Chinese reminders later when distance or section changes may make the term easy to forget
  • figures/formulas/tables/algorithms: embed before explaining and walk through the object item by item
  • representative methods, cases, datasets, attacks, defenses, results, or evidence, fully expanded rather than only named
  • why it matters: connect to the paper's thesis and the reader's background
  • common misunderstanding or counter-intuitive point when relevant
  • relation to previous and next sections
  • section memory point: a short synthesis

Do not compress a section into a generic paragraph if it contains multiple concepts, methods, cases, datasets, claims, limitations, or subcategories. Expand the internal structure until a diligent reader can reconstruct the paper's argument from the explainer.

Use layered explanation when a concept is hard:

  • intuition first, with a precise analogy only if it does not distort the concept
  • undergraduate-level explanation connected to ML/CV/NLP/security basics
  • technical explanation preserving the paper's terminology
  • "what breaks if this is missing" for key components, attacks, defenses, or assumptions
  • direct translation and paper-context meaning for English words that may block the reader before they can understand the technical idea

For formulas:

$$
formula
$$

In one sentence: ...

Symbols:
- `x`: ...

Intuition: ...
Why the paper needs it: ...

6. Run multi-reviewer quality control

Read references/quality-rubric.md.

If subagents are available and the current policy permits delegation, use at least three independent reviewers:

  • Coverage reviewer: compare PDF and Markdown for missing sections, claims, figures/tables/formulas/algorithms, limitations, future work, and contradictions.
  • Technical reviewer: check terminology, attack/defense taxonomy, formulas, datasets, benchmarks, figure/table interpretation, and AI redraw fidelity.
  • Readability reviewer: check whether the document is understandable for the inferred reader, whether term explanations appear in context, and whether the structure is smooth instead of choppy.

Give reviewers the paper PDF, generated Markdown, assets directory, and review target. Do not feed them your preferred answer or suspected bugs.

Fix all P0-P2 findings. Fix P3 findings that affect readability or trust. If subagents cannot be used, run the explicit self-check in references/quality-rubric.md.

7. Finish with a grounded close-out

In the final response:

  • link the generated Markdown files
  • link or mention assets directories
  • state which figures used GPT Image 2 and which items used source screenshots/transcriptions
  • state what was verified
  • state what remains unverified or risky
  • state cleanup performed when applicable

Resource Map

Полный текст лицензии (MIT)
MIT License

Copyright (c) 2026 budoyh

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.