feat: buckets

This commit is contained in:
lolwierd
2026-05-08 17:45:37 +05:30
parent bcf74bb91a
commit 07d9c15be9
2 changed files with 76 additions and 5 deletions

View File

@@ -44,9 +44,9 @@ By default skills land under the agent's standard directory (`~/.claude/skills/`
### `excloud-cli`
Safe end-to-end control of Excloud resources through the `exc` CLI. Covers compute (create / inspect / resize / restart / terminate, delete protection, exec / scp / console), networking (subnets, public IPv4, security groups and rules/bindings), volumes and snapshots, SSH keys, Kubernetes (clusters, workers, kubeconfig fetch / merge), IAM (accounts, service accounts, API keys, policies), billing, quota, serial console logs, and metrics.
Safe end-to-end control of Excloud resources through the `exc` CLI. Covers compute (create / inspect / resize / restart / terminate, delete protection, exec / scp / console), networking (subnets, public IPv4, security groups and rules/bindings), volumes and snapshots, SSH keys, Kubernetes (clusters, workers, kubeconfig fetch / merge), object storage buckets (bucket lifecycle, object copy/sync/delete/share, access keys, multipart uploads), IAM (accounts, service accounts, API keys, policies), billing, quota, serial console logs, and metrics.
**Use when:** the user asks to plan or run `exc` commands, provision / introspect / tear down VMs, attach a public IP, adjust a security group, pull a kubeconfig, debug a stuck boot via serial logs, or exec / scp against a VM.
**Use when:** the user asks to plan or run `exc` commands, provision / introspect / tear down VMs, attach a public IP, adjust a security group, pull a kubeconfig, manage buckets or S3 access keys, debug a stuck boot via serial logs, or exec / scp against a VM.
**Key guidance the skill encodes:**
@@ -54,6 +54,7 @@ Safe end-to-end control of Excloud resources through the `exc` CLI. Covers compu
- Discovery first: lookup tables (`exc compute instancetype list`, `image list`, `subnet list`, `securitygroup list`, ...) as the source of truth — no hard-coded IDs.
- Safety guardrails around `terminate`, `publicip release`, `rule delete`, `cluster delete`, `apikey delete`, and destructive shell commands over `exec`.
- Interactive access patterns: when to use `exec` (one-shot, bash-interpreted), when `scp` (upload/download, symlinks rejected), when `console` (interactive TTY, SSH ↔ WS fallback).
- Bucket workflows: safe recursive deletes, command-specific remote refs (`bucket/key` and `s3://bucket/key`, with `buckets cp` requiring `s3://` for remote operands), auto multipart uploads, `sync --dry-run`, presigned URLs, and AWS profile configuration for `buckets.excloud.dev`.
- Output-format buckets so agents pipe to `awk`/`jq` correctly.
- A cheat sheet of error messages the CLI actually emits, paired with what each means and how to fix it.