← Back to Skills Marketplace
bylikai

job-status

by bylikai · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
154
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install job-status
Description
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...
README (SKILL.md)

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

  1. jobId Format: Must be a valid job ID
  2. Network Connectivity: Must be able to access www.aicnic.cn
  3. API Limits: Be aware of API rate limits
  4. 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
Usage Guidance
This skill appears internally consistent and implements exactly what it claims: querying a specific HTTP API for job status. Before installing, verify you trust the API host (www.aicnic.cn) because the scripts will make network requests to that domain. The installer copies files into ~/.openclaw/skills/job-status and may prompt to install the Python requests package via pip — run the installer interactively or inspect/install files in a sandbox if you prefer. If you need stricter controls, run the Python/Bash scripts manually or review/modify config.yaml (base_url, timeout) before use. If you have any doubt about the external endpoint, don’t grant network access or run the scripts until you confirm the API is trusted.
Capability Analysis
Type: OpenClaw Skill Name: job-status Version: 1.0.1 The 'job-status' skill is a legitimate utility designed to query HPC/AI computing job statuses from a specific API endpoint (aicnic.cn). The bundle includes well-structured Python and Bash scripts, comprehensive unit tests in 'test/test_skill.py', and detailed documentation. No indicators of malicious intent, data exfiltration, or prompt injection were found; the installation script 'install.sh' performs standard dependency checks and file setup without suspicious side effects.
Capability Assessment
Purpose & Capability
Name/description (job-status) align with the code and docs: Python/Bash scripts, config, and tool metadata all target the same API endpoint (http://www.aicnic.cn/jobs/api/jobs/infos/hpcai28/{jobId}) and only extract data.jobState and related fields.
Instruction Scope
SKILL.md and tool definition limit behavior to querying the stated API and handling JSON responses. The runtime instructions and scripts do not attempt to read arbitrary system files or unrelated credentials; they only reference standard paths (HOME, logs) and network access to the stated domain.
Install Mechanism
There is no external registry install spec; an included install.sh copies the skill into $HOME/.openclaw/skills/job-status, sets permissions, runs unit tests, and optionally prompts to pip-install the requests package. This is expected for a local skill installer, but it will modify files under the user's home and may call pip if the user agrees.
Credentials
The skill declares no required environment variables or credentials and the code does not read secret env vars. README mentions optional environment variables (JOB_STATUS_TIMEOUT, etc.) for convenience, but these are not required and do not introduce new privileges.
Persistence & Privilege
always:false (default) and the installer only writes to a skill-specific directory under the user's home. The skill does not modify other skills or global system configuration beyond copying its own files.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install job-status
  3. After installation, invoke the skill by name or use /job-status
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- Removed the sample usage file: examples/openclaw_usage.md - Documentation updated: SKILL.md rewritten in English for broader accessibility; content remains functionally unchanged. - No functional or interface changes to the skill itself.
v1.0.0
- Initial release of the "job-status" skill for querying HPC/AI job statuses via jobId. - Supports retrieving job state (e.g., RUNNING, COMPLETED, FAILED) through a designated API. - Handles errors including network issues, API errors, and invalid job IDs. - Enables monitoring and progress tracking for computational tasks. - Returns structured JSON responses with clear job status information.
Metadata
Slug job-status
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 154 downloads so far.

How do I install job-status?

Run "/install job-status" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is job-status free?

Yes, job-status is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does job-status support?

job-status is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created job-status?

It is built and maintained by bylikai (@bylikai); the current version is v1.0.1.

💬 Comments