google-agents-cli-scaffold
Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.
Camera, GPIO, and hardware integration for Raspberry Pi 5. Use for camera testing, hardware diagnostics, GPIO troubleshooting, and sensor issues.
Full skill instructions
Complete reference for camera, GPIO, USB, and hardware integration on Raspberry Pi 5 for the PhotoBooth application.
| Component | Specification |
|---|---|
| CPU | Broadcom BCM2712, Quad-core Cortex-A76 @ 2.4GHz |
| RAM | 8GB LPDDR4X |
| USB | 2x USB 3.0, 2x USB 2.0 |
| GPIO | 40-pin header, 26 GPIO pins |
| Network | Gigabit Ethernet, Wi-Fi 5 (802.11ac), Bluetooth 5.0 |
The PhotoBooth uses iPad Air as the camera device via browser's getUserMedia API.
const constraints: MediaStreamConstraints = {
video: {
facingMode: 'user', // Front camera for selfies
width: { ideal: 1920 }, // Full HD
height: { ideal: 1080 },
frameRate: { ideal: 30 }
},
audio: false
};
# On iPad (Safari DevTools):
# Check getUserMedia support
navigator.mediaDevices.getUserMedia({ video: true })
.then(stream => console.log('Camera OK'))
.catch(err => console.error('Camera Error:', err));
# List all USB devices
lsusb
# Detailed info
lsusb -v | grep -A 10 "Canon"
# Check USB device tree
lsusb -t
# Check kernel messages for USB
dmesg | grep -i usb | tail -20
# Reset USB bus (if device not responding)
sudo usbreset /dev/bus/usb/001/002 # Replace with actual device
/etc/hostapd/hostapd.conf - AP configuration/etc/dnsmasq.conf - DHCP configuration/etc/dhcpcd.conf - Static IP for wlan0interface=wlan0
driver=nl80211
ssid=photobooth
hw_mode=g
channel=7
wmm_enabled=0
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=photobooth-1998
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP
# Check Wi-Fi AP status
sudo systemctl status hostapd
# List connected clients
iw dev wlan0 station dump
# Check IP assignments
cat /var/lib/misc/dnsmasq.leases
# CPU temperature
vcgencmd measure_temp
# Continuous monitoring
watch -n 1 vcgencmd measure_temp
# Memory usage
free -h
# CPU usage
top -bn1 | head -20
# Disk usage
df -h
# Check all PhotoBooth services
sudo systemctl status hostapd
sudo systemctl status dnsmasq
sudo systemctl status cups
sudo systemctl status photobooth-backend
sudo systemctl status photobooth-frontend
Cause: HTTPS required for getUserMedia on non-localhost Solution:
Cause: Power issues or driver problems Solution:
# Check USB power
vcgencmd get_throttled
# Reload USB driver
sudo modprobe -r usb_storage && sudo modprobe usb_storage
# Check dmesg for errors
dmesg | tail -50
Cause: Interface conflict or config error Solution:
# Check for conflicts
sudo rfkill list
# Unblock if blocked
sudo rfkill unblock wifi
# Restart hostapd
sudo systemctl restart hostapd
Cause: Inadequate cooling or high load Solution:
# Check temperature
vcgencmd measure_temp
# If > 80°C, reduce CPU frequency temporarily
echo 1500000 | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
Create /home/pi/scripts/test-hardware.sh:
#!/bin/bash
echo "=== PhotoBooth Hardware Diagnostics ==="
echo ""
echo "CPU Temperature: $(vcgencmd measure_temp)"
echo "Memory: $(free -h | grep Mem | awk '{print $3"/"$2}')"
echo "Disk: $(df -h / | tail -1 | awk '{print $3"/"$2" ("$5" used)"}')"
echo ""
echo "=== USB Devices ==="
lsusb | grep -v "hub" || echo "No non-hub USB devices"
echo ""
echo "=== Network ==="
echo "Wi-Fi AP: $(systemctl is-active hostapd)"
echo "DHCP: $(systemctl is-active dnsmasq)"
echo "Connected clients: $(iw dev wlan0 station dump 2>/dev/null | grep Station | wc -l)"
echo ""
echo "=== Services ==="
echo "CUPS: $(systemctl is-active cups)"
echo "Backend: $(systemctl is-active photobooth-backend 2>/dev/null || echo 'not configured')"
echo ""
echo "=== Diagnostics Complete ==="
docs/DEPLOYMENT.md - Full deployment guidedocs/ERROR_CODES.md - Hardware error codes (PRINTER_, STORAGE_)docs/use-cases/UC-205-health-check.md - Health monitoringProject 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.