co-google

co-google is a skill for Claude Code, Codex from openonion/connectonion. It costs 25 tokens per session (874 once invoked), scanned A, original, Apache-2.0.

A command-line tool for using Gmail, Google Drive, Google Calendar, and YouTube from one locally saved Google login.

In plain words
What is it for?
It helps read or draft mail, manage files, list or create calendar events and meeting links, and manage YouTube channels or videos.
Why use it?
It avoids switching between separate web pages or login setups when an agent needs to work with Google accounts. Access is limited by the permissions you approve on Google's consent screen.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps read or draft mail, manage files, list or create calendar events and meeting links, and manage YouTube channels or videos.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openonion/connectonion/co-google
About the project

ConnectOnion is an open-source, template-first toolkit for building, debugging, deploying, and operating AI agents. Developers use its command-line tools and Python runtime to create agents, add tools, connect services, deploy them, and make them callable by other agents, while the catalogue entries are related agents, skills, and instructions.

openonion/connectonion · 1,480 stars · on GitHub · docs.connectonion.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add openonion/connectonion --skill co-google
Clone the repo
git clone --depth 1 https://github.com/openonion/connectonion

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for co-google

README.md
[![agentmods](https://agentmods.dev/badge/skills/openonion/connectonion/co-google.svg)](https://agentmods.dev/skills/openonion/connectonion/co-google)
Your own site
<a href="https://agentmods.dev/skills/openonion/connectonion/co-google"><img src="https://agentmods.dev/badge/skills/openonion/connectonion/co-google.svg" alt="Measured on agentmods" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 874 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00025 $0.00874
Opus 5 $0.00013 $0.00437
Sonnet 5 $0.00005 $0.00175
Haiku 4.5 $0.00003 $0.00087

Measured today against content hash 00b7a2f02225, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

co-google scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

connectonion/useful_skills/co-google/SKILL.md · 80 lines

How it starts

The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Environment selection in the 1.8.4 implementation

Global keys.env is the default for every setting and account. To use a project file, put --env-file before the command: co --env-file /absolute/path/.env gmail inbox. Auth and refresh use that selected file. No project env loads implicitly; process overrides remain explicit and provider fields are kept as whole records. See docs/cli/environment.md for migration and error recovery.

Google tools

Task Command family
Mail and drafts co gmail --help (see co-mail-and-drive skill)
Files and exports co gdrive --help (see co-mail-and-drive skill)
Events and Meet links co gcalendar --help
Channels and videos co youtube --help

Connect with co auth google. Default requests Gmail send/read/modify, Calendar, Drive and YouTube management, plus email/profile identity. It does not grant every Google API. Google shows the actual consent screen; declined capabilities are not invented. Tokens and actual scopes are saved on this computer, not in a remote credential table. Restricted example: co auth google --scopes youtube.readonly.

Calendar

co gcalendar list prints event IDs, not reusable row numbers.

co gcalendar today
co gcalendar read EVENT_ID
co gcalendar meetings --days 7
co gcalendar free 2026-09-07 --minutes 30
co gcalendar create "Review" "2026-09-07T10:00:00+10:00" "2026-09-07T11:00:00+10:00"
co gcalendar meet "Review" "2026-09-07T10:00:00Z" "2026-09-07T11:00:00Z" --attendees [email protected]
co gcalendar update EVENT_ID --title "New title"
co gcalendar delete EVENT_ID

Mutations above preview locally. Review the exact arguments, then add --yes only with user approval. Primary calendar only. Naive timestamps mean UTC; free slots use 09:00–17:00 UTC and do not check attendees' calendars. Empty update fields do not clear existing fields. A transport failure may have completed a write: inspect the listing before retrying.

YouTube

co youtube channel
co youtube list --last 10
co youtube video 1
co youtube put clip.mp4 --title "Demo" --channel UC_CHANNEL_ID
co youtube update VIDEO_ID --title "New title"

Read the full file on GitHub · 80 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +9 lines 00b7a2f02225
  2. yesterday Changed · +2 lines d3704736c47c
  3. 2d ago First seen · 69 lines · 25 tokens per session scan A 5e83e78cee4b

Subscribe to this mod's changes

co-google is a skill published in the GitHub repository openonion/connectonion (1,480 stars, last pushed today), licensed Apache-2.0. It adds 25 tokens to every session and 874 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-06.