Logo Huawei Cloud Flexus L Server Scripts Excute

Huawei Cloud Flexus L Server Scripts Excute

Tổ chức
huaweicloud
huawei-cloud-flexus-l-server-scripts-excute

Based on Huawei Cloud COC (Cloud Operations Center) APIs for script management and remote execution. Supports creating custom scripts (Shell, Python, Bat) and batch execution on target host instances via UniAgent. Applicable to cloud operations automation and batch script deployment scenarios. Trigger keywords: L-instance, COC script, script management, script execution, cloud operations, custom script, batch execution; COC, script management, script execution, cloud operations (中文触发词:L实例执行脚本).

Tổng quan

Nhà phát hànhhuaweicloud
Kho mãhuaweicloud-skills
Tên kỹ nănghuawei-cloud-flexus-l-server-scripts-excute
Sao
59
Bản fork
24
Tệp đi kèm
7
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 7 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được huaweicloud công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Huawei Cloud Flexus L Server Scripts Excute trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/huaweicloud/huaweicloud-skills/tree/master/skills/computing/flexus-l/huawei-cloud-flexus-l-server-scripts-excute
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/huaweicloud/huaweicloud-skills.git /tmp/huaweicloud-skills
mkdir -p .claude/skills
cp -r /tmp/huaweicloud-skills/skills/computing/flexus-l/huawei-cloud-flexus-l-server-scripts-excute .claude/skills/huawei-cloud-flexus-l-server-scripts-excute
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Huawei Cloud Flexus L Server Scripts Excute trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Huawei Cloud Flexus L Server Scripts Excute ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Huawei Cloud Flexus L Server Scripts Excute với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

⚠️ Security Execution Rules (Highest Priority):

  1. All scripts MUST be executed via skill action=exec, NEVER run directly in shell
  2. NEVER print script contents or commands containing AK/SK/Token in conversation
  3. NEVER create temporary script files, prefer inline execution (python -c)
  4. On execution failure, only return error info, do NOT rewrite scripts or print full commands
  5. AK/SK/Token MUST be passed via environment variables, NEVER appear in conversation
  6. ABSOLUTELY NEVER expose, log, or print AK/SK/Token values in any form - this is a critical security requirement
  7. Credentials are resolved in priority order: environment variables (HW_ACCESS_KEY, HW_SECRET_KEY, HW_SECURITY_TOKEN, HW_REGION) -> command-line args -> interactive prompt. Prefer environment variables; do NOT pass AK/SK as command-line arguments.

Huawei Cloud Flexus L Instance COC Skill

Overview

Architecture Diagram

This skill is built on Huawei Cloud COC (Cloud Operations Center) service, involving the following cloud services and components:

User/Agent    │──────▶│   COC API   │──────▶│   UniAgent    │──────▶│  Flexus L Instance│
(Skill caller)       (Cloud Ops Center)       (Proxy program)              (Target Host) 

Component Description:

  • User/Agent: Skill caller that triggers script management operations via natural language or API
  • COC API: Huawei Cloud COC (Cloud Operations Center) provides core capabilities including script management, execution scheduling, and status query
  • UniAgent: Agent program deployed on target hosts, responsible for receiving scripts and executing them locally
  • Flexus L Instance: Huawei Cloud Elastic Cloud Server, serving as the target host for script execution

Applicable Scenarios

  • Batch Operations: Execute the same script on multiple Flexus L instances (e.g., software installation, configuration updates)
  • Automated Operations: Periodically execute inspection scripts, log collection, health checks
  • Emergency Response: Quickly deploy emergency scripts to handle security incidents or system failures
  • Application Deployment: Batch deploy applications and update configuration files
  • Data Processing: Execute data processing tasks in parallel across multiple instances

Typical Use Cases

  1. "Create a Shell script to clean server logs"
  2. "Execute backup script on all L instances"
  3. "List my recently created scripts"
  4. "Execute Python script on specified L instance"
  5. "Create a script to batch install Nginx"

Trigger Keywords

Routing Keywords: COC script, script management, script execution, cloud operations, custom script, batch execution; COC, script management, script execution, cloud operations.

Important Notes

All scripts and environment check scripts are inside the skill package. You must use skill action=exec to execute them; do not run them directly in the shell.

Prerequisites

CLI Version Requirements and Verification Commands

COC SDK Version Requirement: huaweicloudsdkcoc >= 3.1.0

Verification Commands:

bash
# Check current SDK version
python -c "import huaweicloudsdkcoc; print(huaweicloudsdkcoc.__version__)"

# Verify COC client availability
python -c "from huaweicloudsdkcoc.v1 import CocClient; print('COC SDK version verification passed')"

Authentication Configuration and Security Rules

Supported Authentication Methods:

  1. Credential Acquisition Methods:

    This skill supports obtaining Huawei Cloud credentials through the following methods (in order of priority from high to low):

    1. Environment Variables (highest priority)
      • HW_ACCESS_KEY: Huawei Cloud Access Key AK
      • HW_SECRET_KEY: Huawei Cloud Access Key SK
      • HW_SECURITY_TOKEN: Security token for temporary credentials
    2. Command Line Parameters (used when environment variables are not provided)
      • --ak: Huawei Cloud Access Key AK
      • --sk: Huawei Cloud Access Key SK
      • --security-token: Security token for temporary credentials (required when using temporary AK/SK)
    3. Interactive Input (when neither of the above methods are provided)
    • The program will prompt the user to input credential information such as AK/SK
bash
# Execute script directly (will automatically use environment variables)
python {baseDir}/scripts/caller.py create --name "test_script" --type SHELL --content "echo hello" --description "Test script"
  1. Environment Variables (recommended):
bash
export HW_ACCESS_KEY="your_access_key"
export HW_SECRET_KEY="***"
# Optional for temporary credentials:
export HW_SECURITY_TOKEN="your_security_token"
export HW_REGION="cn-north-4"

# Run without --ak/--sk; credentials are read from environment variables
python {baseDir}/scripts/caller.py create --name "test_script" --type SHELL --content "echo hello" --description "Test script"

⚠️ Security note: Passing AK/SK via --ak "..." --sk "..." on the command line exposes the credentials in the process list (e.g. ps aux). Only do this in a trusted, single-user environment; prefer environment variables or hcloud configure.

  1. Interactive Input (Testing):
bash
python {baseDir}/scripts/caller.py create
# Will prompt for AK/SK/region

Authentication Parameter Description:

ParameterDescriptionRequiredDefaultExample
--akHuawei Cloud Access Key AK (can be temporary AK)Yes*Prompted--ak AXXX...
--skHuawei Cloud Access Key SK (can be temporary SK)Yes*Prompted--sk SXXX...
--security-tokenSecurity token for temporary credentials (required when using temporary AK/SK)NoPrompted--security-token XXXX...
--regionCOC Service RegionNocn-north-4--region cn-north-4

Note: Parameters marked with * can be provided via environment variables (HW_ACCESS_KEY, HW_SECRET_KEY, HW_SECURITY_TOKEN, HW_REGION). If environment variables are set, they take priority over command line parameters.

Authentication Priority:

  1. First check environment variables: HW_ACCESS_KEY, HW_SECRET_KEY, HW_SECURITY_TOKEN, HW_REGION
  2. If all required environment variables are set, use them directly
  3. If environment variables are not set, use command line parameters
  4. If neither is provided, prompt for interactive input

Security Rules:

  • No Hardcoded Credentials: Never embed AK/SK directly in code or configuration files
  • Principle of Least Privilege: Grant only the minimum permissions required
  • Regular Key Rotation: Rotate AK/SK every 90 days
  • Enable Key Rotation Alerts: Set up expiration reminders in Huawei Cloud Console

IAM Permissions List

This skill requires the following IAM permissions. For detailed information, refer to IAM Policies Documentation:

Permission CategoryPermission NameDescription
Script Managementcoc:script:createCreate script
Script Managementcoc:script:listList scripts
Script Managementcoc:script:getGet script details
Script Managementcoc:script:updateUpdate script
Script Managementcoc:script:deleteDelete script
Execution Managementcoc:execution:createCreate execution task
Execution Managementcoc:execution:listList execution tasks
Execution Managementcoc:execution:getGet execution details
Instance Managementcoc:instance:listList target instances

Permission Failure Handling Flow

Insufficient Permission Error Handling:

  1. Error Identification:
bash
# Typical error message
error: AccessDenied
message: You do not have permission to perform this action.
  1. Troubleshooting Steps:

    • Verify AK/SK configuration
    • Confirm user has required COC permissions
    • Validate region configuration
    • Check if IAM policy is active
  2. Resolution:

    • Contact administrator for required permissions
    • Confirm IAM policy is properly attached to user/role
    • Wait for policy to take effect (typically 5-10 minutes)
  3. Verification:

bash
# Re-execute to verify permissions
python {baseDir}/scripts/caller.py list

Core Commands

Script Management Commands

Create Script:

bash
# Set credentials via environment variables (recommended)
export HW_ACCESS_KEY="your_ak"
export HW_SECRET_KEY="your_sk"
# Optional for temporary credentials:
export HW_SECURITY_TOKEN="your_security_token"
export HW_REGION="cn-north-4"

# Run without --ak/--sk; credentials are read from environment variables
python {baseDir}/scripts/caller.py create --name "backup_script" --type SHELL --content "echo 'Backup completed'" --description "Data backup script"

View Script Details:

bash
export HW_ACCESS_KEY="your_ak"
export HW_SECRET_KEY="your_sk"
# Optional for temporary credentials:
export HW_SECURITY_TOKEN="your_security_token"

python {baseDir}/scripts/caller.py show --script-uuid "SC202xxxxxxxx13701c4a8a62"

List Scripts:

bash
export HW_ACCESS_KEY="your_ak"
export HW_SECRET_KEY="your_sk"
# Optional for temporary credentials:
export HW_SECURITY_TOKEN="your_security_token"

python {baseDir}/scripts/caller.py list --page 1 --size 10

Delete Script:

bash
export HW_ACCESS_KEY="your_ak"
export HW_SECRET_KEY="your_sk"
# Optional for temporary credentials:
export HW_SECURITY_TOKEN="your_security_token"

python {baseDir}/scripts/caller.py delete --script-uuid "SC202xxxxxxxx13701c4a8a62"

Script Execution Commands

Execute Script:

bash
export HW_ACCESS_KEY="your_ak"
export HW_SECRET_KEY="your_sk"
# Optional for temporary credentials:
export HW_SECURITY_TOKEN="your_security_token"

python {baseDir}/scripts/caller.py execute --script-uuid "SC202xxxxxxxx13701c4a8a62" --execute-user root --timeout 300

Interactive Execution: python {baseDir}/scripts/caller.py execute (credentials are read from environment variables)

Query Execution Result:

bash
export HW_ACCESS_KEY="your_ak"
export HW_SECRET_KEY="your_sk"
# Optional for temporary credentials:
export HW_SECURITY_TOKEN="your_security_token"

python {baseDir}/scripts/caller.py query --execute-uuid "SCT202xxxxxxxx01af694bf"

Parameter Reference

Global Parameters (All Commands)

ParameterDescriptionRequiredDefaultExample
--akHuawei Cloud Access Key AK (can be temporary AK)Yes*Prompted--ak AXXX...
--skHuawei Cloud Access Key SK (can be temporary SK)Yes*Prompted--sk SXXX...
--security-tokenSecurity token for temporary credentials (required when using temporary AK/SK)NoPrompted--security-token XXXX...
--regionCOC Service RegionNocn-north-4--region cn-north-4

Note: Parameters marked with * can be provided via environment variables:

  • HW_ACCESS_KEY - Huawei Cloud Access Key
  • HW_SECRET_KEY - Huawei Cloud Secret Key
  • HW_SECURITY_TOKEN - Temporary security token (optional)
  • HW_REGION - COC Service Region

If environment variables are set, they take priority over command line parameters.

create Command Parameters

ParameterDescriptionRequiredDefault
--nameScript nameYes-
--typeScript type (SHELL/PYTHON/BAT)Yes-
--contentScript contentYes-
--descriptionScript descriptionYes-
--risk-levelRisk level (LOW/MEDIUM/HIGH)NoLOW
--versionScript versionNo1.0.0

execute Command Parameters

ParameterDescriptionRequiredDefault
--script-uuidScript UUIDNoMost recent script
--execute-userExecute userNoroot
--timeoutTimeout in seconds (5-1800)No300
--success-rateSuccess rate (0.01-100)No1
--rotation-strategyRotation strategy (CONTINUE/PAUSE)NoCONTINUE

show Command Parameters

ParameterDescriptionRequiredDefault
--script-uuidScript UUIDYes-

list Command Parameters

ParameterDescriptionRequiredDefault
--pagePage numberNo1
--sizePage sizeNo10

delete Command Parameters

ParameterDescriptionRequiredDefault
--script-uuidScript UUIDYes-

query Command Parameters

ParameterDescriptionRequiredDefault
--execute-uuidExecution task UUIDYes-

SDK Installation

Before creating or executing scripts for the first time, ensure the Huawei Cloud COC SDK dependencies are installed. Run from the skill directory (skills/coc):

bash
pip install -r {baseDir}/requirements.txt

Installation Notes:

  • Installation may take a few minutes, please be patient
  • After successful installation, you can call the Python code in the scripts directory for script creation and execution
  • Use the following mirrors to install the SDK (second pip mirror, preferred):
    bash
    pip install -r {baseDir}/requirements.txt -i https://pypi.org/project/huaweicloudsdkcoc/
    or
    bash
    pip install -r {baseDir}/requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/

Installation Verification:

bash
python -c "from huaweicloudsdkcoc.v1 import CocClient; print('SDK installed successfully!')"

Workflow

Basic Workflow

  1. Create a script (using environment variables):
bash
# Set environment variables first
export HW_ACCESS_KEY="your_ak"
export HW_SECRET_KEY="your_sk"
export HW_SECURITY_TOKEN="your_token"  # Optional

# Execute command (will automatically use environment variables)
python {baseDir}/scripts/caller.py create --name "test_script" --type SHELL --content "echo hello" --description "Test script"
  1. Execute a script:
bash
export HW_ACCESS_KEY="your_ak"
export HW_SECRET_KEY="your_sk"
export HW_SECURITY_TOKEN="your_token"  # Optional

python {baseDir}/scripts/caller.py execute --script-uuid "SC202xxxxxxxx13701c4a8a62" --execute-user root --timeout 300 --success-rate 100

⚠️ Never pass AK/SK via --ak "..." --sk "..." command line arguments; they become visible in the process list (e.g. ps aux). Always prefer environment variables or hcloud configure.

Tip: Refer to the "Parameter Reference" section for complete parameter documentation.

Interactive Mode

When executing scripts, the following information will be requested interactively (L-instance only):

Required Parameters:

  • L-instance resource ID (resource_id)
  • L-instance region (region_id)

Optional Parameters (press Enter to use default values):

  • Script UUID (default uses the most recently created script)
  • Execute user (default root)
  • Timeout (default 300 seconds)
  • Success rate (default 1)
  • Rotation strategy (default CONTINUE)

Output Format

List Scripts Output

Found 25 scripts (Page 1, 10 per page):
--------------------------------------------------------------------------------
No.    Script UUID                    Name                 Type        Risk Level
--------------------------------------------------------------------------------
1       SC202xxxxxxxx13701c4a8a62     backup_script        SHELL       LOW
2       SC202xxxxxxxx10302201d5b9e78     deploy_script        SHELL       HIGH
3       SC202xxxxxxxx13701c4a8a62     monitor_script       PYTHON      MEDIUM
--------------------------------------------------------------------------------

JSON Output Format

Create Script Success Response:

json
{
  "ok": true,
  "text": "Script created successfully: SC202xxxxxxxx13701c4a8a62",
  "result": {
    "data": "SC202xxxxxxxx13701c4a8a62"
  },
  "error": null
}

Execute Script Success Response:

json
{
  "ok": true,
  "text": "Script execution started: SCT202xxxxxxxx01af694bf",
  "result": {
    "data": "SCT202xxxxxxxx01af694bf"
  },
  "error": null
}

Query Execution Result Response:

json
{
  "data": {
    "batch_index": 1,
    "total_instances": 1,
    "execute_instances": [
      {
        "id": 40304358,
        "cmd_uuid": "2exxxxxxxxxxxxxx6b5",
        "job_sign": null,
        "target_instance": {
          "resource_id": "6axxxxxxxxxxxxxxx9e",
          "agent_sn": "e5xxxxxxxxxxxxxxxxxx77",
          "agent_status": null,
          "agent_version": "1.1.8",
          "region_id": "cn-north-4",
          "project_id": null,
          "properties": {
            "host_name": "dify-test-001",
            "fixed_ip": null,
            "floating_ip": null,
            "region_id": "cn-north-4",
            "zone_id": null,
            "application": null,
            "group": null,
            "project_id": null
          },
          "custom_attributes": null,
          "provider": "hcss",
          "type": "l-instance"
        },
        "gmt_created": 1779934038727,
        "gmt_finished": 1779934107670,
        "execute_costs": 68943,
        "status": "ABNORMAL",
        "message": "Reading package lists...\nWARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n\n\nBuilding dependency tree...\nReading state information...\nexpect is already the newest version (5.45.4-2build1).\n\n[SYSTEM INFO] script job execute timeout."
      }
    ]
  }
}

Status Description:

  • FINISHED - Execution successful
  • ABNORMAL - Execution failed
  • PROCESSING/READY - In progress

Validation Methods

1. SDK Installation Verification

bash
python -c "from huaweicloudsdkcoc.v1 import CocClient; print('SDK installed successfully!')"

2. Create Script Verification

bash
export HW_ACCESS_KEY="your_ak"
export HW_SECRET_KEY="your_sk"

python {baseDir}/scripts/caller.py create --name "test_script" --type SHELL --content "echo hello" --description "Test script" --non-interactive
# Expected output: Script UUID returned

3. Execute Script Verification

bash
export HW_ACCESS_KEY="your_ak"
export HW_SECRET_KEY="your_sk"

python {baseDir}/scripts/caller.py execute --script-uuid "SC202xxxxxxxx13701c4a8a62" --execute-user root --timeout 300 --non-interactive
# Expected output: Execution task ID returned

4. Smoke Test

bash
python {baseDir}/scripts/smoke_test.py
# This will test the configuration and optional API connectivity

Notes

General Notes

  • Script execution required parameters - Need to provide L-instance resource_id and region_id
  • Script UUID auto-retrieval - If not specified, will automatically use the most recently created script
  • Script type must match - SHELL/PYTHON/BAT
  • Risk level must be set correctly - LOW/MEDIUM/HIGH
  • Execution results need polling - Execute API returns task ID, need to query execution status separately

Best Practices

Script Management Best Practices

  1. Script Reusability: Create generic scripts with configurable parameters for maximum reusability
  2. Error Handling: Always include error handling and logging in your scripts
  3. Idempotency: Design scripts to be idempotent (can be safely run multiple times)
  4. Script Versioning: Maintain version control for important scripts
  5. Resource Tagging: Use consistent naming conventions and tags for scripts

Execution Best Practices

  1. Test First: Always test scripts on a single L-instance before batch execution
  2. Risk Assessment: Set appropriate risk levels for scripts (LOW/MEDIUM/HIGH)
  3. Scheduling: Use scheduled execution for periodic tasks
  4. Monitoring: Monitor execution results and set up alerts for failures

Region Concepts

COC involves two different region concepts:

1. COC Service Region (API endpoint region):

  • cn-north-4 (China North-Beijing-4, default)
  • ap-southeast-3 (APAC-Singapore)
  • eu-west-101 (Europe-Frankfurt)

2. Target Instance Region (where the L-instance is located):

  • Can be any Huawei Cloud global region
  • Interactive input supports both region ID and region name

Important: COC service region and target instance region can be different.

Error Handling

Authentication Failed (403):

error: Authentication failed
  • AK/SK is invalid, reconfigure with correct credentials

API Quota Exceeded (429):

error: API quota exceeded
  • API quota exhausted, wait or upgrade

Parameter Error (400):

error: Invalid parameter
  • Check if request parameters are correct

Security Notes

  • AK/SK Security: AK/SK are important credentials for accessing Huawei Cloud APIs. Please keep them safe and do not share them with others.
  • Credential Obtaining: Log in to Huawei Cloud Management Console → My Credentials → Access Keys → New Access Key

Reference Documentation

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Huawei Cloud Flexus L Server Scripts Excute làm được gì?

Based on Huawei Cloud COC (Cloud Operations Center) APIs for script management and remote execution. Supports creating custom scripts (Shell, Python, Bat) and batch execution on target host instances via UniAgent. Applicable to cloud operations automation and batch script deployment scenarios. Trigger keywords: L-instance, COC script, script management, script execution, cloud operations, custom script, batch execution; COC, script management, script execution, cloud operations (中文触发词:L实例执行脚本).

Vì sao nên dùng Huawei Cloud Flexus L Server Scripts Excute trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Huawei Cloud Flexus L Server Scripts Excute là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Huawei Cloud Flexus L Server Scripts Excute trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/huaweicloud/huaweicloud-skills/tree/master/skills/computing/flexus-l/huawei-cloud-flexus-l-server-scripts-excute. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Huawei Cloud Flexus L Server Scripts Excute?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Huawei Cloud Flexus L Server Scripts Excute với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Huawei Cloud Flexus L Server Scripts Excute với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Huawei Cloud Flexus L Server Scripts Excute có miễn phí không?

Có. Kỹ năng này được huaweicloud phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇