원클릭으로
ihep-gfs-skill
当用户需要操作高能所 gfs 对象存储(jwanfs/jcli)时立即使用。覆盖:安装 jcli、配置认证、上传/下载/同步文件、挂载存储桶为本地目录、Pod 重启后重新挂载、FUSE 相关排障。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
当用户需要操作高能所 gfs 对象存储(jwanfs/jcli)时立即使用。覆盖:安装 jcli、配置认证、上传/下载/同步文件、挂载存储桶为本地目录、Pod 重启后重新挂载、FUSE 相关排障。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Expert in building cross-platform desktop applications using web technologies (HTML/CSS/JS) with the Electron framework.
TypeScript and JavaScript expert with deep knowledge of type-level programming, performance optimization, monorepo management, migration strategies, and modern tooling.
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.
Refine academic writing for computer science research papers targeting top-tier venues (NeurIPS, ICLR, ICML, AAAI, IJCAI, ACL, EMNLP, NAACL, CVPR, WWW, KDD, SIGIR, CIKM, and similar). Use this skill whenever a user asks to improve, polish, refine, edit, or proofread academic or research writing — including paper drafts, abstracts, introductions, related work sections, methodology descriptions, experiment write-ups, or conclusion sections. Also trigger when users paste LaTeX content and ask for writing help, mention "camera-ready", "rebuttal", "paper revision", or reference any academic venue or conference. This skill handles both full paper refinement and section-by-section editing.
The Baidu Baike Component is a knowledge service tool designed to query authoritative encyclopedia explanations for various nouns. Its core function is given a specific "noun" (object, person, location, concept, event, etc.) provided by the user, it returns a standardized, detailed entry explanation sourced from Baidu Baike.
Baidu Scholar Search - Search Chinese and English academic literature (journals, conferences, papers, etc.)
SOC 직업 분류 기준
| name | ihep-gfs-skill |
| description | 当用户需要操作高能所 gfs 对象存储(jwanfs/jcli)时立即使用。覆盖:安装 jcli、配置认证、上传/下载/同步文件、挂载存储桶为本地目录、Pod 重启后重新挂载、FUSE 相关排障。 |
| allowed-tools | Bash(jcli:*) Bash(curl:*) Bash(wget:*) Bash(haik8s-fuse-doctor:*) Bash(umount:*) Bash(sudo apt-get:*) Bash(sudo yum:*) Bash(df:*) Bash(ls:*) Bash(mkdir:*) |
操作高能所基于 JWanFS 构建的对象存储,命令行客户端是 jcli。
| 关键参数 | 值 |
|---|---|
| 网页入口 | https://gfs.ihep.ac.cn/ |
| Endpoint | https://fgws3-gfs.ihep.ac.cn |
| 默认配额 | 1 TB/用户 |
| 配置文件 | ~/.jcli/token/auth |
# 1. 装 jcli(首次或 Pod 重建后)
[ -x $HOME/bin/jcli ] || {
mkdir -p $HOME/bin
wget -q https://file-ocloud.ihep.ac.cn/jcli/amd64/jcli -O $HOME/bin/jcli
chmod +x $HOME/bin/jcli
}
export PATH=$PATH:$HOME/bin
# 2. 写认证(覆盖式,需要桶名)
jcli config -ak {AK} -sk {SK} -endpoint https://fgws3-gfs.ihep.ac.cn \
-bucket {BUCKET} -default -f
# 3. 验证(应列出桶内文件)
jcli ls
首次不知道桶名时:先 jcli auth 交互式运行,输入 AK/SK/Endpoint 后系统会列出可用桶(按 Ctrl+C 终止即可获得桶名),然后回到上面步骤 2 用 jcli config 持久化。
jcli ls [{桶}/{路径}] # 列文件
jcli put {本地} {桶}/{远端} # 上传(-r 递归)
jcli get {桶}/{远端} {本地} # 下载(-r 递归)
jcli rm {桶}/{路径} # 删除(-r 递归)
jcli sync {本地目录} {桶}/{远端目录} # 同步(双向均可)
jcli cp / mv {桶}/{源} {桶}/{目标} # 复制/移动
jcli stat / du / cat / head / tail # 查信息/算大小/看内容
jcli quota {桶} # 查配额
完整命令清单见 references/commands.md。
把桶挂成 ~/gfs_mount,之后像本地目录一样读写:
mkdir -p ~/gfs_mount
jcli mount -f ~/gfs_mount --daemon
ls ~/gfs_mount # 看到桶内文件即成功
umount ~/gfs_mount # 卸载
挂载失败(容器/FUSE 相关错误)→ 见 references/mount.md,里面包含 hai-k8s 容器、原生 Linux、Windows(NetMount)、macOS 的完整流程和排障。
$HOME/bin 通过 lustre 持久化,但 fuse3 是 apt 装的会消失,挂载点也会消失。重启后重跑「快速流程」+「挂载」即可。haik8s-fuse-doctor 是内置 FUSE 自检工具,三段输出直接定位问题(详见 mount.md)。/dev/fuse 才会被 CRI 加入 cgroup 白名单。