用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/vamseeachanta/workspace-hub --skill parallel-file-processor-mode-selection命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | parallel-file-processor-mode-selection |
| description | Sub-skill of parallel-file-processor: Mode Selection (+2). |
| version | 1.1.0 |
| category | development |
| type | reference |
| scripts_exempt | true |
| Workload Type | Recommended Mode | Reason |
|---|---|---|
| File I/O | THREAD_POOL | IO-bound, threads avoid GIL issues |
| Data parsing | THREAD_POOL | Pandas releases GIL during IO |
| CPU computation | PROCESS_POOL | Bypasses GIL for true parallelism |
| Network requests | ASYNC | Best for many concurrent connections |
| Simple operations | SEQUENTIAL | Overhead may exceed benefit |
import os
# IO-bound (reading files, network)
io_workers = os.cpu_count() * 2
# CPU-bound (heavy computation)
cpu_workers = os.cpu_count()
# Memory-constrained (large files)
memory_workers = max(2, os.cpu_count() // 2)