Skip to content

About

Scrape any X (Twitter) account and distill the person's thinking patterns into a reusable AI persona skill. Powered by Dokobot.

Resources

Stars

16 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Distill Skill

Distill Skill (中文)

抓取任意 X (Twitter) 帐号,通过真实 Chrome 浏览器读取内容,将目标人物的思维模式、沟通风格和心智模型蒸馏为可复用的 AI 人格 Skill。

基于 Dokobot,直接使用本地浏览器,无需 API Key。

支持任何 AI 编程 Agent: Claude Code, Cursor, Windsurf, Codex, OpenClaw 等。

工作原理

  1. 通过本地 Chrome 滚动浏览目标人物的 X 时间线
  2. 提取并分类原创推文和转推
  3. 分析思维模式、决策启发和表达风格
  4. 生成结构化的人格 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 自动检测 输出语言

安装

  1. 安装 Dokobot CLI: npm i -g dokobot
  2. 从 dokobot.ai 安装 Chrome 扩展
  3. 安装 native bridge: npx dokobot install-bridge
  4. 将 SKILL.md 添加到你的 Agent(见下方)

Claude Code

mkdir -p ~/.claude/skills/distill
cp SKILL.md ~/.claude/skills/distill/skill.md

Cursor / Windsurf

将 SKILL.md 内容添加到 .cursorrules 或 .windsurfrules。

Codex

mkdir -p ~/.codex/skills/distill
cp SKILL.md ~/.codex/skills/distill/SKILL.md

其他 Agent

将 SKILL.md 内容粘贴到 Agent 的系统提示词中。只需要 Agent 能执行 shell 命令和读写文件。

示例

许可

MIT


Distill Skill (English)

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.

How It Works

  1. Reads the target's X profile by scrolling through their timeline via your local Chrome
  2. Extracts and categorizes original tweets and retweets
  3. Analyzes thinking patterns, decision heuristics, and expression style
  4. Generates a structured persona SKILL.md + tweets.md

Output

<username>-skill/
  SKILL.md      # Persona model (mental models, expression DNA, heuristics)
  tweets.md     # Raw tweets with engagement data, grouped by theme

Usage

/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

Setup

  1. Install Dokobot CLI: npm i -g dokobot
  2. Install Chrome extension from dokobot.ai
  3. Install native bridge: npx dokobot install-bridge
  4. Add SKILL.md to your agent (see below)

Claude Code

mkdir -p ~/.claude/skills/distill
cp SKILL.md ~/.claude/skills/distill/skill.md

Cursor / Windsurf

Add SKILL.md content to .cursorrules or .windsurfrules.

Codex

mkdir -p ~/.codex/skills/distill
cp SKILL.md ~/.codex/skills/distill/SKILL.md

Any Other Agent

Paste SKILL.md content into your agent's system prompt. The skill only needs the agent to run shell commands and read/write files.

Examples

License

MIT

About

Scrape any X (Twitter) account and distill the person's thinking patterns into a reusable AI persona skill. Powered by Dokobot.

Resources

Stars

16 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors