Token导航 LogoToken导航TokenDH.com
研究检索权限需确认github未标认证来源可访问许可证需确认审计通过

project-init项目初始化

Agent Skill

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

总安装

192

周安装

8

GitHub Stars

3

下载量

64
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

用于启动机器学习研究项目,自动创建 LaTeX 论文仓库与 Python 代码仓库的平行结构。

  • 适用于需要同时管理研究思路与实现代码的新课题立项阶段,提升科研组织效率。
  • 根据输入的项目名称、目录位置、会议目标与方法摘要,生成标准化的项目骨架与概览文档。
  • 输出包含 paper/ 与 code/ 子目录,并生成 PROJECT.md 用于链接双仓与记录进展。
  • 使用前请确保目标路径可写,并注意该技能可能触发文件系统操作与模板初始化行为。

SKILL.md

Project Init Workflow

Use this workflow when starting a new research project that requires both a LaTeX paper repo and a Python code repo, managed in parallel under a shared project folder.

Expected Output Structure

~/Projects/<ProjectName>/
├── paper/    ← LaTeX repo (init-latex-project)
├── code/     ← Python ML repo (init-python-project)
└── PROJECT.md ← Project overview linking both repos

Step 1 — Gather Project Information

Ask the user the following in a single message:

  1. Project name: What is the project called? (used as the parent folder name, e.g. DemoProject)
  2. Parent directory: Where should this project live? (default: ~/Projects/)
  3. Paper venue: Which conference/journal? (iclr, cvpr, icml, acm, acl, or none for generic arXiv)
  4. Research summary (brief): What is the method? What datasets/benchmarks? What metrics?

- This will be used to pre-fill the paper/ structure and PROJECT.md

  1. GitHub: Do you have GitHub repos ready for paper and code? If yes, provide SSH URLs (or skip to add later).

Wait for the user's answers before proceeding.


Step 2 — Create the Parent Folder

mkdir -p <parent-dir>/<ProjectName>

Step 3 — Initialize the Paper Repo

Run the init-latex-project skill:

bash ~/.claude/skills/init-latex-project/scripts/init.sh <ProjectName>-paper <parent-dir>/<ProjectName>/paper [--venue <venue>] --git
Note: Expand ~ to the actual home directory (e.g. /Users/jieke). Use --venue only if a venue was specified; omit for generic arXiv.

After the script runs:

  1. Add a sections/daily_experiments.tex file to the paper:
% Daily Experiments Log
% Add experiment entries in reverse chronological order (newest first).
%
% Template for each entry:
%   \subsection*{YYYY-MM-DD — <short title>}
%   \textbf{Setup:} <method variant, dataset, config>\\
%   \textbf{Result:} <key numbers, metric values>\\
%   \textbf{Observation:} <what worked, what didn't>\\
%   \textbf{Next:} <follow-up experiment planned>
  1. Add \input{sections/daily_experiments} to paper/main.tex in the appendix area (before \end{document}), with a section header:
\section*{Daily Experiments (Internal)}
\input{sections/daily_experiments}
  1. If GitHub SSH URL was provided for paper:
git -C <parent-dir>/<ProjectName>/paper remote add origin <paper-github-url>
git -C <parent-dir>/<ProjectName>/paper push -u origin main

Step 4 — Initialize the Code Repo

Invoke the init-python-project skill. Tell the user:

"Now let's set up the code repo. I'll run the init-python-project skill for the code/ directory."

Use the init-python-project skill with the following context already established:

  • Target directory: <parent-dir>/<ProjectName>/code/
  • Project type: new, ML project
  • GitHub URL: from Step 1 (if provided)

Follow all steps in init-python-project as normal. The code repo will be initialized at <parent-dir>/<ProjectName>/code/.


Step 5 — Create PROJECT.md in the Parent Folder

Write <parent-dir>/<ProjectName>/PROJECT.md with the following content (fill in from the user's research summary in Step 1):

# <ProjectName>

> <One-line description of the research project>

## Research Overview

**Method**: <method description>
**Datasets**: <datasets used>
**Benchmarks**: <benchmarks / baselines compared against>
**Metrics**: <evaluation metrics>

## Repository Structure

| Repo | Path | Purpose |
|------|------|---------|
| paper | `./paper/` | LaTeX paper (<venue or arXiv>) |
| code  | `./code/`  | Python implementation (uv)     |

## Code Layout (Four-Layer Architecture)

code/ ├── src// # Layer 1: Algorithm core — pure, portable, no paths ├── experiments/ # Layer 2: Training/eval entry points ("what to run") │ ├── configs/ # Experiment hyperparameters (yaml) │ └── config.py # Loads infra/envs/.yaml ├── eval/ # Layer 3: Benchmarks and baselines │ └── baselines/ # Git submodules for external; reproduced/ for own └── infra/ # Layer 4: Platform configs ("how to run") └── envs/ # One yaml per cluster — zero science code changes

Switching clusters: `ENV=<cluster> uv run python experiments/train.py`

## GitHub Remotes

| Repo | URL |
|------|-----|
| paper | <paper-github-url or TBD> |
| code  | <code-github-url or TBD> |

## Workflow

- **Design changes** (method, datasets, metrics): update `paper/sections/method.tex` first, then implement in `code/src/`
- **Experiment results**: run via `ENV=<cluster> uv run python experiments/train.py`, then sync to `paper/sections/daily_experiments.tex`
- **New cluster**: add `code/infra/envs/<cluster>.yaml` — no other files change
- **New baseline**: `git submodule add <url> eval/baselines/<name>` or implement in `eval/baselines/reproduced/`
- **Milestones**: use `add-git-tag` skill in each repo separately
- **Code docs**: use `update-docs` skill in `code/`

## Key Files

- `paper/sections/method.tex` — canonical method description
- `paper/sections/exp.tex` — main experiments section
- `paper/sections/daily_experiments.tex` — running experiment log
- `code/src/<pkg>/` — algorithm core (the science)
- `code/experiments/configs/` — experiment hyperparameters
- `code/infra/envs/` — per-cluster path configs
- `code/eval/baselines/` — baseline implementations

Step 6 — Final Summary

Report to the user:

Project initialized: <ProjectName>

paper/  → <paper-github-url or "local only">
code/   → <code-github-url or "local only">

Key skills for this project:
  - project-sync   → sync experiment results from code to paper
  - add-git-tag    → mark milestones in either repo
  - update-docs    → refresh code documentation

Next steps:
  1. Fill in paper/sections/method.tex with your method details
  2. Fill in paper/sections/exp.tex with planned experiments
  3. Start implementing in code/src/
  4. When you have results, use the project-sync skill to log them in paper

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

38.15%
按下载量换算24

Claude

29.47%
按下载量换算19

Cursor

17.27%
按下载量换算11

Gemini CLI

9.95%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

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

来源信息

继续浏览同类 Skills