Logo vun Connect Google

Connect Google

Communautéit
Melvynx
connect-google

Connect the user's Google account (Gmail, Calendar, Drive, Docs, Sheets, Slides, Contacts, Tasks) to every agent with the gog CLI, fully on its own. It creates the Google Cloud project and the access key in Chrome AI with dev-browser, then shows Google's sign-in pages there so the user only picks the account and allows access. Use for "connect Google", "connect my Gmail", "give the agent my calendar". Run on the user's computer.

Iwwersiicht

EditeurMelvynx
Repositoryai-maxxing-skills
Skill-Nummconnect-google
Stären
38
Forks
9
Matgeliwwert Fichieren
1
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum Melvynx op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Connect Google an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/Melvynx/ai-maxxing-skills/tree/main/skills/connect-google
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Melvynx/ai-maxxing-skills.git /tmp/ai-maxxing-skills
mkdir -p .claude/skills
cp -r /tmp/ai-maxxing-skills/skills/connect-google .claude/skills/connect-google
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Connect Google an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Connect Google automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Connect Google net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Give the user's agents their Google account through gog (Gmail, Calendar, Drive, Docs, Sheets, Slides, Contacts, Tasks). Do every step yourself in Chrome AI with the dev-browser skill; the user only chooses their account and clicks "Allow" in Google's pages. Talk to the user in their language, short messages, no jargon (never say "OAuth", "client secret", "scope" or "token" to them; say "Google access" and "the key").

If you got this skill from a link instead of a local folder, install nothing else from the repo: download scripts/gog-oauth.sh with curl -fsSL https://raw.githubusercontent.com/Melvynx/ai-maxxing-skills/main/skills/connect-google/scripts/gog-oauth.sh -o <scratch>/gog-oauth.sh, and read another skill it names only when you reach it, from https://raw.githubusercontent.com/Melvynx/ai-maxxing-skills/main/skills/<skill-name>/SKILL.md.

Never print, log or repeat the key's secret, a sign-in code or anything gog keeps in the Keychain. Browser scripts that read the secret write it straight to a file with writeFile and log only { saved: true }. Ask the user before you tick a Google terms box or publish the app (steps 3 and 6), once for both.

  1. Check the tools. chrome-ai start and dev-browser --help must answer (otherwise run setup-dev-browser). gog auth setup --help must answer: if gog is missing or too old to know auth setup, install it. On macOS: brew trust --formula openclaw/tap/gogcli && brew install openclaw/tap/gogcli (if an older gog from steipete/tap is there, brew uninstall gogcli first; the accounts it saved stay). On Linux: the linux_<arch> archive from https://github.com/openclaw/gogcli/releases, checked against its checksums.txt, then gog in ~/.local/bin. Then jq --version.

  2. Pick the account: the argument, or the Google account signed in to Chrome AI (open https://myaccount.google.com in a page named connect-google and read the email). If Chrome AI is not signed in to Google, ask the user to sign in there and say "done". If gog auth list --check --json --no-input already lists that email, skip to step 9.

  3. If gog auth credentials list --json --no-input already lists a client, skip to step 8. Otherwise find or create the Google Cloud project, in the page connect-google. Open https://console.cloud.google.com/cloud-resource-manager and look for a project named gog CLI: reuse its ID. If there is none, open https://console.cloud.google.com/projectcreate, name it gog CLI, create it, wait for the notification, and read its ID (the project= part of the address once it opens). On a first visit, Google Cloud asks for a country and its terms: ask the user before you accept. Read each page with snapshotForAI() before clicking: the console speaks the user's language and moves its buttons.

  4. Turn on the Google services: open https://console.cloud.google.com/flows/enableapi?apiid=gmail.googleapis.com,calendar-json.googleapis.com,drive.googleapis.com,docs.googleapis.com,sheets.googleapis.com,slides.googleapis.com,people.googleapis.com,tasks.googleapis.com&project=<id> and confirm. Wait until the page says they are on.

  5. Set up the sign-in screen: open https://console.cloud.google.com/auth/overview?project=<id>. If it offers to get started, fill: app name gog CLI, support email = the account, audience External, contact email = the account, tick the Google API Services User Data Policy box, then create. If it is already set up, keep it as it is.

  6. Keep the access for good: open https://console.cloud.google.com/auth/audience?project=<id>. If the status is "Testing", click "Publish app" and confirm. A Testing app loses Google access every 7 days; published, it keeps it (Google does not review a personal app, it only shows a warning when signing in).

  7. Create the key: open https://console.cloud.google.com/auth/clients/create?project=<id>, type Desktop app, name gog CLI, create. In the same browser script, read the client ID and the secret from the dialog that opens and save them without logging them:

    js
    await writeFile("gog-client.json", JSON.stringify({ installed: { client_id, client_secret, auth_uri: "https://accounts.google.com/o/oauth2/auth", token_uri: "https://oauth2.googleapis.com/token", redirect_uris: ["http://localhost"] } }));
    console.log(JSON.stringify({ saved: true, client_id_end: client_id.slice(-30) }));

    Then gog auth credentials set ~/.dev-browser/tmp/gog-client.json --no-input && rm -f ~/.dev-browser/tmp/gog-client.json, and gog auth credentials list lists default. The secret is shown only once: if the dialog closed before you read it, create a new key the same way (an existing gog CLI key cannot be read again).

  8. Connect the account: bash scripts/gog-oauth.sh <email> (add a second argument like gmail,calendar to ask for less). Run it in the background: it opens Google's sign-in page in Chrome AI and waits up to 10 minutes. Tell the user right away, in 3 short lines: in the Chrome AI window, pick <email>; on "Google hasn't verified this app", click Continue (it is their own app); tick every access asked and click Continue. It ends with connected=<email> services=.... Exit code 4 means they did not allow access in time: ask, then run it again. On macOS, the first time, a Keychain window asks to let gog save its access: tell them to click "Always Allow".

  9. Prove it works with real reads: gog --account <email> gmail search 'newer_than:7d' --max 3 --json --wrap-untrusted and gog --account <email> calendar events --today --json. Both must answer without an error. If Google says a service is off, redo step 4 for it.

  10. Teach every agent: npx skills add openclaw/gogcli -g -a claude-code -s gog -y installs gog's own skill. Then add export GOG_ACCOUNT=<email> once (never twice) to ~/.zshrc and ~/.zprofile (or ~/.bashrc and ~/.bash_profile), so gog uses this account without --account. If the user has a brain folder with an AGENTS.md, add one line there: Google (Gmail, Calendar, Drive, Docs, Sheets) goes through gog, account <email>, read before writing, ask before sending an email or changing a calendar.

  11. Another account: run step 8 again with the other email (same key, nothing to redo in Google Cloud), then use --account <email> to pick it.

End with a short check list, a check or a cross on each line: gog installed, Google Cloud project, services on, app published, key saved in gog, account connected, Gmail and Calendar answer, agents taught. Then tell the user in 3 lines: their Google is connected, a new session can read their mail, calendar and files, and one thing to try now, for example "What is on my calendar tomorrow?".

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Connect Google?

Connect the user's Google account (Gmail, Calendar, Drive, Docs, Sheets, Slides, Contacts, Tasks) to every agent with the gog CLI, fully on its own. It creates the Google Cloud project and the access key in Chrome AI with dev-browser, then shows Google's sign-in pages there so the user only picks the account and allows access. Use for "connect Google", "connect my Gmail", "give the agent my calendar". Run on the user's computer.

Firwat Connect Google op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Connect Google besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Connect Google an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/Melvynx/ai-maxxing-skills/tree/main/skills/connect-google an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Connect Google benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Connect Google benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Connect Google domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Connect Google gratis?

Jo. De Skill gëtt vum Melvynx ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇