AGENT SKILL

share

暂无简介

License 许可
Apache-2.0
最近更新
2026-11-14
Stars
★ 2
Forks
0

03 SKILL.md 正文

library.share

Share a Library file or folder (Google Drive's model, ADR-263). Not a chat or session share: it changes who may open one Library file or folder.

  • with and role (viewer or editor; commenter once comments exist), with an optional expires date within a year, and message for the person told.
  • remove with with ends that person's or group's own access.
  • general: restricted (only the people listed) or site[:role] (everyone at the site). The file's retrieval follows.
  • editors_can_share, viewers_can_download: the Owner's two settings.

Who may: an Editor while "Editors can change permissions and share" is on, else the Owner; the settings are the Owner's. A share never leaves the site and never reaches a person whose clearance does not cover the file's confirmed label. Every act is a GUARD receipt and a line in the file's activity.

Risk: reversible-write.

Inputs

  • id: a file id, or folder:<path> for a folder of yours
  • with: @name:<site> or group:<id>
  • role: viewer (default) or editor
  • expires: YYYY-MM-DD, within a year
  • remove: true to remove with's access
  • general: restricted, site, or site:<role>
  • editors_can_share, viewers_can_download: true or false
  • notify: false to not tell the person
  • message: a note for the person told

04 同仓库更多 Skills