Логотип Huawei Cloud Ucs Policy Governor

Huawei Cloud Ucs Policy Governor

Организация
huaweicloud
huawei-cloud-ucs-policy-governor

Huawei Cloud UCS (Ubiquitous Cloud Native Service) policy governance and compliance management skill using hcloud CLI. Use this skill when the user wants to: (1) manage UCS policy instances - create/update/query/delete, (2) manage UCS policy definitions - query/list, (3) enable/disable policies on clusters or fleet groups, (4) check policy enforcement job status, (5) audit fleet compliance and review policy enforcement status. Trigger: user mentions "UCS policy", "UCS 策略", "UCS governance", "UCS 治理", "UCS compliance", "UCS 合规", "policy instance", "策略实例", "policy definition", "策略定义", "enable policy", "启用策略", "disable policy", "禁用策略", "fleet compliance", "舰队合规", "policy audit", "策略审计", "UCS 策略管理", "UCS 合规治理", "policy governance", "策略治理"

Add to TypingMind

Обзор

Издательhuaweicloud
Репозиторийhuaweicloud-skills
Название навыкаhuawei-cloud-ucs-policy-governor
Звёзды
59
Форки
24
Файлы в комплекте
8
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 8

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Издатель навыка на GitHub — huaweicloud. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Huawei Cloud Ucs Policy Governor в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/huaweicloud/huaweicloud-skills/tree/master/skills/container/ucs/huawei-cloud-ucs-policy-governor
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

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/container/ucs/huawei-cloud-ucs-policy-governor .claude/skills/huawei-cloud-ucs-policy-governor
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Huawei Cloud Ucs Policy Governor в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Huawei Cloud Ucs Policy Governor, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Huawei Cloud Ucs Policy Governor не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Huawei Cloud UCS Policy Governor

Overview

This skill provides policy governance and compliance management capabilities for Huawei Cloud UCS (Ubiquitous Cloud Native Service) using the hcloud CLI, covering policy instance lifecycle, policy definitions, policy enforcement, and compliance auditing.

Architecture: hcloud CLI → UCS Service API → PolicyInstance/PolicyDefinition/PolicyJob resources

Related Skills:

  • huawei-cloud-ucs-cluster-onboarding-manager - Cluster registration, lifecycle, fleet grouping, and access management

Capabilities:

  • Create policy instances for clusters or fleet groups
  • Update, query, and delete policy instances
  • List and query policy definitions (templates)
  • Enable and disable policies on clusters or fleet groups
  • Check policy enforcement job status via ListPolicyJobs/ShowPolicyJob
  • Audit fleet compliance and review policy enforcement results

Typical Use Cases:

  • "Create a security policy instance for my production cluster"
  • "Create a compliance policy for my fleet group"
  • "List all available policy definitions"
  • "Enable a policy on cluster 'prod-backend'"
  • "Enable a policy on fleet group 'production-fleet'"
  • "Disable a policy temporarily for maintenance"
  • "Check policy enforcement job status"
  • "Audit policy enforcement across all clusters"
  • "Update a policy instance configuration"
  • "Delete an obsolete policy instance"
  • "Query policy definition details before applying"

Workflow

The skill workflow is as follows:

  1. Environment Check — Verify hcloud CLI is installed and AK/SK credentials are configured (see CLI Installation Guide)
  2. Policy Definition Query — Call ListPolicyDefinitions to browse available governance policy templates
  3. Policy Instance Management — Choose management action based on user request:
    • Create: CreateClusterPolicyInstance or CreateClusterGroupPolicyInstance (requires cluster/fleet with policy center enabled)
    • Update: UpdatePolicyInstance (requires user confirmation — see Parameter Confirmation)
    • Query: ListPolicyInstances / ShowPolicyInstance
    • Delete: DeletePolicyInstance (⚠️ irreversible, requires user confirmation)
  4. Policy Center Management (optional):
    • Enable: EnableClusterPolicy / EnableClusterGroupPolicy (requires cluster/fleet in Available status)
    • Disable: DisableClusterPolicy / DisableClusterGroupPolicy (requires user confirmation — suspends enforcement)
  5. Compliance Audit — Call ListPolicyJobs / ShowPolicyJob to review policy enforcement history and compliance status
  6. Verification — Confirm policy instance status and enforcement behavior (see Verification)

KooCLI Command Format Standard

All operations use hcloud UCS <Operation> --<param>=<value> --cli-region=<region> format. Parameters use --key=value style (not JSON body). See Parameter Reference for detailed parameter descriptions.

Supported Regions (verified):

RegionStatusNotes
cn-north-4✅ AvailablePrimary region, all commands verified
ap-southeast-3✅ AvailableVerified in second-round testing
cn-south-4❌ UnavailableDNS resolution fails, do not use

Other regions may be supported but have not been verified. Always test with hcloud UCS ListPolicyDefinitions --cli-region=<region> first.

Prerequisites

1. hcloud CLI Requirements (MANDATORY)

  • hcloud CLI installed (version >= 7.2.2)
  • Run hcloud version to verify installation
  • First-time usage: printf "y\n" | hcloud version to accept privacy statement

2. Credential Configuration

hcloud CLI supports two credential modes via environment variables, automatically detected at runtime:

Mode A — Long-term AK/SK (permanent access):

bash
export HUAWEI_CLOUD_AK=<your-ak>
export HUAWEI_CLOUD_SK=<your-sk>
export HUAWEI_CLOUD_REGION=cn-north-4

Mode B — Temporary AK/SK + SecurityToken (recommended for temporary or delegated access):

bash
export HUAWEI_CLOUD_AK=<your-temp-ak>
export HUAWEI_CLOUD_SK=<your-temp-sk>
export HUAWEI_CLOUD_SECURITY_TOKEN=<your-security-token>
export HUAWEI_CLOUD_REGION=cn-north-4

When HUAWEI_CLOUD_SECURITY_TOKEN is present, hcloud CLI automatically uses temporary credential authentication. When only AK/SK are set, it uses long-term credential authentication.

  • Security Rules:
    • 🚫 Never expose AK/SK/SecurityToken values in code, conversation, or commands
    • 🚫 Never use echo $HUAWEI_CLOUD_AK or echo $HUAWEI_CLOUD_SK to check credentials
    • ✅ Use environment variables: HUAWEI_CLOUD_AK, HUAWEI_CLOUD_SK, HUAWEI_CLOUD_REGION, HUAWEI_CLOUD_SECURITY_TOKEN
    • ✅ Prefer IAM users over root account for cloud operations
    • ✅ Enable MFA for sensitive operations

⚠️ Important Security Notes:

  • Never commit credentials to version control
  • Use IAM users with minimal required permissions
  • Enable MFA for sensitive operations
  • Rotate AK/SK regularly

3. IAM Permission Requirements

API ActionPermissionPurpose
ucs:clusterPolicyInstance:createCreate policyCreate cluster-level policy instances
ucs:clusterGroupPolicyInstance:createCreate policyCreate fleet group-level policy instances
ucs:policyInstance:updateUpdate policyModify policy instances
ucs:policyInstance:getGet policyView policy instance details
ucs:policyInstance:deleteDelete policyRemove policy instances
ucs:policyInstance:listList policiesList all policy instances
ucs:policyDefinition:listList definitionsList available policy definitions
ucs:policyDefinition:getGet definitionView policy definition details
ucs:clusterPolicy:enableEnable policyEnable cluster-level policy enforcement
ucs:clusterPolicy:disableDisable policyDisable cluster-level policy enforcement
ucs:clusterGroupPolicy:enableEnable policyEnable fleet group-level policy enforcement
ucs:clusterGroupPolicy:disableDisable policyDisable fleet group-level policy enforcement
ucs:policyJob:listList jobsList policy enforcement jobs
ucs:policyJob:getGet jobView policy enforcement job details

See IAM Permission Policies for complete policy JSON.

Permission Failure Handling:

  1. When any command fails due to permission errors, read references/iam-policies.md
  2. Display the required permission list and policy JSON to the user
  3. Guide the user to create a custom policy in the IAM console and grant authorization
  4. Pause execution and wait for user confirmation that permissions have been granted

Core Commands

1. Policy Instance Management

See Task: Policy Management for detailed workflows.

bash
# Create a cluster-level policy instance
hcloud UCS CreateClusterPolicyInstance --clusterid=<ucs-cluster-id> --constraintTemplateID=<template-id> --enforcementAction=deny --namespaces.1=default --namespaces.2=production --parameters='{"maxReplicas":"3"}' --cli-region=cn-north-4

# Create a fleet group-level policy instance
hcloud UCS CreateClusterGroupPolicyInstance --clustergroupid=<fleet-group-id> --constraintTemplateID=<template-id> --enforcementAction=warn --parameters='{"cpuLimit":"2"}' --cli-region=cn-north-4

# Update a policy instance
hcloud UCS UpdatePolicyInstance --policyinstanceid=<instance-id> --constraintTemplateID=<new-template-id> --enforcementAction=warn --parameters='{"cpuLimit":"4"}' --cli-region=cn-north-4

# Show policy instance details
hcloud UCS ShowPolicyInstance --policyinstanceid=<instance-id> --cli-region=cn-north-4

# Delete a policy instance
hcloud UCS DeletePolicyInstance --policyinstanceid=<instance-id> --cli-region=cn-north-4

# List all policy instances (no filter parameters available)
hcloud UCS ListPolicyInstances --cli-region=cn-north-4

2. Policy Definition Management

bash
# List all available policy definitions (no filter parameters available)
hcloud UCS ListPolicyDefinitions --cli-region=cn-north-4

# Show policy definition details
# NOTE: --policydefinitionid requires the metadata.uid (UUID format) from ListPolicyDefinitions,
# NOT the policy definition name. Using a name will return UCS.000000 error.
# Step 1: List policy definitions to get the UID
hcloud UCS ListPolicyDefinitions --cli-region=cn-north-4
# Step 2: Use the metadata.uid value from the list result
hcloud UCS ShowPolicyDefinition --policydefinitionid=<metadata.uid> --cli-region=cn-north-4

3. Policy Enforcement (Enable/Disable)

bash
# Enable a policy on a cluster
hcloud UCS EnableClusterPolicy --clusterid=<ucs-cluster-id> --cli-region=cn-north-4

# Enable a policy on a fleet group
hcloud UCS EnableClusterGroupPolicy --clustergroupid=<fleet-group-id> --cli-region=cn-north-4

# Enable a policy on a cluster with retry
hcloud UCS EnableClusterPolicy --clusterid=<ucs-cluster-id> --retry=true --cli-region=cn-north-4

# Disable a policy on a cluster
hcloud UCS DisableClusterPolicy --clusterid=<ucs-cluster-id> --cli-region=cn-north-4

# Disable a policy on a fleet group
hcloud UCS DisableClusterGroupPolicy --clustergroupid=<fleet-group-id> --cli-region=cn-north-4

4. Policy Enforcement Job Status

See Task: Compliance Audit for detailed workflows.

bash
# List policy enforcement jobs
hcloud UCS ListPolicyJobs --cli-region=cn-north-4

# List policy enforcement jobs filtered by kind
hcloud UCS ListPolicyJobs --kind=EnablePolicy --cli-region=cn-north-4

# Show a specific policy enforcement job
hcloud UCS ShowPolicyJob --jobid=<job-id> --cli-region=cn-north-4

参数确认

操作CLI 命令风险等级需确认事项
DeletePolicyInstancehcloud UCS DeletePolicyInstance --policyinstanceid=<id>HighDeleting a policy instance permanently removes enforcement. The cluster/fleet will no longer be governed by this policy, increasing compliance risk. Consider disabling first.
UpdatePolicyInstancehcloud UCS UpdatePolicyInstance --policyinstanceid=<id> --enforcementAction=<action>MediumModifying policy parameters affects enforcement behavior. Changing enforcementAction from warn to deny will block non-compliant deployments. Confirm the new parameters.
DisableClusterPolicyhcloud UCS DisableClusterPolicy --clusterid=<id>MediumDisabling policy on a cluster suspends enforcement. Existing violation records are preserved but no new checks are performed. Confirm before proceeding.
DisableClusterGroupPolicyhcloud UCS DisableClusterGroupPolicy --clustergroupid=<id>MediumDisabling fleet-level policy affects compliance governance across all clusters in the fleet group. Existing violations are preserved but no new checks are performed. Confirm before proceeding.

Parameter Reference

Common Parameters

ParameterRequired/OptionalDescriptionDefault
--cli-regionRequiredHuawei Cloud region IDConfig value or HUAWEI_CLOUD_REGION

Policy Instance Parameters

ParameterRequiredDescriptionConstraints
--clusteridYes*Target UCS cluster IDRequired for CreateClusterPolicyInstance
--clustergroupidYes*Target fleet group IDRequired for CreateClusterGroupPolicyInstance
--constraintTemplateIDNoConstraint template IDReferences existing constraint template
--enforcementActionNoEnforcement actionwarn or deny
--namespaces.[N]NoTarget namespaces arrayArray index starting from 1
--parametersNoPolicy parameters objectJSON object string
--policyinstanceidYesInstance ID (for get/update/delete)Used in Show/Update/Delete operations
--retryNoRetry flag for enableQuery param for EnableClusterPolicy/EnableClusterGroupPolicy

*Note: --clusterid is required for cluster-level operations (CreateClusterPolicyInstance, EnableClusterPolicy, DisableClusterPolicy). --clustergroupid is required for fleet group-level operations (CreateClusterGroupPolicyInstance, EnableClusterGroupPolicy, DisableClusterGroupPolicy).

Policy Definition Parameters

ParameterRequiredDescriptionConstraints
--policydefinitionidYesDefinition UID (metadata.uid)UUID format from ListPolicyDefinitions response. Using policy name instead of UID returns UCS.000000 error

Policy Job Parameters

ParameterRequiredDescriptionConstraints
--jobidYesPolicy job IDUsed in ShowPolicyJob
--kindNoJob type filterDefault EnablePolicy, used in ListPolicyJobs

Output Format

CreateClusterPolicyInstance / CreateClusterGroupPolicyInstance

[to be verified — UCS responses follow k8s-style format based on verified ShowClusterList/ListPolicyDefinitions patterns]

UCS API returns Kubernetes-style objects, not flat JSON. Based on verified ShowClusterList and ListPolicyDefinitions responses, policy instance responses likely use a k8s-style object structure with kind, apiVersion, metadata, spec, and status fields rather than flat fields like id, constraintTemplateID, enforcementAction.

Key Fields (expected, format to be verified):

  • Instance UUID: Likely in metadata.uid (not flat id)
  • Constraint template reference: Likely in spec.constraintTemplateID
  • Enforcement action: Likely in spec.enforcementAction (warn or deny)
  • Status: Likely in status.phase (Enabled, Disabled, Pending)

ListPolicyDefinitions

Response Example (verified):

json
{
  "items": [
    {
      "kind": "ConstraintTemplate",
      "apiVersion": "templates.gatekeeper.sh/v1beta1",
      "metadata": {
        "name": "k8srequiredresources",
        "uid": "3b900254-0086-11ee-924e-0255ac1000d3",
        "creationTimestamp": "2023-06-01T14:11:41Z",
        "annotations": {
          "name-chinese": "K8sRequiredResources",
          "tag-chinese": "集群安全策略",
          "description-chinese": "..."
        }
      },
      "spec": {
        "type": "general",
        "officialTag": "ClusterSecurityPolicies",
        "level": "1",
        "targetKind": "Pod",
        "official": true,
        "description": "Requires containers to have defined resources set...",
        "constraintTemplate": {
          "kind": "ConstraintTemplate",
          "apiVersion": "templates.gatekeeper.sh/v1",
          "metadata": { "name": "k8srequiredresources" },
          "spec": {
            "crd": {
              "spec": {
                "names": { "kind": "K8sRequiredResources" },
                "validation": { "openAPIV3Schema": { "properties": {} } }
              }
            },
            "targets": [
              {
                "target": "admission.k8s.gatekeeper.sh",
                "rego": "...",
                "libs": []
              }
            ]
          }
        }
      }
    }
  ]
}

Key Fields:

  • metadata.name: Constraint template name (used as constraintTemplateID in CreateClusterPolicyInstance, not flat id)
  • metadata.uid: Definition UUID
  • spec.officialTag: Policy category/tag (not flat category)
  • spec.level: Severity level (not flat severity)
  • spec.targetKind: Target resource type (e.g., Pod)
  • spec.description: Policy description
  • spec.constraintTemplate.spec.crd.spec.validation.openAPIV3Schema.properties: Parameter definitions (not flat parameters array)
  • spec.type: Policy type (e.g., general)
  • spec.official: Whether this is an official (built-in) policy

ListPolicyJobs

Response Example (verified for empty result):

When no jobs exist, returns { "items": [] } (empty array). When populated, returns k8s-style objects based on verified UCS pattern:

json
{
  "items": []
}

[to be verified for populated response — likely k8s-style objects with kind, apiVersion, metadata, spec, status fields]

Key Fields (expected, format to be verified):

  • Job UUID: Likely in metadata.uid (not flat jobid)
  • Job type: Likely in spec.kind (EnablePolicy, etc.)
  • Job status: Likely in status.phase (Success, Failed, InProgress)

Verification

See Verification Method for step-by-step verification.

Common Region IDs

Region NameRegion ID
North China - Beijing 4cn-north-4
North China - Beijing 1cn-north-1
East China - Shanghai 1cn-east-3
East China - Shanghai 2cn-east-2
South China - Guangzhoucn-south-1
South China - Shenzhencn-south-4
Southwest China - Guiyang 1cn-southwest-2
Asia Pacific - Bangkokap-southeast-2
Asia Pacific - Singaporeap-southeast-1
Asia Pacific - Hong Kongap-southeast-3
Europe - Pariseu-west-0

Best Practices

  1. Policy Parameters: Use --constraintTemplateID to reference constraint templates, not --policy_definition_id
  2. Fleet-Level Policies: Apply policies to fleet groups using CreateClusterGroupPolicyInstance for consistent enforcement
  3. Gradual Rollout: Enable policies on staging clusters first using EnableClusterPolicy, then roll out to production fleet groups using EnableClusterGroupPolicy
  4. Compliance Monitoring: Use ListPolicyJobs and ShowPolicyJob to monitor enforcement task status
  5. Enforcement Action: Choose warn for initial rollout (violations reported but not blocked), then switch to deny for strict enforcement
  6. Disable Before Delete: Disable a policy using DisableClusterPolicy/DisableClusterGroupPolicy before deleting to prevent sudden enforcement gaps
  7. Namespace Scoping: Use --namespaces.[N] to scope policy enforcement to specific namespaces

Reference Documents

DocumentDescription
UCS Policy API Guidehcloud UCS policy API reference
IAM Permission PoliciesRequired permissions and policy JSON
Verification MethodStep-by-step verification
Common PitfallsTroubleshooting guides
Task: Policy ManagementPolicy instance CRUD workflows
Task: Compliance AuditCompliance and audit workflows
CLI Installation GuideKooCLI install and auth setup
Acceptance CriteriaTest checklist and standards

Notes

  • Policy deletion is irreversible — the enforcement configuration is permanently removed
  • Disabling a policy suspends enforcement — violations are not checked while the policy is disabled
  • Fleet group policies apply to all member clusters — ensure group membership is correct before applying
  • AK/SK must never be hardcoded — credentials should only be obtained via environment variables
  • hcloud CLI is the only supported method — all operations use hcloud UCS <Operation> format
  • CreatePolicyInstance is TWO separate operations — use CreateClusterPolicyInstance for cluster-level and CreateClusterGroupPolicyInstance for fleet group-level policies
  • Enable/Disable are scope-specific — use EnableClusterPolicy/DisableClusterPolicy for clusters and EnableClusterGroupPolicy/DisableClusterGroupPolicy for fleet groups
  • GetPolicyAssignment does not exist — use ListPolicyJobs and ShowPolicyJob to check enforcement task status
  • ListPolicyInstances and ListPolicyDefinitions have no filter parameters — only --cli-region is available
  • ShowPolicyDefinition requires UID, not name — the --policydefinitionid parameter must be the metadata.uid (UUID format) from ListPolicyDefinitions response. Using the policy definition name returns UCS.000000 error. Always call ListPolicyDefinitions first to obtain the UID
  • hcloud JSON output parsing — the default hcloud output mixes JSON with diagnostic tables, causing json.loads() to fail. For programmatic parsing, use --cli-output=json to get pure JSON output:
bash
# Default output (mixed format, json.loads() will fail)
hcloud UCS ListPolicyDefinitions --cli-region=cn-north-4

# Pure JSON output (safe for json.loads())
hcloud UCS ListPolicyDefinitions --cli-region=cn-north-4 --cli-output=json

Common Pitfalls

See Common Pitfalls & Solutions for detailed troubleshooting guides.

Quick Reference:

PitfallSymptomQuick Fix
Wrong create operationCreate fails with wrong scopeUse CreateClusterPolicyInstance for clusters, CreateClusterGroupPolicyInstance for fleet groups
Constraint template not foundCreate failsUse ListPolicyDefinitions to find valid template ID
Cluster not registeredEnableClusterPolicy failsRegister cluster with huawei-cloud-ucs-cluster-onboarding-manager
Fleet group emptyPolicy not enforced anywhereAdd clusters to fleet group first
Wrong param namesCommand fails (underscore vs camelCase)Use --policyinstanceid not --instance_id, --clusterid not --cluster_id
GetPolicyAssignment usedOperation not foundUse ListPolicyJobs/ShowPolicyJob instead
List filter params usedUnexpected behaviorListPolicyInstances/ListPolicyDefinitions have no filter params, only --cli-region

Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Huawei Cloud Ucs Policy Governor?

Huawei Cloud UCS (Ubiquitous Cloud Native Service) policy governance and compliance management skill using hcloud CLI. Use this skill when the user wants to: (1) manage UCS policy instances - create/update/query/delete, (2) manage UCS policy definitions - query/list, (3) enable/disable policies on clusters or fleet groups, (4) check policy enforcement job status, (5) audit fleet compliance and review policy enforcement status. Trigger: user mentions "UCS policy", "UCS 策略", "UCS governance", "UCS 治理", "UCS compliance", "UCS 合规", "policy instance", "策略实例", "policy definition", "策略定义", "enable...

Зачем использовать Huawei Cloud Ucs Policy Governor в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Huawei Cloud Ucs Policy Governor — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Huawei Cloud Ucs Policy Governor в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/huaweicloud/huaweicloud-skills/tree/master/skills/container/ucs/huawei-cloud-ucs-policy-governor. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Huawei Cloud Ucs Policy Governor?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Huawei Cloud Ucs Policy Governor?

С любым количеством. В TypingMind вы можете использовать Huawei Cloud Ucs Policy Governor с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Huawei Cloud Ucs Policy Governor?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — huaweicloud. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все
Логотип affaan-m

Quarkus Verification

affaan-m
СообществоПопулярный

Цикл проверок для проектов Quarkus: сборка, статический анализ, тесты с покрытием, сканирование безопасности, нативная компиляция и проверка diff перед выпуском или PR.

39.1K
261.1K
Инструкции
Открыть
Логотип affaan-m

Springboot Security

affaan-m
СообществоПопулярный

Рекомендации по Spring Security для аутентификации и авторизации, валидации, CSRF-защиты, работы с секретами и заголовками, ограничения частоты запросов и обеспечения безопасности зависимостей в сервисах на Java Spring Boot.

39.1K
261.1K
Инструкции
Открыть
Логотип affaan-m

Agent Architecture Audit

affaan-m
СообществоПопулярный

Полная диагностика приложений на основе агентов и LLM. Проверяйте регрессии в обёртках, загрязнение памяти, сбои в управлении инструментами, скрытые циклы исправлений и ошибки рендеринга в 12-слойном стеке агента. Получайте список проблем, упорядоченный по критичности, и исправления, ориентированные на код. Необходимый инструмент для разработчиков, создающих приложения с агентами, автономные циклы или функции на основе LLM.

39.1K
261.1K
Инструкции
Открыть
Логотип NousResearch

Antigravity Cli

NousResearch
ОрганизацияПопулярный

Работа с Antigravity CLI (agy): плагины, аутентификация, песочница.

53.5K
250.4K
Файлы: 1
Открыть

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇