Agent SkillsYuan1z0825/nature-skills › nature-reader

nature-reader

GitHub

构建支持多源(PDF/DOI等)的中英对照学术文献阅读器,实现图表公式精准渲染与原文锚定。适用于论文精读、全文翻译及学术理解场景,严禁简化为摘要。

skills/nature-reader/SKILL.md Yuan1z0825/nature-skills

Trigger Scenarios

中英文对照阅读 学术论文全文翻译 文献精读与解读 包含公式或图表的原文解析

Install

npx skills add Yuan1z0825/nature-skills --skill nature-reader -g -y
More Options

Use without installing

npx skills use Yuan1z0825/nature-skills@nature-reader

指定 Agent (Claude Code)

npx skills add Yuan1z0825/nature-skills --skill nature-reader -a claude-code -g -y

安装 repo 全部 skill

npx skills add Yuan1z0825/nature-skills --all -g -y

预览 repo 内 skill

npx skills add Yuan1z0825/nature-skills --list

SKILL.md

Frontmatter
{
    "name": "nature-reader",
    "metadata": {
        "author": "Community contribution, refactored into static\/dynamic layers",
        "version": "2.1.1"
    },
    "description": "Build full-paper Chinese-English side-by-side, figure\/table\/equation-aware, source-grounded Markdown readers for journal or conference papers from PDF, DOI, arXiv, publisher HTML, or pasted text. Use whenever the user asks to translate or read a paper, make 中英文对照\/原文对照\/全文翻译解读, render equations instead of exposing raw LaTeX, extract figures or tables into the right positions, preserve figure\/table placement near relevant prose, or keep exact source anchors for every block. This skill must not degrade into a summary-only output unless the user explicitly asks for a summary. Also trigger on general paper-reading and translation requests even without the word \"Nature\", such as reading\/translating an academic paper, literature reading, understanding a paper, and Chinese phrasings like 读论文、精读论文、论文翻译、文献翻译、文献阅读、学术阅读、帮我读这篇文章、翻译这篇paper."
}

Full-Paper Markdown Reader — Router

This skill is split into two layers:

  • A static layer under static/ that holds versioned, reusable content fragments (core principles, the reading workflow, the output contract, and per-source-format extraction guidance).
  • A dynamic layer (this file plus manifest.yaml) that detects the request's source format and loads only the fragments needed for the current job.

Do not try to apply the reading logic from memory or from this router. Always load fragments from disk as described below.

Routing protocol

Follow these five steps every time the skill is invoked.

1. Load the manifest and the core layer

Read manifest.yaml. It declares the source_format axis, the allowed values, and the file paths each value maps to.

Also read every file listed under always_load. These hold the core principles, the reading workflow, and the output contract that apply to every reading job, plus the shared Terminology Ledger used to build the recurring-term table.

2. Detect the source format

Decide the source_format value using the manifest's detect: hint and the user's input:

  • pdf-text — selectable-text PDF. Default.
  • scanned-pdf — image-only or OCR-required PDF.
  • html — publisher or preprint HTML page.
  • doi-arxiv — a bare DOI or arXiv link that must be resolved first.
  • pasted-text — pasted prose or notes with no retrievable original layout.

State the detected value in one short line to the user before processing, so they can correct you cheaply. A source may map to more than one value (for example a DOI that resolves to a PDF); load the resolution fragment first, then the fragment for the resolved artifact.

3. Load the matching fragment(s)

Read the file mapped for the detected source_format. Do not read every fragment in static/. Load only what step 2 selected.

4. Build the reader using the loaded material

Apply the loaded fragments in this priority order:

  1. Core principles (core/principles.md) — bilingual reader by default, translate for meaning, never degrade to a summary, copyright caution.
  2. Source-format fragment — how to extract text, figures, and tables for this input.
  3. Reading workflow (core/workflow.md) — the six-step source-map-first process.
  4. Output contract (core/output-contract.md) — required files and the pre-response verification checklist.

Build the Terminology Ledger as you translate (../nature-shared/core/terminology-ledger.md); it becomes the paper.md recurring-term table and the source_map.json glossary.

If constraints prevent full processing, still create a draft reader and label missing pages, figures, or low-confidence crops in translation_notes.md. Do not switch to summary mode.

5. Reach for references only when needed

The files under references/ are deep references, not defaults. Open them on demand per the references.on_demand table in the manifest:

  • detailed figure/table cropping and placement → references/figure-extraction.md.
  • exact field schema for paper.md / source_map.jsonreferences/output-spec.md.
  • equations, mathematical expressions, chemical formulae, or image-only formulae → references/equation-handling.md.
  • answering follow-up questions with source citations → references/grounding-rules.md.

Why this split

  • The static layer is versioned and reviewable. Adding a new source format is one new fragment plus one manifest line.
  • The dynamic layer keeps each invocation cheap: only the fragment relevant to this input enters context.
  • The router itself is short on purpose. Update fragments, not this file, when adding scope.
  • This structure mirrors nature-writing and nature-polishing so shared content lives in nature-shared/.

Version History

  • 4ceb19c Current 2026-08-16 06:48

    修复了论文阅读器中公式无法正确渲染的问题,并完善了相关功能。

  • 9186222 2026-07-24 15:55

Same Skill Collection

skills/nature-downloader/SKILL.md
skills/nature-experiment-log/SKILL.md
skills/nature-literature-pipeline/SKILL.md
skills/nature-proposal-writer/SKILL.md
skills/nature-ref-verifier/SKILL.md
skills/nature-shared/SKILL.md
skills/nature-academic-search/SKILL.md
skills/nature-citation/SKILL.md
skills/nature-data/SKILL.md
skills/nature-figure/SKILL.md
skills/nature-paper-card/SKILL.md
skills/nature-paper-to-patent/SKILL.md
skills/nature-paper2ppt/SKILL.md
skills/nature-polishing/SKILL.md
skills/nature-response/SKILL.md
skills/nature-reviewer/SKILL.md
skills/nature-statistics/SKILL.md
skills/nature-writing/SKILL.md

Metadata

Files
0
Version
4ceb19c
Hash
fb93710f
Indexed
2026-07-24 15:55

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-17 16:02
浙ICP备14020137号-1 $Гость$