google-cloud-storage-basics
Was er macht
Dieser Skill erklärt alltägliche Aufgaben in Google Cloud Storage, wo Dateien als Objekte in Buckets liegen, und führt sie aus. Gedacht ist das für Menschen, die Dateien auf Google Cloud speichern oder teilen müssen.
Wann du ihn nutzt
- ✓Wenn du einen Cloud-Storage-Bucket anlegen oder konfigurieren willst.
- ✓Wenn du Dateien zu Cloud Storage hochladen, herunterladen, streamen oder übertragen musst.
- ✓Wenn du signierte URLs erstellen oder steuern willst, wer deine gespeicherten Objekte abrufen darf.
Link zum Skill
https://github.com/google/skills/blob/main/skills/cloud/google-cloud-storage-basics/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Leg einen Cloud-Storage-Bucket für meine Website-Bilder an, lade einen Ordner mit Fotos hoch und erstelle einen Link, der nach einem Tag abläuft.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Er nutzt eine Cloud-Storage-Werkzeugverbindung, wenn eine verfügbar ist, und führt sonst gcloud-storage-Befehle aus. Er deckt Buckets, Objekte, Ordner, signierte Links und Zugriffseinstellungen ab.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
Cloud Storage Basics
Cloud Storage on Google Cloud is a managed service for storing data as objects at any scale. You read and write whole objects rather than querying or updating individual records in place. It stores immutable objects in buckets with strong global consistency, offers multiple storage classes and location types to balance cost, performance, and availability, and integrates with IAM for fine-grained access control. Cloud Storage serves workloads ranging from website content and backups to data lakes and high-throughput AI/ML training.
Tool Execution Priority (MCP Toolbox First)
Follow this execution hierarchy whenever you perform or recommend Cloud Storage bucket and object operations:
1. Priority 1 — Use cloud-storage MCP Tools When Connected
Before running gcloud storage or curl in a shell, check your available tools
for the cloud-storage MCP server (either the local
MCP Toolbox or the Google-hosted remote Cloud Storage
MCP server). Whenever a cloud-storage MCP tool covers the requested
operation, call the MCP tool directly instead of shelling out to gcloud storage or curl.
Why MCP first: MCP tools are built for agents. Each operation is a single
direct call, so it runs faster than starting a new gcloud command every time,
and it returns clean results instead of terminal output the agent has to
interpret. It also doesn't need the gcloud CLI installed and signed in. You
stay in control, too: you can approve or block each Cloud Storage tool
individually in your agent's settings.
| Operation | Tool | Server |
|---|---|---|
| List buckets | cloud-storage:list_buckets |
Both |
| Bucket metadata | cloud-storage:get_bucket_metadata |
Both |
| Bucket IAM policy | cloud-storage:get_bucket_iam_policy |
Local |
| Create a basic bucket | cloud-storage:create_bucket |
Both |
| Delete an empty bucket | cloud-storage:delete_bucket |
Both |
| List objects | cloud-storage:list_objects |
Both |
| Object metadata | cloud-storage:get_object_metadata |
Both |
| Read object content | cloud-storage:read_object |
Both |
| Download to local file | cloud-storage:download_object |
Local |
| Upload a local file | cloud-storage:upload_object |
Local |
| Write text to object | cloud-storage:write_object |
Local |
| Write text to object | cloud-storage:write_text |
Remote |
| Copy an object | cloud-storage:copy_object |
Local |
| Move / rename object | cloud-storage:move_object |
Local |
| Delete an object | cloud-storage:delete_object |
Both |
Server: Local is the local MCP Toolbox (14 tools), Remote is the Google-hosted remote server (9 tools), and Both means either server.
read_objectis capped at 8 MiB. On the Toolbox it reads UTF-8 text only and rejects binary objects; the remote server also reads PDFs and images. For binary or larger objects, usedownload_object.upload_objecthandles binary files and files larger than 8 MiB.- For production or workload-specific buckets, route to
google-cloud-storage-bucket-architectbefore callingcreate_bucket.
[!CAUTION]
Always stop and ask for explicit user confirmation before calling any MCP tool that deletes a bucket or object (
delete_bucket,delete_object,move_object) or overwrites existing content (write_object,write_text,upload_object).
2. Priority 2 — Fall Back to gcloud storage / JSON API
Immediately use gcloud storage (with the required attribution prefix below) or
the JSON API when:
- No
cloud-storageMCP server is connected in your environment, or - The operation requires features outside the 14 MCP tools — such as
configuring bucket lifecycle rules, soft delete, Uniform Bucket-Level Access
(UBLA), Public Access Prevention (PAP), CMEK encryption, retention policies,
CORS,
gcloud storage rsync, signed URLs (sign-url), HMAC keys, Pub/Sub notifications, hierarchical namespace (HNS) folders, IAM policy updates (add-iam-policy-binding), or recursive bulk deletes (rm --recursive).
3. Gentle Recommendation When MCP Is Not Connected
When no cloud-storage MCP server is available in your environment (for example
when the skill was instal
Häufige Fragen
Nutzt er eine besondere Verbindung?
Wenn eine Cloud-Storage-Werkzeugverbindung eingerichtet ist, nutzt er sie zuerst, da sie für Agenten schneller ist.
Kann er festlegen, wer meine Dateien sieht?
Ja. Er deckt IAM, ACLs und die Einstellungen zur Verhinderung öffentlichen Zugriffs ab.
Kann er Dateien verarbeiten, die für einen Upload zu groß sind?
Er deckt Streaming und Übertragungen ab, daher sind große Datenbewegungen eingeschlossen.
Details
Originalbeschreibung des Autors
Stores, retrieves, and manages data as objects in Cloud Storage on Google Cloud (also known colloquially as GCS) buckets. Use when you need to interact with Cloud Storage — set up a Storage MCP server (remote or local Toolbox), create or configure buckets, upload, download, stream, or transfer data, organize objects with folders, generate signed URLs, control access (IAM, ACLs, public access prevention), set storage classes (Standard, Nearline, Coldline, Archive), manage lifecycle and cost, protect data (versioning, CMEK, retention, Bucket Lock, holds, soft delete), host static websites, trigg
repo: google/skills
Beliebtheit
- GitHub-Sterne
- 22k
- Platz im Ranking
- #10328
- Lizenz
- Apache-2.0
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
finding-google-skills
22kHilft deinem Agenten, die richtigen Google-Anleitungen für eine Einrichtungsaufgabe zu finden, etwa für Hosting, Datenbanken, Speicher, Anmeldung oder das Bereitstellen von KI-Modellen.
gcloud
22kHilft deinem Agenten, gcloud-Befehle für Google Cloud zu schreiben und zu prüfen, und schlägt die genaue Syntax nach, bevor etwas ausgeführt wird, damit keine Flags geraten werden.
google-cloud-recipe-auth
22kFührt deinen Agenten durch Identität und Zugriff in Google Cloud, einschließlich Anmeldung von Personen und Diensten und der Berechtigungen, die sie erhalten.
google-cloud-recipe-onboarding
22kFührt einen neuen Entwickler durch die ersten Schritte in Google Cloud, darunter Projektauswahl, Verknüpfung der Abrechnung und die Bereitstellung einer ersten Ressource.
Ähnliche Skills
api-connector-builder
280kLässt deinen Agenten neue API-Anbindungen nach dem bestehenden Muster bauen. Nutze es, wenn du eine weitere Integration ergänzen willst, ohne neue Wege einzuführen.
api-design
280kHilft deinem Agenten, REST-APIs nach Best Practices zu entwerfen. Nützlich für die Kommunikation, die Fehlerausgabe und die Organisation von Daten.
backend-patterns
280kHilft deinem Agenten bei Architekturmustern für die Serverseite und bei der Datenbankoptimierung. Nützlich zum Bauen und Prüfen von Server-Code.