/google-photos:setup-credentialsfrom google-photos
One-time Google Photos API setup for an account. Choose a Google Cloud project, enable the Photos Library API and Photos Picker API, create a Desktop OAuth client, run the browser consent and save the token in the user's profile folder. Use on "set up Google Photos access", "connect my Google Photos", or when another google-photos skill reports no token, invalid_grant or missing scopes.
Ships in google-photos. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Everything lands in the account's state_dir from the profile (see references/profile.md). Nothing goes in the plugin.
Script: scripts/gphotos_api.py (run with uv run, which fetches its dependencies).
Reuse a project that already has an OAuth consent screen and a Desktop client, if there is one. That's the fastest route. Otherwise create one. With gcloud signed in as the Google account's admin or owner:
gcloud projects create <project-id> # skip when reusing
gcloud services enable photoslibrary.googleapis.com photospicker.googleapis.com --project <project-id>
auth weekly, or publish the app (unverified apps show a warning
but work for their owner).references/api-capabilities.md under Data access.uv run scripts/gphotos_api.py [--account NAME] auth --client-secret ~/Downloads/client_secret_XXXX.json
The browser opens a Google consent page and the user clicks Allow. The client JSON is copied into the state dir
(mode 600) and token.json is written. Check it with whoami, then list, which should return an empty list or the app's albums.
Add or update the account in profile.json: google_account, state_dir, and where the client JSON came from, so the
next machine can fetch it again. If the user keeps secrets in a password manager, store the client JSON there and
write that reference in oauth_client.
HTTP 403 ... has not been used in project or SERVICE_DISABLED: the API isn't enabled on the client's project (step 1).access_denied / org_internal: the account isn't in the Workspace org of an Internal app. Use an External app.invalid_grant: the token was revoked or has expired (Testing apps after 7 days). Run auth again.token lacks scopes: a newer plugin version asks for more access. Run auth again.What SKILL.md sets; muted values are Claude Code's defaults
google-photos@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin google-photosOther plugins' skills for the same job
6 skills in this plugin
/albumsCreate a Google Photos album and upload local images or videos into it (renders, mock-ups, screenshots, exports), with an optional browsable copy in a Drive folder. Re-runs skip files already added. Use on "make a Google Photos album", "put these in an album called X", "add these to the X album", "list the albums you made"./browser-actionsDo the Google Photos jobs the APIs can't, by driving a signed-in Chrome. Download a whole album (including albums shared with you) as zips, share an album or make a share link, and add photos to an album created in the Photos app. Use on "download all of album X", "back up this shared album", "share the album with Y", "add these to my existing album"./complementary-plugins