Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

using-gs

Skill by c4pt0r

Manage Gmail, Google Calendar and Google Drive from the command line with the gs CLI. It suits users who want to script Google Suite tasks from a terminal.

  • Score 66
  • 445 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install using-gs

Built from the published package, never by AI.

git clone --depth 1 https://github.com/c4pt0r/gs /tmp/gs && mkdir -p ~/.claude/skills && cp -r /tmp/gs/.claude/skills/using-gs ~/.claude/skills/using-gs

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install using-gs in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill documents the gs command line tool for Google Suite. Commands follow the form gs service action, covering Gmail, Google Calendar, Google Drive and authentication. One combined OAuth login covers all three services, and the token is cached at ~/.gs/tokens. Gmail commands can tail mail as JSON, send messages with attachments, mark messages read or unread, manage labels and move mail between labels.

Calendar commands list calendars, list and create events, and invite attendees. Drive commands list, upload, download, create folders and delete files. The skill also covers global options, per-command options and common mistakes. It is aimed at users who want to manage Google Suite from the terminal.

Written from the project's SKILL.md and checked against it.

What it can do

  • gs auth login / logout / statusLogs in once with a combined OAuth scope, removes the cached token, or checks login state.
  • gs gmail tailStreams new mail as JSON, or prints a one-shot result with --once.
  • gs gmail sendSends email with CC, attachments and HTML or stdin body options.
  • gs gmail mark / rm / mvMarks messages read or unread, moves them to Trash or deletes them, and moves them between labels.
  • gs gmail labelLists, creates, removes and renames Gmail labels.
  • gs calendar events / add / rmLists events in a time window, creates events with attendees, and deletes events.
  • gs calendar lsLists the user's calendars.
  • gs drive ls / upload / downloadLists files with an optional Drive query, uploads local files and downloads files by ID.
  • gs drive mkdir / rmCreates folders and moves files to Trash, or deletes them permanently with --permanently.

What you need

  • Google Cloud project with the Gmail, Calendar and Drive APIs enabled
  • OAuth 2.0 Client ID of type Desktop app, downloaded as JSON
  • Python with uv to run or install the gs tool
  • A browser for the first login, or --force-headless for SSH sessions

Try asking

  • Stream new Gmail messages from alerts@example.com as JSON
  • Create a calendar event tomorrow at 10:00 and invite two attendees
  • Upload report.pdf to my Drive folder with id abc123

Good to know

  • Gmail and Drive rm move items to Trash by default; --permanently cannot be undone.
  • gs gmail tail --tail keeps following and does not stop on its own.
  • After an upgrade that changes the scope, the token must be cleared and login run again.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/using-gs/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to using-gs

All alternatives →

Compare with ask-user-question, beads or google_tasks

using-gs: common questions

How do I log in to gs for Gmail, Calendar and Drive?

One login with gs auth login covers all three services because the OAuth scope is combined. Other commands reuse the cached token and fail with a message to run gs auth login if it is missing.

Does gs delete emails or files permanently by default?

No. Gmail and Drive rm commands move items to Trash by default. Permanent deletion needs the --permanently flag, and it prompts unless -y is given.

How do I stop gs gmail tail from running forever?

The --tail option follows new mail indefinitely. Use --once for a single run that exits.

How do I install using-gs?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is using-gs free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is using-gs safe to use?

It scores 66 of 100. Grades: maintenance C, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to using-gs?

Similar skills: ask-user-question, beads, google_tasks, recall.

using-gs Install

Add to stack

Loading.