Install
openclaw skills install glasses-to-socialTurn smart glasses photos into social media posts. Monitors a Google Drive folder for new images from Meta Ray-Ban glasses (or any smart glasses), analyzes them with vision AI, drafts tweets/posts in the user's voice, and publishes on approval. Use when setting up a glasses-to-social pipeline, processing smart glasses photos for social media, or creating hands-free content workflows.
openclaw skills install glasses-to-socialTransform photos from smart glasses into social media posts with AI-generated captions.
This skill creates a pipeline from smart glasses (Meta Ray-Ban, etc.) to social media:
Create a shared Google Drive folder for glasses photos:
# User creates folder "Glasses-to-Social" in Google Drive
# Share with "Anyone with link can view"
# Copy the folder URL
Create config file at glasses-to-social/config.json:
{
"googleDriveFolderUrl": "https://drive.google.com/drive/folders/YOUR_FOLDER_ID",
"folderId": "YOUR_FOLDER_ID",
"downloadPath": "./glasses-to-social/downloads",
"processedFile": "./glasses-to-social/data/processed.json",
"defaultHashtags": ["#MedicalAI", "#HealthTech"],
"autoPost": false
}
For Meta Ray-Ban glasses:
Ask the agent to check for new photos:
Check my glasses folder for new photos
Set up a cron job to check periodically:
{
"name": "Glasses-to-Social: Check photos",
"schedule": {"kind": "cron", "expr": "*/15 * * * *", "tz": "UTC"},
"payload": {
"message": "Check the Glasses-to-Social folder for new photos. If found, analyze and draft a tweet."
}
}
When a new photo is detected:
Download from Google Drive using gdown:
gdown --folder "FOLDER_URL" -O ./downloads/ --remaining-ok
Compare against processed list in data/processed.json
For new photos, analyze with vision:
Draft post matching user's voice:
Send draft to user for approval:
On approval, publish to configured platform (X/Twitter, etc.)
Mark photo as processed in data/processed.json
Checks Google Drive folder for new images:
scripts/check-new-photos.sh
Output format when new photo found:
NEW_PHOTO_PATH:/path/to/downloaded/photo.jpg
Track processed photos in data/processed.json:
{
"processed": ["photo1.jpg", "photo2.jpg"],
"pending": []
}
gdown Python package for Google Drive access