Command Palette

Search for a command to run...

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

huawei-cloud-obs-upload

БесплатноБез исполняемых скриптовНе проверен

Upload a local file or directory to a specified Huawei Cloud OBS (Object Storage Service) bucket with obsutil, and set up a scheduled/periodic upload task…

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

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

Huawei Cloud OBS Upload Skill

Overview

Upload local files or directories to Huawei Cloud OBS buckets, list OBS buckets with capacity and object count, and schedule periodic uploads via crontab. Upload operations use obsutil; bucket listing/stats use hcloud obs ls + CES metrics.

Tool separation principle:

  • obsutil — File/directory upload, scheduled upload sync (upload core tool; hcloud CLI has no PutObject support)
  • hcloud CLI — Bucket listing via hcloud obs ls (obsutil mode), bucket capacity/object count stats via hcloud CES ShowMetricData
  • crontab / Task Scheduler — OS-level scheduled task for periodic upload (no daemon process dependency)

Security architecture:

  • AK/SK are never read, echoed, or printed in conversation
  • obsutil credentials are configured by the user in their terminal (never asked in conversation)
  • Delete operations are strictly forbidden (irreversible); out-of-scope operations are refused with guided alternatives
  • For directory uploads, whether to preserve directory structure (-flat) is decided by the customer's explicit answer, never assumed
  • Every upload (Task 2) and every scheduled-upload setup (Task 3) requires the user's explicit confirmation before executing either the command or the crontab write
  • The agent only executes the steps described in this skill for the exact user-specified bucket and path; it never performs any other OBS/CLI action on the user's behalf

⚠️ Data transmission notice

  • Upload transfers local files/directories to remote cloud storage and persists them there. Before uploading, clearly tell the user: "Uploading <path> will transmit the data to OBS bucket <Bucket> and store it in the cloud." If the user did not intend this, stop before executing.
  • Scheduled uploads repeatedly push data from a local directory to the cloud on a recurring schedule. Warn the user explicitly that the data will be transmitted and persisted remotely on each run.
  • Review the path to be uploaded before executing; if the path is broad (e.g., a home directory) or contains unexpected content, confirm the scope with the user before uploading.

⛔ Prohibited Operations (Security Constraints)

This skill strictly forbids the following operations, regardless of user requests. The forbidden actions are described semantically; no destructive command examples are provided.

Prohibited Operation Reason
❌ Delete a bucket Irreversible; destroys the entire bucket and all objects
❌ Delete an object Irreversible; deleted objects cannot be recovered (unless versioning is enabled)
❌ Batch delete objects Irreversible; batch deletion has a wide impact
❌ Empty a bucket Irreversible; removes all objects in the bucket
❌ Download an object This skill is upload-only; download is a separate workflow
❌ Create a bucket Bucket creation has a dedicated skill with full prerequisites
❌ Copy an object between buckets Cross-bucket object copy is out of this skill's scope
❌ Modify bucket lifecycle configuration Storage cost management is a separate bucket-level config task
❌ Restore an archived object Archive restore is a separate workflow with retrieval modes and TTL
❌ Generate presigned URLs Temporary sharing requires SDK signing; not supported by CLI upload
❌ Modify bucket ACL or bucket policy Permission management is a separate security task
❌ Ask user to provide AK/SK directly in conversation Credentials must never appear in conversation
❌ Extract AK/SK from hcloud config files Credentials are encrypted and cannot be used directly
❌ Skip obsutil credential check before OBS operations Operations fail without configured credentials
❌ Use -flat for directory uploads without asking the customer -flat discards directory structure; must follow customer's explicit answer
❌ Guess local path, bucket name, or target prefix Required parameters must be provided by the user

If a user requests a delete operation, you must refuse and inform: "Per security constraints, this skill does not allow delete operations (delete bucket/object/batch delete/empty bucket). Please use the Huawei Cloud OBS console or obsutil manually."

If a user requests an out-of-scope operation, do not attempt to perform it. Inform the user with the recommended alternative from the table below:

Operation Recommended alternative
Download object Use obsutil cp obs://<Bucket>/<Key> <LocalPath> manually, or the OBS console
Create bucket Use the OBS console (Bucket > Create Bucket), or a dedicated bucket-creation workflow — bucket creation is out of scope for this skill
Copy object Use hcloud OBS CopyObject manually, or the OBS console
Lifecycle configuration Use the OBS console (Bucket > Lifecycle), or hcloud OBS SetBucketLifecycle
Restore arch
Полный SKILL.md на ClawHub

Установить huawei-cloud-obs-upload в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл huawei-cloud-obs-upload?

Upload a local file or directory to a specified Huawei Cloud OBS (Object Storage Service) bucket with obsutil, and set up a scheduled/periodic upload task (crontab) that syncs a local directory to an OBS bucket. Also lists OBS buckets with storage capacity and object count. Use this skill when the user wants to: (1) upload a specific local file or directory to a named OBS bucket, (2) set up a scheduled/periodic upload task that automatically syncs a local directory to a named OBS bucket, (3) list their OBS buckets and check capacity and object count. Triggers include: user mentions "upload to OBS bucket", "上传文件到OBS", "上传目录到OBS", "定时上传到OBS", "目录同步到OBS桶", "OBS scheduled upload", "OBS周期上传", "OBS bucket capacity check", "OBS桶容量查询", "OBS large file upload", "OBS大文件上传", "OBS上传超时", "OBS multipart upload", "OBS分片上传". Generic phrases such as "object storage", "upload file" or "upload directory" alone are NOT sufficient to trigger this skill.

Как установить скилл huawei-cloud-obs-upload?

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

Скилл huawei-cloud-obs-upload запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить huawei-cloud-obs-upload с