TopRank Skills

Home / Claw Skills / Autres / luban-cli
Official OpenClaw rules 15%

luban-cli

Development and management of the Luban CLI for MLOps. Use this skill when building or using the Luban CLI to manage experiment environments, training tasks, and online services.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 luban-cli 技能。 若已安装,则直接安装 luban-cli 技能。

Overview

Skill Key
guunergooner/luban-cli
Author
guunergooner
Source Repo
openclaw/skills
Version
-
Source Path
skills/guunergooner/luban-cli
Latest Commit SHA
ffb0017b3ce63e709639f4802d2018b432ce8956

Extracted Content

SKILL.md excerpt

# Luban CLI Skill

This skill provides a structured framework for developing and using the **Luban CLI**, a specialized tool for MLOps management.

## Core Functionality

The Luban CLI focuses on three primary MLOps pillars:
1. **Experiment Environments (`env`)**: Management of development workspaces.
2. **Training Tasks (`job`)**: Orchestration of model training workloads.
3. **Online Services (`svc`)**: Deployment and scaling of inference services.

## Development Workflow

When developing or extending the Luban CLI, follow these steps:

1. **Initialize Project**: Use the boilerplate in `templates/cli_boilerplate.py` as a starting point for the CLI structure.
2. **Define Commands**: Refer to `references/mlops_guide.md` for the standard command patterns and required attributes for each entity.
3. **Implement CRUD**: Ensure every entity (`env`, `job`, `svc`) supports the full lifecycle:
   - **Create**: Provisioning new resources.
   - **Read**: Listing and describing existing resources.
   - **Update**: Modifying configurations or scaling.
   - **Delete**: Cleaning up resources.

## Usage Patterns

### Managing Environments
```bash
luban env list
luban env create --name research-v1 --image pytorch:2.0
```

### Managing Training Jobs
```bash
luban job create --script train.py --gpu 1
luban job status --id job_001
```

### Managing Online Services
```bash
luban svc create --model-path ./models/v1 --replicas 3
luban svc scale --id my-service --replicas 5
```

## Resources
- `templates/cli_boilerplate.py`: A Python-based CLI structure using `argparse`.
- `references/mlops_guide.md`: Detailed specifications for MLOps entities and operations.

Related Claw Skills