https://github.com/black-yt/skills
徐望瀚日常工作中使用和维护的可复用 agent skills。
https://github.com/black-yt/skills
agent agent-skills claude-code codex codex-cli docx latex llm markdown pdf-processing skills workflow-automation
Last synced: 3 days ago
JSON representation
徐望瀚日常工作中使用和维护的可复用 agent skills。
- Host: GitHub
- URL: https://github.com/black-yt/skills
- Owner: black-yt
- Created: 2026-05-09T08:10:07.000Z (23 days ago)
- Default Branch: main
- Last Pushed: 2026-05-28T03:03:01.000Z (4 days ago)
- Last Synced: 2026-05-28T03:20:42.164Z (4 days ago)
- Topics: agent, agent-skills, claude-code, codex, codex-cli, docx, latex, llm, markdown, pdf-processing, skills, workflow-automation
- Language: Python
- Homepage:
- Size: 91.8 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Skills
这是徐望瀚在日常工作中使用和维护的一组可复用 skills。每个 skill 使用独立子文件夹,并按 Anthropic/Claude Skills 风格提供 `SKILL.md`。
每个 skill 的基本结构:
```text
skill-name/
SKILL.md
scripts/ # 可选,放可执行脚本
references/ # 可选,放按需读取的参考资料
assets/ # 可选,放模板、图片、示例文件等素材
```
## Skill 列表
| Skill | 入口文档 | 用途 |
| --- | --- | --- |
| `ai-conference-paper-writing` | [`ai-conference-paper-writing/SKILL.md`](ai-conference-paper-writing/SKILL.md) | 撰写、重构和审阅 AI conference paper,覆盖 research story、核心包装关键词、Introduction、Related Work、Method、Experiments、图表布局、case study、citation 和 reviewer-risk 检查。 |
| `docx-splitting` | [`docx-splitting/SKILL.md`](docx-splitting/SKILL.md) | 在 Windows + Microsoft Word 环境中,通过 [`scripts/split_docx.py`](docx-splitting/scripts/split_docx.py) 按页无损拆分 `.docx` 文档。 |
| `github-readme-writing` | [`github-readme-writing/SKILL.md`](github-readme-writing/SKILL.md) | 创建或优化 GitHub 项目 README,包含居中标题、badge、teaser、highlights、news、Mermaid、目录结构、quick start、联系方式、citation 和 star history。 |
| `huggingface-dataset-publishing` | [`huggingface-dataset-publishing/SKILL.md`](huggingface-dataset-publishing/SKILL.md) | 创建、上传、验证和维护 Hugging Face Dataset,尤其是图片/多图字段、JSON metadata、`push_to_hub`、回读验证和 dataset card。 |
| `latex-compiling` | [`latex-compiling/SKILL.md`](latex-compiling/SKILL.md) | 使用系统级 `latexmk` + `pdflatex` 编译 LaTeX,并隔离 build 目录与 TeX 缓存。 |
| `markdown-to-pdf` | [`markdown-to-pdf/SKILL.md`](markdown-to-pdf/SKILL.md) | 使用 [`scripts/md_to_pdf.py`](markdown-to-pdf/scripts/md_to_pdf.py) 将 Markdown 转为 PDF,支持表格、代码块、图片路径和基础 CSS。 |
| `ms-swift-training` | [`ms-swift-training/SKILL.md`](ms-swift-training/SKILL.md) | 使用 ms-swift 进行 SFT/DPO/GRPO 训练,覆盖 9B full training、bf16、DeepSpeed zero3、数据校验、显存排错、dry-run、训练后检查和 rjob 资源建议。 |
| `pdf-to-images` | [`pdf-to-images/SKILL.md`](pdf-to-images/SKILL.md) | 使用系统级 Ghostscript (`gs`) 将 PDF 页面导出为 PNG 图片,支持单页、页码范围和整篇导出。 |
| `pdf-parsing` | [`pdf-parsing/SKILL.md`](pdf-parsing/SKILL.md) | 使用 `structai.read_pdf` 将 PDF 解析为本地 Markdown,并处理图片抽取、代理重试和解析质量检查。 |
| `lab-cluster-1` | [`lab-cluster-1/SKILL.md`](lab-cluster-1/SKILL.md) | 在 lab cluster 1 / PJLAB 上处理开发机登录、路径和环境、网络代理、模型权重、`rlaunch`/`rjob`、服务部署和排错等集群工作流。 |
## 下载 Skill 文件夹
GitHub 网页不支持直接下载指定文件夹。可以先下载本目录下的 `download_skill.py`,之后用它下载本仓库中的一个或多个 skill 文件夹。
### 下载脚本
```bash
curl -L -o download_skill.py https://raw.githubusercontent.com/black-yt/skills/main/download_skill.py
```
### 下载单个 Skill
```bash
python download_skill.py docx-splitting
```
下载后会生成同名目录:
```text
docx-splitting/
SKILL.md
scripts/
split_docx.py
```
指定输出目录:
```bash
python download_skill.py docx-splitting -o my_skills/docx-splitting
```
### 一次下载多个 Skill
```bash
python download_skill.py docx-splitting pdf-parsing markdown-to-pdf -o skills
```
多个 skill 同时下载时,`-o` 表示父目录。上面的命令会生成:
```text
skills/
docx-splitting/
pdf-parsing/
markdown-to-pdf/
```
默认不会覆盖已存在文件;需要覆盖时加 `--overwrite`。
如果 GitHub API 触发限流,可以设置 `GITHUB_TOKEN` 后重试:
```bash
export GITHUB_TOKEN=
python download_skill.py docx-splitting
```