Logo : Wam Report Blog Style

Wam Report Blog Style

Communauté
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.

Présentation

Éditeur279object
Dépôtphd-paper-reading-skill
Nom de la compétencewam-report-blog-style
Étoiles
35
Forks
1
Fichiers inclus
5
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Fichiers inclus : 5

    Des scripts, des gabarits et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par 279object sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Wam Report Blog Style dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/279object/phd-paper-reading-skill/tree/main/Skill
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

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
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Wam Report Blog Style dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Wam Report Blog Style dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Wam Report Blog Style n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

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.

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Foire aux questions

À quoi sert la compétence IA 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.

Pourquoi utiliser Wam Report Blog Style sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Wam Report Blog Style se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Wam Report Blog Style dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/279object/phd-paper-reading-skill/tree/main/Skill. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Wam Report Blog Style ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Wam Report Blog Style ?

Autant que vous le souhaitez. Vous pouvez utiliser Wam Report Blog Style avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Wam Report Blog Style est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par 279object sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇