Wam Report Blog Style 标志

Wam Report Blog Style

社区
279object
wam-report-blog-style

Restyle or generate WAM-survey paper report/blog HTML pages under report/*/index.html to match the project homepage visual language. Use when Codex is asked to convert existing WAM report blogs, batch-apply the approved style, keep future report pages consistent with the bundled WAM report style template, or generate a new Chinese paper-reading report HTML for an arXiv paper in the approved report blog format.

Add to TypingMind

概览

发布者279object
代码仓库phd-paper-reading-skill
技能名称wam-report-blog-style
星标数
35
复刻数
1
附带文件
5
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 5 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 279object 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Wam Report Blog Style AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/279object/phd-paper-reading-skill/tree/main/Skill
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/279object/phd-paper-reading-skill.git /tmp/phd-paper-reading-skill
mkdir -p .claude/skills
cp -r /tmp/phd-paper-reading-skill/Skill .claude/skills/wam-report-blog-style
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Wam Report Blog Style,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Wam Report Blog Style。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Wam Report Blog Style 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

WAM Report Blog Style

Overview

Use this skill for three related tasks:

  1. Restyle existing report/*/index.html pages so they match the bundled homepage-aligned WAM template at templates/wam-report-style.html.
  2. Generate a new paper-reading report page directly in that same approved format.
  3. Generate static English peers for Chinese report pages and add bilingual switching.

The approved format uses one Chinese HTML file per paper under report/<paper_id>/index.html, optional local figures under report/<paper_id>/figures/, one <main> wrapper, a top <header>, a sidebar/table-of-contents <nav class="toc">, and content sections styled by the bundled canonical source at templates/wam-report-style.html. A user can override the bundled template by supplying a compatible HTML file with --source. The source file must contain Google Fonts links before an inline <style> block. When an English version exists, it lives next to the Chinese page as report/<paper_id>/index.en.html.

Existing-Page Conversion

Use scripts/apply_report_style.py.

Dry run first:

powershell
python C:\Users\26232\.codex\skills\wam-report-blog-style\scripts\apply_report_style.py --repo . --all --dry-run

Single target:

powershell
python C:\Users\26232\.codex\skills\wam-report-blog-style\scripts\apply_report_style.py --repo . --target report\2401.00000\index.html

All report blogs:

powershell
python C:\Users\26232\.codex\skills\wam-report-blog-style\scripts\apply_report_style.py --repo . --all

By default the script skips the source file itself. Use --include-source only when intentionally normalizing the source page too.

Conversion rules:

  • Preserve report text, tables, figures, MathJax config, and scripts.
  • Replace the first inline <style>...</style> block with the approved source style.
  • Insert approved Google font links before the style block.
  • Ensure exactly one <main>...</main>.
  • Wrap a top bare <h1> plus optional .meta in <header>...</header>.
  • Canonicalize TOC containers to <nav class="toc">.
  • Move early/misplaced TOCs after the page header.
  • Generate a TOC from section[id] > h2 when a multi-section page has none.
  • Remove literal | separators between TOC links.
  • Remove empty sections that only contain a 目录 heading.
  • Keep .pdf-frame and figures constrained to the canonical image sizing.

New Report Generation

Use this workflow when the user asks to generate a new paper report/blog from an arXiv ID, local paper source, PDF, or paper notes.

  1. Confirm the workspace root contains report/, or create it when starting a new standalone workspace.
  2. Use the bundled WAM style template by default. Pass a user-provided compatible HTML page with --source only when the user requests a custom visual format.
  3. Determine the output directory. Default to report/<arxiv_id>/.
  4. If the output directory already exists, do not overwrite it without explicit user approval.
  5. Create a canonical HTML scaffold with scripts/create_report_template.py.
  6. Gather paper content from the available source:
    • Prefer arXiv source (https://arxiv.org/e-print/<id>) when the user requested an arXiv report and network is available.
    • Use the paper PDF or local source files when provided.
    • Read appendix material when available; integrate it into the relevant body sections instead of creating a separate appendix dump.
  7. Copy extracted figures into figures/ and reference them with relative paths.
  8. Fill the scaffold with the report content.
  9. Run apply_report_style.py on the new page to normalize structure and style.
  10. Validate the final HTML before reporting completion.

Create scaffold:

powershell
python C:\Users\26232\.codex\skills\wam-report-blog-style\scripts\create_report_template.py --repo . --paper-id 2401.00000 --title "Paper Title"

Optional fields:

powershell
python C:\Users\26232\.codex\skills\wam-report-blog-style\scripts\create_report_template.py --repo . --paper-id 2401.00000 --title "Paper Title" --authors "A. Author; B. Author" --venue "arXiv 2024"

The scaffold intentionally contains placeholder content. Replace every TODO before considering the report done.

English Version Generation

Use scripts/build_bilingual_report_en.py when the user asks to translate existing report blogs into English or add page-level Chinese/English switching.

Single target:

powershell
python .local-skills\wam-report-blog-style\scripts\build_bilingual_report_en.py --repo . --target report\2401.00000

Multiple targets:

powershell
python .local-skills\wam-report-blog-style\scripts\build_bilingual_report_en.py --repo . --target report\2401.00000 --target report\2402.00000

All report blogs:

powershell
python .local-skills\wam-report-blog-style\scripts\build_bilingual_report_en.py --repo .

The script performs build-time translation and writes static HTML only. It should not add runtime translation JavaScript or browser-side network dependencies.

English-generation rules:

  • Keep index.html as the Chinese source and write/update index.en.html beside it.
  • Preserve HTML structure, section IDs, figures, tables, local asset paths, MathJax configuration, formulas, code snippets, URLs, citations, model names, dataset names, method names, and paper terminology.
  • Translate visible Chinese text into faithful academic English without shortening the report or adding unsupported claims.
  • Add a compact language switch in the page header:
    • Chinese page: active 中文, link EN to ./index.en.html.
    • English page: active EN, link 中文 to ./index.html.
  • Add alternate links in both pages:
    • <link rel="alternate" hreflang="zh-CN" href="./index.html">
    • <link rel="alternate" hreflang="en" href="./index.en.html">
  • Do not translate text inside script, style, code, pre, SVG, MathJax formulas, URLs, or the language switch labels.
  • Use the script's translation cache for repeatability during a batch run. The cache lives under the skill script directory by default and is not part of the report output.

Report Content Contract

Write the report in Chinese, while preserving original English method names, dataset names, symbols, and paper terminology where useful.

Target reader: a junior PhD preparing a group-meeting presentation. The report should let the reader explain the motivation, reproduce the method at a conceptual and implementation level, understand key equations, and answer technical questions about experiments.

Required sections:

  1. overview - Paper quick read: one-sentence summary, compact metadata table, contributions.
  2. motivation - Problem setting, limitations of prior work, and the paper's high-level idea.
  3. related - Related-work positioning based primarily on the paper's own Introduction and Related Work.
  4. method - Detailed method explanation, pipeline, modules, equations, implementation details, and important figures.
  5. experiments - Datasets, baselines, metrics, training/evaluation setup, main results, ablations, and supplemental experiments.
  6. discussion - Only the paper's own analysis, limitations, failure cases, applicable boundaries, and future-work statements.
  7. repro - Reproducibility audit: code/data availability, missing details, environment/hyperparameters, and concrete blockers.

If a paper naturally needs additional sections, add them, but keep the TOC and section IDs consistent.

Content Rules

  • Be objective and source-grounded. Do not add unsupported opinions, recommendations, or speculative evaluation.
  • Integrate appendix information into the relevant sections. Mark it inline as [Appendix A.3] or the paper's actual appendix label.
  • Before writing the final HTML, make an internal coverage map from paper sections to report sections. Do not include that map in the final page.
  • Explain important equations in three parts: intuition, formal expression, and symbol-by-symbol explanation.
  • Include implementation-oriented details when the paper provides them: tensor shapes, training tricks, model inputs/outputs, hyperparameters, and data preprocessing.
  • Recreate important tables in HTML when possible. If a figure cannot be extracted, explain what it contains and why it is missing.
  • Do not create a generic landing page or marketing page. The first screen must be the report.
  • Do not add roleplay, dialogue, "next actions", or generic academic filler.

HTML Format Rules

  • Use <!DOCTYPE html> and <html lang="zh-CN">.
  • Include the MathJax config when formulas are present.
  • Use the canonical font links and CSS from the bundled templates/wam-report-style.html; prefer the scaffold script instead of hand-copying CSS.
  • Body shape must be:
html
<body>
<main>
  <header>...</header>
  <nav class="toc">...</nav>
  <section id="overview">...</section>
  ...
</main>
</body>
  • Use <figure> or <div class="figure"> with <img>/<object class="pdf-frame"> and captions for figures.
  • Use .tldr, .note, .audit-card, .formula-block, .grid, .card, .danger, .appendix-ref, and .small when they match existing report patterns.
  • TOC links must not contain literal separator bars. Use one anchor per line or a <ul>.

Validation

After generating or converting:

powershell
python C:\Users\26232\.codex\skills\wam-report-blog-style\scripts\apply_report_style.py --repo . --target report\<paper_id>\index.html --dry-run
git diff -- report\<paper_id>\index.html
git status --short

For batch work, run:

powershell
python C:\Users\26232\.codex\skills\wam-report-blog-style\scripts\apply_report_style.py --repo . --all --dry-run

Check manually or with search that:

  • The page has one <main> and one </main>.
  • A multi-section page has exactly one visible TOC before the first content section.
  • There is no empty section with only 目录.
  • TOC anchors do not contain | separators.
  • All images use relative paths and render from the report folder.
  • No TODO placeholders remain.

For English pages, additionally check that:

  • Every target directory has both index.html and index.en.html.
  • English pages have <html lang="en">, exactly one <main>, and a language switch linking back to ./index.html.
  • Chinese pages link to ./index.en.html.
  • English and Chinese pages have the same section[id] sequence.
  • Local figure/object/video references in index.en.html resolve from the report folder.
  • No translation placeholders such as ZXQBOUNDARY or ZXQ0000QXZ remain.
  • There is no visible Chinese text in the English body except the 中文 language-switch label.

For visual checks, let the user inspect the local HTML unless they ask for screenshots.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Wam Report Blog Style AI 技能有什么作用?

Restyle or generate WAM-survey paper report/blog HTML pages under report/*/index.html to match the project homepage visual language. Use when Codex is asked to convert existing WAM report blogs, batch-apply the approved style, keep future report pages consistent with the bundled WAM report style template, or generate a new Chinese paper-reading report HTML for an arXiv paper in the approved report blog format.

为什么在 TypingMind 中使用 Wam Report Blog Style?

因为您只需安装一次,就能搭配任何模型使用。Wam Report Blog Style 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Wam Report Blog Style?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/279object/phd-paper-reading-skill/tree/main/Skill。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Wam Report Blog Style?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Wam Report Blog Style 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Wam Report Blog Style 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Wam Report Blog Style AI 技能免费吗?

是的。279object 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇