gog-drive-audit
GitHub基于gog工具执行Google Drive只读审计,扫描共享链接、外部权限及所有权异常。生成详细报告,严禁直接修改权限;若需修复,先提供计划并执行dry-run验证。
Trigger Scenarios
Install
npx skills add openclaw/gogcli --skill gog-drive-audit -g -y
SKILL.md
Frontmatter
{
"name": "gog-drive-audit",
"description": "Read-only Google Drive sharing and permission audits with gog."
}
Drive audit
Read ../gog/SKILL.md and ../gog-drive/SKILL.md first.
Run bounded, read-only inventory commands:
gog --account user@example.com --readonly drive audit sharing --max 200 --json --wrap-untrusted
gog --account user@example.com --readonly drive audit sharing --internal-domain example.com \
--max 200 --json --wrap-untrusted
gog --account user@example.com --readonly drive audit user person@example.com --max 200 \
--json --wrap-untrusted
Classify public links, external-domain grants, broad domain grants, stale-looking direct grants, and ownership anomalies separately. Include file ID, name, owner, permission, and evidence.
Do not change permissions during an audit. If remediation is requested, present a separate,
reviewable plan and use each mutation's --dry-run before any approved write.
Version History
- eb85a99 Current 2026-08-20 12:40


