google-agents-cli-scaffold
Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.
docker-vigil-orchestration
Docker Compose orchestration for Vigil Guard v2.0.0 microservices (11 services). Use when deploying services, managing containers, troubleshooting Docker network issues, working with vigil-net, configuring docker-compose.yml, handling service dependencies, or working with 3-branch detection servi...
Full skill instructions
Multi-service Docker deployment orchestration for Vigil Guard's 3-branch parallel detection architecture with 11 microservices.
services:
# 3-Branch Detection Engine
heuristics-service: # Branch A - Pattern detection (5005)
semantic-service: # Branch B - Embedding similarity (5006)
prompt-guard-api: # Branch C - LLM safety (8000)
# PII & Language Detection
presidio-pii-api: # Dual-language PII detection (5001)
language-detector: # Hybrid language detection (5002)
# Core Platform
n8n: # Workflow engine - 24-node pipeline (5678)
web-ui-backend: # Express API server (8787)
web-ui-frontend: # React SPA (80 internal)
# Monitoring Stack
clickhouse: # Analytics database (8123, 9000)
grafana: # Dashboards (3001)
# Infrastructure
caddy: # Reverse proxy (80, 443)
| Service | Internal Port | External Port | Purpose |
|---|---|---|---|
| heuristics-service | 5005 | 5005 | Branch A detection |
| semantic-service | 5006 | 5006 | Branch B detection |
| prompt-guard-api | 8000 | 8000 | Branch C detection |
| presidio-pii-api | 5001 | 5001 | PII detection |
| language-detector | 5002 | 5002 | Language detection |
| n8n | 5678 | 5678 | Workflow engine |
| web-ui-backend | 8787 | 8787 | Config API |
| web-ui-frontend | 80 | - | React UI (via Caddy) |
| clickhouse | 8123, 9000 | 8123, 9000 | Analytics DB |
| grafana | 3000 | 3001 | Monitoring |
| caddy | 80, 443 | 80, 443 | Reverse proxy |
All services communicate via vigil-net external network.
Internal hostnames:
heuristics-service (Branch A)semantic-service (Branch B)prompt-guard-api (Branch C)vigil-presidio-pii or presidio-pii-apivigil-language-detector or language-detectorvigil-clickhouse or clickhousevigil-n8n or n8nweb-ui-backendweb-ui-frontend vigil-net (network)
│
┌─────────────────────┼─────────────────────┐
│ │ │
clickhouse grafana caddy
│
├── heuristics-service
├── semantic-service (depends: clickhouse)
├── prompt-guard-api
│
├── presidio-pii-api
├── language-detector
│
└── n8n (depends: all detection services)
│
└── web-ui-backend (depends: n8n, clickhouse)
│
└── web-ui-frontend
docker-compose up -d
# 3-Branch Detection only
docker-compose up -d heuristics-service semantic-service prompt-guard-api
# PII Detection only
docker-compose up -d presidio-pii-api language-detector
# Monitoring only
docker-compose up -d clickhouse grafana
# Web UI only
docker-compose up -d web-ui-backend web-ui-frontend caddy
# Workflow engine
docker-compose up -d n8n
# All services
docker-compose logs -f
# Specific service
docker-compose logs -f heuristics-service
# Last 100 lines
docker-compose logs --tail=100 n8n
# Multiple services
docker-compose logs -f heuristics-service semantic-service prompt-guard-api
# All
docker-compose restart
# Specific
docker-compose restart heuristics-service
# 3-Branch services
docker-compose restart heuristics-service semantic-service prompt-guard-api
# Stop all
docker-compose down
# Stop and remove volumes (DESTRUCTIVE!)
docker-compose down -v
# Rebuild all
docker-compose up --build -d
# Rebuild specific
docker-compose up --build -d heuristics-service
# Rebuild with no cache
docker-compose build --no-cache heuristics-service
docker ps
# Should show 11 containers: vigil-*, heuristics-service, semantic-service, etc.
# Branch A - Heuristics
curl http://localhost:5005/health
# Branch B - Semantic
curl http://localhost:5006/health
# Branch C - LLM Guard
curl http://localhost:8000/health
# PII Detection
curl http://localhost:5001/health
# Language Detection
curl http://localhost:5002/health
# n8n
curl http://localhost:5678/healthz
# ClickHouse
curl http://localhost:8123/ping
# Grafana
curl -I http://localhost:3001
# Backend API
curl http://localhost:8787/api/files
# Proxy
curl -I http://localhost/ui/
#!/bin/bash
# scripts/health-check.sh
services=(
"5005:Heuristics"
"5006:Semantic"
"8000:LLM Guard"
"5001:Presidio"
"5002:Language"
"5678:n8n"
"8123:ClickHouse"
"3001:Grafana"
"8787:Backend"
)
for svc in "${services[@]}"; do
port="${svc%%:*}"
name="${svc##*:}"
if curl -s "http://localhost:$port/health" > /dev/null 2>&1; then
echo "✅ $name (:$port)"
else
echo "❌ $name (:$port)"
fi
done
docker network inspect vigil-net
docker network create vigil-net
# From n8n to heuristics
docker exec vigil-n8n curl -s http://heuristics-service:5005/health
# From n8n to semantic
docker exec vigil-n8n curl -s http://semantic-service:5006/health
# From n8n to prompt-guard
docker exec vigil-n8n curl -s http://prompt-guard-api:8000/health
docker volume ls | grep vigil
# ClickHouse data
docker run --rm -v vigil_clickhouse_data:/data -v $(pwd):/backup alpine tar czf /backup/clickhouse-backup.tar.gz /data
# n8n data
docker run --rm -v vigil_n8n_data:/data -v $(pwd):/backup alpine tar czf /backup/n8n-backup.tar.gz /data
# Semantic embeddings
docker run --rm -v vigil_semantic_data:/data -v $(pwd):/backup alpine tar czf /backup/semantic-backup.tar.gz /data
docker volume rm vigil_clickhouse_data
# Find process using port
lsof -i :5005
# Kill process (if needed)
kill -9 <PID>
# Check logs
docker-compose logs heuristics-service
# Check network
docker network inspect vigil-net
# Verify environment variables
docker-compose config
# Check dependencies
docker-compose ps
# View last logs before crash
docker logs --tail=100 heuristics-service
# Check restart count
docker ps -a | grep vigil
# Inspect container
docker inspect heuristics-service
# Restart networking
docker-compose down
docker network rm vigil-net
docker network create vigil-net
docker-compose up -d
# Check branch timing in ClickHouse
docker exec vigil-clickhouse clickhouse-client -q "
SELECT
avg(branch_a_timing_ms) as a_avg,
avg(branch_b_timing_ms) as b_avg,
avg(branch_c_timing_ms) as c_avg
FROM n8n_logs.events_processed
WHERE timestamp > now() - INTERVAL 1 HOUR
"
# Check service resource usage
docker stats heuristics-service semantic-service prompt-guard-api
Loaded from .env file:
# ClickHouse
CLICKHOUSE_USER=admin
CLICKHOUSE_PASSWORD=<auto-generated>
# Grafana
GF_SECURITY_ADMIN_PASSWORD=<auto-generated>
# Backend
SESSION_SECRET=<auto-generated>
JWT_SECRET=<auto-generated>
# Heuristics Service
HEURISTICS_PORT=5005
HEURISTICS_TIMEOUT=1000
# Semantic Service
SEMANTIC_PORT=5006
SEMANTIC_TIMEOUT=2000
EMBEDDING_MODEL=all-MiniLM-L6-v2
# LLM Guard
PROMPT_GUARD_PORT=8000
PROMPT_GUARD_TIMEOUT=3000
# Backend dev server
cd services/web-ui/backend && npm run dev
# Frontend dev server
cd services/web-ui/frontend && npm run dev
# Heuristics dev
cd services/heuristics-service && npm run dev
# Semantic dev
cd services/semantic-service && python app.py
# Build and start all
docker-compose up --build -d
# Verify all healthy
./scripts/status.sh
docker stats
docker system df
# Remove unused containers, images, networks
docker system prune
# Remove volumes too (CAREFUL!)
docker system prune -a --volumes
n8n-vigil-workflow - 24-node workflow serviceclickhouse-grafana-monitoring - Database managementpattern-library-manager - Heuristics patternspresidio-pii-specialist - PII detection servicedocker-compose.ymlservices/heuristics-service/services/semantic-service/.envProject 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.