← 返回
未分类 Key 中文

paper-notion-summarizer

Fetch paper metadata by title or arXiv/DOI link, create a deep structured summary, and post it as a Notion page. The agent reads the paper and writes a semin...
根据标题或 arXiv/DOI 获取论文元数据,生成结构化深度摘要,并将其发布为 Notion 页面。代理读取论文并撰写研讨会内容。
lococaeco lococaeco 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 2
Stars
📥 315
下载
💾 0
安装
1
版本
#latest

概述

Paper Notion Summarizer

Purpose

Given a paper title or arXiv link, create a seminar-quality, deeply structured summary and upload it to Notion.

> ⚠️ This is NOT an extractive summary. The agent reads the full paper and writes an original analysis.

Language Adaptation

Write the summary in the same language as the user's request.

  • If the user writes in Korean → write in Korean (technical terms in English)
  • If the user writes in English → write in English
  • If the user writes in Japanese → write in Japanese
  • And so on for any language.

Section headings in the summary JSON should match the user's language. The English template below is the canonical structure — adapt headings to the user's language.

Workflow (3 phases)

Phase 1: Extract paper content

python3 scripts/extract_paper.py \
  --output /tmp/paper_extract.json \
  "https://arxiv.org/abs/2301.12345"

Or by title:

python3 scripts/extract_paper.py \
  --output /tmp/paper_extract.json \
  --title "Attention Is All You Need"

Options:

  • --output, -o: Output file path (defaults to stdout)
  • --skip-fulltext: Extract abstract only (fast mode, skip PDF)
  • --doi: Explicit DOI
  • --arxiv-id: Explicit arXiv ID

Phase 2: Agent reads and writes the summary

Read the extracted JSON section by section (read tool with offset/limit for large files), then write a structured summary JSON to /tmp/paper_summary.json.

Reading strategy (context management)

  • Read Abstract → Introduction → Method → Experiments → Conclusion in order
  • For long papers, read in chunks and accumulate understanding
  • Focus on: core idea, key equations, experimental setup, main results, ablations

Summary JSON template

{
  "title": "Paper Title (original language)",
  "metadata": {
    "authors": "Author list",
    "year": "2024",
    "venue": "NeurIPS 2024",
    "doi": "10.xxxx/xxxxx",
    "url": "https://arxiv.org/abs/xxxx.xxxxx",
    "source": "arXiv"
  },
  "sections": [
    {
      "heading": "0. Metadata",
      "content": "- Authors: ...\n- Year: ...\n- Venue: ...\n- Code: ..."
    },
    {
      "heading": "1. One-line Summary",
      "content": "What this paper does in one sentence."
    },
    {
      "heading": "2. Problem & Motivation",
      "content": "- What problem does it solve?\n- Why are existing methods insufficient?\n- Why is this research needed?"
    },
    {
      "heading": "3. Key Contributions",
      "content": "1. First contribution\n2. Second contribution\n3. Third contribution"
    },
    {
      "heading": "4. Method",
      "content": "Detailed pipeline/architecture description.\nCore ideas, key equations included.\n\n### Core Idea\n...\n\n### Architecture\n...\n\n### Training\n...\n\n### Key Equations\n$$equation$$"
    },
    {
      "heading": "5. Experiments",
      "content": "### Setup\n- Datasets: ...\n- Baselines: ...\n- Metrics: ...\n\n### Main Results\n- Key numbers and comparisons\n- Where it works and where it doesn't"
    },
    {
      "heading": "6. Ablation & Analysis",
      "content": "- Per-component contributions\n- Interesting analysis results\n- Hyperparameter sensitivity"
    },
    {
      "heading": "7. Limitations & Future Work",
      "content": "- Author-acknowledged limitations\n- Additional limitations you identify\n- Future research directions"
    },
    {
      "heading": "8. Overall Assessment",
      "content": "- Research significance\n- Strengths and weaknesses\n- Connections to related work\n- Ideas applicable to user's research"
    }
  ]
}

Quality guidelines

  1. Terminology: Keep technical terms in their original language; explanations in the user's language.
  2. Equations: Include key equations in LaTeX ($$ ... $$).
  3. Depth: Seminar-presentation level understanding.
    • Method: Not just "they did X" but "why they designed it this way, what each component does"
    • Experiments: Not just "it worked" but "X% improvement over Y baseline under Z conditions"
  4. Critical perspective: Record limitations and open questions, not just strengths.
  5. Connections: If you know the user's research interests, connect the paper to them.
  6. No programming code blocks: Do NOT use fenced code blocks (`` `) in sections[*].content. Math expressions ($$ ... $$, `latex `) are allowed.
  7. No emoji in headings: Use numbered prefixes: 0. Metadata, 1. One-line Summary, etc.

Phase 3: Push to Notion

python3 scripts/push_to_notion.py \
  /tmp/paper_summary.json \
  --parent-page-id YOUR_PAGE_ID

Options:

  • --parent-page-id: Notion page ID to create the summary under
  • --force-update: Overwrite existing page with same title
  • --dry-run: Preview without uploading
  • --notion-key: Explicit Notion API token

Quick Start (full agent flow)

1. python3 scripts/extract_paper.py -o /tmp/paper_extract.json "https://arxiv.org/abs/..."
2. read /tmp/paper_extract.json (section by section)
3. Write summary → /tmp/paper_summary.json
4. python3 scripts/push_to_notion.py /tmp/paper_summary.json --parent-page-id PAGE_ID

Configuration

ConfigSourceDescription
-----------------------------
Notion API keyNOTION_API_KEY env or ~/.config/notion/api_keyRequired for Notion upload
Parent pageNOTION_PARENT_PAGE_ID env or --parent-page-idNotion page to create summaries under

Notes

  • arXiv papers use PDF extraction (requires pypdf). Install: pip install pypdf
  • For very long papers (>100 pages), use --skip-fulltext and read HTML via web_fetch.
  • Notion API version: 2025-09-03
  • The extract_paper.py script does NOT require a Notion API key — it only fetches and extracts.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-12 05:50 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

professional

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 204 📥 64,643
professional

All-Market Financial Data Hub

financial-ai-analyst
基于东方财富数据库,支持自然语言查询金融数据,覆盖A股、港股、美股、基金、债券等资产,提供实时行情、公司信息、估值、财务报表等,适用于投资研究、交易复盘、市场监控、行业分析、信用研究、财报审计、资产配置等场景,满足机构与个人需求。返回结果为
★ 134 📥 43,290
professional

Stock Monitor

thirtyfang
全功能智能股票监控预警系统。支持成本百分比、均线金叉死叉、RSI超买超卖、成交量异动、跳空缺口、动态止盈等7大预警规则。符合中国投资者习惯(红涨绿跌)。
★ 101 📥 33,345