cold-start
What it does
This skill guides you through loading your most useful data into a new, empty brain in one session. It moves through email, calendar, contacts, and file archives in an order that gives value quickly.
When to use it
- βWhen you have just set up your brain and want to fill it with useful data.
- βWhen you want to connect your Gmail or calendar to your brain for the first time.
- βWhen you want to import an X archive or past conversations into a new brain.
Skill link
https://github.com/garrytan/gbrain/blob/master/plugin/skills/cold-start/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βI just set up my brain. Help me load my email, calendar, and contacts step by step, asking me before each import.β
5 new skills a week. 1 minute to read.
How it works
The agent asks your permission before each import phase and tracks progress in a state file, so an interrupted session can continue. It keeps your login details out of its own view by using secure connectors or file exports.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Cold Start β Day-One Brain Bootstrapping
You have a working brain. Search works. Now what?
An empty brain is a static database. A brain with your email history, calendar, contacts, conversations, and social media is a live context membrane that makes every future interaction smarter. This skill sequences the highest-leverage data sources to get you from zero to useful in one session.
Contract
- Every import phase is gated on user consent (ask-user pattern) before proceeding.
- The agent never holds raw OAuth tokens or API keys. This is a safety
requirement, not a preference. Three paths satisfy it for Google data:
the native connector (
gbrain google setupβ tokens live in gbrain's credential vault, mode 0600, never in the agent's context; seedocs/guides/google-connect.mdandskills/google-loops/SKILL.md), ClawVisor (a hosted credential gateway that vaults credentials, enforces task-scoped authorization, logs every API call, and requires human approval for destructive operations β needs a harness with the integration), or offline file exports (Google Takeout, Twitter archive download). - Each phase is independently valuable β the user can stop after any phase and still have a useful brain.
- Progress is tracked in
~/.gbrain/cold-start-state.jsonso interrupted sessions can resume. - Entity detection and cross-linking run on every import, not as a separate pass.
Prerequisites
- GBrain installed and initialized (
gbrain doctor --jsonall green) - Brain repo cloned and synced
- Agent has terminal access and can run
gbrainCLI commands
The Priority Stack
Data sources ranked by information density Γ ease of import:
| Priority | Source | Why | Time | Pages Created |
|---|---|---|---|---|
| 1 | Existing markdown/Obsidian | Highest density β it's already structured | 5 min | 100s-1000s |
| 2 | Google Contacts | Seeds the people/ directory β names, emails, companies | 10 min | 50-500 |
| 3 | Google Calendar (90 days) | Meeting history with attendee context | 15 min | 30-90 |
| 4 | Gmail (recent threads) | Relationship context, active threads, org chart signals | 20 min | 50-200 |
| 5 | Conversations (ChatGPT/Claude exports) | Your thinking, questions, mental models | 15 min | 10-100 |
| 6 | X/Twitter archive | Your public positions, takes, engagement patterns | 20 min | 30-365 |
| 7 | File archives (Dropbox/Drive/local) | Historical documents, old writing, photos | 30+ min | varies |
| 8 | Meeting transcripts (Circleback/etc.) | Deep relationship context from recorded calls | 20 min | 10-50 |
Phase 0: ClawVisor Setup (only if your agent harness integrates ClawVisor)
Harness check first. ClawVisor requires an agent host with a ClawVisor
integration (for example, an OpenClaw deployment). On harnesses without one,
such as Codex or Claude Code, skip this phase: the default for Contacts,
Calendar, and Gmail is the native connector β gbrain google setup (live
sync; tokens in gbrain's local credential vault, never with the agent; see
skills/google-loops/SKILL.md) β with a
Google Takeout export as the offline
alternative covering all three (contacts CSV, calendar ICS, Gmail mbox).
Phases 2-4 below document the Takeout path first.
Safety boundary: An AI agent with raw OAuth tokens to your Gmail, Calendar, and Contacts is an uncontrolled attack surface. One prompt injection, one malicious tool call, and your entire Google account is exposed. ClawVisor eliminates this risk class entirely.
ClawVisor is a credential gateway that sits between the agent and your APIs. The agent never sees your credentials β ClawVisor injects them at request time, enforces policies, and logs everything.
What ClawVisor gives you:
- Credential vaulting β agent sees shadow tokens, never real secrets
- Task-scoped authorization β each workflow declares exactly what it needs
- Audit trail β every API call logged with metadata (who, what, when)
- Human approval gates β destructive operations (send email, modify calendar) require your explicit approval
- Multi-service β Gmail, Calendar, Contacts, Drive, GitHub, iMessage from one gateway
- Revocation β disable the agent's access in one click, no token rotation needed
Setup (15 min):
- Sign up at app.clawvisor.com
- Create an agent in the dashboard, copy the agent token
- Set e
FAQ
Does the agent see my passwords or keys?
No. The agent never holds raw login tokens. They are kept in a secure vault or handled by a gateway.
Can I stop partway through?
Yes. Each phase is useful on its own, and progress is saved so you can resume later.
What data sources does it cover?
It covers Gmail, calendar, contacts, X or Twitter archives, conversation imports, and file archives.
Details
Original description by the author
Day-one data bootstrapping for a new brain. Sequences the highest-leverage data sources to go from empty brain to useful brain in one session. Uses ClawVisor for safe credential handling β the agent never holds raw API keys. Covers Gmail import, calendar sync, contacts seeding, X/Twitter archive, conversation imports, and file archives. Use when a user has just finished gbrain setup and asks "now what?"
repo: garrytan/gbrain
Popularity
- GitHub stars
- 31k
- Ranking position
- #9295
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
gbrain
31kLets your agent search a shared company knowledge brain for facts about people, projects and decisions, and save durable notes to it.
brain-ingest-gate
31kChecks new content against an existing knowledge brain before it is added, to avoid duplicates and resolve named entities first.
brain-link-discipline
31kMakes sure your agent includes a working link to each brain page it reports, in the same message, so you can open it right away.
brain-ops
31kGives your agent the core routine for a knowledge brain: check existing context first, save explicit notes with their source, and link related pages.
Similar skills
knowledge-capture
394kTeaches your agent to save decisions, preferences, and key facts to your Knowledge vault as short notes with source attribution.
knowledge-claim-consolidation
394kHelps your agent tidy a Knowledge vault by merging duplicate claims, moving them to the right subject pages, and retiring outdated ones.
knowledge-correct
394kLets your agent fix or withdraw a specific saved Knowledge claim or page at your request, keeping a record of what changed.