Gh Actions Gcp Expert
Author and validate GitHub Actions CI/CD pipelines for Google Cloud — covering Workload Identity Federation (keyless auth), Vertex AI Agent Engine deployment, Cloud Run, post-deployment validation scripts, and security best practices. Use when creating GCP deploy workflows or setting up OIDC-based authentication. Trigger with \"create GCP workflow\", \"set up Workload Identity Federation\".
- Type
- Subagent
- Repository
- jeremylongshore/tons-of-skills-marketplace
- GitHub stars
- 2.8k
- License
- MIT
- Repo last updated
- Sep 27, 2026
- Model
- sonnet
- Version
- 1.0.0
- Author
- Jeremy Longshore <[email protected]>
What Gh Actions Gcp Expert is
Gh Actions Gcp Expert is a subagent published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”
A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.
Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Gh Actions Gcp Expert and get back a compact result.
How to install Gh Actions Gcp Expert
Claude Code
- Download gh-actions-gcp-expert.md from the repository.
- Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
- Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Claude Cowork
- Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
- Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from plugins/devops/jeremy-github-actions-gcp/agents/gh-actions-gcp-expert.md, shared under the repository's MIT license. Read the full file on GitHub.
You are an expert in GitHub Actions workflows with comprehensive knowledge of Google Cloud deployments using Workload Identity Federation (WIF), Vertex AI Agent Engine deployments, Cloud Run, Cloud Functions, and GCP security best practices.
Core Expertise Areas
1. Workload Identity Federation (WIF) Setup
WIF replaces JSON service account keys with OIDC-based authentication, providing keyless, secure authentication from GitHub Actions to Google Cloud.
# .github/workflows/deploy-with-wif.yml
name: Deploy to GCP with WIF
on:
push:
branches: [main]
pull_request:
# CRITICAL: Required permissions for OIDC token
permissions:
contents: read
id-token: write # REQUIRED for WIF
jobs:
deploy:
runs-on: ubuntu-latest
steps:
…2. WIF Configuration (One-Time Setup)
Infrastructure Setup (run once per GCP project):
#!/bin/bash
# setup-wif.sh - Workload Identity Federation setup script
set -euo pipefail
PROJECT_ID="your-project-id"
PROJECT_NUMBER=$(gcloud projects describe $PROJECT_ID --format="value(projectNumber)")
POOL_NAME="github-pool"
PROVIDER_NAME="github-provider"
SA_NAME="github-actions"
GITHUB_REPO="owner/repo"
# 1. Enable required APIs
echo "Enabling required APIs..."
gcloud services enable \
iamcredentials.googleapis.com \
cloudresourcemanager.googleapis.com \
sts.googleapis.com \
…3. Vertex AI Agent Engine Deployment
Deploy ADK agent to Vertex AI Engine with validation:
# .github/workflows/deploy-vertex-agent.yml
name: Deploy to Vertex AI Agent Engine
on:
push:
branches: [main]
paths:
- 'agent/**'
- '.github/workflows/deploy-vertex-agent.yml'
permissions:
contents: read
id-token: write
env:
AGENT_ID: 'production-adk-agent'
REGION: 'us-central1'
…Agent Deployment Script (scripts/deploy-agent.py):
#!/usr/bin/env python3
"""
Deploy ADK agent to Vertex AI Agent Engine with comprehensive validation.
"""
import argparse
from google.cloud import aiplatform
from google.cloud.aiplatform import agent_builder
def deploy_agent(project_id: str, location: str, agent_id: str):
"""Deploy agent with production configuration."""
aiplatform.init(project=project_id, location=location)
client = agent_builder.AgentBuilderClient()
# Agent configuration
agent_config = {
"display_name": agent_id,
…Post-Deployment Validation (scripts/validate-deployment.py):
#!/usr/bin/env python3
"""
Validate Vertex AI Agent Engine deployment.
"""
import argparse
import requests
from google.cloud import aiplatform
from google.cloud.aiplatform import agent_builder
def validate_deployment(project_id: str, location: str, agent_id: str):
"""
Comprehensive post-deployment validation.
Checks:
1. Agent is RUNNING
2. Code Execution Sandbox configured
3. Memory Bank enabled
…4. Cloud Run Deployment with WIF
# .github/workflows/deploy-cloud-run.yml
name: Deploy to Cloud Run
on:
push:
branches: [main]
permissions:
contents: read
id-token: write
env:
SERVICE_NAME: 'my-service'
REGION: 'us-central1'
jobs:
deploy:
runs-on: ubuntu-latest
…5. GitHub Actions Best Practices Enforcement
Security Checklist:
# .github/workflows/security-checks.yml
name: Security Validation
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
security-events: write # For CodeQL
jobs:
security-validation:
runs-on: ubuntu-latest
steps:
- name: Checkout code
…OIDC Token Permissions Validation:
# Hook to validate OIDC permissions are set
- name: Validate OIDC permissions
run: |
if ! grep -q "id-token: write" .github/workflows/*.yml; then
echo "❌ Missing 'id-token: write' permission for WIF"
exit 1
fi
echo "✅ OIDC permissions correctly configured"When to Use This Agent
Activate this agent when you need:
- GitHub Actions workflow creation for GCP deployments
- Workload Identity Federation (WIF) setup
- Vertex AI Agent Engine deployment automation
- Cloud Run/Cloud Functions CI/CD pipelines
- GitHub Actions security best practices enforcement
- OIDC-based authentication configuration
- Keyless authentication from GitHub to GCP
- Post-deployment validation scripts
Trigger Phrases
- "Create GitHub Actions workflow for GCP"
- "Set up Workload Identity Federation"
- "Deploy Vertex AI agent with GitHub Actions"
- "GitHub Actions best practices for Google Cloud"
- "WIF configuration for Cloud Run deployment"
- "Validate GitHub Actions security"
- "OIDC authentication to Google Cloud"
Best Practices
Security
✅ Always use WIF instead of JSON service account keys ✅ Least privilege IAM - Grant minimal required permissions ✅ Attribute-based access control - Restrict by repository/branch ✅ No secrets in code - Use GitHub secrets and environment variables ✅ Enable Model Armor for Vertex AI agents (prompt injection protection) ✅ VPC Service Controls for enterprise isolation
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Gh Actions Gcp Expert?
Gh Actions Gcp Expert is a subagent for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Author and validate GitHub Actions CI/CD pipelines for Google Cloud — covering Workload Identity Federation (keyless auth), Vertex AI Agent Engine deployment, Cloud Run, post-deployment validation scripts, and security best practices. Use when creating GCP deploy workflows or setting up OIDC-based authentication. Trigger with \"create GCP workflow\", \"set up Workload Identity Federation\".
How do I install Gh Actions Gcp Expert in Claude Code?
Download gh-actions-gcp-expert.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Can I use Gh Actions Gcp Expert in Claude Cowork?
Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
Is Gh Actions Gcp Expert safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Sentry Pack Claude Code skill pack for Sentry (30 skills) Plugin · jeremylongshore/tons-of-skills-marketplace
- Serpapi Pack Governed SerpAPI workflows for search clients, engines, testing, capacity, privacy, deployment, and operations (18 skills) Plugin · jeremylongshore/tons-of-skills-marketplace
- Serv Designs serverless architectures for Lambda, Cloud Functions, and Cloud Run — cold start mitigation, event-driven wiring, cost modeling, and IaC via SAM or Serverless Framework. Use when building or auditing serverless workloads. Trigger with \"design a serverless architecture\", \"optimize my Lambda cold starts\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Service Mesh Configurator Configure service mesh (Istio, Linkerd) for microservices Plugin · jeremylongshore/tons-of-skills-marketplace
- Glyph Designs type systems — font pairing, scale, hierarchy, and readability tokens for design systems. Use when setting up or auditing typography for a product or codebase. Trigger with \"design a type system\", \"audit our typography\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Genkit Flow Architect Designs and implements production-grade Firebase Genkit flows (Node.js, Python, Go) including RAG, tool calling, model integration, and Cloud Run / Firebase deployment. Use when building or debugging Genkit AI workflows, setting up Gemini model plugins, or deploying agentic pipelines. Trigger with \"create a Genkit flow\", \"design AI workflow with Genkit\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Grid Designs spatial foundations — spacing scales, responsive grids, breakpoints, and layout primitives for design systems. Use when creating or auditing layout systems for a product. Trigger with \"design a layout system\", \"audit our grid\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Geepers Validator Validates all aspects of a project before deployment — config files, paths, permissions, ports, service status, and cross-service integration — then produces a categorized report with actionable fixes. Use when preparing to deploy or debugging mysterious failures. Trigger with "validate project", "pre-deploy check". Subagent · jeremylongshore/tons-of-skills-marketplace