@yangdw2024/hpc-web-copilot 0.0.0-stage → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +97 -2
- package/SKILL.md +111 -0
- package/bin/cli.mjs +135 -0
- package/cordis.patch.yml +3 -0
- package/docs/DETAIL.md +21 -0
- package/icon.svg +22 -0
- package/index.js +71 -0
- package/locale/en.json +7 -0
- package/locale/zh.json +7 -0
- package/package.json +67 -4
- package/profiles/example.profile.env +71 -0
- package/references/00_/350/275/257/344/273/266/351/200/211/345/236/213/346/200/273/347/233/256/345/275/225.md +54 -0
- package/references/01_Gaussian16_/345/205/245/351/227/250/344/270/216/345/256/236/346/210/230.md +24 -0
- package/references/02_Multiwfn/344/270/216VMD_/345/220/216/345/244/204/347/220/206/346/214/207/345/215/227.md +27 -0
- package/references/03_ORCA_/345/205/245/351/227/250/344/270/216/345/256/236/346/210/230.md +24 -0
- package/references/04_GROMACS_/345/205/245/351/227/250/344/270/216/345/256/236/346/210/230.md +41 -0
- package/references/05_VASP/344/270/216vaspkit_/345/205/245/351/227/250/344/270/216/345/256/236/346/210/230.md +25 -0
- package/references/06_CP2K/344/270/216LAMMPS_/345/205/245/351/227/250/346/214/207/345/215/227.md +18 -0
- package/references/07_Conda/344/270/216/347/274/226/350/257/221/347/216/257/345/242/203/346/214/207/345/215/227.md +16 -0
- package/references/portal-cdp-xterm-guide.md +71 -0
- package/scripts/chk2fchk.sh +72 -0
- package/scripts/cp2k_sub.sh +97 -0
- package/scripts/g16_batch.sh +40 -0
- package/scripts/g16_sub.sh +139 -0
- package/scripts/gmx_sub.sh +80 -0
- package/scripts/hpc_common.sh +144 -0
- package/scripts/install.ps1 +48 -0
- package/scripts/install.sh +39 -0
- package/scripts/lammps_sub.sh +74 -0
- package/scripts/launch_cdp_browser.ps1 +115 -0
- package/scripts/multiwfn_esp_pack.ps1 +99 -0
- package/scripts/node_check.sh +60 -0
- package/scripts/orca_sub.sh +108 -0
- package/scripts/probe_cluster.sh +95 -0
- package/scripts/vasp_sub.sh +87 -0
- package/scripts/watch_job.sh +65 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 yangdw2024
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,98 @@
|
|
|
1
|
-
#
|
|
1
|
+
# hpc-web-copilot
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> 面向高校/科研院所 **Web 超算平台**(中科可控 KKVIEW、曙光 AC Console、Open OnDemand、华为 Donau、联想 LiCO 等禁止直连 22 端口 SSH 的 Slurm 集群)的**零硬编码 AI Agent 全流程协同技能**。
|
|
4
|
+
|
|
5
|
+
[](LICENSE)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## 一键快速安装 / Quick Install
|
|
9
|
+
|
|
10
|
+
| 使用场景 | 一行命令(复制即用) |
|
|
11
|
+
|---|---|
|
|
12
|
+
| **DeepSeek Harness (DSH) 原生插件(推荐)** | `dsh plugin add @yangdw2024/hpc-web-copilot`(或在插件市场搜索 `hpc-web-copilot` 一键安装) |
|
|
13
|
+
| **全 AI Agent 一键安装(DSH / Claude Code / Codex / Cursor / Antigravity)** | `npx -y @yangdw2024/hpc-web-copilot`(支持 `--all` / `status` / `uninstall`) |
|
|
14
|
+
| **skills.sh 生态** | `npx skills add yangdw2024/hpc-web-copilot` |
|
|
15
|
+
| **Windows 无 Node.js 一键脚本** | `irm https://raw.githubusercontent.com/yangdw2024/hpc-web-copilot/main/scripts/install.ps1 \| iex` |
|
|
16
|
+
| **macOS / Linux 无 Node.js 一键脚本** | `curl -fsSL https://raw.githubusercontent.com/yangdw2024/hpc-web-copilot/main/scripts/install.sh \| bash` |
|
|
17
|
+
| **离线压缩包** | 前往 [GitHub Releases](https://github.com/yangdw2024/hpc-web-copilot/releases/latest) 下载 `hpc-web-copilot-v1.0.0.zip` 解压到对应 Agent 的 `skills/` 目录 |
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## 为什么需要 `hpc-web-copilot`?
|
|
22
|
+
|
|
23
|
+
国内大量高校和科研院所的 HPC 集群出于安全策略,**屏蔽了外网/校园网直连 22 端口 SSH**,科研人员只能通过浏览器登录 Web 门户(如 KKVIEW / AC Console / Open OnDemand)在网页端上传文件、打开 E-Shell 提交 Slurm 作业。
|
|
24
|
+
|
|
25
|
+
传统 AI Agent 操作此类平台时往往只能靠“整屏截图 + 鼠标坐标点击 + 模拟键盘逐字输入”,不仅极慢,在 `xterm.js` 网页终端里还极易发生字符乱序、漏字、误点公用目录脚本等风险。
|
|
26
|
+
|
|
27
|
+
**`hpc-web-copilot` 的解法**:
|
|
28
|
+
1. **持久化 CDP 浏览器 + `xterm.js` 内核直连**:通过独立配置目录拉起 Edge/Chrome CDP 9222 调试端口(绕过 Chromium/Edge 136+ 限制且不干扰日常浏览器),直接向网页终端实例调用 `term.paste()` 注入命令并读取 `term.buffer.active`,实现**毫秒级、零乱序、不抢鼠标焦点**的交互。
|
|
29
|
+
2. **100% 只读集群指纹探针(`probe_cluster.sh`)**:首次接入任意新学校超算时只读探测 OS、调度器、分区、节点规格、`PrivateData` / `pam_slurm_adopt` 机制与已装软件,自动生成可插拔 `hpc_profile.env`。
|
|
30
|
+
3. **通用内核 + 外部 Profile 解耦**:技能本身零硬编码,所有学校/账号/节点配置均存放在外部 `~/.hpc-web-copilot/profiles/` 与超算端的 `hpc_profile.env`。
|
|
31
|
+
4. **公用账号与共享节点安全护栏(`hpc_common.sh`)**:
|
|
32
|
+
- `ALLOWED_WORKDIR` 越界硬阻断(防止误操作公用账号根目录他人文件);
|
|
33
|
+
- `EXCLUDE_NODES` 黑名单硬阻断(防止作业误落入禁用节点);
|
|
34
|
+
- 弱 NFS 共享存储自动切换计算节点本地 `/tmp` 暂存 + `trap cleanup EXIT` 异常回收;
|
|
35
|
+
- 一任务一独立子文件夹批量提交,杜绝 `.chk`/日志互踩。
|
|
36
|
+
5. **6 大常用计算软件开箱即用**:覆盖 **Gaussian 16**、**ORCA 6**、**GROMACS**、**VASP**、**CP2K**、**LAMMPS** 一键提交与状态透视,以及本地 **Multiwfn + VMD** 表面 ESP 后处理衔接。
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## 目录结构
|
|
41
|
+
|
|
42
|
+
```text
|
|
43
|
+
hpc-web-copilot/
|
|
44
|
+
├── SKILL.md # AI Agent 技能主指令(适配 DSH / Claude Code / Codex)
|
|
45
|
+
├── profiles/
|
|
46
|
+
│ └── example.profile.env # 零硬编码通用集群配置模板
|
|
47
|
+
├── scripts/
|
|
48
|
+
│ ├── launch_cdp_browser.ps1 # Windows 持久化 CDP Edge/Chrome 一键启动器
|
|
49
|
+
│ ├── probe_cluster.sh # 100% 只读集群指纹探针(自动生成 profile 初稿)
|
|
50
|
+
│ ├── hpc_common.sh # Profile 加载器与目录/节点/配额安全护栏
|
|
51
|
+
│ ├── node_check.sh # 绕过 PrivateData=jobs 实时查看目标节点空余核数与内存
|
|
52
|
+
│ ├── watch_job.sh # 一键穿透计算节点 /tmp 查看运行中作业实时日志
|
|
53
|
+
│ ├── g16_sub.sh / g16_batch.sh # Gaussian 16 单任务/批量自动分目录安全提交 + 自动 formchk
|
|
54
|
+
│ ├── chk2fchk.sh # 批量安全 .chk -> .fchk 转换作业
|
|
55
|
+
│ ├── orca_sub.sh # ORCA (/tmp 加速 + 自动 orca_2mkl 导出 .molden.input)
|
|
56
|
+
│ ├── gmx_sub.sh # GROMACS MPI 提交(自动检测 .cpt 断点续算)
|
|
57
|
+
│ ├── vasp_sub.sh # VASP 多版本通用提交(支持 vasp_std/gam/ncl)
|
|
58
|
+
│ ├── cp2k_sub.sh # CP2K (/tmp 加速 + trap 回收)
|
|
59
|
+
│ ├── lammps_sub.sh # LAMMPS 提交脚本
|
|
60
|
+
│ └── multiwfn_esp_pack.ps1 # 本地 Multiwfn -> VMD 表面 ESP 三件套一键生成
|
|
61
|
+
└── references/
|
|
62
|
+
├── portal-cdp-xterm-guide.md # Web 超算 CDP + xterm.js 内核桥接协议
|
|
63
|
+
└── 00_软件选型总目录.md ~ 07_Conda与编译环境指南.md
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## 快速开始
|
|
69
|
+
|
|
70
|
+
### 1. 安装技能到本地 AI Agent(DSH / Claude Code / Codex)
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
git clone https://github.com/yangdw2024/hpc-web-copilot.git ~/.dsh/skills/hpc-web-copilot
|
|
74
|
+
# 若使用 Claude Code / Codex,可复制到对应的 ~/.claude/skills/ 或 ~/.codex/skills/
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### 2. 在新集群完成 3 步初始化
|
|
78
|
+
|
|
79
|
+
1. **拉起持久化 CDP 浏览器并手动登录一次学校超算 SSO**:
|
|
80
|
+
```powershell
|
|
81
|
+
pwsh -NoProfile -ExecutionPolicy Bypass -File scripts\launch_cdp_browser.ps1 -Channel edge -StartUrl "https://your-hpc-portal-url" -CreateShortcut
|
|
82
|
+
```
|
|
83
|
+
2. **只读探测集群环境**:在超算 WebShell 中运行 `bash probe_cluster.sh`,根据输出与 `profiles/example.profile.env` 填写你自己的 `hpc_profile.env`(本地可存放在 `~/.hpc-web-copilot/profiles/<school>.profile.env`)。
|
|
84
|
+
3. **部署超算端脚本**:将 `scripts/*.sh` 与你的 `hpc_profile.env` 上传到超算个人脚本目录并 `chmod +x *.sh`,即可使用 `node_check.sh`、`g16_sub.sh`、`orca_sub.sh`、`gmx_sub.sh`、`vasp_sub.sh` 等全部快捷能力。
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## 隐私与安全声明
|
|
89
|
+
|
|
90
|
+
- 本仓库**不包含任何高校内部域名、IP、账号密码、个人路径或个人 Profile**。
|
|
91
|
+
- `.gitignore` 默认忽略所有本地 `*.profile.env`(仅保留 `profiles/example.profile.env` 模板),防止误提交个人集群配置。
|
|
92
|
+
- 首次接入任何集群时,`probe_cluster.sh` 严格只读,不修改任何远程文件、不提交任何计算任务。
|
|
93
|
+
|
|
94
|
+
---
|
|
95
|
+
|
|
96
|
+
## License
|
|
97
|
+
|
|
98
|
+
[MIT](LICENSE)
|
package/SKILL.md
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: hpc-web-copilot
|
|
3
|
+
slug: hpc-web-copilot
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
displayName: 通用高校 Web 超算平台(Slurm / E-Shell)全流程协同技能
|
|
6
|
+
summary: "Zero-hardcoding, profile-driven universal copilot for Web-portal HPC clusters (KKVIEW / Sugon AC Console / Open OnDemand / Donau / LiCO / Slurm) where direct SSH is firewalled. Uses persistent CDP Edge/Chrome + WebShell xterm.js kernel bridging, 100% read-only cluster auto-discovery, shared-account safety guardrails, local /tmp scratch acceleration, and unified submitters for Gaussian 16, ORCA, GROMACS, VASP, CP2K, LAMMPS, plus local Multiwfn/VMD post-processing."
|
|
7
|
+
description: "零硬编码、面向全国高校/科研院所 Web 超算平台(中科可控 KKVIEW、曙光 AC Console、Open OnDemand、华为 Donau、联想 LiCO 等禁止直连 22 端口 SSH 的 Slurm 集群)的通用全流程协同技能。核心能力包括:① 自动拉起独立配置目录的持久化 CDP Edge/Chrome 并直连网页终端 xterm.js 内核(毫秒级零误点,替代低速桌面截图模拟点击);② 100% 只读集群指纹探针(probe_cluster.sh)自动识别硬件拓扑、分区、节点限额、PrivateData/pam_slurm_adopt 机制与软件栈并生成可插拔 hpc_profile.env;③ 公用账号目录隔离、节点白名单/黑名单防误占、本地 /tmp 高速暂存与 trap 异常回收护栏;④ 参数化一键支持 Gaussian 16、ORCA、GROMACS、VASP、CP2K、LAMMPS 提交、实时进度透视与本地 Multiwfn/VMD 后处理。当用户提到“学校超算”“高校 HPC”“Web 超算门户”“KKVIEW”“E-Shell”“Open OnDemand”“Slurm 提交/查空位”“在超算跑 Gaussian/ORCA/GROMACS/VASP/CP2K/LAMMPS”或“连接本地 AI协同 Edge/Chrome 操控超算”时使用。"
|
|
8
|
+
tags: [hpc, slurm, web-hpc, kkview, open-ondemand, gaussian16, orca, gromacs, vasp, cp2k, lammps, multiwfn, vmd, cdp]
|
|
9
|
+
license: MIT
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# 通用高校 Web 超算平台协同技能(`hpc-web-copilot`)
|
|
13
|
+
|
|
14
|
+
本技能采用 **“通用内核 + 可插拔外部 Profile”** 架构:**技能本身零硬编码**(不含任何特定学校网址、账号、节点名或本机用户名),可开箱适配任意高校/院所的 Web 超算门户与 Slurm 集群。
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## 一、运行前第 0 步:自动加载用户本地 Profile(解耦核心)
|
|
19
|
+
|
|
20
|
+
所有学校专属配置均存放在**技能目录之外**的用户主目录下,互不污染且便于分享本技能:
|
|
21
|
+
- **Windows**:`%USERPROFILE%\.hpc-web-copilot\profiles\`
|
|
22
|
+
- **macOS / Linux**:`~/.hpc-web-copilot/profiles/`
|
|
23
|
+
|
|
24
|
+
执行任何集群操作前:
|
|
25
|
+
1. 先检查 `%USERPROFILE%\.hpc-web-copilot\profiles\`(或 `~/.hpc-web-copilot/profiles/`)下是否已有 `*.profile.env` / `*-cluster-facts.md`:
|
|
26
|
+
- **若存在唯一 Profile**(或命中用户提到的学校/集群名):读取对应 `*.profile.env` 与 `*-cluster-facts.md`,严格遵守其中声明的 `ALLOWED_WORKDIR`、`PARTITION`、`EXCLUDE_NODES`、`MAX_CPUS_SAFE`、`MAX_MEM_GB_SAFE` 等安全红线。
|
|
27
|
+
- **若是全新未知学校/集群**:先走本手册第三节的 **100% 只读集群探针(`probe_cluster.sh`)**,自动摸清该集群软硬件并生成一份新的 `<cluster>.profile.env`,经用户确认后再进行任何写操作。
|
|
28
|
+
2. 远程超算端的所有提交脚本(`scripts/*.sh`)在运行时自动按以下优先级查找配置文件:
|
|
29
|
+
1. 环境变量 `$HPC_PROFILE` 指定的路径
|
|
30
|
+
2. 当前脚本所在目录下的 `hpc_profile.env`
|
|
31
|
+
3. 用户家目录下的 `~/.hpc_profile.env`
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## 二、通用安全铁律(所有集群强制执行)
|
|
36
|
+
|
|
37
|
+
1. **只读优先**:首次接入未知集群、或用户仅询问状态时,**严禁新建/修改/覆盖/删除任何远程文件或提交作业**。
|
|
38
|
+
2. **公用账号目录隔离**:当 `ALLOWED_WORKDIR` 非空时,所有文件上传、脚本、计算与备份**严格限定在 `ALLOWED_WORKDIR` 的独立子目录内**;绝不在 Web 表单默认指向根目录公用脚本时点“保存”;坚持 **一任务一独立子文件夹**。
|
|
39
|
+
3. **节点与配额护栏**:
|
|
40
|
+
- 必须遵守 Profile 中的 `EXCLUDE_NODES`(如排除他人专属节点)与 `ALLOWED_NODES`;
|
|
41
|
+
- 申请核数与内存不得超过 `MAX_CPUS_SAFE` / `MAX_MEM_GB_SAFE`(共享节点防死等排队);
|
|
42
|
+
- Gaussian `.gjf` 中 `%mem` 比 Slurm `--mem` 低 15%~20%;ORCA `.inp` 中 `%maxcore`(单核 MB)需满足 `nprocs × maxcore × 1.3 ≤ Slurm --mem`。
|
|
43
|
+
4. **弱共享存储 `/tmp` 暂存原则**:若 Profile 标记 `SCRATCH_MODE="tmp"`(NFS 共享存储 I/O 较慢),Gaussian / ORCA / CP2K 必须在计算节点本地 `$SCRATCH_ROOT/<user>.<jobid>` 中运行,且内置 `trap cleanup EXIT` 保证无论正常结束还是取消/超时都能回收结果并清空临时目录。
|
|
44
|
+
5. **软件环境隔离**:切勿在同一个脚本里同时 `source` 多个计算软件,切勿将大型计算软件的 `setup.sh` 写入公用 `~/.bashrc`。
|
|
45
|
+
6. **严禁在登录节点跑计算**:登录节点仅用于文件管理、编辑脚本、`sbatch`、`grompp`、轻量后处理。
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## 三、极速接入协议:CDP 持久化浏览器 + WebShell 内核直连
|
|
50
|
+
|
|
51
|
+
很多高校超算出于安全策略屏蔽了外部 22 端口 SSH,仅开放 Web 门户(中科可控 KKVIEW / 曙光 AC Console、Open OnDemand、华为 Donau、联想 LiCO 等)。
|
|
52
|
+
|
|
53
|
+
> **严禁默认降级成桌面整屏截图 + 坐标模拟点击 + 键盘逐字 `type`**(慢且在网页终端里极易发生字符乱序!)。
|
|
54
|
+
|
|
55
|
+
### 第 1 步:拉起或复连持久化 CDP 浏览器(Edge / Chrome 通用)
|
|
56
|
+
1. 先用 `mcp__local_browser__browser_status` 和 `browser_tabs` 检查是否已连上本地 CDP 浏览器。
|
|
57
|
+
2. 若未连接、或需要切换到指定浏览器通道(Edge/Chrome),运行通用启动脚本(自动探测已装浏览器、使用 `$env:USERPROFILE\.dsh\cdp-browser-profile` 独立配置目录以绕过 Edge/Chrome 136+ 限制,不影响日常浏览器):
|
|
58
|
+
```powershell
|
|
59
|
+
pwsh -NoProfile -ExecutionPolicy Bypass -File "<skill_dir>\scripts\launch_cdp_browser.ps1" -Channel edge -StartUrl "<PORTAL_URL>"
|
|
60
|
+
```
|
|
61
|
+
- 如需首次在桌面创建一键快捷方式,追加 `-CreateShortcut -ShortcutName "AI协同 Edge"`。
|
|
62
|
+
- 如端口被空白 Chrome 占用想强制切回 Edge,追加 `-ForceSwitch`。
|
|
63
|
+
|
|
64
|
+
### 第 2 步:直连 WebShell `xterm.js` 内核(毫秒级零乱序)
|
|
65
|
+
- 详见 `references/portal-cdp-xterm-guide.md`。核心模式:
|
|
66
|
+
- 通过 `browser_evaluate` 找到页面挂载的 `xterm` 实例(如 KKVIEW/Vue 的 `el.__vue__.term`、或全局/React fiber 中的 `Terminal` 实例);
|
|
67
|
+
- 用 **`term.paste(cmd + '\n')`** 一次性无乱序注入带结束哨兵(marker)的命令;
|
|
68
|
+
- 轮询 `term.buffer.active` 读取完整终端文本;
|
|
69
|
+
- 探查结束后用 `browser_close_tab` 清理临时打开的终端标签页。
|
|
70
|
+
- 提示用户手工在 WebShell 复制粘贴时,推荐通用快捷键 **`Ctrl + Shift + C`** / **`Ctrl + Shift + V`**(兼容无 Insert 键笔记本键盘)或点击页面自带的“粘贴文本”按钮。
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## 四、首次接入任意新集群:100% 只读自动探测
|
|
75
|
+
|
|
76
|
+
在首次连接一所新学校或新课题组集群时,通过 E-Shell(或 SSH)运行本技能内置的 **`scripts/probe_cluster.sh`**(纯只读,零写入):
|
|
77
|
+
- 自动识别:操作系统、登录节点规格、共享存储容量与挂载点、调度器类型(Slurm/PBS/SGE)、所有可见分区与节点硬件、`PrivateData=jobs` 隐身状态、`pam_slurm_adopt` 登录限制、当前用户配额/QoS、已装计算软件(Gaussian / ORCA / GROMACS / VASP / CP2K / LAMMPS / Conda / OneAPI / `module avail`);
|
|
78
|
+
- 自动在终端打印一份可直接保存的 **`hpc_profile.env` 模板**,用户确认路径与安全上限后保存至本地 `%USERPROFILE%\.hpc-web-copilot\profiles\<集群名>.profile.env` 及超算端脚本目录的 `hpc_profile.env`,后续所有脚本立刻零改动适配!
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
## 五、端到端 7 步标准科研工作流
|
|
83
|
+
|
|
84
|
+
1. **探空**:`node_check.sh`(别名 `nc`)绕过 `PrivateData=jobs`,直接读取目标节点真实 `CPUAlloc`/`AllocMem`/`CPULoad`。
|
|
85
|
+
2. **建独立任务子目录**:在 `$ALLOWED_WORKDIR/<项目>/<分子_任务>/` 下放置输入文件。
|
|
86
|
+
3. **一键提交**(全部读取 `hpc_profile.env`,参数顺序统一):
|
|
87
|
+
- **Gaussian 16**:`g16_sub.sh <input.gjf> [核数] [内存G] [auto|节点名] [--dry-run]`(批量自动分目录:`g16_batch.sh`;批量 `.chk`→`.fchk`:`chk2fchk.sh`)
|
|
88
|
+
- **ORCA**:`orca_sub.sh <input.inp> [核数] [内存G] [auto|节点名] [--dry-run]`(走 `/tmp`,自动导出 `.molden.input`)
|
|
89
|
+
- **GROMACS**:`gmx_sub.sh <deffnm> [核数] [内存G] [auto|节点名] [--dry-run]`(自动检测 `.cpt` 断点续算)
|
|
90
|
+
- **VASP**:`vasp_sub.sh [核数] [内存G] [版本名] [vasp_std|vasp_gam|vasp_ncl] [auto|节点名] [--dry-run]`
|
|
91
|
+
- **CP2K / LAMMPS**:`cp2k_sub.sh <input.inp> ...` / `lammps_sub.sh <in.xxx> ...`
|
|
92
|
+
4. **实时透视监控**:`watch_job.sh [JobID] [-f]`(自动定位运行节点并按 `pam_slurm_adopt` 规则抓取 `/tmp` 最新 SCF 与收敛信息)。
|
|
93
|
+
5. **验收与清理**:检查收敛与虚频(Gaussian 正常终止、无虚频;ORCA `TERMINATED NORMALLY`;VASP `reached required accuracy`)。
|
|
94
|
+
6. **回传波函数/轨迹**:通过 Web 文件管理或 SCP 下载跨平台 `.fchk` / `.molden.input` / `.log` / `.xtc`。
|
|
95
|
+
7. **本地可视化后处理**:
|
|
96
|
+
- 使用 `scripts/multiwfn_esp_pack.ps1` 一键生成 VMD ESP 所需的 `<前缀>__density.cub`、`<前缀>__totesp.cub`、`<前缀>__surfanalysis.pdb` 及表面定量指标;
|
|
97
|
+
- 其他单分子/批量表征(HOMO/LUMO、RDG、电荷、键级、MPP 平面性)联动 `multiwfn-toolkit` 技能。
|
|
98
|
+
|
|
99
|
+
---
|
|
100
|
+
|
|
101
|
+
## 六、目录与资源索引(按需加载)
|
|
102
|
+
|
|
103
|
+
- **`profiles/example.profile.env`** — 零个人信息通用配置模板(分享/新建集群时复制修改)
|
|
104
|
+
- **`scripts/`** — 全套参数化、零硬编码脚本(均已通过 `bash -n` / PowerShell AST 校验):
|
|
105
|
+
- `launch_cdp_browser.ps1`、`probe_cluster.sh`、`hpc_common.sh`
|
|
106
|
+
- `node_check.sh`、`watch_job.sh`、`g16_sub.sh`、`g16_batch.sh`、`chk2fchk.sh`
|
|
107
|
+
- `orca_sub.sh`、`gmx_sub.sh`、`vasp_sub.sh`、`cp2k_sub.sh`、`lammps_sub.sh`
|
|
108
|
+
- `multiwfn_esp_pack.ps1`
|
|
109
|
+
- **`references/`** — 通用技术指南与零基础分软件手册:
|
|
110
|
+
- `portal-cdp-xterm-guide.md` — Web 超算 CDP + xterm.js/hterm 通用内核桥接协议
|
|
111
|
+
- `00_软件选型总目录.md` ~ `07_Conda与编译环境指南.md` — 7 大计算软件零基础入门与模板
|
package/bin/cli.mjs
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { cpSync, existsSync, mkdirSync, readFileSync, rmSync } from 'node:fs'
|
|
3
|
+
import { homedir } from 'node:os'
|
|
4
|
+
import { dirname, join, resolve } from 'node:path'
|
|
5
|
+
import { fileURLToPath } from 'node:url'
|
|
6
|
+
|
|
7
|
+
const __dirname = dirname(fileURLToPath(import.meta.url))
|
|
8
|
+
const PKG_ROOT = resolve(__dirname, '..')
|
|
9
|
+
const SKILL_SRC = resolve(PKG_ROOT, '.')
|
|
10
|
+
const COPY_ITEMS = ["SKILL.md","profiles","references","scripts","LICENSE"]
|
|
11
|
+
const PKG_JSON = JSON.parse(readFileSync(join(PKG_ROOT, 'package.json'), 'utf8'))
|
|
12
|
+
const SKILL_NAME = 'hpc-web-copilot'
|
|
13
|
+
const PKG_NAME = '@yangdw2024/hpc-web-copilot'
|
|
14
|
+
const REPO_SLUG = 'yangdw2024/hpc-web-copilot'
|
|
15
|
+
|
|
16
|
+
const HOME = homedir()
|
|
17
|
+
const TARGETS = [
|
|
18
|
+
{ id: 'dsh', label: 'DeepSeek Harness (DSH)', root: join(HOME, '.dsh'), dir: join(HOME, '.dsh', 'skills', SKILL_NAME) },
|
|
19
|
+
{ id: 'claude', label: 'Claude Code', root: join(HOME, '.claude'), dir: join(HOME, '.claude', 'skills', SKILL_NAME) },
|
|
20
|
+
{ id: 'codex', label: 'OpenAI Codex', root: join(HOME, '.codex'), dir: join(HOME, '.codex', 'skills', SKILL_NAME) },
|
|
21
|
+
{ id: 'cursor', label: 'Cursor', root: join(HOME, '.cursor'), dir: join(HOME, '.cursor', 'skills', SKILL_NAME) },
|
|
22
|
+
{ id: 'agents', label: 'Generic ~/.agents (Antigravity/OpenCode)', root: join(HOME, '.agents'), dir: join(HOME, '.agents', 'skills', SKILL_NAME) },
|
|
23
|
+
{ id: 'antigravity', label: 'Antigravity (~/.gemini)', root: join(HOME, '.gemini', 'antigravity'), dir: join(HOME, '.gemini', 'antigravity', 'skills', SKILL_NAME) },
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
function printHelp() {
|
|
27
|
+
console.log(`${PKG_JSON.name} v${PKG_JSON.version} — One-click skill installer for ${SKILL_NAME}
|
|
28
|
+
|
|
29
|
+
Usage:
|
|
30
|
+
npx -y ${PKG_NAME} [install] [--all] [--targets dsh,claude,codex,cursor,agents,antigravity] [--dir <path>] [--dry-run]
|
|
31
|
+
npx -y ${PKG_NAME} status
|
|
32
|
+
npx -y ${PKG_NAME} uninstall [--all] [--targets ...] [--dir <path>]
|
|
33
|
+
npx -y ${PKG_NAME} path
|
|
34
|
+
|
|
35
|
+
Options:
|
|
36
|
+
--all Install/uninstall across all supported AI agent directories
|
|
37
|
+
--targets <list> Comma-separated agent ids (dsh,claude,codex,cursor,agents,antigravity)
|
|
38
|
+
--dir <path> Custom destination skill directory
|
|
39
|
+
--dry-run Preview actions without writing files
|
|
40
|
+
-h, --help Show this help message
|
|
41
|
+
|
|
42
|
+
DSH native plugin alternative:
|
|
43
|
+
dsh plugin add ${PKG_NAME}
|
|
44
|
+
|
|
45
|
+
Repository: https://github.com/${REPO_SLUG}
|
|
46
|
+
`)
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
function selectTargets(args) {
|
|
50
|
+
if (args.dir) {
|
|
51
|
+
return [{ id: 'custom', label: 'Custom directory', root: dirname(resolve(args.dir)), dir: resolve(args.dir) }]
|
|
52
|
+
}
|
|
53
|
+
if (args.targets) {
|
|
54
|
+
const wanted = new Set(args.targets.split(',').map(s => s.trim().toLowerCase()).filter(Boolean))
|
|
55
|
+
const picked = TARGETS.filter(t => wanted.has(t.id))
|
|
56
|
+
if (picked.length === 0) {
|
|
57
|
+
console.error('No valid target matched:', args.targets)
|
|
58
|
+
process.exit(1)
|
|
59
|
+
}
|
|
60
|
+
return picked
|
|
61
|
+
}
|
|
62
|
+
if (args.all) return TARGETS
|
|
63
|
+
const detected = TARGETS.filter(t => existsSync(t.root))
|
|
64
|
+
return detected.length > 0 ? detected : [TARGETS[0], TARGETS[4]]
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
function installTo(dest, dryRun) {
|
|
68
|
+
if (dryRun) {
|
|
69
|
+
console.log(`[dry-run] Would install ${SKILL_NAME} -> ${dest}`)
|
|
70
|
+
return
|
|
71
|
+
}
|
|
72
|
+
rmSync(dest, { recursive: true, force: true })
|
|
73
|
+
mkdirSync(dest, { recursive: true })
|
|
74
|
+
for (const item of COPY_ITEMS) {
|
|
75
|
+
const src = join(SKILL_SRC, item)
|
|
76
|
+
if (!existsSync(src)) continue
|
|
77
|
+
cpSync(src, join(dest, item), { recursive: true, force: true })
|
|
78
|
+
}
|
|
79
|
+
console.log(`[ok] Installed ${SKILL_NAME} -> ${dest}`)
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
function uninstallFrom(dest, dryRun) {
|
|
83
|
+
if (!existsSync(dest)) {
|
|
84
|
+
console.log(`[skip] Not installed: ${dest}`)
|
|
85
|
+
return
|
|
86
|
+
}
|
|
87
|
+
if (dryRun) {
|
|
88
|
+
console.log(`[dry-run] Would remove ${dest}`)
|
|
89
|
+
return
|
|
90
|
+
}
|
|
91
|
+
rmSync(dest, { recursive: true, force: true })
|
|
92
|
+
console.log(`[ok] Removed ${dest}`)
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
const argv = process.argv.slice(2)
|
|
96
|
+
if (argv.includes('-h') || argv.includes('--help')) {
|
|
97
|
+
printHelp()
|
|
98
|
+
process.exit(0)
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
const cmd = ['install', 'status', 'uninstall', 'path'].includes(argv[0]) ? argv.shift() : 'install'
|
|
102
|
+
const opts = { all: false, dryRun: false, targets: '', dir: '' }
|
|
103
|
+
for (let i = 0; i < argv.length; i++) {
|
|
104
|
+
const a = argv[i]
|
|
105
|
+
if (a === '--all') opts.all = true
|
|
106
|
+
else if (a === '--dry-run') opts.dryRun = true
|
|
107
|
+
else if (a === '--targets' && argv[i + 1]) opts.targets = argv[++i]
|
|
108
|
+
else if (a === '--dir' && argv[i + 1]) opts.dir = argv[++i]
|
|
109
|
+
else {
|
|
110
|
+
console.error('Unknown argument:', a)
|
|
111
|
+
printHelp()
|
|
112
|
+
process.exit(1)
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
if (cmd === 'path') {
|
|
117
|
+
console.log(SKILL_SRC)
|
|
118
|
+
} else if (cmd === 'status') {
|
|
119
|
+
console.log(`${PKG_JSON.name} v${PKG_JSON.version} (skill: ${SKILL_NAME})`)
|
|
120
|
+
for (const t of TARGETS) {
|
|
121
|
+
const installed = existsSync(join(t.dir, 'SKILL.md'))
|
|
122
|
+
const detected = existsSync(t.root)
|
|
123
|
+
const state = installed ? 'INSTALLED' : detected ? 'detected (not installed)' : 'not detected'
|
|
124
|
+
console.log(` - ${t.id.padEnd(12)} ${state.padEnd(26)} ${t.dir}`)
|
|
125
|
+
}
|
|
126
|
+
} else if (cmd === 'uninstall') {
|
|
127
|
+
const list = selectTargets(opts)
|
|
128
|
+
for (const t of list) uninstallFrom(t.dir, opts.dryRun)
|
|
129
|
+
} else {
|
|
130
|
+
const list = selectTargets(opts)
|
|
131
|
+
console.log(`Installing ${SKILL_NAME} v${PKG_JSON.version}...`)
|
|
132
|
+
for (const t of list) installTo(t.dir, opts.dryRun)
|
|
133
|
+
console.log(`
|
|
134
|
+
Done! Restart or start a new session in your AI agent to use /${SKILL_NAME}.`)
|
|
135
|
+
}
|
package/cordis.patch.yml
ADDED
package/docs/DETAIL.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# HPC Web Copilot (`@yangdw2024/hpc-web-copilot`)
|
|
2
|
+
|
|
3
|
+
Zero-hardcoding DeepSeek Harness skill bundle and cross-agent script toolkit for university and institutional Web HPC portals (KKVIEW, Sugon AC Console, Open OnDemand, Donau, LiCO, and Slurm clusters without direct SSH port 22).
|
|
4
|
+
|
|
5
|
+
## What this bundle provides
|
|
6
|
+
|
|
7
|
+
- Registers the `hpc-web-copilot` skill directly into DSH (`ctx.skills`) with its full bundled `scripts/`, `references/`, and `profiles/` directory.
|
|
8
|
+
- Persistent CDP browser launch script (`scripts/launch_cdp_browser.ps1`) and `xterm.js` kernel bridging guide (`references/portal-cdp-xterm-guide.md`).
|
|
9
|
+
- Read-only cluster discovery (`scripts/probe_cluster.sh`) that generates an external `hpc_profile.env` without touching remote files.
|
|
10
|
+
- Shared-account guardrails (`scripts/hpc_common.sh`): `ALLOWED_WORKDIR` boundary checks, `EXCLUDE_NODES` protection, local `/tmp` scratch staging with `trap` cleanup.
|
|
11
|
+
- Unified Slurm submitters for Gaussian 16, ORCA, GROMACS, VASP, CP2K, and LAMMPS, plus local Multiwfn/VMD ESP post-processing (`scripts/multiwfn_esp_pack.ps1`).
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
After installing the plugin in DSH, start a new session and invoke `/hpc-web-copilot` or ask the agent to connect to your Web HPC portal, probe a cluster, or submit a Slurm job.
|
|
16
|
+
|
|
17
|
+
For Claude Code, Codex, Cursor, or Antigravity, run:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
npx -y @yangdw2024/hpc-web-copilot
|
|
21
|
+
```
|
package/icon.svg
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="bg" x1="0" y1="0" x2="1" y2="1">
|
|
4
|
+
<stop offset="0%" stop-color="#0f172a"/>
|
|
5
|
+
<stop offset="100%" stop-color="#1e3a8a"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
<linearGradient id="acc" x1="0" y1="0" x2="1" y2="1">
|
|
8
|
+
<stop offset="0%" stop-color="#38bdf8"/>
|
|
9
|
+
<stop offset="100%" stop-color="#818cf8"/>
|
|
10
|
+
</linearGradient>
|
|
11
|
+
</defs>
|
|
12
|
+
<rect width="64" height="64" rx="14" fill="url(#bg)"/>
|
|
13
|
+
<rect x="10" y="13" width="44" height="28" rx="5" fill="#0b1220" stroke="url(#acc)" stroke-width="2.2"/>
|
|
14
|
+
<circle cx="16" cy="19" r="1.6" fill="#f87171"/>
|
|
15
|
+
<circle cx="21" cy="19" r="1.6" fill="#fbbf24"/>
|
|
16
|
+
<circle cx="26" cy="19" r="1.6" fill="#34d399"/>
|
|
17
|
+
<path d="M16 27l5 4-5 4" fill="none" stroke="#38bdf8" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/>
|
|
18
|
+
<line x1="25" y1="35" x2="36" y2="35" stroke="#e2e8f0" stroke-width="2.4" stroke-linecap="round"/>
|
|
19
|
+
<rect x="12" y="46" width="11" height="6" rx="2" fill="#38bdf8" opacity="0.9"/>
|
|
20
|
+
<rect x="26.5" y="46" width="11" height="6" rx="2" fill="#60a5fa" opacity="0.9"/>
|
|
21
|
+
<rect x="41" y="46" width="11" height="6" rx="2" fill="#818cf8" opacity="0.9"/>
|
|
22
|
+
</svg>
|
package/index.js
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { readFile } from 'node:fs/promises'
|
|
2
|
+
import { fileURLToPath } from 'node:url'
|
|
3
|
+
|
|
4
|
+
const BUNDLED_SKILL_RANK = 600
|
|
5
|
+
const PROVIDER_NAME = 'hpc-web-copilot'
|
|
6
|
+
const SKILL_DIR_URL = new URL('./', import.meta.url)
|
|
7
|
+
const SKILL_MD_URL = new URL('SKILL.md', SKILL_DIR_URL)
|
|
8
|
+
const RESOURCE_BASE = {
|
|
9
|
+
kind: 'directory',
|
|
10
|
+
path: fileURLToPath(SKILL_DIR_URL),
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
function parseSkillMarkdown(raw) {
|
|
14
|
+
const match = /^---\r?\n([\s\S]*?)\r?\n---\r?\n*/.exec(raw)
|
|
15
|
+
let description = 'Zero-hardcoding AI Agent skill for university Web HPC portals (KKVIEW / Sugon AC Console / Open OnDemand / Donau / LiCO / Slurm): CDP + xterm.js terminal bridging, read-only cluster probing, shared-account safety guardrails, and Gaussian 16 / ORCA / GROMACS / VASP / CP2K / LAMMPS job scripts.'
|
|
16
|
+
let body = raw
|
|
17
|
+
if (match) {
|
|
18
|
+
body = raw.slice(match[0].length)
|
|
19
|
+
const descMatch = /^description:\s*(?:"([\s\S]*?)"|'([\s\S]*?)'|([^\r\n]+))/m.exec(match[1])
|
|
20
|
+
const extracted = descMatch && (descMatch[1] || descMatch[2] || descMatch[3])
|
|
21
|
+
if (extracted && extracted.trim()) description = extracted.trim()
|
|
22
|
+
}
|
|
23
|
+
return { description, body }
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
const CANDIDATE = {
|
|
27
|
+
name: 'hpc-web-copilot',
|
|
28
|
+
description: 'Zero-hardcoding AI Agent skill for university Web HPC portals (KKVIEW / Sugon AC Console / Open OnDemand / Donau / LiCO / Slurm): CDP + xterm.js terminal bridging, read-only cluster probing, shared-account safety guardrails, and Gaussian 16 / ORCA / GROMACS / VASP / CP2K / LAMMPS job scripts.',
|
|
29
|
+
invocation: {
|
|
30
|
+
modelInvocable: true,
|
|
31
|
+
userInvocable: true,
|
|
32
|
+
},
|
|
33
|
+
provider: PROVIDER_NAME,
|
|
34
|
+
source: 'bundled',
|
|
35
|
+
resourceBase: RESOURCE_BASE,
|
|
36
|
+
rank: BUNDLED_SKILL_RANK,
|
|
37
|
+
locator: SKILL_MD_URL,
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
const provider = {
|
|
41
|
+
name: PROVIDER_NAME,
|
|
42
|
+
async list() {
|
|
43
|
+
try {
|
|
44
|
+
const raw = await readFile(SKILL_MD_URL, 'utf8')
|
|
45
|
+
const { description } = parseSkillMarkdown(raw)
|
|
46
|
+
return [{ ...CANDIDATE, description }]
|
|
47
|
+
} catch {
|
|
48
|
+
return [CANDIDATE]
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
async get() {
|
|
52
|
+
const raw = await readFile(SKILL_MD_URL, 'utf8')
|
|
53
|
+
const { description, body } = parseSkillMarkdown(raw)
|
|
54
|
+
return {
|
|
55
|
+
name: CANDIDATE.name,
|
|
56
|
+
description,
|
|
57
|
+
invocation: CANDIDATE.invocation,
|
|
58
|
+
provider: CANDIDATE.provider,
|
|
59
|
+
source: CANDIDATE.source,
|
|
60
|
+
resourceBase: RESOURCE_BASE,
|
|
61
|
+
content: body,
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export const name = 'skill-hpc-web-copilot'
|
|
67
|
+
export const inject = ['skills']
|
|
68
|
+
|
|
69
|
+
export function apply(ctx) {
|
|
70
|
+
ctx.skills.registerProvider(() => provider)
|
|
71
|
+
}
|
package/locale/en.json
ADDED
package/locale/zh.json
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,69 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yangdw2024/hpc-web-copilot",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Zero-hardcoding DSH skill bundle & universal installer for university Web HPC portals (KKVIEW / AC Console / Open OnDemand / Donau / LiCO / Slurm) via CDP + xterm.js kernel bridging.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "yangdw2024",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"main": "./index.js",
|
|
9
|
+
"icon": "./icon.svg",
|
|
10
|
+
"bin": {
|
|
11
|
+
"hpc-web-copilot": "./bin/cli.mjs"
|
|
12
|
+
},
|
|
13
|
+
"exports": {
|
|
14
|
+
".": "./index.js",
|
|
15
|
+
"./locale/*.json": "./locale/*.json",
|
|
16
|
+
"./icon": "./icon.svg"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"index.js",
|
|
20
|
+
"cordis.patch.yml",
|
|
21
|
+
"bin/cli.mjs",
|
|
22
|
+
"locale/*.json",
|
|
23
|
+
"docs/DETAIL.md",
|
|
24
|
+
"icon.svg",
|
|
25
|
+
"SKILL.md",
|
|
26
|
+
"profiles",
|
|
27
|
+
"references",
|
|
28
|
+
"scripts",
|
|
29
|
+
"README.md",
|
|
30
|
+
"LICENSE"
|
|
31
|
+
],
|
|
32
|
+
"keywords": [
|
|
33
|
+
"dsh",
|
|
34
|
+
"dsh-plugin",
|
|
35
|
+
"deepseek-harness",
|
|
36
|
+
"cordis-plugin",
|
|
37
|
+
"agent-skill",
|
|
38
|
+
"hpc",
|
|
39
|
+
"slurm",
|
|
40
|
+
"web-hpc",
|
|
41
|
+
"kkview",
|
|
42
|
+
"open-ondemand",
|
|
43
|
+
"gaussian",
|
|
44
|
+
"orca",
|
|
45
|
+
"gromacs",
|
|
46
|
+
"vasp",
|
|
47
|
+
"multiwfn"
|
|
48
|
+
],
|
|
49
|
+
"repository": {
|
|
50
|
+
"type": "git",
|
|
51
|
+
"url": "git+https://github.com/yangdw2024/hpc-web-copilot.git"
|
|
52
|
+
},
|
|
53
|
+
"homepage": "https://github.com/yangdw2024/hpc-web-copilot#readme",
|
|
54
|
+
"bugs": {
|
|
55
|
+
"url": "https://github.com/yangdw2024/hpc-web-copilot/issues"
|
|
56
|
+
},
|
|
57
|
+
"engines": {
|
|
58
|
+
"node": ">=18.18.0",
|
|
59
|
+
"dsh": ">=0.2.0-0 <0.3.0"
|
|
60
|
+
},
|
|
61
|
+
"publishConfig": {
|
|
62
|
+
"access": "public"
|
|
63
|
+
},
|
|
64
|
+
"dsh": {
|
|
65
|
+
"bundle": {
|
|
66
|
+
"patch": "./cordis.patch.yml"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|