Skip to content

Announce Drive File in Chat

Post a Google Drive file's name and link into a Google Chat space via the gws CLI

Stars
32,059
Licence
Apache-2.0
Files
1 file

What it does

This skill teaches an AI agent to use the gws command-line tool to share a Google Drive file into a Google Chat space. Given a file ID and a Chat space name, the agent looks up the file's name in Drive and sends a Chat message announcing it, optionally with a custom message. It is a single action that sends a message to other people, so it is useful for team updates but should be used deliberately.

Great for

  • Teams that share documents in Google Chat and want an agent to post announcements
  • Developers automating file-sharing steps with the gws CLI
  • Users who already have gws installed and authenticated with Google Workspace

Skip it if

  • Anyone who has not set up Google Workspace authentication, since the skill cannot send messages without it
  • Situations where the agent should not post to a shared space without review, because the command sends a real Chat message to everyone in that space

Try asking

  • “Announce the Q3 budget spreadsheet (file ID 1abc...) in the spaces/ABC123 Chat space”
  • “Post a message 'Check this out!' with the design doc file to our product team's Chat space”
  • “Upload this report to Drive, then announce it in the finance Chat space”
Step-by-step guide: how to use Announce Drive File in ChatInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 1 original files, the Apache-2.0 licence and an attribution note.

    gws-workflow-file-announce.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip gws-workflow-file-announce.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip gws-workflow-file-announce.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Double-check the Chat space name and file ID before running, since the message is sent immediately and cannot be recalled by this skill
  • Use --message to add context so recipients know why the file matters
  • Run gws workflow +file-announce --help to confirm flags for your installed version

What's inside

  • SKILL.md

Redistributed unmodified from googleworkspace/cli under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.