
Renew Google Workspace Events Subscriptions
Lets an agent renew or reactivate expiring Google Workspace Events subscriptions via the gws CLI.
- Repository
- googleworkspace/cli
- Stars
- 32,059
- Licence
- Apache-2.0
- Files
- 1 file
What it does
This skill teaches an AI agent how to use the gws command-line tool to renew Google Workspace Events subscriptions, which otherwise lapse if not refreshed periodically. The agent can renew one named subscription or every subscription expiring within a chosen time window, such as the next two days. It relies on the shared gws authentication and settings described in a companion skill.
Great for
- Administrators or developers who run Google Workspace Events subscriptions and need to keep them active
- Engineers scripting a scheduled job that refreshes subscriptions before they expire
Skip it if
- Users who have never set up Google Workspace Events, since the skill only renews existing subscriptions and does not create them (renewing changes live subscription state in their Google account)
- Anyone without the gws CLI installed and authenticated, because the agent cannot complete the task without it
Try asking
- “Renew the Workspace Events subscription named subscriptions/SUB_ID”
- “Renew all subscriptions expiring within the next 2 days”
- “Check which subscriptions expire within 30 minutes and reactivate them”
Install in 3 steps
- 1
Download the skill
The ZIP contains the 1 original files, the Apache-2.0 licence and an attribution note.
gws-events-renew.zip - 2
Add it to your agent
Claude Code (all projects)
mkdir -p ~/.claude/skills && unzip gws-events-renew.zip -d ~/.claude/skills/Claude Code / Agent SDK (this project only)
mkdir -p .claude/skills && unzip gws-events-renew.zip -d .claude/skills/Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.
- 3
Ask for the task
No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.
Get better results
- Pass a specific subscription name with --name when you know which one to renew, and use --all only when you want a bulk refresh.
- Set up a cron job running gws events +renew --all --within with a window longer than your job interval so subscriptions never lapse.
- Run gws events +renew --help first to confirm flags in your installed version (0.22.5).
What's inside
- SKILL.md
Redistributed unmodified from googleworkspace/cli under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.