volcengine-storage-tos-test
Minimal TOS smoke tests. Validate AK/SK config, list buckets, and upload/download with Volcengine TOS. Supports both tosutil CLI and tos_manage.py script.
Why use this skill?
Validate Volcengine TOS configurations with our smoke test skill. Easily test bucket connectivity, object uploads, downloads, and pre-signed URL generation.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/day253/day253-volcengine-storage-tos-testWhat This Skill Does
The volcengine-storage-tos-test skill provides a robust framework for validating Volcengine Object Storage (TOS) connectivity and configuration. As a technical testing utility, it allows developers and DevOps engineers to perform critical smoke tests to ensure their environment is properly authenticated and capable of basic storage operations. The skill supports two primary interfaces: the custom tos_manage.py Python script for automated programmatic validation and the official tosutil command-line tool for production-standard verification. By executing these tests, users can confirm their AK/SK credentials, region settings, and endpoint reachability before deploying resource-heavy applications into the TOS ecosystem.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/day253/day253-volcengine-storage-tos-test
Ensure that you have the required Python dependencies installed by running pip install tos. Before execution, verify that your environment variables (TOS_ACCESS_KEY, TOS_SECRET_KEY, TOS_ENDPOINT) are correctly exported in your .env file or shell session to enable seamless interaction with the Volcengine storage services.
Use Cases
- Environment Validation: Quickly verify if a new developer machine or a CI/CD pipeline agent has correct access rights to the company's storage infrastructure.
- Troubleshooting Connection Issues: Isolate failures between authentication errors (403), misconfigured regions, or network endpoint accessibility problems.
- Smoke Testing: Perform a pre-flight check after updating IAM roles or bucket policies to ensure storage operations like reading, writing, and listing are still functional.
- Automation Testing: Integrate into automated workflows to generate pre-signed URLs for time-limited, secure access to files.
Example Prompts
- "OpenClaw, run the TOS smoke test suite using the tos_manage.py script to verify I can list buckets and upload a test file."
- "I'm getting a 403 error on my Volcengine storage; please run the diagnostics provided by the tos-test skill to pinpoint if my credentials or permissions are the issue."
- "Generate a pre-signed URL for the test file I just uploaded to my storage bucket and show me the output."
Tips & Limitations
- Permissions: Ensure your IAM user has at least
tos:ListBucket,tos:PutObject, andtos:GetObjectpermissions. Over-privileged keys are a security risk; follow the principle of least privilege. - Cleanup: Always use the cleanup functionality provided in the scripts. Leaving test files in production buckets can incur unnecessary costs and clutter your data lake.
- Endpoints: Double-check that your endpoint follows the standard format
tos-{region}.volces.com. A common failure point is mixing up regions. - Data Integrity: While the script performs a
diffcheck, verify your local disk has sufficient space when performing large file downloads during your testing cycles.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-day253-day253-volcengine-storage-tos-test": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-write, file-read, external-api
Related Skills
volcengine-storage-tos
Object storage operations for Volcengine TOS (Tinder Object Storage). Use when users need bucket management, object upload/download, listing, deletion, presigned URLs, or storage troubleshooting.
volcengine-agent-tts-to-tos
Combined agent that synthesizes speech via Volcengine TTS, uploads the audio to TOS, and returns a presigned temporary URL. Use when users need a shareable audio link from text input.
volcengine-ai-audio-tts
Text-to-speech generation on Volcengine (ByteDance) speech services. Use when users need narration, multi-language speech output, voice selection, or TTS troubleshooting. Supports online one-shot HTTP API (openspeech.bytedance.com).