recipe-audit-external-sharing
Find and review Google Drive files shared outside the organization.
How do I install this agent skill?
npx skills add https://github.com/googleworkspace/cli --skill recipe-audit-external-sharingIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides a recipe for auditing and managing external file sharing in Google Drive using the vendor-provided 'gws' CLI tool. It is functionally sound, though it processes external file metadata which presents a standard surface for indirect prompt injection.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerpass
1/1 file flagged
What does this agent skill do?
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"}'
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/googleworkspace/cli/recipe-audit-external-sharing">View recipe-audit-external-sharing on skillZs</a>