← 返回 Skills 市场
AI搭子匹配平台
作者
Dory123456
· GitHub ↗
· v2.0.0
· MIT-0
130
总下载
0
收藏
0
当前安装
6
版本数
在 OpenClaw 中安装
/install ai-dazi-skill
功能描述
AI搭子匹配平台 - 智能用户画像与匹配系统。 基于用户主动提供的 AI 使用数据(token消耗、模型偏好、工具调用习惯等), 生成多维用户画像,实现AI玩家间的智能匹配。 当用户提到"搭子"、"匹配"、"用户画像"、"AI使用分析"、"token统计"、 "使用报告"、"玩家等级"时触发此技能。
使用说明 (SKILL.md)
AI搭子匹配平台
基于用户主动提供数据的智能画像生成与匹配系统
功能概览
1. 用户画像生成
基于用户通过 AI 助手主动提供的使用数据,本地生成多维画像。
画像维度:
| 维度 | 说明 |
|---|---|
| 玩家等级 | Pioneer / Builder / Explorer / Observer |
| 核心技能标签 | 基于工具调用和技能安装推断 |
| AI使用风格 | power-tools / explorer / conversational / efficiency |
| 活跃度评分 | 1-100(6维综合评估) |
| 匹配标签 | 自动生成的兴趣标签 |
2. 数据采集方式
此 skill 不会自动读取任何日志文件。数据由 AI agent 通过以下步骤采集:
- 用户对 AI 说"生成我的AI画像"
- AI agent 使用
session_status获取当前 session 的使用数据 - AI agent 将数据格式化后通过脚本保存到 skill 本地目录
Agent 采集指令
当用户要求生成画像时,AI agent 应:
- 调用
session_status获取当前使用情况 - 将数据组织为以下 JSON 格式:
{
"date": "2026-03-29",
"tokenUsage": { "totalInput": 0, "totalOutput": 0, "total": 0, "cost": 0 },
"modelFrequency": { "model-name": 10 },
"providerFrequency": { "provider-name": 10 },
"messageCount": 50,
"sessionCount": 3,
"activeHours": { "14": 5 },
"toolCallFrequency": { "exec": 10 },
"installedSkills": []
}
- 执行保存:
node scripts/token-collector.js save '\x3Cjson>' - 执行画像生成:
node scripts/profile-generator.js generate - 将结果展示给用户
使用方法
安装
clawhub install ai-dazi-skill
安装后对 AI 说:
- "看看我的AI画像"
- "我的玩家等级是什么"
- "刷新我的搭子画像"
查看已有画像
node scripts/profile-generator.js view
数据存储
所有数据存储在 skill 自身目录的 data/ 下:
data/
├── daily/ # 按日聚合的数据
│ └── 2026-03-20.json
└── profiles/ # 生成的用户画像
└── latest.json
数据安全
- 不读取 session 日志:脚本不访问
~/.openclaw/agents/或任何用户目录 - 不访问 home 目录:不使用
os.homedir(),仅在 skill 自身目录下读写 - 不自动执行:无 postinstall,无定时任务
- 不联网:不调用任何外部 API,无网络请求
- 用户主导:所有数据采集由用户主动触发,通过 AI agent 的标准工具完成
- 纯本地处理:画像生成完全在本地完成
依赖
- Node.js >= 18
- 无外部依赖(零 npm dependencies)
安全使用建议
This skill appears to do what it says: it expects your agent to fetch usage metrics (via session_status) and pass them to a local Node script which writes JSON under the skill's data/ folder and generates a profile. Before installing: 1) review what your agent's session_status returns so you don't accidentally save raw messages or sensitive content; 2) do not provide any API keys (e.g., ANTHROPIC_API_KEY) unless you have inspected and confirmed the code will use them as you expect — the shipped scripts do not perform network calls; 3) confirm where the skill will be installed on disk (the scripts write under the skill directory, which may be under your home directory) and consider file permissions/retention settings; 4) if you want extra assurance, run the scripts locally on test data or in a sandbox to verify behavior. Overall the repository is internally consistent and local-only, with only minor documentation mismatches to note.
功能分析
Type: OpenClaw Skill
Name: ai-dazi-skill
Version: 2.0.0
The skill is a local analytics and profiling tool designed to generate 'AI player profiles' based on session metadata (token usage, model frequency, and tool calls). The logic in `scripts/token-collector.js` and `scripts/profile-generator.js` is transparent, lacks external dependencies, and performs no network operations or unauthorized file system access outside its own directory. While it instructs the AI agent to collect session data via `session_status`, this behavior is explicitly documented as the core functionality and remains entirely local to the user's environment.
能力评估
Purpose & Capability
The skill claims to build local user profiles from AI usage metrics and the included scripts (token-collector.js and profile-generator.js) implement collecting/saving JSON usage records and generating profiles locally. No unexplained credentials, binaries, or external services are required for core functionality.
Instruction Scope
SKILL.md explicitly instructs the agent to call session_status and pass a sanitized JSON to token-collector.js; the scripts only read/write files under the skill directory. This is coherent, but it places trust in the agent to collect/sanitize data (session_status may surface sensitive content). Also, some docs mention optional external API usage for 'AI-enhanced summaries' whereas the shipped code does not perform network calls—this is a documentation mismatch to watch for.
Install Mechanism
No install specification; instruction-only with local Node scripts. No downloads, no package installs beyond a suggested 'npm install' for Node runtime (no external npm dependencies listed). Low install risk.
Credentials
The skill declares no required environment variables or credentials. However guide.md references an optional ANTHROPIC_API_KEY for enhanced summaries; that env var is not required and is not used by the provided code. If you set such an API key, the docs imply external API calls could occur—review code before supplying keys.
Persistence & Privilege
The skill does not request always:true, does not modify other skills or system configuration, and stores data only under its own data/ directory. It does not install background tasks or autorun.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install ai-dazi-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/ai-dazi-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.0
Security overhaul: scripts no longer read session logs or home directory. Data collection delegated to AI agent via standard tools. All file access scoped to skill data/ directory only.
v1.2.1
安全优化:移除 postinstall 自动执行、移除外部模型引用、添加数据安全说明
v1.2.0
安全优化:移除 postinstall 自动执行脚本,移除外部 AI 模型引用,添加数据安全说明章节。纯本地处理,无外部依赖。
v1.1.1
移除多余依赖,消除 VirusTotal 误报
v1.1.0
安装后自动运行采集+画像生成,零操作即出结果
v1.0.0
首次发布:基于 OpenClaw 本地 session 日志的 token 采集与用户画像生成
元数据
常见问题
AI搭子匹配平台 是什么?
AI搭子匹配平台 - 智能用户画像与匹配系统。 基于用户主动提供的 AI 使用数据(token消耗、模型偏好、工具调用习惯等), 生成多维用户画像,实现AI玩家间的智能匹配。 当用户提到"搭子"、"匹配"、"用户画像"、"AI使用分析"、"token统计"、 "使用报告"、"玩家等级"时触发此技能。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 130 次。
如何安装 AI搭子匹配平台?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install ai-dazi-skill」即可一键安装,无需额外配置。
AI搭子匹配平台 是免费的吗?
是的,AI搭子匹配平台 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
AI搭子匹配平台 支持哪些平台?
AI搭子匹配平台 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 AI搭子匹配平台?
由 Dory123456(@dory123456)开发并维护,当前版本 v2.0.0。
推荐 Skills