google-agents-cli-scaffold
Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.
managing-sops-secrets
Manages SOPS-encrypted Kubernetes secrets for Flux GitOps deployments using age encryption
Full skill instructions
This skill handles creation, editing, and troubleshooting of SOPS-encrypted secrets in the Superbloom Flux repository.
SOPS config location: flux/.sops.yaml
creation_rules:
- path_regex: 'clusters/superbloom/.*/secrets.yaml'
encrypted_regex: '^(data|stringData)$'
age: ['<your-age-public-key>']
This encrypts data and stringData fields in any secrets.yaml under clusters/superbloom/.
cd flux
sops -d clusters/superbloom/apps/<app>/secrets.yaml
cd flux
sops clusters/superbloom/apps/<app>/secrets.yaml
# Opens in $EDITOR, auto-encrypts on save
cd flux
# Decrypt to temp file
sops -d clusters/superbloom/apps/<app>/secrets.yaml > /tmp/secrets.yaml
# Edit
vim /tmp/secrets.yaml
# or: sed -i 's/old/new/' /tmp/secrets.yaml
# Copy back and encrypt
cp /tmp/secrets.yaml clusters/superbloom/apps/<app>/secrets.yaml
sops --encrypt --in-place clusters/superbloom/apps/<app>/secrets.yaml
# Clean up
rm /tmp/secrets.yaml
cd flux
# Create plaintext
cat > clusters/superbloom/apps/<app>/secrets.yaml << 'EOF'
apiVersion: v1
kind: Secret
metadata:
name: my-secret
namespace: my-app
type: Opaque
stringData:
API_KEY: example-api-key-replace-me
DATABASE_URL: postgres://user:example@host/db
EOF
# Encrypt in place
sops --encrypt --in-place clusters/superbloom/apps/<app>/secrets.yaml
apiVersion: v1
kind: Secret
metadata:
name: app-env
namespace: app
type: Opaque
stringData:
API_KEY: REPLACE_WITH_REAL_VALUE
DB_PASSWORD: REPLACE_WITH_REAL_VALUE
apiVersion: v1
kind: Secret
metadata:
name: app-secrets
namespace: app
type: Opaque
stringData:
values.yaml: |
controllers:
main:
serviceAccount:
name: app
containers:
main:
image:
repository: ghcr.io/saavy1/app
tag: latest
env:
SECRET_KEY: "REPLACE_WITH_REAL_VALUE"
service:
main:
controller: main
ports:
http:
port: 3000
apiVersion: v1
kind: Secret
metadata:
name: app-helm-values
namespace: app
type: Opaque
stringData:
values.yaml: |
# helm values
---
apiVersion: v1
kind: Secret
metadata:
name: app-env
namespace: app
type: Opaque
stringData:
API_KEY: REPLACE_WITH_REAL_VALUE
After encryption, files look like:
stringData:
API_KEY: ENC[AES256_GCM,data:...,iv:...,tag:...,type:str]
sops:
age:
- recipient: <your-age-public-key>
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
<encrypted-key-data>
-----END AGE ENCRYPTED FILE-----
lastmodified: "2025-12-14T01:00:00Z"
mac: ENC[AES256_GCM,...]
encrypted_regex: ^(data|stringData)$
version: 3.11.0
Cause: Running sops from wrong directory or path doesn't match regex
Fix: Run from flux/ directory:
cd flux
sops --encrypt --in-place clusters/superbloom/apps/<app>/secrets.yaml
Or update .sops.yaml path_regex to match your file path.
Cause: Age private key not available
Fix: Ensure key exists:
cat ~/.config/sops/age/keys.txt
# or
export SOPS_AGE_KEY_FILE=~/.config/sops/age/keys.txt
Cause: Cluster missing sops-age secret
Check:
kubectl get secret sops-age -n flux-system
Fix: The sops-age secret must contain the private key for cluster-side decryption.
Cause: Flux hasn't reconciled yet
Fix:
flux reconcile kustomization flux-system --with-source
Cause: SOPS preserved a numeric type. Look for type:int in the encrypted value:
DISCORD_CLIENT_ID: ENC[AES256_GCM,data:...,type:int] # ← problem
When decrypted, this becomes a number, but stringData requires strings.
Fix: Re-encrypt as string:
cd flux
sops clusters/superbloom/apps/<app>/secrets.yaml
# In editor, ensure the value is quoted: "1234567890"
# Save - SOPS will re-encrypt with type:str
Or decrypt, fix, re-encrypt:
sops -d clusters/superbloom/apps/<app>/secrets.yaml > /tmp/secrets.yaml
# Edit /tmp/secrets.yaml - quote numeric values: "1234567890"
cp /tmp/secrets.yaml clusters/superbloom/apps/<app>/secrets.yaml
sops --encrypt --in-place clusters/superbloom/apps/<app>/secrets.yaml
rm /tmp/secrets.yaml
Prevention: Always quote values that look like numbers:
stringData:
DISCORD_CLIENT_ID: "1325902250497020000" # ← quoted = string
PORT: "3000" # ← quoted = string
.sops.yaml) is safe to sharerm /tmp/secrets.yamlflux/ directoryENC[AES256_GCM,...] patternsProject scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.
Set up tracing, logging, and monitoring for deployed ADK agents across Cloud Trace, BigQuery, and third-party platforms.
Enterprise Azure infrastructure architect generating Bicep or Terraform from workload descriptions.
Plan and configure production-ready Azure Kubernetes Service clusters with Day-0 and Day-1 best practices.
Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.
Web search, scraping, extraction, crawling, and monitoring via ScrapeGraph AI CLI.
Skill for working with Firebase Hosting (Classic). Use this when you want to deploy static web apps, Single Page Apps (SPAs), or simple microservices. Do NOT use for Firebase App Hosting.
Deploy and manage web apps with Firebase App Hosting. Use this skill when deploying Next.js/Angular apps with backends.
Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".
Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.
Design and build isolated, reusable Convex backend components with clear boundaries and app-facing wrappers.
Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".
Opus.ai: Revolutionize Your Web Experience
Build a no-code AI app in minutes.
An IDE for code migration from legacy to modern frameworks through coding agents.
Automate CGI animation in live-action scenes
Branded artistic QR-code concepts
Launch a website in seconds with AI.
Streamline Your Coding Experience with AI Code Helper
Convert any screenshot or design to clean code.