How to install recipe-audit-external-sharing
npx skills add null --skill recipe-audit-external-sharingClaude Code
Cursor
Windsurf
Cline
Full instructions (SKILL.md)
Source of truth, from googleworkspace/cli.
name: recipe-audit-external-sharing version: 1.0.0 description: "Find and review Google Drive files shared outside the organization." metadata: openclaw: category: "recipe" domain: "security" requires: bins: ["gws"] skills: ["gws-drive"]
Audit External Drive Sharing
PREREQUISITE: Load the following skills to execute this recipe:
gws-drive
Find and review Google Drive files shared outside the organization.
[!CAUTION] Revoking permissions immediately removes access. Confirm with the file owner first.
Steps
- List externally shared files:
gws drive files list --params '{"q": "visibility = '\''anyoneWithLink'\''"}' - Check permissions on a file:
gws drive permissions list --params '{"fileId": "FILE_ID"}' - Revoke if needed:
gws drive permissions delete --params '{"fileId": "FILE_ID", "permissionId": "PERM_ID"}'
Related skills
More from googleworkspace/cli and the wider catalog.
GW
gws-gmail
googleworkspace/cli
Send, read, and manage Gmail emails via Google Workspace CLI.
40k installs
GW
gws-drive
googleworkspace/cli
Manage Google Drive files, folders, and shared drives via CLI.
37k installs
GW
gws-docs
googleworkspace/cli
Read and write Google Docs via command line.
37k installs
GW
gws-calendar
googleworkspace/cli
Manage Google Calendar events, calendars, and access control via CLI.
36k installsAudited
GW
gws-sheets
googleworkspace/cli
Read and write Google Sheets spreadsheets via CLI.
35k installs
GW
gws-gmail-send
googleworkspace/cli
Send emails via Gmail with attachments, CC/BCC, HTML support, and draft options.
31k installsAudited