소스 정보
- 저장소
- hqz-2024/AI_SKILLS
- 최근 소스 활동
- 2026년 5월 28일 06:16
- 감지된 SKILL.md 언어
- 중국어
- 스타
- 0
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/hqz-2024/AI_SKILLS --skill mineru명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
General enterprise decision coach inspired by Elon Musk's public business methods. Use when the user asks for business strategy, enterprise management, product direction, operations improvement, cost reduction, organization design, hiring, capital allocation, go-to-market, crisis decisions, or wants a "Musk-style", first-principles, high-agency challenge to a company decision. Works in Chinese or English and should not impersonate Elon Musk.
Create cross-platform agent skills from workflow descriptions. Activates when users ask to create an agent, automate a repetitive workflow, create a custom skill, or need advanced agent creation. Triggers on phrases like create agent for, automate workflow, create skill for, every day I have to, daily I need to, turn process into agent, need to automate, create a cross-platform skill, validate this skill, export this skill, migrate this skill. Supports single skills, multi-agent suites, transcript processing, template-based creation, interactive configuration, cross-platform export, and spec validation.
提供《中华人民共和国民法典》(7编1260条)全文检索与条文引用。当用户咨询中国民事法律问题、合同纠纷、侵权责任、婚姻继承、物权等场景时自动激活,按编章定位并引用原文条文作答。
SOC 직업 분류 기준
SKILL.md 표시 중
| name | mineru |
| description | MinerU 文档解析工具知识库,涵盖安装、环境配置、CUDA加速、CLI使用、批量转换等完整操作指南。适用于所有 MinerU PDF/文档解析任务。 |
| 项目 | 要求 |
|---|---|
| RAM | 最低 16GB,推荐 32GB |
| 磁盘 | 最低 20GB(pipeline模式),SSD 推荐 |
| GPU VRAM | pipeline: 4GB / vlm: 8GB |
| NVIDIA 驱动 | 最新专有驱动 |
| CUDA 版本 | 11.8 / 12.1 / 12.4 / 12.6(任选其一) |
下载 Miniconda:https://docs.conda.io/en/latest/miniconda.html
# 推荐 Python 3.10(Windows 必须用 3.10)
conda create -n mineru python=3.10 -y
conda activate mineru
pip install --upgrade pip
pip install uv
uv pip install -U "mineru[all]"
git clone https://github.com/opendatalab/MinerU.git
cd MinerU
uv pip install -e ".[all]"
Step 1:安装 CUDA Toolkit
前往 https://developer.nvidia.com/cuda-downloads 下载并安装, 支持版本:CUDA 11.8 / 12.1 / 12.4 / 12.6
Step 2:安装 cuDNN(CUDA 11.8 需要 cuDNN v8.7.0)
前往 https://developer.nvidia.com/cudnn 下载并配置环境变量
Step 3:安装支持 CUDA 的 PyTorch
# CUDA 11.8
pip install torch torchvision --index-url https://download.pytorch.org/whl/cu118
# CUDA 12.1
pip install torch torchvision --index-url https://download.pytorch.org/whl/cu121
# CUDA 12.4
pip install torch torchvision --index-url https://download.pytorch.org/whl/cu124
Linux 和 macOS 会自动尝试 CUDA/MPS 加速,无需额外配置 torch。
python -c "import torch; print(torch.cuda.is_available())"
# GPU 加速(自动检测)
mineru -p <输入路径> -o <输出目录>
# 强制 CPU 模式(pipeline 后端)
mineru -p <输入路径> -o <输出目录> -b pipeline
# 指定 vlm 后端(精度更高)
mineru -p <输入路径> -o <输出目录> -b vlm-auto-engine
mineru \
-p <input_path> # 输入:文件或目录(PDF/图片/DOCX/PPTX/XLSX)
-o <output_path> # 输出目录
-b <backend> # 后端:pipeline | hybrid-auto-engine | vlm-auto-engine | vlm-http-client
-l <lang> # 语言:ch | en | japan | korean 等(提升OCR精度)
-s <start_page> # 起始页(0-based)
-e <end_page> # 结束页(0-based)
-f <true|false> # 是否解析公式(默认 true)
-t <true|false> # 是否解析表格(默认 true)
--api-url <url> # 连接已有 mineru-api 服务
| 后端 | 特点 | 推荐场景 |
|---|---|---|
pipeline | 快速稳定,纯CPU可用 | 批量处理,资源受限 |
hybrid-auto-engine | 默认,平衡精度与速度 | 日常使用 |
vlm-auto-engine | 最高精度,需GPU | 复杂版面、公式密集 |
vlm-http-client | 连接远程推理服务 | 分布式部署 |
# 转换目录下所有支持的文件
mineru -p ./pdf_folder/ -o ./output/
# 批量 + pipeline 后端 + 指定批大小
mineru -p ./pdf_folder/ -o ./output/ -b pipeline
# 批量 + 中文文档优化
mineru -p ./pdf_folder/ -o ./output/ -b pipeline -l ch
# 遍历指定目录下所有 PDF 逐一转换
Get-ChildItem -Path "D:\documents" -Filter "*.pdf" | ForEach-Object {
mineru -p $_.FullName -o "D:\output\$($_.BaseName)" -b pipeline
}
# 批量转换并记录日志
for f in ./pdfs/*.pdf; do
mineru -p "$f" -o "./output/$(basename "$f" .pdf)" -b pipeline
done
# 默认使用 HuggingFace,国内网络切换为 ModelScope
export MINERU_MODEL_SOURCE=modelscope
# 使用本地模型(需先下载)
export MINERU_MODEL_SOURCE=local
# 启动 Gradio Web 界面
mineru-gradio
# 启动本地 FastAPI 服务(默认端口 8000)
mineru-api
# 查看 API 文档
# 浏览器访问 http://localhost:8000/docs
ray 组件在 Windows Python 3.13 不支持torch.cuda.is_available(),确认 torch 与 CUDA 版本匹配pipeline 后端,或分段处理(-s / -e 参数)MINERU_MODEL_SOURCE=modelscope