googlephotos-automation
它能做什么
这个工具可以帮你整理 Google Photos 中的照片。你可以上传新照片、创建相册、搜索旧照片,还可以把照片添加到已有的相册中。
适用场景
- ✓想把度假照片整理到一个相册里的时候。
- ✓想找到很久以前拍的某张照片的时候。
- ✓想一次性把多张照片上传到 Google Photos 的时候。
技能链接
https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/googlephotos-automation/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“创建一个名为“Beach Trip”的相册,并把“Downloads/Beach”文件夹里的照片上传到相册中。”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具连接 Google Photos,并使用特定的命令来完成你提出的操作,比如创建相册或上传文件。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Google Photos Automation via Rube MCP
Upload photos, manage albums, search media items, and batch-organize content in Google Photos using Rube MCP (Composio).
Toolkit docs: composio.dev/toolkits/googlephotos
Prerequisites
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active connection via
RUBE_MANAGE_CONNECTIONSwith toolkitgooglephotos - Always call
RUBE_SEARCH_TOOLSfirst to get current tool schemas
Setup
Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
- Verify Rube MCP is available by confirming
RUBE_SEARCH_TOOLSresponds - Call
RUBE_MANAGE_CONNECTIONSwith toolkitgooglephotos - If connection is not ACTIVE, follow the returned auth link to complete setup
- Confirm connection status shows ACTIVE before running any workflows
Core Workflows
1. List Albums
Use GOOGLEPHOTOS_LIST_ALBUMS to retrieve all albums visible in the user's Albums tab.
Tool: GOOGLEPHOTOS_LIST_ALBUMS
Parameters:
- pageSize: Number of albums per page
- pageToken: Pagination token
- excludeNonAppCreatedData: Only show albums created by this app
2. Create a New Album
Use GOOGLEPHOTOS_CREATE_ALBUM to create a new album in Google Photos.
Tool: GOOGLEPHOTOS_CREATE_ALBUM
Parameters:
- title (required): Album title
3. Upload Media
Use GOOGLEPHOTOS_UPLOAD_MEDIA to upload an image or video file to Google Photos.
Tool: GOOGLEPHOTOS_UPLOAD_MEDIA
Parameters:
- file_to_upload: Local file path to upload
- url: URL of file to upload (alternative to file_to_upload)
- file_name: Name for the uploaded file
- description: Description/caption for the media item
4. Batch Upload and Create Media Items
Use GOOGLEPHOTOS_BATCH_CREATE_MEDIA_ITEMS to upload multiple files and create media items in one operation.
Tool: GOOGLEPHOTOS_BATCH_CREATE_MEDIA_ITEMS
Parameters:
- files: Local file paths to upload
- urls: URLs of files to upload
- media_files: Mixed input (files and URLs)
- albumId: Album to add items to
- albumPosition: Position within the album
5. Search Media Items
Use GOOGLEPHOTOS_SEARCH_MEDIA_ITEMS to search the user's photo library with filters.
Tool: GOOGLEPHOTOS_SEARCH_MEDIA_ITEMS
Parameters:
- albumId: Filter by album
- filters: Search filters (date ranges, content categories, media types)
- orderBy: Sort order
- pageSize: Results per page
- pageToken: Pagination token
6. Add Items to an Album
Use GOOGLEPHOTOS_BATCH_ADD_MEDIA_ITEMS to add existing media items to an album.
Tool: GOOGLEPHOTOS_BATCH_ADD_MEDIA_ITEMS
Parameters:
- albumId (required): Target album ID
- mediaItemIds (required): Array of media item IDs to add
Common Patterns
- Create album then upload: Use
GOOGLEPHOTOS_CREATE_ALBUMto create an album, thenGOOGLEPHOTOS_BATCH_CREATE_MEDIA_ITEMSwith the album ID to upload and organize photos in one step. - List then organize: Use
GOOGLEPHOTOS_SEARCH_MEDIA_ITEMSorGOOGLEPHOTOS_LIST_MEDIA_ITEMSto find media item IDs, thenGOOGLEPHOTOS_BATCH_ADD_MEDIA_ITEMSto add them to albums. - Update album metadata: Use
GOOGLEPHOTOS_UPDATE_ALBUMto change an album's title or cover photo. - Get album details: Use
GOOGLEPHOTOS_GET_ALBUMwith an album ID to retrieve full album information. - Add enrichments: Use
GOOGLEPHOTOS_ADD_ENRICHMENTto add text overlays, locations, or map enrichments to album positions. - Upload from URLs: Use the
urlparameter inGOOGLEPHOTOS_UPLOAD_MEDIAorurlsinGOOGLEPHOTOS_BATCH_CREATE_MEDIA_ITEMSto upload images directly from web URLs.
Known Pitfalls
GOOGLEPHOTOS_LIST_MEDIA_ITEMSis deprecated -- preferGOOGLEPHOTOS_SEARCH_MEDIA_ITEMSfor listing and filtering media.GOOGLEPHOTOS_UPLOAD_MEDIAsupports images up to 200MB and videos up to a larger limit. Exceeding these will fail.- Album IDs must be obtained from
GOOGLEPHOTOS_LIST_ALBUMSorGOOGLEPHOTOS_CREATE_ALBUMresponses -- they are opaque strings. GOOGLEPHOTOS_BATCH_ADD_MEDIA_ITEMScan only add items to albums created by the app or albums the user owns.- The
filtersparameter inGOOGLEPHOTOS_SEARCH_MEDIA_ITEMSuses a specific Google Photos API filter structure -- consult the schema for date range and content category formats.
…
常见问题
我需要连接自己的 Google Photos 账号吗?
需要。工具需要获得访问和管理你 Google Photos 中照片的权限。连接过程中会有步骤指引你完成。
我可以从网络链接上传照片吗?
可以,你既可以直接从网址上传照片,也可以上传电脑里的文件。
如果我想上传的照片太大,会怎样?
超过 200MB 的照片可能会上传失败。视频的大小限制更宽松,但如果视频过大,同样可能失败。
详情
作者的原始描述
Automate Google Photos tasks via Rube MCP (Composio): upload media, manage albums, search photos, batch add items, create and update albums. Always search tools first for current schemas.
热度
- GitHub 星标
- 77k
- 排名
- #2117
- 许可证
- —
- 更新时间
- 2026/9/18
评论
- …
同一仓库的更多技能
artifacts-builder
77k帮助你的智能体构建复杂的用户界面。它借助现代技术,创建功能丰富的交互式网页。
brand-guidelines
77k帮助你的智能体把官方品牌色和字体应用到各类材料中。适合需要体现公司视觉形象的场景,保持视觉统一。
canvas-design
77k让你的智能体创作 .png 和 .pdf 格式的原创视觉作品。当用户需要海报、艺术作品或其他静态设计时使用。
changelog-generator
77k帮助你的智能体根据代码提交记录撰写面向用户的更新说明。它能把技术内容转换成通俗易懂的文字。