yomitoki
Turn a research paper into a faithful, technical, code-augmented HTML reading note.
- License 许可
- MIT
- 最近更新
- 2026-09-18
- Stars
- ★ 234
- Forks
- 36
01 前言 Front Matter
- name
- yomitoki
- description
- Turn a research paper into a faithful, technical, code-augmented HTML reading note.
02 资源文件 18
- 其他.gitignore132 B
- 脚本assets/main.js20.6 KB
- 资产文件assets/styles.css37.8 KB
- 资产文件docs/yomitoki1.png757.8 KB
- 资产文件docs/yomitoki2.png349.3 KB
- 参考文档examples/online-softmax/index.html65.2 KB
- 脚本examples/online-softmax/main.js20.6 KB
- 其他examples/online-softmax/styles.css37.5 KB
- 参考文档examples/README.md520 B
- 许可证LICENSE1.0 KB
- 参考文档README.md6.1 KB
- 参考文档references/code-ref-waterfall.md5.6 KB
- 参考文档references/diagrams.md8.1 KB
- 参考文档references/method-example.md5.2 KB
- 参考文档references/renderer-contract.md7.0 KB
- 参考文档requirements.txt273 B
- 脚本scripts/assemble.py95.3 KB
- 脚本scripts/extract.py37.4 KB
03 SKILL.md 正文
First-Run Welcome
When invoked without a paper:
I turn dense research papers into clear, technical HTML study notes.
Send an arXiv link, arXiv ID, PDF path, PDF URL, or paper title.
If given only a title or natural-language description, search arXiv and confirm the match before proceeding.
Core Goal
Create a self-contained reading note that helps a technical reader answer:
- Why did this paper need to exist?
- What exactly is the move the paper makes?
- Why does that move work?
- Where does it win, by how much, and where does it stop winning?
- How would I start implementing or verifying it?
The output is HTML, but the job is not to fill an HTML template. The job is to make the paper understandable.
The note must be:
- Complete: cover the core technical details and explain the actual contribution.
- Accurate: grounded in the paper, with no unsupported claims.
- Readable: calm technical-blog voice, deep but easy to follow.
- Reflective: use analysis, Q&A, and quiz to help readers understand design choices, limits, and transfer.
Writing Style
Do
- Use precise technical language. Match the paper's formulas, symbols, and terminology.
- Make hard ideas understandable. Give intuition before formulas. Explain every important variable and symbol.
- Organize clearly. Use diagrams, tables, and code only when they reduce explanation cost.
- Add real analysis. Explain design choices, tradeoffs, limits, and concrete differences from prior work.
Other style rules:
- Prefer one sharp paragraph over three complete but low-signal paragraphs.
- Use concrete nouns, numbers, and mechanisms.
- Explain the hard part before cataloging components.
- Cite paper sections, figures, and tables when they help verification.
- Keep the reader moving: motivation first, detail second, caveats third.
Avoid
- AI-template phrases. Avoid "The core contribution is...", "It is worth noting...", "This has broad significance...", and similar filler.
- Empty evaluation. Do not call the work important, novel, powerful, or promising without concrete evidence.
- Over-decoration. No emoji in the body. Do not bold every sentence.
- Unneeded first person. Avoid "I think" and "my understanding".
- Em-dashes. Use periods, commas, or parentheses instead.
Paper-First Workflow
1. Extract
python3 scripts/extract.py <input> --out /tmp/yomitoki/<paper-slug>/
Inputs: arXiv URL/ID, local PDF, or PDF URL. Outputs include extracted.txt, figures/, figures.json, and a skeleton analysis.json.
Use python3 scripts/extract.py --describe for the extractor's input/output contract. Do not read the script for authoring rules.
2. Read by Headings
Before authoring, create /tmp/yomitoki/<paper-slug>/coverage.md. It is the source of truth for section coverage and prevents dropped headings.
For every paper heading, decide:
- Deep: main algorithm, module, mechanism, proof, system component, or result.
- Brief: supporting definition, assumption, dataset step, training detail, implementation note, or ablation setup.
- Mention: housekeeping, repeated setup, or context that should be acknowledged but does not need its own explanation.
Read the local text for a heading before deciding. Token efficiency is not permission to skip unread sections. If the paper has 5.1, 5.1.1, and 5.1.2, account for all three. Minor but valid subsections should become a brief paragraph, table row, or named note rather than disappearing. If a heading adds almost nothing new, still mention where it is covered or why it is folded into another note section.
Then write the five-line spine:
Problem / Old way / Failure mode / Paper's move / Payoff
Use the spine to order and weight the note. Do not use it to erase sections you have not read.
Use this compact shape:
Spine: Problem / Old way / Failure mode / Paper's move / Payoff
Contribution inventory:
| Paper heading | Decision: deep/brief/mention | Note placement | Evidence / reason |
Method plan:
| Section file | Paper headings covered | Formula/algorithm/module | Code/diagram need |
Experiment map:
| Claim | Metric / dataset / baseline | Paper table/figure | Note placement |
Coverage checklist:
| Paper heading | Present in note? | Where |
3. Write the Note
Write paper-first, then fit the result into renderer artifacts.
Required reader sections:
- Header metadata.
- Prerequisites, 3-6 concrete concepts with links.
- TL;DR, 2-3 sentences.
- Paper Overview: problem, background, solution, contributions.
- Tech Timeline: usually 4-6 verified lineage nodes with this paper marked
current. - Core Method.
- Experiments / Main Results.
- Methods Comparison or Related Work, whichever best explains the contrast.
- Limitations / Use Cases / Open Questions.
- Q&A and short quiz.
Optional sections:
where_this_matters: for foundational primitives used in later systems.jargon: for terms a hover tooltip genuinely helps. Skip generic terms.
4. Fit Into Renderer Artifacts
Use the renderer contract only after the paper coverage and story are clear.
analysis.json: metadata, short structured fields, tables, section manifests, figures.sections/*.html: long method or result prose.coderefs.json: code references for the right panel.paper_figures: curated figures.
Read references/renderer-contract.md before writing or repairing these files.
You can also run python3 scripts/assemble.py --print-contract.
5. Assemble and Review
Run:
python3 scripts/assemble.py \
--analysis /tmp/yomitoki/<slug>/analysis.json \
--coderefs /tmp/yomitoki/<slug>/coderefs.json \
--figures /tmp/yomitoki/<slug>/figures/ \
--assets assets \
--out ./yomitoki-out/<slug>/ \
--check --strict
Use --check while drafting. Use --check --strict before shipping. Fix hard failures. Review warnings and revise when they point to a real issue.
--check validates structure, not coverage. Before calling the note done, walk the paper headings again and confirm each covered heading appears in the note. If a stated contribution is absent, add it before shipping.
Core Method
This is the heart of the note. Cover the method completely and deeply.
Start from the paper's own method headings. A subsection that looks minor may still carry a definition, assumption, dataset construction step, loss term, training detail, or ablation setup. Cover it briefly if it supports the method.
Organize Core Method like this:
- Overall architecture / data flow
- Show the architecture figure or a simple Mermaid schematic when the method has multiple moving parts.
- Explain the data flow from input to output.
- Name the key modules before diving into formulas.
- Core module details
- Input and output.
- Core formula or algorithm, with a prose gloss for every symbol.
- Pseudocode or code when it helps the reader implement or verify the idea.
- Design-choice analysis: why this choice beats the obvious alternative, and what tradeoff it introduces.
- Key technical details
- Training strategy.
- Hyperparameters.
- Implementation tricks.
- Inference tricks.
- Data preprocessing.
- Reproduction risks.
Write substantial method subsections in sections/*.html and reference them from analysis.json with body_html_file. Keep analysis.json compact.
Use "Why..." callouts for non-obvious design choices:
<p><strong>Why keep this state instead of recomputing it?</strong> The state is small enough to stay local, while recomputing would scan the full input again. The tradeoff is extra update arithmetic per element.</p>
Good "Why..." questions name the design choice, compare it with the obvious alternative, and explain the tradeoff.
Use code when the paper defines an algorithm, recurrence, kernel, or implementation detail. A short runnable Python demo with an assert is useful when it clarifies the idea. Do not force code into prose-only sections.
Read references/method-example.md when authoring the first method section.
Results and Comparison
Experiments are analysis, not a number dump. State the conclusions first, then use tables and figures as evidence.
For results, capture:
- Headline: workload, baseline, metric, magnitude, and regime.
- Findings: 2-5 claims, each backed by evidence.
- Tables: compare regimes, not every number.
- Ablations: explain which mechanism earned which gain.
- Honest read: note narrow evaluations, missing tasks, or weak evidence.
For comparison, use axes the reader would actually weigh: cost, latency, memory, path length, data needed, or parallelism. State when each method wins and where this paper's method stops winning.
Figures and Diagrams
Use visuals when they teach. Do not add a diagram because a section feels empty.
- Paper architecture or method-flow figures belong in Core Method.
- Result plots belong in Experiments.
- Comparison diagrams belong in Comparison or Related Work.
- Mermaid is useful when the reader must track modules, tensors, stages, loop states, branches, or memory movement.
Read references/diagrams.md for figure curation, Mermaid syntax, and image naming.
Code References
Code refs are implementation handles for claims in the note.
Use them when the reader would ask:
- Where is this algorithm implemented?
- What lines correspond to this formula?
- How did they measure this result?
- Is there a small runnable version I can inspect?
Prefer:
- Exact author-repo line ranges.
- High-quality official docs or tutorials.
- Credible community implementations.
- Synthesized snippets only when justified.
If an official or author-linked repo exists but you still use a synthesized snippet, say why in the ref note. Do not use synthesized code just because it is faster to write.
Read references/code-ref-waterfall.md before writing coderefs.json.
Q&A
Q&A is the reader's self-check. Write 5-8 questions across several angles and difficulty levels. Include a question only if a reader who studied the note would still pause on it. Skip rhetorical recaps like "What is the main idea?" and anything the body already answers.
Use these types:
intuition(0-1): easy gut-check. "In one line, why does this work?"principle(1-2): design rationale. "Why this choice instead of the obvious alternative?"detail(1-2): mechanical clarity. "What does this symbol, step, or module actually do?"limit(0-1): failure condition. "When does this break?"engineering(1-2): performance envelope. "How does the gain scale, what does it cost, and where does it stop winning?"extension(0-1): transfer. "Where else could this idea apply, and what would need to change?"
Answer rules:
- Do not fabricate. If the paper does not settle an answer, say what it shows and where the evidence stops.
- Show, don't assert. Use a worked example, a few lines of code, napkin math, or paper numbers when that makes the answer click.
- Mix difficulty. Readers need a few easy intuition wins, not only deep questions.
- For engineering questions, probe scaling and tradeoffs: input size, hardware, memory, latency, accuracy, extra FLOPs, or where another method wins.
- Use numbered lists when an answer has multiple reasons, conditions, or steps.
Example engineering Q&A:
Q: LoRA quality depends on rank r. What sets the right r, and where does increasing r stop paying off?
A: The rank sweep shows three forces:
1. Task difficulty: simple classification saturates at low rank; harder generation needs larger r.
2. Subspace coverage: most task updates live in a few dominant directions, so small ranks often match full finetuning.
3. Cost ceiling: higher r raises finetune memory, while merged adapters do not add inference latency.
Takeaway: start small, then sweep upward only if validation quality stays below the full-finetune line.
Final Self-Review
Before calling the note done, read the TL;DR, Overview, and first method subsection as a reader. Ask:
- Can the reader explain the problem and the fix in five minutes?
- Does the contrast with prior methods appear before implementation detail?
- Are the strongest numbers tied to the regime where they apply?
- Are code refs real and line-specific when a repo exists?
- Did any section become a checklist rather than an explanation?
Then walk the paper's headings in order. A heading with its own formula, algorithm, module, result, dataset step, training detail, or assumption should not disappear into a background sentence.
Update /tmp/yomitoki/<paper-slug>/coverage.md before finishing. The Coverage checklist should show where every paper heading appears or is mentioned in the note.
Reference Files
references/renderer-contract.md: JSON schemas, valid keys, figure shape,coderefs.json, and assemble command.references/code-ref-waterfall.md: code reference sourcing, line anchors, snippets.references/diagrams.md: figure curation and Mermaid safety.references/method-example.md: worked module deep-dive.scripts/extract.py: paper extraction.scripts/assemble.py: HTML rendering and validation.
04 同仓库更多 Skills
beamer-ppt
A conversational assistant skill for creating professional LaTeX Beamer presentations through natural dialogue. Users create slides page-by-page with flexible layouts and instant PDF preview. Supports both Chinese (ctex) and English typesetting with multi-project management and undo/redo capabilities.
thu-digitizer
Extract and validate numeric data from chart images, PDF figures, and official source-data files locally and reproducibly, with calibrated axes, compact-scatter recovery plus residual audits, grouped/stacked bars, visible-label pie/donut validation, original-pixel aligned lattice composites such as UpSet plots, PDF vector inspection, line tracing, histograms, boxplots, error bars, CSV/JSON evidence, source-data cross-validation, and regression evaluation. Use when a user asks to recover or recreate chart data, extract scatter points, bars, printed pie/donut labels, or aligned memberships, check a PDF chart, assess digitization accuracy, validate against source data, or improve a chart-digitization workflow from corrected examples.
scientific-visualization
Meta-skill for publication-ready figures. Use when creating journal submission figures requiring multi-panel layouts, significance annotations, error bars, colorblind-safe palettes, and specific journal formatting (Nature, Science, Cell). Orchestrates matplotlib/seaborn/plotly with publication styles. For quick exploration use seaborn or plotly directly.
theoretical-economics-claude-skill
Human-in-the-loop theoretical economics research pipeline: from economic intuition to manuscript skeleton in 10 structured stages with quality gates.
interview-guide-design
把一个研究题目、研究思路或研究问题,落成一份能用于学术研究、案例研究、学位论文、课题调研的质性访谈提纲时,使用此 skill。触发信号很宽:用户说"做/设计访谈提纲""访谈大纲怎么设计才规范""结构性访谈提纲""把研究问题/题目变成访谈问题""帮我弄份访谈提纲去问问他们""怎么访谈才能挖到深层的东西""interview guide / interview protocol / key informant / elite interview",无论措辞多口语、有没有提方法论,都应触发。典型情形:要去访谈领导 / 干部 / 管理者 / 专家 / 科室主任 / 一线员工或老师 / 关键知情人,了解某个现象、做法或机制;半结构化 / 结构化 / 关键知情人 / 精英访谈皆可;中英双语;社科 / 管理 / 教育 / 公共政策 / 医疗等领域;也常与案例研究、或与一份配套问卷的混合方法调研一起出现。它把研究问题按 Castillo-Montoya 的 IPR 框架与 Yin/Stake 的案例研究规范,拆成"主问题—追问—探测",保障与研究问题对齐、可信度(trustworthiness)与三角验证就绪,标注方法论依据与权威出处,产出研究者版 + 现场详版/简版。不要用于:量化问卷 / 量表设计(走 questionnaire-design)、求职面试、以传播或叙事为目的的人物访谈(媒体/播客/记者深度报道/纪录片/口述史,非以回答研究问题为目的)、访谈录音转写、焦点小组/座谈会提纲(群体互动动态与主持伦理不同,本 skill 不覆盖)、以及访谈完成后的编码与主题分析。
mixed-methods-instrument-design
基于同一项研究的研究目的、研究问题、理论框架与人群设计,协同产出彼此对齐的量化问卷/调查表和质性访谈提纲时使用;也可在用户明确要求时把经审核的问卷创建为问卷星未发布草稿并继续管理。触发信号包括“问卷和访谈一起设计”“根据研究思路同步出调查问卷与访谈提纲”“混合方法研究工具”“不同人群分别做问卷和访谈”“推送到问卷星”“创建在线问卷”“survey + interview guide”“convergent / explanatory sequential / exploratory sequential mixed methods instruments”。适用于社会科学、管理、教育、公共政策、医疗及其他经验研究;允许量化与质性部分使用相同或不同样本。产出研究设计判定、中央映射矩阵、问卷与变量字典、完整访谈三版、联合展示模板和预测试方案;默认用户成品仍是一份完整 Word。不要用于只设计单一访谈提纲(走 interview-guide-design)、只设计单一问卷、把现成工具做成网页、访谈转写、正式数据分析,或在没有研究问题的情况下机械拼接两套题目。