抓取任意 X (Twitter) 帐号,通过真实 Chrome 浏览器读取内容,将目标人物的思维模式、沟通风格和心智模型蒸馏为可复用的 AI 人格 Skill。
基于 Dokobot,直接使用本地浏览器,无需 API Key。
支持任何 AI 编程 Agent: Claude Code, Cursor, Windsurf, Codex, OpenClaw 等。
- 通过本地 Chrome 滚动浏览目标人物的 X 时间线
- 提取并分类原创推文和转推
- 分析思维模式、决策启发和表达风格
- 生成结构化的人格
SKILL.md+tweets.md
<username>-skill/
SKILL.md # 人格模型(思维模型、表达基因、决策启发)
tweets.md # 原始推文及互动数据,按主题分组
/distill <帐号或URL> [--screens N] [--output PATH] [--lang zh|en]
示例:
/distill paulg
/distill @elonmusk --screens 20 --lang 中文
/distill https://x.com/naval --screens 15 --lang en --output ~/personas
| 参数 | 默认值 | 说明 |
|---|---|---|
handle_or_url |
(必填) | X 帐号或完整 URL |
--screens N |
10 | 滚动屏数 |
--output PATH |
当前目录 | 输出目录 |
--lang zh|en |
自动检测 | 输出语言 |
- 安装 Dokobot CLI:
npm i -g dokobot - 从 dokobot.ai 安装 Chrome 扩展
- 安装 native bridge:
npx dokobot install-bridge - 将
SKILL.md添加到你的 Agent(见下方)
mkdir -p ~/.claude/skills/distill
cp SKILL.md ~/.claude/skills/distill/skill.md将 SKILL.md 内容添加到 .cursorrules 或 .windsurfrules。
mkdir -p ~/.codex/skills/distill
cp SKILL.md ~/.codex/skills/distill/SKILL.md将 SKILL.md 内容粘贴到 Agent 的系统提示词中。只需要 Agent 能执行 shell 命令和读写文件。
examples/elonmusk-skill/-- 33 条推文,6 个思维模型examples/paulg-skill/-- 14 条推文,6 个思维模型examples/naval-skill/-- 35 条推文,6 个思维模型examples/karpathy-skill/-- 27 条推文,6 个思维模型
MIT
Scrape any X (Twitter) account with a real Chrome browser and distill the person's thinking patterns, communication style, and mental models into a reusable AI persona skill.
Powered by Dokobot. Uses your local browser directly, no API key needed.
Works with any AI coding agent: Claude Code, Cursor, Windsurf, Codex, OpenClaw, etc.
- Reads the target's X profile by scrolling through their timeline via your local Chrome
- Extracts and categorizes original tweets and retweets
- Analyzes thinking patterns, decision heuristics, and expression style
- Generates a structured persona
SKILL.md+tweets.md
<username>-skill/
SKILL.md # Persona model (mental models, expression DNA, heuristics)
tweets.md # Raw tweets with engagement data, grouped by theme
/distill <handle_or_url> [--screens N] [--output PATH] [--lang zh|en]
Examples:
/distill paulg
/distill @elonmusk --screens 20 --lang zh
/distill https://x.com/naval --screens 15 --lang en --output ~/personas
| Parameter | Default | Description |
|---|---|---|
handle_or_url |
(required) | X handle or full URL |
--screens N |
10 | Screens to scroll (more = more tweets) |
--output PATH |
cwd | Output directory |
--lang zh|en |
auto | Output language |
- Install Dokobot CLI:
npm i -g dokobot - Install Chrome extension from dokobot.ai
- Install native bridge:
npx dokobot install-bridge - Add
SKILL.mdto your agent (see below)
mkdir -p ~/.claude/skills/distill
cp SKILL.md ~/.claude/skills/distill/skill.mdAdd SKILL.md content to .cursorrules or .windsurfrules.
mkdir -p ~/.codex/skills/distill
cp SKILL.md ~/.codex/skills/distill/SKILL.mdPaste SKILL.md content into your agent's system prompt. The skill only needs the agent to run shell commands and read/write files.
examples/elonmusk-skill/-- 33 tweets, 6 mental modelsexamples/paulg-skill/-- 14 tweets, 6 mental modelsexamples/naval-skill/-- 35 tweets, 6 mental modelsexamples/karpathy-skill/-- 27 tweets, 6 mental models
MIT
