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.
npx agentmods add commands/openclaw/gogcli/gog-backup-pushgit clone --depth 1 https://github.com/openclaw/gogcliWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.01393 |
| Opus 5 | $0.00000 | $0.00696 |
| Sonnet 5 | $0.00000 | $0.00279 |
| Haiku 4.5 | $0.00000 | $0.00139 |
Grade A, and why
gog-backup-push 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.
How it starts
The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.
gog backup push
Generated from
gog schema --json. Do not edit this page by hand; runmake docs-commands.
Export services into encrypted backup shards
Usage
gog backup push [flags]
Parent
Flags
| Flag | Type | Default | Help |
|---|---|---|---|
--access-token |
string |
Use provided access token directly (bypasses stored refresh tokens; token expires in ~1h) | |
-a--account--acct |
string |
Account email, alias, or auto for authenticated Google API commands | |
--best-effort |
bool |
true | Record optional service errors as backup rows and continue |
--client |
string |
OAuth client name (selects stored credentials + token bucket) | |
--color |
string |
auto | Color output: auto|always|never |
--config |
string |
Backup config path | |
--disable-commands |
string |
Comma-separated list of disabled commands; dot paths allowed | |
--drive-binary-contents |
bool |
Include non-Google Drive binary file bytes in encrypted shards | |
--drive-collaboration |
bool |
true | Back up Drive permissions, comments, and revision metadata |
--drive-content-max-bytes |
int64 |
0 | Skip individual Drive content exports larger than this many bytes; 0 means unlimited |
--drive-content-timeout |
time.Duration |
2m | Per-file Drive content export/download timeout |
--drive-contents |
bool |
true | Download/export Drive file contents into encrypted shards |
-n--dry-run--dryrun--noop--preview |
bool |
Do not make changes; print intended actions and exit successfully | |
--enable-commands |
string |
Comma-separated list of enabled command prefixes; dot paths allowed (restricts CLI) | |
--enable-commands-exact |
string |
Comma-separated list of exact enabled commands; dot paths allowed and parent commands do not enable children | |
-y--force--assume-yes--yes |
bool |
Skip confirmations for destructive commands | |
--gmail-cache |
bool |
true | Cache fetched Gmail raw messages locally so interrupted full backups can resume |
--gmail-checkpoint-interval |
time.Duration |
30m | Max time between Gmail checkpoint pushes during fetch; 0 disables time-triggered checkpoints |
--gmail-checkpoint-rows |
int |
10000 | Gmail messages per encrypted checkpoint chunk; 0 disables row-triggered checkpoints |
--gmail-checkpoints |
bool |
true | Commit and push incomplete encrypted Gmail checkpoints during long cached fetches |
--gmail-no-send |
bool |
false | Block Gmail send operations (agent safety) |
--gmail-refresh-cache |
bool |
Refetch Gmail messages even when a local backup cache entry exists | |
-h--help |
kong.helpFlag |
Show context-sensitive help. | |
--home |
string |
Override gogcli config/data/state/cache root (equivalent to GOG_HOME) | |
--identity |
string |
Local age identity path | |
--include-spam-trash |
bool |
true | Include Gmail spam and trash |
-j--json--machine |
bool |
false | Output JSON to stdout (best for scripting) |
--max--limit |
int64 |
0 | Max Gmail messages to export; 0 means all |
--no-input--non-interactive--noninteractive |
bool |
Never prompt; fail instead (useful for CI) | |
--no-push |
bool |
Commit locally but do not push to the remote | |
-p--plain--tsv |
bool |
false | Output stable, parseable text to stdout (TSV; no colors) |
--query |
string |
Gmail query for bounded/test backups | |
--readonly |
bool |
false | Block mutating API requests at runtime; auth add also requests read-only OAuth scopes |
--recipient |
[]string |
Public age recipient (repeatable) | |
--remote |
string |
Backup Git remote URL | |
--repo |
string |
Local backup repository path | |
--results-only |
bool |
In JSON mode, emit only the primary result (drops envelope fields like nextPageToken) | |
--select--pick--project |
string |
In JSON mode, select comma-separated fields (best-effort; supports dot paths). Desire path: use --fields for most commands. | |
--services |
string |
gmail | Comma-separated services to back up |
--shard-max-rows |
int |
1000 | Max rows per encrypted shard |
-v--verbose |
bool |
Enable verbose logging | |
--version |
kong.VersionFlag |
Print version and exit | |
--workspace-max-files |
int |
0 | Max Docs/Sheets/Slides files per type for native Workspace metadata; 0 means all |
--workspace-native |
bool |
Fetch full native Docs/Sheets/Slides API JSON in addition to Drive exports | |
--wrap-untrusted |
bool |
false | In JSON/raw output, wrap fetched text fields in external untrusted-content markers |
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.
- today First seen · 71 lines · 0 tokens per session scan A 59c62bdcf4c7
gog-backup-push is a command published in the GitHub repository openclaw/gogcli (8,363 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,393 tokens. 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-03.
Other commands, from other repositories
setup-gogcli.en
Command "setup-gogcli.en" from minicoohei/ai-agent-camp, covering gogcli (google workspace cli) setup, step 0: check setup progress, what you'll do in this session, readiness check and step 1: install gogcli.
setup-gogcli.es
Command "setup-gogcli.es" from minicoohei/ai-agent-camp, covering configuración de gogcli (google workspace cli), step 0: verificar el progreso de configuración, lo que hará en esta sesión, verificación de preparación and step 1: instalar gogcli.
setup-gogcli
Command "setup-gogcli" from minicoohei/ai-agent-camp, covering gogcli (google workspace cli) セットアップ, step 0: セットアップ進捗の確認, このセッションでやること, 準備チェック and step 1: gogcli のインストール.
draft-email
Draft a Gmail email or reply in your voice with full CRM/knowledge-base context loaded and every claim verified. Always creates a draft — never sends.
setup-clasp
Command "setup-clasp" from minicoohei/ai-agent-camp, covering google apps script cli (clasp) セットアップ, step 0: セットアップ進捗の確認, このセッションでやること, 準備チェック and step 1: node.js の確認.
gather-knowledge
Analyze codebase, dependencies, patterns, and constraints to build comprehensive technical context for planning or implementation.