Always-on Usage

Copy library / Guides / Grok Bot

Daily private GitHub backup of a Grok Bot computer

Subscribe

What it does
Following another post, the author auto-backs up a Grok Bot computer to a private GitHub repo daily; first push about 1200 files, 78MB. They use gh device-code login (no token in chat), confirm the repo is private, back up skills, routine logs, drafts and handoffs, exclude secrets and large media, and scan for sensitive strings before push. Skills and rules matter more than the machine itself.
Scenarios
Watch PRs / repos Social scheduling Code & ship
What the source covers
  • Author & original linkYes
  • What it doesYes
  • Verbatim source excerptYes
  • Screenshots / mediaNot in source
  • Steps / chaptersYes
  • Verbatim prompt / configNot in source
  • Results / numbersYes
  • Risk notesYes
  • Related entriesYes

— means the source doesn't say; we don't fill it in.

In the author's words

The original post is in Chinese and is shown on the Chinese pages; open the source link to read it.

@Raydong001 · · Open on X ↗

The author's post, quoted verbatim and left untranslated.

Steps / points from the source
  1. Login with gh device code (no token in chat); complete GitHub 2FA; device code expires in 15 minutes
  2. Create a private repo; confirm PRIVATE with gh repo view before push
  3. Back up: skills, routine logs, drafts, handoff files, research notes
  4. Do not back up: .env, tokens/secrets/cookies, key files, databases, personal originals, audio/video over 20MB
  5. Scan for sensitive strings before push (ghp_, sk-, AKIA, BEGIN PRIVATE KEY, Bearer, api_key=)
  6. Schedule: auto run daily at dawn; push immediately when skills/rules change; skip if unchanged

Verbatim from the source, untranslated.

Prompt

The source does not include a prompt you can copy verbatim.

How to copy
  1. Read the source: x.com ↗
  2. Turn the steps/prompts from the source into one message for your Bot
  3. Run it manually once, then decide the frequency
Risks and limits
  • Uses a browser or website login: the costliest kind of step, so prefer a connector where one exists
  • Scheduled runs keep consuming usage: start at a low frequency and raise it once it is stable
  • The author's result may not reproduce for you; the original post is the reference
Usage estimate
Estimate with the metal calculator