huawei-cloud-optv-solver-assistant
БесплатноЗапускает вложенные скриптыНе проверен1. 通过OptVerse决策引擎完成数学规划问题的需求分析、建模、数据校验、求解和资产发布全流程; 2. 适用于运筹优化场景(如设施选址、路径规划、生产排程等),用户提供需求分析文件和数据文件,通过多轮对话与决策引擎交互完成求解; 3…
от huaweicloudskill636 установок в других каталогахОб этом скилле
1. Overview
This skill guides an AI agent through the OptVerse (天筹) decision engine workflow to solve mathematical programming problems. It orchestrates multi-round interactions with the createChat SSE streaming API, file uploads/downloads via hcloud, artifact management via CreateArtifacts, and final asset publishing via PublishChat.
1.1 Architecture
User Agent OptVerse Service
| | |
| Requirement file | |
|----------------------->| |
| | UploadFile (hcloud) |
| |--------------------------->|
| | chat_id |
| |<---------------------------|
| | |
| | createChat Round 1 (SSE) |
| | domain_type + filenames |
| |--------------------------->|
| | type=file artifacts |
| |<---------------------------|
| | DownloadFile artifacts |
| |<---------------------------|
| Confirm artifacts | |
|<----------------------->| |
| | CreateArtifacts |
| | createChat "确认" (SSE) |
| | agent_role=Common |
| |--------------------------->|
| | ... repeat per stage ... |
| | |
| | UploadFile (xlsx data) |
| | createChat "数据检查" |
| |--------------------------->|
| | |
| | CreateArtifacts(solver) |
| | CreateArtifacts(report) |
| | PublishChat |
| |--------------------------->|
| | published asset ID |
| |<---------------------------|
1.2 Typical User Phrases
- "帮我用OptVerse求解一个设施选址问题"
- "我有一个需求分析文件,帮我建模求解"
- "上传需求分析,跑一下决策引擎"
- "OptVerse建模并发布资产"
- "天筹工具链求解助手"
2. Prerequisites
2.1 KooCLI Version
# Verify KooCLI is installed (>= 7.2.2)
hcloud version
If KooCLI is not installed, see references/cli-installation-guide.md.
2.2 IAM Authentication (Credentials File, In-Memory Token Only)
⚠️ CRITICAL SECURITY RULE — READ BEFORE PROCEEDING
The agent MUST NEVER use
Read,Bash(cat,Get-Content,type), or any other tool to open, display, inspect, or clear the credentials file (~/.config/optverse/credentials). Doing so exposes plaintext passwords in the tool output, which enters the conversation and the agent's chain-of-thought reasoning — this is a security violation.Creating the empty template is SAFE: if the credentials file does not exist, the agent creates it directly with only the three keys (
iam_user=/iam_domain=/iam_password=, empty values) — no sensitive data is involved. Do NOT write any actual credential values into the file; the user fills them in manually.The scripts handle reading and clearing values in-process: read values, then clear unconditionally. The agent only needs to run the script — never read the file.
To check if credentials are filled, use the safe check command (outputs only
FILLEDorEMPTY, never values):python scripts/create_chat.py --check-credentials
The createChat SSE endpoint requires an IAM X-Auth-Token. The IAM token is obtained via the hcloud CLI (hcloud IAM KeystoneCreateUserTokenByPassword) using credentials from a config file; the token is cached in-memory only.
Credentials File
Path: ~/.config/optverse/credentials (i.e., C:\Users\<user>\.config\optverse\credentials on Windows)
Format (empty template — agent creates it directly if missing):
iam_user=<username>
iam_domain=<domain>
iam_password=<password>
Security flow:
- If the credentials file does not exist, the agent creates the empty template directly (keys only, empty values) — do NOT write real credential values; the user fills them in manually. No need to run any script to generate the template
- Every run, the script (
scripts/create_chat.py) reads the values in-process and ALWAYS clears them immediately after reading — on every code path, including when a cached token is returned — so plaintext never persists on disk - Credentials are used to obtain an IAM token via
hcloud IAM KeystoneCreateUserTokenByPassword(script passes the body with--cli-jsonInputso no password appears in the comman
Установить huawei-cloud-optv-solver-assistant в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл huawei-cloud-optv-solver-assistant?
1. 通过OptVerse决策引擎完成数学规划问题的需求分析、建模、数据校验、求解和资产发布全流程; 2. 适用于运筹优化场景(如设施选址、路径规划、生产排程等),用户提供需求分析文件和数据文件,通过多轮对话与决策引擎交互完成求解; 3. 触发词:OptVerse求解助手、决策引擎、数学规划建模、运筹优化求解、需求分析建模、天筹工具链、设施选址优化、模型发布
Как установить скилл huawei-cloud-optv-solver-assistant?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл huawei-cloud-optv-solver-assistant запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic