Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

huawei-cloud-optv-evolve-management

БесплатноЗапускает вложенные скриптыНе проверен

Huawei Cloud algorithm auto-design (LLM4AD) skill. Performs the full lifecycle through KooCLI (command-line entry `hcloud`): algorithm project management…

huaweicloudskillот huaweicloudskill552 установки в других каталогах

Об этом скилле

⚠️ Execution Method (Must Read): All scripts must be executed via skill action=exec; do not run them directly in the shell.

  • All OptVerse calls in this skill MUST go through KooCLI (command-line entry hcloud). Direct calls to the OptVerse OpenAPI via requests or any other HTTP library are forbidden.
  • Files in scripts/ are skill-shipped helper tools (zip_helper.py / cache.py); all of them are pure-local tools that do not invoke KooCLI subprocesses.
  • The Agent itself MUST NOT create one-off temporary .py script files; for Python JSON processing, prefer python -c "..." inline execution. Do NOT create temporary script files (.py / .sh etc.); temporary artefacts (zip packages, JSON caches, scan results) go under .stats/ or OPTV_CACHE_DIR in a fixed location, and must be cleaned up after use. ⚠️ Security Rule (Must Read): Never expose AK / SK in conversation, scripts, or output. Only verify credential presence via hcloud configure list.

Algorithm Auto-Design Skill (English)

Overview

End-to-end code evolution on the Huawei Cloud Scientific Computing Zone — Algorithm Design Module:

  • Upload algorithm code, evaluator and baseline into an algorithm design project
  • Create and start an evolve task, monitor progress, fetch results and logs

When result upload to OBS bucket is required (optional path, skip for default scenario):

  • Create / maintain an IAM Agency as the cross-service trust anchor
  • Grant bucket (OBS) permissions to the algorithm design module

Supported languages:

Language Algorithm evaluator baseline
Python source file + function name source file (e.g. evaluator.py) with def evaluate(): source file (e.g. baseline.py) with def baseline():
C++ source file + function name (evolved function) compiled executable command (e.g. build/evaluate <args>) compiled executable command (may equal evaluator)

C++ projects use CreateAlgorithm --build_command to compile the uploaded .cpp files into executables. The evaluator_file / evaluator_baseline fields are left blank for C++; only the command name is provided.

Directory Layout

skills/ai/optverse/huawei-cloud-optv-evolve-management/
├── SKILL.md                # This file (English)
├── references/              # Topic-split documentation
│   ├── readme.md
│   ├── api-mapping.md
│   ├── prerequisites.md
│   ├── parameter-format.md
│   ├── iam-policies.md
│   ├── iam-agency.md
│   ├── agency-policy.md
│   ├── language-python.md
│   ├── language-cpp.md
│   ├── algorithm-workflow.md
│   ├── evolve-task-workflow.md
│   ├── result-logs-status.md
│   ├── troubleshooting.md
│   ├── verification-method.md
│   ├── cli-installation-guide.md
│   └── plan-maintenance.md
├── scripts/                 # Local tools (no hcloud calls)
│   ├── readme.md
│   ├── precheck.sh
│   ├── precheck.ps1
│   ├── cache.py
│   ├── build_task_url.py
│   └── zip_helper.py
├── templates/               # evaluator / baseline / algorithm source code skeletons
│   ├── readme.md
│   ├── python/
│   │   ├── evaluator.py
│   │   ├── baseline.py
│   │   └── algorithm.py
│   └── cpp/
│       ├── evaluator.cpp
│       └── baseline.cpp
└── .stats/                  # Locally maintained caches (algorithm_id, task_id)
    ├── algorithm_id.csv
    └── task_id.csv

references, scripts, templates (three sub-dirs by role): references describe; scripts execute local-only helpers (excl. scripts/readme.md); templates supply uploadable source.


1. Prerequisites

Required first step: before any hcloud OptVerse ... or hcloud IAM ... call, dispatch scripts/precheck.sh (Linux / Git Bash / WSL) or scripts/precheck.ps1 (Windows PowerShell) via skill action=exec. The precheck covers: ① KooCLI install ② AK/SK configure ③ region config ④ OptVerse API connectivity.

1.0 One-shot environment check (required first step)

⚠️ Windows shell choice: use powershell (system-installed Windows PowerShell 5.1; this skill has verified PS 5.1 + precheck.ps1 passing 5/5 checks). Avoid bash on Windows by default: where bash may resolve to C:\Users\<user>\AppData\Local\Microsoft\WindowsApps\bash.exe (a WSL launcher stub that hangs on "install WSL" when WSL is absent); WSL bash is NOT verified by this skill.

Before starting a task, must dispatch the precheck script via skill action=exec once (covers 5 checks in one go):

# Windows PowerShell (via skill action=exec; preferred)
powershell scripts/precheck.ps1

# Git Bash / MSYS2 bash (via skill action=exec; last resort — WSL bash not verified)
bash scripts/precheck.sh

Output: ✅ / ⚠️ summary (default summary mode; set CHECK_OUTPUT_MODE=detail for per-check details)

Exit code: 0 = all pass, 1 = one or more FAIL

What it covers (mapping to §1 sub-sections):

precheck item Maps to
hcloud command (in PATH) §1.1 KooCLI
Полный SKILL.md на ClawHub

Установить huawei-cloud-optv-evolve-management в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл huawei-cloud-optv-evolve-management?

Huawei Cloud algorithm auto-design (LLM4AD) skill. Performs the full lifecycle through KooCLI (command-line entry `hcloud`): algorithm project management, file upload, evolve task CRUD, status polling, result retrieval, and log inspection; also uses KooCLI's `hcloud IAM` subcommand to create the trust agency and grant algorithm design module bucket permissions. Trigger words: code evolution, evolve task, LLM4AD, algorithm optimization, upload algorithm file, create evolve task, start evolve task, fetch evolve result, evolve log, 代码演化, 演化任务, LLM4AD, code evolution, 算法优化, 上传算法文件, 创建演化任务, 启动演化任务, 拉取演化结果, 演化日志

Как установить скилл huawei-cloud-optv-evolve-management?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл huawei-cloud-optv-evolve-management запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить huawei-cloud-optv-evolve-management с