gws-workflow-file-announce

仓库创建 2026年3月3日最近提交 5 天前SkillHot 收录 20 天前
▸ 精选理由

方便将 Drive 文件通知团队,适合 Workspace 自动化场景。

▸ 风险提示

需要 Google Workspace 授权,需授予 Drive/Chat 访问权限

这个 Skill 做什么

在 Google Chat 空间中公告 Drive 文件并发送链接与详情。

把 Google Drive 的文件在指定 Google Chat 空间里自动公告并附上链接和详情,适合团队需要广播新文档或重要文件时使用。通过 gws workflow 执行,需先完成授权和 gws 的共享 SKILL.md 配置,能把通知流程自动化、减少人工操作。

▸ 展开 SKILL.md 英文原文

Google Workflow: Announce a Drive file in a Chat space.

自动化集成Google DriveChat 通知工作流通用
3.0w
Stars
1.8k
Forks
40
仓库内 Skill
+562
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/googleworkspace/cli/main/skills/gws-workflow-file-announce/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/googleworkspace/cli/main/skills/gws-workflow-file-announce/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# workflow +file-announce

> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.

Announce a Drive file in a Chat space

## Usage

```bash
gws workflow +file-announce --file-id <ID> --space <SPACE>
```

## Flags

| Flag | Required | Default | Description |
|------|----------|---------|-------------|
| `--file-id` | ✓ | — | Drive file ID to announce |
| `--space` | ✓ | — | Chat space name (e.g. spaces/SPACE_ID) |
| `--message` | — | — | Custom announcement message |
| `--format` | — | — | Output format: json (default), table, yaml, csv |

## Examples

```bash
gws workflow +file-announce --file-id FILE_
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有