7gzgn/dsh-profile-stylist ↗★ 0

dsh-profile-stylist

Say what kind of profile you want; the agent writes it and puts it up. Generates nickname/bio/taglines with the host model, picks or composes an avatar from local assets, then fills the profile page and uploads the picture - dry-run by default. 适合需要快速、安全地批量配置或更新社交平台个人资料的用户。

패키지
dsh-profile-stylist
호환성
미검증
Harness peer 범위
>=0.2.0-rc.2 <0.3.0-0
Cordis peer 범위
>=4.0.4 <5.0.0
버전
0.1.1
라이선스
MIT
최근 업데이트
2026. 10. 16.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:7gzgn/dsh-profile-stylist

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 规格化后再交)
自己画先 profile_author 拿文案,需要"把名字画进图里"时用页面内 canvas 合成(零外部依赖)

支持的站点

站点状态备注
GitHub✅ 选择器真机验证过#user_display_name / #user_profile_bio / #avatar_upload + 「Set new profile picture」
Gitee⚠️ 未实测选择器是按常见命名写的,真机上可能要按现场改;回执里会如实标"未验证"

不认识的站点直接拒绝,不猜选择器。

红线与隐私

  • 只写资料字段:档案里没有密码、邮箱、安全设置、支付 —— 插件也不会去点。
  • 只动你自己的账号:你在浏览器里登录谁,它就写谁(登录态由浏览器 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"