googleworkspace avatar

Gws Workflow File Announce

The gws-workflow-file-announce skill enables users to post announcements about Google Drive files directly to Google Chat spaces from the command line. It accepts a Drive file ID and Chat space identifier, retrieves the file metadata, and sends a formatted message to the specified space with optional custom text. This skill serves Google Workspace CLI users who need to quickly share and announce files across their organization without leaving the terminal.

skills.sh installs
31.5K
GitHub stars
32.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add googleworkspace/cli --skill gws-workflow-file-announce --agent claude-code

Installs into .claude/skills of the current project.

Files

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

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

Flags

FlagRequiredDefaultDescription
--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

gws workflow +file-announce --file-id FILE_ID --space spaces/ABC123
gws workflow +file-announce --file-id FILE_ID --space spaces/ABC123 --message 'Check this out!'

Tips

  • This is a write command — sends a Chat message.
  • Use gws drive +upload first to upload the file, then announce it here.
  • Fetches the file name from Drive to build the announcement.

See Also

Sponsors

Details

Repository
github.com/googleworkspace/cli
Categories
Automation & Workflows, CLI & Terminal, Office & Documents

More from googleworkspace/cli

All 113
1software-mansion avatarargent-react-native-app-workflowsoftware-mansion/argentStep-by-step workflows for developing or debugging React Native apps on iOS simulator or Android emulator. Use when starting the app, debugging Metro, fixing bu30Kskills.sh installs
2googleworkspace avatargws-script-pushgoogleworkspace/cliGoogle Apps Script: Upload local files to an Apps Script project.26.7Kskills.sh installs
3jackwener avataropencli-browserjackwener/opencliUse when an agent needs to drive a real Chrome window via opencli — inspect a page, fill forms, click through logged-in flows, or extract data ad-hoc. Covers th20.6Kskills.sh installs
4dontbesilent2025 avatardbs-script-flowdontbesilent2025/dbskill检查短视频逐字稿的段落衔接、信息密度和口播流畅度,定位观众可能划走的位置。用户要求检查逻辑延续、文稿顺畅度或流失风险时使用。18.9Kskills.sh installs
5langchain-ai avatardeep-agents-orchestrationlangchain-ai/langchain-skillsINVOKE THIS SKILL when using subagents, task planning, or human approval in Deep Agents. Covers SubAgentMiddleware, TodoList for planning, and HITL interrupts.16.8Kskills.sh installs
6claude-office-skills avatarexcel-automationclaude-office-skills/skills>16.1Kskills.sh installs