/install job-status
Job Status Query Skill
🎯 Function Overview
This skill queries HPC/AI computing job status information. It accesses the API with the provided jobId, retrieves detailed job information, and extracts the key status field.
🔧 Technical Implementation
- API Endpoint:
http://www.aicnic.cn/jobs/api/jobs/infos/hpcai28/{jobId} - Response Format: JSON
- Key Field:
data.jobState - Error Handling: Network timeout, API errors, JSON parsing errors
📋 Quick Start
Method 1: Natural Language Call
User: Query job status, jobId is 15000
Assistant: Querying job 15000 status...
Method 2: Parameterized Call
{
"jobId": "15000"
}
🚀 Usage Scenarios
Scenario 1: Query Single Job Status
{
"jobId": "15000"
}
Scenario 2: Batch Job Status Query
User: Query status for jobs 15000, 15001, 15002
Scenario 3: Monitor Job Completion
User: Check if job 15000 is completed
🔍 Return Status Description
Common jobState values:
- PENDING: Job is queued
- RUNNING: Job is running
- COMPLETED: Job completed successfully
- FAILED: Job execution failed
- CANCELLED: Job was cancelled
- TIMEOUT: Job timed out
⚠️ Notes
- jobId Format: Must be a valid job ID
- Network Connectivity: Must be able to access
www.aicnic.cn - API Limits: Be aware of API rate limits
- Error Handling: Network errors or invalid jobId will return appropriate error messages
📊 Example Responses
Successful response:
{
"success": true,
"jobId": "15000",
"status": "COMPLETED",
"details": {
"jobState": "COMPLETED",
"endTime": "2024-12-09T09:30:10",
"id": 20452
},
"message": "Job query successful",
"timestamp": "2026-03-19T06:30:00Z"
}
Error response:
{
"success": false,
"jobId": "99999",
"error": "Job not found or access failed",
"message": "API returned error or network connection failed",
"timestamp": "2026-03-19T06:30:30Z"
}
🔗 Related Skills
- System Monitoring: Can be combined with system monitoring skills
- Notification Alerts: Can trigger notifications on job status changes
- Log Recording: Record job status history
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install job-status - 安装完成后,直接呼叫该 Skill 的名称或使用
/job-status触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
job-status 是什么?
HPC/AI job status query skill. Fetches job status information by jobId from a specific API endpoint and parses the jobState field from the JSON response. **U... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 154 次。
如何安装 job-status?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install job-status」即可一键安装,无需额外配置。
job-status 是免费的吗?
是的,job-status 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
job-status 支持哪些平台?
job-status 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 job-status?
由 bylikai(@bylikai)开发并维护,当前版本 v1.0.1。