Analyze ChatGPT conversation exports to discover cognitive archetypes and optimize AI-human communication patterns. Enables personalized agent interactions based on detected user profiles.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install user-cognitive-profiles或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install user-cognitive-profiles⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/user-cognitive-profiles/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: user-cognitive-profiles description: "Analyze ChatGPT conversation exports to discover cognitive archetypes and optimize AI-human communication patterns. Enables personalized agent interactions based on detected user profiles." homepage: https://github.com/openclaw/user-cognitive-profiles metadata: { "openclaw": { "emoji": "🤖🤝🧠", "requires": { "bins": ["python3"] }, "tags": ["communication", "persona", "user-research", "optimization", "nlp"], }, } ---
🤖🤝🧠 Discover how you communicate with AI and optimize your agent interactions.
This skill analyzes your ChatGPT conversation history to identify cognitive archetypes — recurring patterns in how you think, communicate, and collaborate. Use these insights to calibrate your OpenClaw agent for more effective, personalized interactions.
---
Human-AI communication is not one-size-fits-all. Just as you adapt your communication style between contexts (work meeting vs. casual chat), effective AI assistance requires matching your cognitive architecture.
The Problem:
The Solution:
---
conversations.jsoncd /path/to/user-cognitive-profiles
python3 scripts/analyze_profile.py \
--input ~/Downloads/chatgpt-export/conversations.json \
--output ~/.openclaw/my-cognitive-profile.json \
--archetypes 3
Add to your SOUL.md or AGENTS.md:
## User Cognitive Profile
<!-- Source: generated by user-cognitive-profiles skill -->
- **Primary Archetype:** Efficiency Optimizer
- **Avg Message Length:** 47 words
- **Context Switching:** High (professional vs. personal modes)
- **Key Patterns:** Prefers direct answers, values examples over theory
### Communication Calibration
- Default to concise responses
- Provide examples + theory + hands-on steps
- Watch for professional/personal mode shifts
---
The analysis identifies archetypes based on four dimensions:
| Dimension | Low | High | |-----------|-----|------| | Message Length | Brief commands | Extended analysis | | Structure | Organic flow | Systematic breakdown | | Depth | Practical focus | Theoretical exploration | | Tone | Transactional | Collaborative |
---
Create ~/.openclaw/my-archetypes.yaml:
archetypes:
- name: "Research Mode"
keywords:
- "research"
- "analyze"
- "compare"
- "trade-off"
patterns:
- long_messages
- multiple_questions
- citation_requests
- name: "Quick Mode"
keywords:
- "quick"
- "brief"
- "simple"
- "just"
patterns:
- short_messages
- imperative_tone
- minimal_context
Run with custom archetypes:
python3 scripts/analyze_profile.py \
--input conversations.json \
--archetypes-config ~/.openclaw/my-archetypes.yaml
More archetypes = finer granularity, but harder to act on:
# Simple: 2-3 archetypes
python3 scripts/analyze_profile.py --archetypes 2
# Detailed: 5-7 archetypes
python3 scripts/analyze_profile.py --archetypes 5
# Complex: 10+ (for power users)
python3 scripts/analyze_profile.py --archetypes 10
---
{
"metadata": {
"total_conversations": 3784,
"date_range": "2024-01-01 to 2025-01-31",
"analysis_date": "2026-02-02"
},
"archetypes": [
{
"id": 0,
"name": "Systems Architect",
"confidence": 0.87,
"metrics": {
"avg_message_length": 382,
"avg_response_length": 450,
"question_ratio": 0.23,
"code_block_ratio": 0.45
},
"keywords": ["architecture", "design", "trade-off", "system"],
"sample_conversations": ["uuid-1", "uuid-2"],
"recommendations": {
"ai_role": "Senior Architect",
"communication_style": "Detailed, systematic, collaborative",
"response_length": "long",
"structure": "hierarchical"
}
}
],
"context_shifts": [
{
"trigger": "technical_keywords",
"from_archetype": "Efficiency Optimizer",
"to_archetype": "Systems Architect"
}
],
"insights": {
"primary_mode": "Systems Architect",
"context_switching": "high",
"communication_preferences": [
"Examples before theory",
"Hands-on application",
"Cross-domain analogies"
]
}
}
| Metric | Description | Why It Matters | |--------|-------------|----------------| | avg_message_length | Average words per user message | Short = efficiency mode, Long = exploration mode | | question_ratio | % of turns that are questions | High = collaborative, Low = directive | | code_block_ratio | % of messages with code | Technical vs. conceptual focus | | context_shifts | Detected mode transitions | Indicates multiple archetypes at play | | confidence | Cluster cohesion score | Higher = more distinct pattern |
---
All processing is local. The script:
Recommended workflow:
my-cognitive-profile.jsonSOUL.md---
Track how your communication evolves:
# January analysis
python3 scripts/analyze_profile.py \
--input conversations_jan.json \
--output profile_jan.json
# June analysis
python3 scripts/analyze_profile.py \
--input conversations_jun.json \
--output profile_jun.json
# Compare
python3 scripts/compare_profiles.py profile_jan.json profile_jun.json
Generate a prompt snippet for Claude, GPT, or other agents:
python3 scripts/analyze_profile.py \
--input conversations.json \
--format prompt-snippet \
--output agent-prompt.txt
...
安装 🤖🤝🧠 better collab with your agent 后,可以对 AI 说这些话来触发它
Send a Slack message to the #engineering channel about the deployment
Formats and sends the message with relevant context, tagging the right people
Summarize all unread messages in my inbox from today
Reads messages across connected channels and returns a prioritized summary
Draft a reply to this customer complaint and send it for review
Writes an empathetic, professional response and routes it to the approval queue
将技能文件夹放到 ~/.claude/skills/user-cognitive-profiles/ 目录(个人级,所有项目可用),或 .claude/skills/user-cognitive-profiles/(项目级)。重启 AI 客户端后,用 /user-cognitive-profiles 主动调用,或让 AI 根据上下文自动发现并使用。
🤖🤝🧠 better collab with your agent 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
🤖🤝🧠 better collab with your agent 可免费安装使用。请查阅仓库了解许可证信息。
Analyze ChatGPT conversation exports to discover cognitive archetypes and optimize AI-human communication patterns. Enables personalized agent interactions based on detected user profiles.
🤖🤝🧠 better collab with your agent 属于「Communication」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。