#windows

1 messages · Page 1 of 1 (latest)

rare prawnBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

stone cradleBOT
shadow girderBOT
#

Do you mean “guide for Windows” for OpenClaw?

Start here: https://docs.openclaw.ai/start/faq

If you’re troubleshooting an install, please paste:

  • openclaw --version
  • how you installed it
  • the exact command/error you’re seeing

Small claws note: use pnpm for source installs, not Bun.

slender ginkgo
#

How can i install gog for windows

#

skill

shadow girderBOT
shadow girderBOT
# slender ginkgo skill

Do you mean an OpenClaw skill for GOG/Windows?

If so, skills are installed through ClawHub / OpenClaw, not through GOG Galaxy. For a “read docs / answer questions” style skill, start here: https://docs.openclaw.ai/

Tell me what you want the skill to do, and I can point you at the right setup path.

slender ginkgo
#

Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

shadow girderBOT
shadow girderBOT
slender ginkgo
#

which windows path?

shadow girderBOT
# slender ginkgo which windows path?

Use any normal folder you control, then add that folder to Windows Path.

Simple option:

C:\Tools\gog\

Put gog.exe there, so the full file is:

C:\Tools\gog\gog.exe

Then add the folder, not the exe, to Path:

C:\Tools\gog
shadow girderBOT
# slender ginkgo which windows path?

Windows steps: Start menu → search Environment Variables → Edit environment variables for your account → select Path → Edit → New → paste C:\Tools\gog → OK. Open a new PowerShell and run:

gog --version
slender ginkgo
#

C:\Users\racki\Downloads\gogcli_0.17.0_windows_amd64

shadow girderBOT
# slender ginkgo C:\Users\racki\Downloads\gogcli_0.17.0_windows_amd64

That path is fine if it contains gog.exe:

C:\Users\racki\Downloads\gogcli_0.17.0_windows_amd64\gog.exe

For a quick test, open PowerShell and run:

& "C:\Users\racki\Downloads\gogcli_0.17.0_windows_amd64\gog.exe" --version

For permanent use, I’d move that folder out of Downloads, for example:

C:\Tools\gog

Then add C:\Tools\gog to your Windows Path. Downloads works, but it’s easy to delete or move by accident.

slender ginkgo
#

"C:\Users\racki\Downloads\gogcli_0.17.0_windows_amd64\gog.exe"

shadow girderBOT
# slender ginkgo "C:\Users\racki\Downloads\gogcli_0.17.0_windows_amd64\gog.exe"

Good, that’s the executable path.

In PowerShell, run it like this:

& "C:\Users\racki\Downloads\gogcli_0.17.0_windows_amd64\gog.exe" --version

The & matters in PowerShell when the path is quoted.

If that prints a version, add this folder to Windows Path:

C:\Users\racki\Downloads\gogcli_0.17.0_windows_amd64

After reopening PowerShell, this should work from anywhere:

shadow girderBOT
slender ginkgo
#

what is windoiws path

shadow girderBOT
# slender ginkgo what is windoiws path

Windows Path is a list of folders Windows searches when you type a command.

Example: if gog.exe is in:

C:\Users\racki\Downloads\gogcli_0.17.0_windows_amd64\gog.exe

Then add this folder to Path:

C:\Users\racki\Downloads\gogcli_0.17.0_windows_amd64

After that, you can type:

gog --version

instead of typing the full long path every time.

shadow girderBOT
# slender ginkgo what is windoiws path

How to add it: Start menu → type environment variables → Edit environment variables for your account → select Path → Edit → New → paste the folder path → OK → reopen PowerShell.

slender ginkgo
#

gog : Die Benennung "gog" wurde nicht als Name eines Cmdlet, einer Funktion, einer Skriptdatei oder eines ausfĂŒhrbaren Programms erkannt. ÜberprĂŒfen Sie die Schreibweise des Namens, oder ob der Pfad korrekt
ist (sofern enthalten), und wiederholen Sie den Vorgang.
In Zeile:1 Zeichen:1

  • gog --version
  •   + CategoryInfo          : ObjectNotFound: (gog:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    
    

PS C:\Users\racki>

shadow girderBOT
# slender ginkgo gog : Die Benennung "gog" wurde nicht als Name eines Cmdlet, einer Funktion, ein...

That means Windows can’t find gog.exe from Path yet. First test the exact file directly:

& "C:\Users\racki\Downloads\gogcli_0.17.0_windows_amd64\gog.exe" --version

If that works, add the folder to Path for this PowerShell window:

$env:Path += ";C:\Users\racki\Downloads\gogcli_0.17.0_windows_amd64"
gog --version

If that works too, add it permanently with the Environment Variables UI and then close/reopen PowerShell.

Also check the file really exists:

shadow girderBOT
slender ginkgo
#

it says true and version if i do gog --version there is error

shadow girderBOT
# slender ginkgo it says true and version if i do gog --version there is error

Good, the exe works. The only problem is Path.

Run this in the same PowerShell window:

$env:Path += ";C:\Users\racki\Downloads\gogcli_0.17.0_windows_amd64"
gog --version

If that works, make it permanent:

[Environment]::SetEnvironmentVariable("Path", [Environment]::GetEnvironmentVariable("Path", "User") + ";C:\Users\racki\Downloads\gogcli_0.17.0_windows_amd64", "User")

Then close all PowerShell windows, open a new one, and run:

gog --version
shadow girderBOT
slender ginkgo
#

working

#

what nexct

shadow girderBOT
# slender ginkgo working

Nice. Next steps:

openclaw skills install jx76-gog

Then Google auth:

gog auth credentials C:\path\to\client_secret.json
gog auth add you@gmail.com --services gmail,calendar,drive,contacts,sheets,docs
gog auth list

If this fixed the install part, please right-click the solution message → Apps → ✅ Mark Solution so Answer Overflow indexes it for the next Windows user.

shadow girderBOT
# slender ginkgo what nexct

Next is Google OAuth setup.

  1. Install the OpenClaw skill:
openclaw skills install jx76-gog
  1. Create/download a Google OAuth Desktop app client JSON from Google Cloud.

  2. Point gog at that file:

gog auth credentials C:\path\to\client_secret.json
  1. Add your Google account:
shadow girderBOT
# slender ginkgo what nexct
gog auth add your-email@gmail.com --services gmail,calendar,drive,contacts,sheets,docs
  1. Check it:
gog auth list
gog gmail search "newer_than:7d" --max 5

If you don’t have the client_secret.json yet, that’s the next thing to create in Google Cloud.

slender ginkgo
#

gog auth credentials C:\path\to\client_secret.json
←[38;2;239;68;68mopen C:\path\to\client_secret.json: Das System kann den angegebenen Pfad nicht finden.←[0m

shadow girderBOT
# slender ginkgo gog auth credentials C:\path\to\client_secret.json ←[38;2;239;68;68mopen C:\path...

C:\path\to\client_secret.json was just a placeholder. You need to use the real file path of the OAuth JSON you downloaded from Google Cloud.

If it’s in Downloads, it may look like:

gog auth credentials "C:\Users\racki\Downloads\client_secret_123456.apps.googleusercontent.com.json"

To find it, run:

Get-ChildItem "$env:USERPROFILE\Downloads" -Filter "client_secret*.json"

If that shows a file, copy its full path and use it with gog auth credentials "...".

If it shows nothing, you still need to create/download the OAuth Desktop app client JSON in Google Cloud first.

slender ginkgo
#

nothing happens Get-ChildItem "$env:USERPROFILE\Downloads" -Filter "client_secret*.json" with this

shadow girderBOT
# slender ginkgo nothing happens Get-ChildItem "$env:USERPROFILE\Downloads" -Filter "client_secre...

That means there is no client_secret*.json file in Downloads yet.

You need to create/download it first:

  1. Open Google Cloud Console: https://console.cloud.google.com/apis/credentials
  2. Create/select a project
  3. Configure OAuth consent screen if Google asks
  4. Click Create credentials → OAuth client ID
  5. Application type: Desktop app
  6. Download the JSON file
  7. Put it in Downloads

Then run again:

Get-ChildItem "$env:USERPROFILE\Downloads" -Filter "client_secret*.json"
shadow girderBOT
slender ginkgo
#

have it there

shadow girderBOT
# slender ginkgo have it there

Good. Now get the exact filename:

Get-ChildItem "$env:USERPROFILE\Downloads" -Filter "*.json" | Select-Object FullName

Then run gog auth credentials with the exact FullName, for example:

gog auth credentials "C:\Users\racki\Downloads\client_secret_123456.apps.googleusercontent.com.json"

After that:

gog auth add your-email@gmail.com --services gmail,calendar,drive,contacts,sheets,docs
shadow girderBOT
slender ginkgo
#

Fehler 403: access_denied

shadow girderBOT
# slender ginkgo Fehler 403: access_denied

403: access_denied usually means Google blocked the OAuth app, not that gog is broken.

Check this in Google Cloud:

  1. Go to https://console.cloud.google.com/auth/audience
  2. If the app is in Testing, add your Gmail address as a Test user
  3. Go to OAuth clients and make sure the client type is Desktop app
  4. Make sure you downloaded the JSON from that exact Desktop app client
  5. Try again:
gog auth add your-email@gmail.com --services gmail,calendar,drive,contacts,sheets,docs

If it still fails, paste the full 403 text from the browser page, but don’t paste your client secret JSON.

slender ginkgo
#

connected what next

shadow girderBOT
# slender ginkgo connected what next

Nice. Now verify the account and test one read-only command:

gog auth list
gog gmail search "newer_than:7d" --max 5

If Gmail works, test the other services you enabled:

gog calendar events --today
gog drive search "" --max 5
gog contacts list --max 5

Then install/confirm the OpenClaw skill if you haven’t already:

shadow girderBOT
slender ginkgo
shadow girderBOT
# slender ginkgo ←[38;2;239;68;68mGmail API is not enabled for this OAuth project. Enable it at: ...

That one is direct: enable the Gmail API in the same Google Cloud project that owns your OAuth client.

Open this link and click Enable:
https://console.developers.google.com/apis/api/gmail.googleapis.com/overview

Then wait ~1 minute and re-run:

gog auth add your-email@gmail.com --services gmail,calendar,drive,contacts,sheets,docs

Then test:

gog gmail search "newer_than:7d" --max 5

You’ll likely need to enable the other APIs too if you use them:

  • Calendar API
shadow girderBOT
slender ginkgo
#

now it shows me mails

shadow girderBOT
# slender ginkgo now it shows me mails

Great, Gmail is working.

Next, install/confirm the OpenClaw skill and start a fresh OpenClaw session:

openclaw skills install jx76-gog

Then test from OpenClaw by asking something like:

Search my Gmail for messages from the last 7 days using gog.

If you want Calendar/Drive/Sheets/Docs too, enable those APIs in the same Google Cloud project and re-run auth with the services you want:

gog auth add your-email@gmail.com --services gmail,calendar,drive,contacts,sheets,docs
shadow girderBOT
slender ginkgo
#

PS C:\WINDOWS\system32> openclaw skills install jx76-gog
|
o

OpenClaw 2026.5.18 (50a2481) — If it works, it's automation; if it breaks, it's a "learning opportunity."

Skill already exists at C:\Users\racki.openclaw\workspace\skills\jx76-gog. Re-run with force/update.
Assertion failed: !(handle->flags & UV_HANDLE_CLOSING), file src\win\async.c, line 76

shadow girderBOT
# slender ginkgo PS C:\WINDOWS\system32> openclaw skills install jx76-gog | o OpenClaw 2026.5.18...

The important line is:

Skill already exists at C:\Users\racki\.openclaw\workspace\skills\jx76-gog

So the skill is already installed. The Assertion failed ... UV_HANDLE_CLOSING looks like a Windows CLI crash after it printed the result.

Next:

  1. Close that PowerShell window
  2. Open a normal PowerShell, not admin/System32 if possible
  3. Start a new OpenClaw session so it reloads skills
  4. Ask OpenClaw something like:
Use gog to search my Gmail for messages from the last 7 days.
shadow girderBOT
slender ginkgo
#

with "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe" -Command 'Get-Command gog -ErrorAction SilentlyContinu
 (agent)
Tool input
{
"command": ""C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" -Command 'Get-Command gog -ErrorAction SilentlyContinue | Format-List *'",
"cwd": "C:\Users\racki\.openclaw\workspace"
}
Tool output
{
"status": "failed",
"exitCode": 1,
"durationMs": 658
}

shadow girderBOT
# slender ginkgo with "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" -Command '...

That means the OpenClaw agent process still can’t see gog on its Path, even though your interactive PowerShell can.

Most likely fix: restart OpenClaw after changing Path.

Do this:

  1. Fully stop/restart OpenClaw / the gateway / the app
  2. Open a fresh OpenClaw session
  3. Ask it to run/check:
Get-Command gog

If it still fails, add the gog folder to the System Path, not just your user Path:

C:\Users\racki\Downloads\gogcli_0.17.0_windows_amd64

Then restart OpenClaw again. A full Windows reboot also works if the service is holding old environment variables.

shadow girderBOT
slender ginkgo
#

where do i put Get-Command gog in powershell? or telegram?

shadow girderBOT
# slender ginkgo where do i put Get-Command gog in powershell? or telegram?

Use PowerShell to test your own Windows setup:

Get-Command gog

But the failing output you pasted came from the OpenClaw agent, so after restarting OpenClaw you can also ask your agent in Telegram something like:

Run Get-Command gog and tell me the result.

So:

  • PowerShell = checks if Windows can find gog
  • Telegram/OpenClaw = checks if the agent/gateway can find gog

Since PowerShell already worked for you, the important one now is: restart OpenClaw, then ask the Telegram agent to check Get-Command gog.

slender ginkgo
#

Get-Command gog

CommandType Name Version Source


Application gog.exe 0.0.0.0 C:\Users\racki\Downloads\gogcli_0.17.0...

shadow girderBOT
# slender ginkgo Get-Command gog CommandType Name ...

Perfect. PowerShell can find gog.

Now restart OpenClaw/the gateway so the agent gets the updated Path. Then in Telegram ask:

Run Get-Command gog and tell me the result.

If Telegram still says it can’t find gog, move gog.exe to a stable folder like:

C:\Tools\gog\gog.exe

Add this folder to Path:

C:\Tools\gog

and reboot Windows once. Services sometimes keep the old environment until a full restart.

slender ginkgo
#

what should i type telegram

shadow girderBOT
# slender ginkgo what should i type telegram

In Telegram, type this exactly:

Run Get-Command gog and tell me the result.

If that works, then type:

Use gog to search my Gmail for messages from the last 7 days.

If the first one fails, restart OpenClaw/the gateway and try it again.

slender ginkgo
#

its not replying

shadow girderBOT
# slender ginkgo its not replying

If Telegram is not replying at all, check the Telegram connection first, not gog.

In PowerShell, run:

openclaw logs --follow

Then send a message to your Telegram bot. If you see pairing required or a pairing code, approve it:

openclaw pairing list telegram
openclaw pairing approve telegram <CODE>

Also try sending /start to the bot in Telegram.

If logs show nothing when you message Telegram, restart the gateway/app:

shadow girderBOT
slender ginkgo
#

it works thank you