Imported from FREEZONEX/Tier0-skill (
files/SKILL.md). Install upstream withnpx skills add FREEZONEX/Tier0-skill --skill files. Copyright stays with the author.
tier0-files
Use this skill for Tier0 object storage file operations.
Use When
- The user asks to upload a file to Tier0.
- The user asks to download a file from Tier0.
- The user asks to get a public or presigned URL for a file.
- The user asks to delete a file from Tier0.
Do Not Use When
- The user wants UNS data operations. Use
uns/SKILL.md. - The user wants Flow operations. Use
flow/SKILL.md.
Non-Negotiable Rules
uploadrequires a local file path and returnsfilePathfor subsequent operations.download,url, anddeleterequire thefilePathreturned by upload.useBydefaults toworkspacein CLI to avoid Cloud API KeyIsMember()permission issue.- File size must be 0 < size ≤ 10MB.
- Preview agent-generated
deleterequests with--dry-run --json.
Routing
| Intent | Read |
|---|---|
| Upload a file | references/upload.md |
| Download a file | references/download.md |
| Get file access URL | references/url.md |
| Delete a file | references/delete.md |
Common Commands
# Upload
tier0 assets upload ./report.csv --use-by workspace --visibility private
# Download
tier0 assets download --file-path workspace/.../report.csv -o ./report.csv
# Get URL
tier0 assets url --file-path workspace/.../report.csv --expired-sec 300
# Delete
tier0 assets delete --file-path workspace/.../report.csv --dry-run --json
# after user confirmation
tier0 assets delete --file-path workspace/.../report.csv --yes
Mutation Preflight
Append --dry-run --json to the final delete command and inspect
data.api[0].method, url, and body. A preview does not authenticate, send a
request, or prove business success. Remove --dry-run only after the preview
matches the user's intent.
For delete, show the preview and destructive impact to the user, wait for
confirmation, then execute with --yes.