10-of-my-most-popular-text-to-image-series-prompts-78b0897e
generate a bunch of images, then you curate the results to handpick the best ones
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.
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install day253/day253-volcengine-storage-tos-test打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
Category: test
.env)。依赖:pip install tos
python skills/storage/tos/volcengine-storage-tos/scripts/tos_manage.py list-buckets --print-json
python skills/storage/tos/volcengine-storage-tos/scripts/tos_manage.py list-objects \
--bucket <bucket> --prefix "" --max-keys 20 --print-json
echo "tos-manage-test-$(date +%s)" > /tmp/tos-test.txt
python skills/storage/tos/volcengine-storage-tos/scripts/tos_manage.py upload \
--bucket <bucket> --key tests/tos-test.txt --file /tmp/tos-test.txt --print-json
python skills/storage/tos/volcengine-storage-tos/scripts/tos_manage.py head \
--bucket <bucket> --key tests/tos-test.txt --print-json
python skills/storage/tos/volcengine-storage-tos/scripts/tos_manage.py download \
--bucket <bucket> --key tests/tos-test.txt --file /tmp/tos-test-down.txt
diff /tmp/tos-test.txt /tmp/tos-test-down.txt && echo "PASS: content matches" || echo "FAIL: content mismatch"
python skills/storage/tos/volcengine-storage-tos/scripts/tos_manage.py presign \
--bucket <bucket> --key tests/tos-test.txt --expires 300 --print-json
python skills/storage/tos/volcengine-storage-tos/scripts/tos_manage.py delete \
--bucket <bucket> --key tests/tos-test.txt --confirm
tosutil 是火山引擎官方 TOS 命令行工具,需单独下载安装。 参考:https://www.volcengine.com/docs/6349/148772
tosutil config
tosutil ls
tosutil ls tos://<bucket> -s --limited-num 20
```...
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
Category: test # TOS 对象存储最小可行性测试 ## Goals - 验证 AK/SK/Region/Endpoint 配置正确。 - 验证 TOS 访问(列桶、上传、下载)。 ## Prerequisites - 已配置 AK/SK(环境变量或 `.env`)。 - 已准备一个可读写的 TOS Bucket。 --- ## 方式一:使用 tos_manage.py 脚本(推荐) 依赖:`pip install tos` ### 1) 列出 Bucket ```bash python skills/storage/tos/volcengine-storage-tos/scripts/tos_manage.py list-buckets --print-json ``` ### 2) 列出对象 ```bash python skills/storage/tos/volcengine-storage-tos/scripts/tos_manage.py list-objects \ --bucket <bucket> --prefix "" --max-keys 20 --print-json ``` ### 3) 上传小文件 ```bash echo "tos-manage-test-$(date +%s)" > /tmp/tos-test.txt python skills/storage/tos/volcengine-storage-tos/scripts/tos_manage.py upload \ --bucket <bucket> --key tests/tos-test.txt --file /tmp/tos-test.txt --print-json ``` ### 4) 获取元数据 ```bash python skills/storage/tos/volcengine-storage-tos/scripts/tos_manage.py head \ --bucket <bucket> --key tests/tos-test.txt --print-json ``` ### 5) 下载并校验 ```bash python skills/storage/tos/volcengine-storage-tos/scripts/tos_manage.py download \ --bucket <bucket> --key tests/tos-test.txt --file /tmp/tos-test-down.txt diff /tmp/tos-test.txt /tmp/tos-test-down.txt && echo "PASS: content matches" || echo "FAIL: content mismatch" ``` ### 6) 生成预签名 URL ```bash python skills/storage/tos/volcengine-storage-tos/scripts/tos_manage.py presign \ --bucket <bucket> --key tests/tos-test.txt --expires 300 --print-json ``` ### 7) 清理测试文件 ```bash python skills/storage/tos/volcengine-storage-tos/scripts/tos_manage.py delete \ --bucket <bucket> --key tests/tos-test.txt --confirm ``` --- ## 方式二:使用 tosutil CLI tosutil 是火山引擎官方 TOS 命令行工具,需单独下载安装。 参考:https://www.volcengine.com/docs/6349/148772 ### 1) 查看配置 ```bash tosutil config ``` ### 2) 列出 Bucket ```bash tosutil ls ``` ### 3) 列出对象(指定 bucket) ```bash tosutil ls tos://<bucket> -s --limited-num 20 ```...
generate a bunch of images, then you curate the results to handpick the best ones
generate a bunch of images, then you curate the results to handpick the best ones
Productivity system based on Maya calendar with 13 natural tones for project management and personal development
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.