cold-start
できること
このスキルは、新しく空のブレインに、最も役立つデータを1回のセッションで読み込む手順を案内します。素早く価値が得られる順に、メール、カレンダー、連絡先、ファイルアーカイブを進めます。
使う場面
- ✓ブレインを設定したばかりで、役立つデータを入れたいとき。
- ✓Gmailやカレンダーをブレインに初めて接続したいとき。
- ✓新しいブレインに、Xのアーカイブや過去の会話を取り込みたいとき。
スキルのリンク
https://github.com/garrytan/gbrain/blob/master/plugin/skills/cold-start/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“ブレインを設定したばかりです。メール、カレンダー、連絡先を、取り込みの前に毎回確認しながら、一歩ずつ読み込む手伝いをしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは各取り込みの段階の前にあなたの許可を求め、進行状況を状態ファイルに記録します。そのため、中断されたセッションも再開できます。安全なコネクタやファイルのエクスポートを使い、ログイン情報をエージェントの目に触れさせません。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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
よくある質問
エージェントはパスワードやキーを見ますか?
いいえ。エージェントが生のログイン用トークンを保持することはありません。安全な保管庫に保存されるか、ゲートウェイが扱います。
途中で止められますか?
はい。各段階はそれ単独でも役立ち、進行状況が保存されるので後で再開できます。
どのデータ源が対象ですか?
Gmail、カレンダー、連絡先、XまたはTwitterのアーカイブ、会話の取り込み、ファイルアーカイブが対象です。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 31k
- ランキング
- #9295
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
gbrain
31kエージェントが、共有の社内ナレッジブレインで人、プロジェクト、決定事項についての事実を検索し、永続的なメモを保存できるようにします。
brain-ingest-gate
31k重複を避け、名前付きのエンティティを先に解決するため、新しい内容をナレッジブレインに追加する前に、既存のブレインと照合するようエージェントを支援します。
brain-link-discipline
31kエージェントが報告する各ブレインのページについて、同じメッセージの中で動くリンクを必ず含め、すぐに開けるようにします。
brain-ops
31kナレッジブレインの基本的な手順をエージェントに与えます。まず既存の文脈を確認し、出典つきで明示的なメモを保存し、関連するページをリンクします。