dsh-profile-stylist
Manifest validDescribe the persona you want and the agent writes it: nickname, bio, taglines and links come from the host model, the avatar comes from your local asset library (or a path you give), then it fills yo
dsh-profile-stylist(个人资料配置)
你说要什么样的人设,它写出来,并把资料页填好。
"我想要个给主人打工的 AI 小助手,可爱但专业" → 它生成昵称/简介/标语 → 从你的素材库里挑一张头像(或按名字画一张)→ 打开你自己的资料页填进去。
它替用户写关于他自己的东西,所以默认值是三重的保守: 默认 dry-run(不传
confirm: true只演算)、只认资料字段(档案里没有密码/邮箱/安全设置)、 写前摊开(要写什么、写到哪、用哪张图,提交前整份给人看)。
它做什么
| 步 | 动作 | 细节 |
|---|---|---|
| ① | 生成文案 | 按"你的需求"让宿主模型服务出昵称/简介/标语/所在地/链接;写不出来就不写,不编 |
| ② | 收敛草稿 | 字段白名单 + 按站点长度截断(GitHub bio 160 字符)+ 网址只收 http/https |
| ③ | 选头像 | 素材库 / 你给的本地图片路径(本机没有图像生成服务,所以只这三条路) |
| ④ | 体检 | 目标站点能不能写这些字段、有哪些会超限、选择器是否验证过 |
| ⑤ | 写入(要显式确认) | 打开资料页 → 填文本 → 头像走 File → DataTransfer → input.files → change 交给站点自己的 JS → 点保存/确认 |
| ⑥ | 回报 | 填了哪些、缺哪些、头像是否确认、任何警告 |
三个工具
profile_assets [target=github] # 看素材库里有哪些图
profile_author wish="…" [host=github] [current=…] # 出草稿,不写站点
profile_apply fields='{"name":"…","bio":"…"}' [host=github] [avatarPath=…|avatarFromAssets=…] [confirm=true]
profile_apply 不传 confirm: true 就是 dry-run:只做体检 + 展示,不打开页面、不点任何按钮。
头像从哪来
本机没有图像生成服务,所以头像只有四条来源:
| 来源 | 怎么用 |
|---|---|
| 素材库 | 往 %USERPROFILE%\.dsh\dsh-profile-stylist\assets\avatars\ 丢 png/jpg,然后 avatarFromAssets:"文件名" |
| 本地图片 | avatarPath:"D:\\pics\\me.png"(≤12MB,插件会按 512×512 规格化后再交) |
| 当场合成(v0.2 新增) | `avatarTemplate:"initials" \ |
| 都不给 | 不换头像 |
profile_apply fields='{"name":"七个知更鸟","bio":"…"}' avatarTemplate="tagline" avatarTagline="写插件的那个人" confirm=true
支持的站点
一句话:只适合「git 系」的资料页 —— 目前就是 GitHub 和 Gitee,两家都是真机验证过的。 其他的(微博 / 知乎 / B站 / 小红书 / 掘金…)没有适配,传了会直接拒绝,不猜选择器。
| 站点 | 状态 | 备注 |
|---|---|---|
| GitHub | ✅ 选择器真机验证过 | #user_display_name / #user_profile_bio / #avatar_upload + 「Set new profile picture」 |
| Gitee | ✅ 选择器真机验证过(2026-10-17,gitee.com/profile) | #user_name / #user_bio / #user_company / #user_blog,保存按钮 button[name=commit](「更新」),头像 #avatar-input + #confirm-avatar(「确定」) |
逐字段的支持差异(同样是 git 站,字段并不完全一样):
| 字段 | GitHub | Gitee |
|---|---|---|
| 昵称 / 显示名 | ✅ | ✅ |
| 一句话简介 | ✅ | ✅ |
| 公司 / 组织 | ✅ | ✅ |
| 链接(主页) | ✅ | ✅ |
| 所在地 | ✅ | ❌ 两级下拉(省+市),明确不支持 |
Gitee 的所在地写不了:它是 #user_province + #user_city 两级下拉,不在字段表里 ——
传 location 会出现在 unsupported(明确告诉你不支持),不会静默失败。
不认识的站点直接拒绝,不猜选择器。
红线与隐私
- 只写资料字段:档案里没有密码、邮箱、安全设置、支付 —— 插件也不会去点。
- 只动你自己的账号:你在浏览器里登录谁,它就写谁(登录态由浏览器 profile 自持)。
- 不持有任何 API key:文案由宿主的模型服务生成。
- 写前摊开:dry-run 回执里能看到逐字段的"要写什么",确认后才动手。
安装
市场收录后在 DSH 里搜 dsh-profile-stylist 安装。手动安装:
New-Item -ItemType Junction -Path "$env:USERPROFILE\.dsh\profiles\desktop\node_modules\dsh-profile-stylist" -Target "D:\dsh\projects\dsh-profile-stylist"
# profile 的 package.json:dependencies 加 "dsh-profile-stylist": "link:D:/dsh/projects/dsh-profile-stylist"
# 并把 "dsh-profile-stylist" 加进 dsh.profile.bundles(漏了不加载)→ 重启 DSH
用之前先做两步:① 装好内置浏览器插件;② 在浏览器窗口里登录目标站点。
测试
node test/smoke.mjs # 35 项:纯逻辑 / 站点档案 / 生成层(假 LLM)/ 写入层(假浏览器)/ 回执
测试不联网、不碰真实浏览器、不读任何凭据。在活代码树里跑会直接退出(先复制到 D:\dsh\sandbox\)。
许可
MIT
Comments
Loading…
Similar plugins
by Aliuyanfeng
Personalization for the agent: a Web UI panel (about-you, reply style & tone, traits for headings/lists and emoji, output language, custom instructions) and `/soul` commands, with nickname/occupation/
★ 4
↓ 755/wk
MIT
JavaScript
Oct 19, 2026
dsh plugin --profile web add dsh-soulby Rabbit-bot-No-002
Adds an avatar to the left of each turn's final AI reply and to the right of each user message; upload your own image and set its size and circle or square frame.
★ 1
↓ 376/wk
MIT
TypeScript
Sep 11, 2026
dsh plugin --profile web add dsh-chat-avatarCompiles an LLM persona in DSH from six dimensions (identity, tone, creative habits, feedback style, boundaries, run parameters), injects the compiled text into the system prompt at the end, ships six
★ 0
dsh plugin --profile web add dsh-persona-studioby xiagaogaozi
Maintains reusable named subagent profiles for DeepSeek Harness and runs them with per-profile model, reasoning effort, and agent-preset settings.
★ 0
TypeScript
Sep 2, 2026
dsh plugin --profile web add dsh-subagent-poolby Awoodwhale
Workspace personas for DeepSeek Harness (DSH): many system-prompt personas, each scoped by workspace path or session id, managed from the Web settings page (Apache-2.0)
★ 4
↓ 354/wk
Apache-2.0
TypeScript
Oct 8, 2026
dsh plugin --profile web add dsh-agent-personaby himoew
让 AI 记住「你喜欢怎么被对待」:可编辑的用户工作风格档案,在每次对话开始前注入系统提示词。悬浮面板 + 三层作用域(全局/工作区/仅本会话)+ 4 套内置预设 + 一键安装脚本。
★ 0
MIT
JavaScript
Oct 6, 2026
dsh plugin --profile web add dsh-user-style