Gcp Pubsub
Provides Google Cloud guidance and assistance for deploying and managing cloud infrastructure.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add gcp-pubsub npx -- -y @trustedskills/gcp-pubsub
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"gcp-pubsub": {
"command": "npx",
"args": [
"-y",
"@trustedskills/gcp-pubsub"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows AI agents to interact with Google Cloud Pub/Sub, a fully managed real-time messaging service. It enables sending messages to topics and subscribing to those topics to receive messages. This facilitates building event-driven architectures and decoupling systems.
When to use it
- Real-time data ingestion: Ingest sensor data from IoT devices into Google Cloud for analysis.
- Event notifications: Send notifications to downstream services when events occur in your application (e.g., order creation, user signup).
- Decoupled microservices: Allow different microservices to communicate asynchronously without direct dependencies.
- Stream processing pipelines: Feed data into Google Cloud Dataflow or other stream processing engines.
Key capabilities
- Publish messages to Pub/Sub topics
- Subscribe to Pub/Sub topics and receive messages
- Handles authentication with GCP credentials
Example prompts
- "Send a message to the 'order-updates' topic with the subject 'new_order' and body 'Order #12345 created'."
- "Subscribe to the 'user-activity' topic and show me the last 5 messages."
- “Publish an error event to the ‘system-errors’ PubSub topic.”
Tips & gotchas
- Requires proper Google Cloud credentials configured for the AI agent. Ensure the service account has appropriate permissions (e.g.,
pubsub.topics.publish,pubsub.subscriptions.consume).
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.