Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

init-latex-project初始化乳胶项目

Agent Skill

init-latex-project 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

340

周安装

8

GitHub Stars

3

下载量

65
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:init-latex-project(初始化乳胶项目)
来源仓库:https://github.com/a-green-hand-jack/ml-research-skills
仓库路径:skills/init-latex-project
安装命令:
npx skills add https://github.com/a-green-hand-jack/ml-research-skills --skill init-latex-project
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/a-green-hand-jack/ml-research-skills --skill init-latex-project

简介

用于查找、检索和筛选相关信息,适合根据关键词快速定位候选结果。

  • 可结合任务场景或来源线索进行信息聚合,支持技能库探索和匹配。
  • 安装前建议确认权限范围和维护状态,避免触发不必要的联网或文件操作。
  • 安装命令为 npx skills add https://github.com/a-green-hand-jack/ml-research-skills --skill init-latex-project。
  • 适用于 Codex、Claude、Cursor、Gemini CLI,需通过 GitHub 仓库安装。

SKILL.md

Initialize LaTeX Academic Project

Set up a complete LaTeX academic paper project from the standard template.

Skill Directory Layout

~/.claude/skills/init-latex-project/
├── SKILL.md
├── sources.yaml                    # Authoritative download sources per venue (verified)
├── templates/
│   ├── macros.tex                  # Full math macro library
│   ├── main.tex                    # Generic arXiv/whitepaper template
│   ├── CLAUDE.md                   # Writing rules for AI agents
│   └── venues/
│       ├── icml/main.tex           # ICML two-column template
│       ├── acl/main.tex            # ACL/*ACL single-column template
│       ├── emnlp/main.tex          # EMNLP (same acl.sty as ACL)
│       ├── naacl/main.tex          # NAACL (same acl.sty as ACL)
│       ├── iccv/main.tex           # ICCV two-column template
│       ├── eccv/main.tex           # ECCV single-column (Springer LNCS)
│       ├── neurips/main.tex        # NeurIPS single-column template
│       ├── iclr/main.tex           # ICLR single-column template
│       ├── cvpr/main.tex           # CVPR two-column template
│       └── acm/main.tex            # ACM SIGCONF template
└── scripts/
    └── init.sh                     # Builds project + downloads official style files

How venue_preamble.tex works

Every venue template uses \input{venue_preamble} instead of a hardcoded \usepackage{neurips_2025}. init.sh downloads the official .sty/.bst files from the venue's authoritative source (see sources.yaml), detects the actual filename, and writes venue_preamble.tex automatically.

project/
├── main.tex              ← \input{venue_preamble}  (stable, never changes)
├── venue_preamble.tex    ← generated by init.sh  (edit here to change mode)
├── neurips_2026.sty      ← downloaded from neurips.cc
└── ...

To switch submission mode (e.g., anonymous → camera-ready), only edit venue_preamble.texmain.tex never needs to change.


Steps to Follow

1. Parse $ARGUMENTS

Position/FlagMeaningRequired
First wordProject nameYes
Second wordTarget directory (default: current dir)No
--venue <name>Conference venueNo
--gitInitialize git repoNo
--offlineSkip style-file download (creates placeholder venue_preamble.tex)No

Supported venues (by deadline month):

VenueMonthStyleSource
icmlJantwo-columnicml.cc
aclFebsingle-columngithub.com/acl-org/acl-style-files
iccvMar (biennial, odd)two-columnCVF / iccv.thecvf.com
eccvMar (biennial, even)single-column (LNCS)github.com/paolo-favaro/paper-template
neuripsMaysingle-columnneurips.cc
emnlpMaysingle-columngithub.com/acl-org/acl-style-files
iclrSepsingle-columngithub.com/ICLR/Master-Template
cvprNovtwo-columngithub.com/cvpr-org/author-kit
naaclDecsingle-columngithub.com/acl-org/acl-style-files
acmvariessingle-columnCTAN (pre-installed)

2. Run the init script

bash ~/.claude/skills/init-latex-project/scripts/init.sh <project-name> [target-dir] [--venue <venue>] [--git]

Important: Use the absolute path to init.sh. Do NOT use ~ — expand it to the actual home directory (e.g., /Users/username/.claude/skills/...). Find the correct home directory from the environment or from previous messages.

3. Offer to immediately customize

After the script runs, ask the user if they want to:

  • Update sections/title.tex with their actual title
  • Fill in authors and affiliations in main.tex
  • Any other immediate adjustments

4. Print the script's output to the user

The script prints a file tree and venue-specific setup notes. Make sure the user sees these.


Venue Details

All sources are verified in sources.yaml. init.sh downloads style files automatically. Edit venue_preamble.tex to switch submission mode.

ICML — Jan deadline

  • Layout: Two-column
  • Doc class: article + \usepackage{icml{YEAR}} (year-specific)
  • Bibliography: icml{YEAR}.bst
  • MANDATORY: sections/impact.tex (Broader Impact, no page limit)
  • Note: Uses ICML-specific author macros (\icmltitle, \icmlauthor, etc.)

ACL / EMNLP / NAACL — *ACL family

  • Layout: Single-column
  • Doc class: \documentclass[11pt]{article} + \usepackage[review]{acl} (stable name)
  • Bibliography: acl_natbib.bst
  • Citations: \citet{} in-text; \cite{}/\citep{} parenthetical
  • MANDATORY: sections/limitations.tex (no page limit)
  • Required if applicable: sections/ethics.tex

ICCV — Mar deadline (biennial, odd years: 2025, 2027, …)

  • Layout: Two-column (same CVF format as CVPR)
  • Doc class: \documentclass[times,10pt,twocolumn,letterpaper]{article} + \usepackage[review]{iccv}
  • Bibliography: ieeenat_fullname.bst
  • Note: Use figure*/table* for full-width floats

ECCV — Mar deadline (biennial, even years: 2024, 2026, …)

  • Layout: Single-column (Springer LNCS)
  • Doc class: \documentclass[runningheads]{llncs}NOT article
  • Style: eccv.sty + eccvabbrv.sty
  • Bibliography: splncs04.bst
  • Page limit: 14 pages including figures; references uncapped
  • Author format: LNCS \author{}\inst{}\institute{} macros

NeurIPS — May deadline

  • Layout: Single-column
  • Doc class: article + \usepackage{neurips_{YEAR}} (year-specific)
  • Bibliography: unsrtnat (numeric, sorted by appearance)
  • Acknowledgments: Use {ack} environment (auto-hides in anonymous mode)
  • MANDATORY: sections/impact.tex (Broader Impact, no page limit)
  • MANDATORY: sections/checklist.tex (Author Checklist, no page limit)

ICLR — Sep deadline

  • Layout: Single-column
  • Doc class: article + \usepackage[submitted]{iclr{YEAR}_conference} (year-specific)
  • Bibliography: iclr{YEAR}_conference.bst
  • Extra: sections/impact.tex (optional Ethics Statement)

CVPR — Nov deadline

  • Layout: Two-column
  • Doc class: \documentclass[times,10pt,twocolumn,letterpaper]{article} + \usepackage[review]{cvpr} (stable name)
  • Bibliography: ieeenat_fullname.bst
  • Note: Use figure*/table* for full-width floats

ACM — varies

  • Layout: Single-column (sigconf)
  • Doc class: \documentclass[sigconf,review,anonymous]{acmart} (pre-installed via CTAN)
  • Bibliography: ACM-Reference-Format.bst
  • Camera-ready extras: \acmConference, \acmDOI, \setcopyright, CCS concepts

What Is Always Included (Every Venue)

macros.tex — complete math macro library:

  • Calligraphic \calA\calZ, bold \bA\bZ/\ba\bz
  • Blackboard bold \R \E \P \B
  • Greek shortcuts \sG \lG \tG \pa \half
  • Operators \argmin \argmax \Softmax \Sigmoid \Var
  • Sum shortcuts \sumN \sumK \sumM \sumT
  • Theorem environments (grey tcolorbox): theorem lemma definition remark assumption
  • Author comment macros \jerry{} \wwm{} \jieke{} etc.

Standard section files (all placeholder): title.tex, abstract.tex, intro.tex, related.tex, method.tex, exp.tex, conclusion.tex, appendix.tex, acknowledgement.tex

bib/refs.bib — empty with usage example


Example Invocations

/init-latex-project my-new-paper                                  # generic arXiv
/init-latex-project my-icml-paper   ~/Papers --venue icml   --git
/init-latex-project my-acl-paper    ~/Papers --venue acl    --git
/init-latex-project my-iccv-paper   .        --venue iccv
/init-latex-project my-eccv-paper   .        --venue eccv
/init-latex-project my-neurips-paper .       --venue neurips --git
/init-latex-project my-emnlp-paper  .        --venue emnlp
/init-latex-project my-iclr-paper   ~/Papers --venue iclr   --git
/init-latex-project my-cvpr-paper   .        --venue cvpr
/init-latex-project my-naacl-paper  .        --venue naacl
/init-latex-project my-acm-paper    .        --venue acm
/init-latex-project my-paper-offline . --venue neurips --offline  # skip download

If the Auto-Download Fails

If init.sh cannot reach the venue server, venue_preamble.tex is created as a placeholder. Fix it:

  1. Visit the venue's author instructions page (URL is in sources.yaml).
  2. Download the style zip manually and unpack .sty/.bst files into the project root.
  3. Edit venue_preamble.tex to add the correct \usepackage{...} line.

As a last resort, use WebSearch to find the current year's download URL and fetch it:

# Example for NeurIPS 2026:
curl -fsSL https://media.nips.cc/Conferences/2026/Styles/neurips_2026.zip -o /tmp/n.zip
unzip -j /tmp/n.zip "*.sty" -d /path/to/project/

Package Conflict Notes

The macros.tex library is loaded last in all venue templates (after venue packages), so our definitions take precedence. Known conflicts:

VenuePotential ConflictResolution
ACMacmart redefines \POur \P = \mathbb{P} overrides it — intentional
ACMacmart has its own \cite\let\cite\citep in macros.tex may interfere — comment it out if needed
CVPRTwo-column layouttcolorbox theorem envs may span columns — switch to plain amsthm if needed
ICMLUses its own hyperref setupLoad macros.tex after icml2026 to avoid double-load errors
NeurIPSalgorithmic vs algpseudocodeAlways use algpseudocode (lowercase \State, \Require, etc.). The older algorithmic package uses ALL-CAPS commands and is incompatible with modern algorithm code.
NeurIPScleveref Option Clashcleveref must be loaded ONCE, in main.tex, AFTER hyperref. The macros.tex template also contains \usepackage[capitalize,noabbrev]{cleveref} — this causes an Option Clash (capitalise vs capitalize) when both files are compiled together. Fix: remove or comment out the cleveref line from macros.tex in NeurIPS projects. The NeurIPS venue template already does this correctly.
ALL\def\(, \def\), \def\[, \def\] in macros.texPERMANENTLY DISABLED. These four lines redefined LaTeX's built-in math-mode delimiters (\(\) = inline math; \[\] = display math), which broke ALL math environments ($...$, \begin{equation}, algorithmic states, etc.) with cascading "Missing $" and "Extra)" errors. Never re-enable. Use \left(... \right) explicitly instead.
ALL\usepackage{algorithm} + \usepackage{algorithmic} in macros.texPERMANENTLY DISABLED. Loading both algorithm/algorithmic alongside algpseudocode (required by NeurIPS, ICML, ICLR) causes "Command \algorithmicindent already defined" and similar errors. The algorithm float wrapper should be loaded once in main.tex together with exactly one of algpseudocode (modern, recommended) or algorithmic (legacy).

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.33%
按下载量换算24

Claude

29.53%
按下载量换算19

Cursor

19.23%
按下载量换算12

Gemini CLI

8.89%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills