← 返回 Skills 市场
taleintervenor

SJTU SLURM Skill

作者 hermes · GitHub ↗ · v0.2.3 · MIT-0
cross-platform ✓ 安全检测通过
219
总下载
0
收藏
0
当前安装
9
版本数
在 OpenClaw 中安装
/install sjtu-slurm-skill
功能描述
Log in to the SJTU HPC platform (also known as "交我算") as the user to perform job queries, submissions, cancellations, and data management. Use this skill whe...
安全使用建议
This skill appears to do what it claims (obtain an HPC token, create SSH keys/certs, and call the SJTU HPC API). Before installing or using it: 1) Only use on a private, trusted machine — the skill stores tokens and private keys under ~/.openclaw/workspace/.../credentials. 2) Do not paste your HPC password into chat; follow the skill's advice to upload a one-time text file if needed (and verify it is deleted). 3) Verify the API endpoint (https://api.hpc.sjtu.edu.cn) and repository ownership yourself if unsure. 4) If you stop using the skill, revoke the token/certificates via the HPC account. 5) If you need higher assurance, review the three included scripts yourself to confirm no other network endpoints or telemetry are used (they currently only contact the SJTU API).
功能分析
Type: OpenClaw Skill Name: sjtu-slurm-skill Version: 0.2.3 The skill is a legitimate tool for managing SJTU HPC (交我算) resources, including job submission and account management. It interacts exclusively with the official SJTU API (api.hpc.sjtu.edu.cn) to handle tokens and SSH certificates. The scripts (req_token.py, req_certificate.py) follow security best practices by setting restricted file permissions (0600) on sensitive files and providing a mechanism to delete temporary password files to prevent leaks.
能力标签
cryptorequires-walletrequires-oauth-tokenrequires-sensitive-credentials
能力评估
Purpose & Capability
The name/description claim to log into SJTU HPC, manage jobs, and perform data operations; the included scripts request/refresh tokens, generate SSH keys/certificates, and call https://api.hpc.sjtu.edu.cn — these are exactly the operations needed for the stated purpose.
Instruction Scope
SKILL.md and the scripts operate only on the agent workspace credentials directory and the SJTU HPC API. A notable point: the skill instructs the agent to ask the user for their HPC username/password (and suggests uploading a text file as a safer alternative) — handling passwords is sensitive but necessary for this flow. The instructions explicitly caution against sending plaintext passwords in chat and advise local storage in the workspace; that scope is appropriate but requires the user to follow the guidance (do not paste passwords into chat, keep workspace private).
Install Mechanism
There is no automated install step. This is an instruction-only skill with three small Python helper scripts included. No remote downloads, package installs, or archive extraction are performed by an install spec.
Credentials
The skill requests no environment variables or unrelated credentials. It legitimately requires the user's HPC username/password (to obtain a token) and then stores a token and SSH key/certificate in the workspace; those are proportional to the described functionality.
Persistence & Privilege
The skill does not request always: true, does not modify other skills, and only writes credentials to its own workspace/credentials path. Autonomous invocation is allowed (platform default) but not combined with unusual privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install sjtu-slurm-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /sjtu-slurm-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.2.3
sjtu-slurm-skill 0.2.3 - Updated documentation in README.md for improved clarity and instructions. - No changes to code or functionality; documentation only.
v0.2.2
- Skill renamed from "sjtu-hpc" to "sjtu-slurm-skill" for better clarity and alignment with project naming. - Updated all instances of the skill name and relevant titles to match the new name. - No changes to functionality or behavior; usage instructions and operational logic remain the same.
v0.2.1
- Improved documentation and added detailed curl examples for relevant HPC APIs. - Expanded instructions for using the PATCH /user API, clarifying updatable fields and two-factor authentication requirements. - Clarified that GET /quota does not require authorization and provided explicit usage guidance. - Minor corrections and refinements to Quick Start and instruction sections for clarity. - No changes to code or interface; documentation only.
v0.2.0
sjtu-slurm-skill v0.2.0 - Improved password handling: Updated token request instructions to avoid storing or echoing plain text passwords in messages; added explicit instructions for handling uploaded password files. - Added steps to provide SSH private key and certificate to users on request, with security reminders. - Clarified correct usage and required parameters for the /quota API call based on home directory and account extraction. - Updated documentation to reinforce security best practices for credentials and user-provided files. - Minor updates to API path documentation and entry node selection guidance.
v0.1.4
sjtu-slurm-skill v0.1.4 - Changed the skill icon emoji in the skill's metadata from ♊️ to 🦞. - No other content edits were made to the user-facing documentation.
v0.1.3
sjtu-slurm-skills 0.1.3 - Added metadata section and homepage link to SKILL.md for improved discoverability. - Updated SKILL.md instructions to clarify password handling—now instructs to delete any user-uploaded password files after retrieving the token, and never mention passwords in chat. - Minor wording and structure improvements in SKILL.md for better clarity. - No user-facing changes to scripts/refresh_token.py.
v0.1.2
## sjtu-slurm-skills 0.1.2 Changelog - Updated documentation in README.md; no functional changes to code or features. - Improved clarity and instructions for using the sjtu-hpc skill.
v0.1.1
sjtu-slurm-skills v0.1.1 - Added version field ("version: 0.1.1") to SKILL.md metadata. - No functional or behavior changes; documentation and overview remain the same.
v0.1.0
sjtu-hpc v0.1.0 - Initial release - Enables users to perform job queries, submissions, cancellations, and data management on the SJTU HPC platform (交我算). - Handles credentials securely: stores API tokens, SSH keys, and certificates in a dedicated credentials directory; guides user to avoid password leaks. - Includes guided flows for obtaining and refreshing HPC API tokens and SSH certificates, with attention to two-factor authentication. - Provides clear rules for entry node selection based on user request, node group, and operation type. - Supports HPC API calls for quota and account management, with API usage restricted to documented endpoints. - Implements risk-aware measures for data deletion and job interruption, always confirming with the user before any risky actions.
元数据
Slug sjtu-slurm-skill
版本 0.2.3
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 9
常见问题

SJTU SLURM Skill 是什么?

Log in to the SJTU HPC platform (also known as "交我算") as the user to perform job queries, submissions, cancellations, and data management. Use this skill whe... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 219 次。

如何安装 SJTU SLURM Skill?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install sjtu-slurm-skill」即可一键安装,无需额外配置。

SJTU SLURM Skill 是免费的吗?

是的,SJTU SLURM Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

SJTU SLURM Skill 支持哪些平台?

SJTU SLURM Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 SJTU SLURM Skill?

由 hermes(@taleintervenor)开发并维护,当前版本 v0.2.3。

💬 留言讨论