
Gws Events Renew
- 24.7k installs
- 30k repo stars
- Updated July 22, 2026
- googleworkspace/cli
gws-events-renew is a Google Workspace CLI skill that renews or reactivates Workspace Events subscriptions via gws events +renew before they expire.
About
gws-events-renew documents the gws events +renew command of the Google Workspace CLI, which renews or reactivates Google Workspace Events subscriptions before they expire. It supports --name to renew a specific subscription and --all with a --within window to renew everything expiring soon. A developer or operator wires it into a cron job so Chat, Drive, or other Workspace event streams keep delivering instead of silently lapsing.
- Wraps the gws events +renew CLI command
- --name renews a specific subscription
- --all --within renews everything expiring in a window
- Meant to run from cron to keep subscriptions alive
- Requires the gws binary and gws-shared auth setup
Gws Events Renew by the numbers
- 24,725 all-time installs (skills.sh)
- +818 installs in the week ending Jul 28, 2026 (Skillselion tracking)
- Ranked #28 of 2,742 Automation & Workflows skills by installs in the Skillselion catalog
- Security screen: LOW risk (skills.sh audit)
- Data as of Jul 28, 2026 (Skillselion catalog sync)
gws-events-renew capabilities & compatibility
Requires the gws binary plus Google Workspace OAuth credentials (see gws-shared); no separate paid key stated.
- Capabilities
- subscription renewal · workspace events · cli automation
- Works with
- google drive
- Use cases
- orchestration
- Runs
- Runs locally
- Pricing
- Bring your own API key
What gws-events-renew says it does
Renew/reactivate Workspace Events subscriptions
Use --all with a cron job to keep subscriptions alive.
Subscriptions expire if not renewed periodically.
npx skills add https://github.com/googleworkspace/cli --skill gws-events-renewAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 24.7k |
|---|---|
| repo stars | ★ 30k |
| Security audit | 3 / 3 scanners passed |
| Last updated | July 22, 2026 |
| Repository | googleworkspace/cli ↗ |
How do I keep Google Workspace Events subscriptions from silently expiring?
Renew Google Workspace Events subscriptions on a schedule so event streams stay alive.
Who is it for?
Teams running Google Workspace Events subscriptions (Chat, Drive) that need a scheduled one-liner to keep event streams from lapsing.
Skip if: Creating or subscribing to new Workspace Events, which is handled by the separate gws-events subscribe commands.
When should I use this skill?
A Workspace Events subscription is about to expire or an event stream stopped, and you need to renew it manually or from a cron job.
What you get
Reactivates one or all expiring Workspace Events subscriptions so event delivery continues.
- Renewed Workspace Events subscription(s)
By the numbers
- 3 documented flags (--name, --all, --within)
- default --within window of 1h
Files
events +renew
PREREQUISITE: Read../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
Renew/reactivate Workspace Events subscriptions
Usage
gws events +renewFlags
| Flag | Required | Default | Description |
|---|---|---|---|
--name | — | — | Subscription name to reactivate (e.g., subscriptions/SUB_ID) |
--all | — | — | Renew all subscriptions expiring within --within window |
--within | — | 1h | Time window for --all (e.g., 1h, 30m, 2d) |
Examples
gws events +renew --name subscriptions/SUB_ID
gws events +renew --all --within 2dTips
- Subscriptions expire if not renewed periodically.
- Use --all with a cron job to keep subscriptions alive.
See Also
- gws-shared — Global flags and auth
- gws-events — All subscribe to google workspace events commands
Related skills
FAQ
What does gws events +renew do?
It renews or reactivates Google Workspace Events subscriptions before they expire; use --name for one or --all --within to renew everything expiring in a window.
How do I keep subscriptions alive automatically?
The skill recommends running gws events +renew --all with a cron job, since subscriptions expire if not renewed periodically.
Is Gws Events Renew safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.