Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot official · Google

gws-events-renew — Claude skill: renew Workspace Events subscriptions

Renews and reactivates Google Workspace Events subscriptions so they stop expiring. Useful when you listen to Workspace events through the CLI.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add googleworkspace/cli --skill gws-events-renew -a claude-code
Open on GitHub

What gws-events-renew does

The skill adds a gws events +renew command to the gws CLI. It either reactivates one subscription by name or renews every subscription expiring inside a time window.

Flags do the work: --name takes a name like subscriptions/SUB_ID, --all picks up everything within --within (1h by default, 30m or 2d also work). Subscriptions expire if you leave them alone, so --all pairs well with a cron job.

Read ../gws-shared/SKILL.md first — that's where auth, global flags and security rules live. If it's missing, run gws generate-skills. Worth installing if you keep long-lived Workspace event subscriptions; for a one-off renewal, the plain command is enough.

What it helps with

  • reactivate an expired subscription by name
  • renew every subscription expiring within two days
  • run renewals from cron so subscriptions stay alive
  • set a custom renewal window instead of the default hour

Example prompts for the agent

  • Renew subscriptions/SUB_ID with gws events +renew
  • Renew all subscriptions expiring within two days
  • Show me how to set up a cron job for gws events +renew --all

How to install gws-events-renew

1Skills CLI (Vercel)

npx skills add googleworkspace/cli --skill gws-events-renew -a claude-code

2Manually: put the files in place

~/.claude/skills/gws-events-renew/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/gws-events-renew/

From the same set95

The whole set →
gws-gmail official googleworkspace This skill hands your agent Gmail: send mail, read the inbox, reply in a thread. Useful when email work already runs through the gws CLI. Claude Code CX Codex Cursor +1 81,900installs gws-gmail-send official googleworkspace A skill that teaches your agent to send Gmail from the terminal: recipients, subject, body, attachments and drafts. Claude Code CX Codex Cursor +1 74,700installs gws-drive official googleworkspace This skill hands your agent Google Drive through the gws CLI: files, folders, shared drives, comments and access requests. Useful when docs move through code. Claude Code CX Codex Cursor +1 74,500installs gws-shared official googleworkspace This skill gives agents shared rules for gws CLI authentication, flags, and output formats. Use it when working with gws commands. Claude Code CX Codex Cursor +1 66,000installs gws-calendar official googleworkspace Manage Google Calendar events, access rules, and schedules through the gws CLI tool. Claude Code CX Codex Cursor +1 61,100installs gws-sheets official googleworkspace This skill lets an agent read and edit Google Sheets through the CLI. Use it when a coding workflow needs spreadsheet data or table updates. Claude Code CX Codex Cursor +1 58,800installs gws-docs official googleworkspace This skill lets an agent read and update Google Docs through gws. Use it when document changes should happen from an agent chat. Claude Code CX Codex Cursor +1 58,300installs gws-sheets-read official googleworkspace Reads cell values and sheets from Google Spreadsheets via CLI. Useful when an agent needs spreadsheet data without risk of altering it. Claude Code CX Codex Cursor +1 50,600installs

Similar

Questions about gws-events-renew

How do I install gws-events-renew in Claude?

Run npx skills add googleworkspace/cli --skill gws-events-renew -a claude-code. The skill lands in ~/.claude/skills/gws-events-renew/SKILL.md.

What does gws-events-renew do?

It renews and reactivates Google Workspace Events subscriptions through gws events +renew. Point it at one subscription by name or renew all of them inside a window.

What do I need before using it?

The gws binary on your machine and a read of ../gws-shared/SKILL.md for auth setup. If that file is missing, create it with gws generate-skills.

Source text

SKILL.md · Apache-2.0
---
name: gws-events-renew
description: "Google Workspace Events: Renew/reactivate Workspace Events subscriptions."
metadata:
  version: 0.22.5
  openclaw:
    category: "productivity"
    requires:
      bins:
        - gws
    cliHelp: "gws events +renew --help"
---

# events +renew

> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.

Renew/reactivate Workspace Events subscriptions

## Usage

```bash
gws events +renew
```

## Flags

| 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

```bash
gws events +renew --name subscriptions/SUB_ID
gws events +renew --all --within 2d
```

## Tips

- Subscriptions expire if not renewed periodically.
- Use --all with a cron job to keep subscriptions alive.

## See Also

- [gws-shared](../gws-shared/SKILL.md) — Global flags and auth
- [gws-events](../gws-events/SKILL.md) — All subscribe to google workspace events commands

© googleworkspace · Apache-2.0 · googleworkspace/cli

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor