본문으로 건너뛰기
cccskills
무료GitHub에 공개

ve-tos-cli

Use when inspecting, configuring, uploading, downloading, copying, synchronizing, deleting, sharing, or diagnosing Volcengine TOS object storage resources with ve-tos-cli.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(4)

  • SKILL.md7.1 KB
  • agents/openai.yaml177 B
  • references/safety.md833 B
  • references/workflows.md5.6 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

ve-tos-cli

Use the ve-tos-cli binary for Volcengine TOS object storage. Check availability with ve-tos-cli --version before planning commands, and use the first matching executable on PATH unless the user provides an explicit path. Do not run storage operations if the binary is missing.

CLI installation

Installing this skill does not install the CLI executable or configure credentials. First run ve-tos-cli --version; if the selected executable works, skip installation. Install only when it is in scope. Choose one channel for the current OS and available tools. These channels are alternatives; do not run all commands.

ChannelSuitable environment and behaviorInstallation commands
HomebrewmacOS with Homebrew; installs a prebuilt binarybrew tap volcengine/ve-storage-uni-cli https://github.com/volcengine/ve-storage-uni-cli<br>brew install ve-tos-cli
npmNode.js and npm; installs a wrapper and downloads a platform binarynpm install -g ve-tos-cli
pipPython with pip; installs a wrapper and a matching OS/architecture wheelpip install ve-tos-cli
CargoRust toolchain and build tools; compiles the dedicated executablecargo install ve-tos-cli
<!-- [Review Fix #Install2] Preserve the npm postinstall prerequisite when inlining. -->

npm also needs access to GitHub Releases: its postinstall script downloads and verifies the binary. Do not use --ignore-scripts. For pip, select the intended Python environment and activate it when needed; python -m pip install ve-tos-cli uses the pip for that interpreter. Ensure the package manager's bin/scripts directory is on PATH. Each channel requires an available build for the OS and CPU.

Release install script (Linux/macOS): choose this for a prebuilt binary without a package manager. It needs a POSIX shell, curl, archive and checksum tools; it detects the platform, downloads a GitHub Release archive and verifies its checksum:

curl -fsSL https://github.com/volcengine/ve-storage-uni-cli/releases/latest/download/install.sh | sh -s -- ve-tos-cli

The script installs into $HOME/.local/bin by default; add that directory to PATH or use the executable's full path. VE_STORAGE_UNI_CLI_INSTALL_DIR selects another directory and VE_STORAGE_UNI_CLI_VERSION pins a release.

Verify installation: run ve-tos-cli --version using the selected executable. If it is missing or reports an unexpected version, check PATH and the active environment before reinstalling. Keep the verified path for the rest of the task. A version check verifies executable availability, not authentication; continue with profile/endpoint setup below and a harmless resource request.

Read references/safety.md before commands that write, delete, move, overwrite, sync, change config, or expose signed URLs.

Task routing and command contracts

Use this skill to choose and combine commands. Read Task workflows when uploading, downloading, synchronizing, deleting, or diagnosing a failed operation. Read Safety before making changes or sharing URLs.

User intentStart hereCompletion evidence
Inspect or locate resourcesls, stat, then find/du if supportedExact target, metadata, and listing completeness
Upload, download, or copycp --help, then a concrete dry-runDestination metadata or local file verification
Reconcile a directorysync --help and a dry-runPlanned versus completed transfers; deletion count if requested
Remove or move resourcesExact source/target and command contractRemaining source/target state, including failed items
Diagnose authenticationSelected profile and mode, then doctorSuccessful harmless resource request

Use the installed version's help and structured contract as the authority. If a flag or command is missing, inspect its help and report the version mismatch; do not guess equivalent flags or automatically change authentication modes. Keep the same executable, profile, endpoint, and authentication mode throughout the task unless the user requests a change.

ve-tos-cli cp --help
ve-tos-cli cp --describe ./file.txt tos://bucket/file.txt --output json
ve-tos-cli skill list --output json
ve-tos-cli skill export --help

--help explains CLI syntax; --describe supplies the selected command's structured contract. capabilities discovers supported command groups when the right command is unknown. skill list discovers exportable command guides; choose an identifier from that output and use skill export when persistent command documentation is needed. Export writes documentation; it does not run storage operations or configure an Agent to load it. For a unified CLI session, retain that session's domain-qualified entry point when requesting an export.

Discovery

ve-tos-cli capabilities --view compact --output json
ve-tos-cli doctor --output json
ve-tos-cli config show --output json

Connection configuration

ve-tos-cli config init writes the production defaults cn-beijing and tos-cn-beijing.volces.com. If they are replaced, configure endpoint explicitly; the CLI never constructs an endpoint from region. A recognizable endpoint may still supply the signing region, while a custom endpoint needs an explicit region.

ve-tos-cli config init
ve-tos-cli config set access_key_id <volcengine-tos-access-key>
ve-tos-cli config set secret_access_key <volcengine-tos-secret-key>
ve-tos-cli config set endpoint https://tos-cn-shanghai.volces.com

Bare AK/SK keys are stored under the active profile's [profile.ve-tos] credentials section, independently from tos-cli credentials.

Authentication mode

ve-tos-cli supports aksk or unified. The precedence is --auth-mode > [profile.ve-tos].auth_mode > TOS_AUTH_MODE > aksk.

Unified selects the same-name profile from the external login framework. It ignores local AK/SK and does not copy external credentials into TOS config. Run ve login to create or refresh that external login; the CLI only asks the SDK for signing credentials when it sends an HTTP attempt.

ve-tos-cli --profile default --auth-mode unified ls
ve-tos-cli config set auth_mode unified
ve login
ve-tos-cli doctor --check auth --profile default

Common Commands

ve-tos-cli ls tos://bucket/prefix/ --output json
ve-tos-cli stat tos://bucket/key --output json
ve-tos-cli cp ./file.txt tos://bucket/file.txt --dry-run
ve-tos-cli sync ./dir tos://bucket/prefix/ --dry-run
ve-tos-cli presign tos://bucket/key --expires 3600 --output json

Use ve-tos-cli <command> --help when flags are uncertain.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

tos-cli

무료

Use when inspecting, configuring, uploading, downloading, copying, synchronizing, deleting, sharing, or diagnosing ByteCloud TOS object storage resources with tos-cli.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

volcengine/ve-storage-uni-cli72026년 10월 16일 업데이트

Use when managing Volcengine A-Drive resources with ve-adrive-cli, including AK/SK, OAuth, or Unified authentication, login and status, owner-aware Space creation and listing, and file or folder operations.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

volcengine/ve-storage-uni-cli72026년 10월 16일 업데이트

volcengine의 스킬 모두 보기

이 스킬의 문제 신고