跳到正文
Skillpedia
任务与项目31k · #9295

cold-start

它能做什么

这项技能引导你在一次会话中,把最有用的数据加载到一个全新的空知识库中。它按照能够快速产生价值的顺序,依次处理电子邮件、日历、联系人和文件档案。

适用场景

  • ✓当你刚设置好知识库,想用有用的数据充实它的时候。
  • ✓当你第一次想把 Gmail 或日历连接到知识库时。
  • ✓当你想把 X 的档案或过去的对话导入一个新的知识库时。

技能链接

https://github.com/garrytan/gbrain/blob/master/plugin/skills/cold-start/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/garrytan/gbrain/blob/master/plugin/skills/cold-start/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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; see docs/guides/google-connect.md and skills/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.json so 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 --json all green)
  • Brain repo cloned and synced
  • Agent has terminal access and can run gbrain CLI 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):

  1. Sign up at app.clawvisor.com
  2. Create an agent in the dashboard, copy the agent token
  3. 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能