cleanup-cache
CommandClean system caches (npm, Homebrew, Yarn, browsers, Python/ML) to free disk space
Google Workspace Events: Subscribe to Workspace events and stream them as NDJSON.
$ npx -y skills add davila7/claude-code-templates --agent claude-code
allowed-tools: Bash, Read, Write, Edit argument-hint: "[resource] [method] [flags]" description: "Google Workspace Events: Subscribe to Workspace events and stream them as NDJSON."
Execute Google Workspace Events Subscribe operations: $ARGUMENTS
> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.
Subscribe to Workspace events and stream them as NDJSON
gws events +subscribe
| Flag | Required | Default | Description | |------|----------|---------|-------------| | `--target` | — | — | Workspace resource URI (e.g., //chat.googleapis.com/spaces/SPACE_ID) | | `--event-types` | — | — | Comma-separated CloudEvents types to subscribe to | | `--project` | — | — | GCP project ID for Pub/Sub resources | | `--subscription` | — | — | Existing Pub/Sub subscription name (skip setup) | | `--max-messages` | — | 10 | Max messages per pull batch (default: 10) | | `--poll-interval` | — | 5 | Seconds between pulls (default: 5) | | `--once` | — | — | Pull once and exit | | `--cleanup` | — | — | Delete created Pub/Sub resources on exit | | `--no-ack` | — | — | Don't auto-acknowledge messages | | `--output-dir` | — | — | Write each event to a separate JSON file in this directory |
gws events +subscribe --target '//chat.googleapis.com/spaces/SPACE' --event-types 'google.workspace.chat.message.v1.created' --project my-project gws events +subscribe --subscription projects/p/subscriptions/my-sub --once gws events +subscribe ... --cleanup --output-dir ./events
> [!CAUTION] > This is a **write** command — confirm with the user before executing.
# List available resources and methods gws events-subscribe --help # Inspect method schema before calling gws schema events-subscribe.<resource>.<method> # Execute command with arguments gws events-subscribe $ARGUMENTS
Execute the requested Events Subscribe operation: $ARGUMENTS
1. **Verify Prerequisites**
2. **Inspect Method Schema**
3. **Execute Operation**
4. **Error Handling**
---
**License**: Apache License 2.0 **Source**: [Google Workspace CLI](https://github.com/googleworkspace/cli) **Original Skill**: `gws-events-subscribe`
Open-source registry and CLI for Claude Code components: agents, commands, skills, hooks, MCPs, settings and mods
Clean system caches (npm, Homebrew, Yarn, browsers, Python/ML) to free disk space
Create an SEO-optimized blog article for a Claude Code component with AI-generated cover image
Audit a project for software supply chain risk, including dependency vulnerabilities, lockfile issues, malicious package…
Manage and automate CI/CD pipeline configuration with GitHub Actions, multi-environment support, and deployment strategies
Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.