Skip to content
Back to search

dsh-meme

DeepSeek Harness 表情包插件:输入框一键发图、文字 token 斗图、情绪主动发图、AI 自动学图,图库市场一键安装。 · Meme/sticker plugin for DeepSeek Harness: one-click picker in the composer, text-token memes, mood-driven sending, AI learns your images, marketplace packs.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today

Check it deeper on your machine

It has changed since its scan on 11 Nov 2026.

As a Claude Code plugin, install it and then ask Claude Code:

/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/yyh-001/dsh-meme with scanskillsafety

Or from a terminal, clone it and run it:

git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/yyh-001/dsh-meme'

It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.

Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/yyh-001--dsh-meme/badge.svg)](/listings/yyh-001--dsh-meme)

HTML

<a href="/listings/yyh-001--dsh-meme"><img src="/api/listings/yyh-001--dsh-meme/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

已发布到 **npm**(`dsh-meme`),两种装法:

**① 客户端里点着装(推荐)**

打开 dsh → 左侧「插件」→ 右上「添加插件」→ 输入 **`dsh-meme`** → 安装。包名就是 npm 上的包名,一条命令都不用敲;「安装源」可以选官方的中国大陆镜像源。同一个入口也接受 GitHub 仓库地址或本地目录路径。装好后插件页里能随时开关,用不惯一键卸载。

**② 命令行**

一行装进任意 DSH profile(如 `~/.dsh/profiles/web/`):

dsh plugin --profile web add dsh-meme
# 等价于:
pnpm add dsh-meme

旧包名 `dsh-expression` 已弃用,请改用 `dsh-meme`。插件内部 id 仍为 `dsh-expression`,已有安装不受影响。

或从 GitHub / 本地直接装(客户端「添加插件」里同样可以直接填这两种地址):

pnpm add github:yyh-001/dsh-meme   # 或
pnpm add file:/path/to/dsh-meme

> 注意:pnpm 有「新包安全期」(默认 24h),刚发布的版本会被静默回落到旧版;急用可在 `pnpm-workspace.yaml` 的 `minimumReleaseAgeExclude` 里加上 `dsh-meme`。

> 运行时要求:**Node ≥ 22.13.0**(依赖内置 `node:sqlite` 模块;22.5–22.12 需 `--experimental-sqlite` 标志,Node 20 不支持)。

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 189 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.

  1. <p align="center">
  2. <img src="./docs/hero-banner-v4.jpg" alt="dsh-meme — 找得到、发得出、学得会" width="880" />
  3. </p>
  4. <p align="center">
  5. <a href="https://github.com/deepseek-ai/deepseek-harness">DeepSeek Harness</a> 的表情包插件 ——<br />
  6. 输入框一键发图,AI 按聊天气氛接梗;图库能自己养,也能从市场装。
  7. </p>
  8. <p align="center">
  9. <a href="https://www.npmjs.com/package/dsh-meme"><img src="https://img.shields.io/npm/v/dsh-meme?label=npm&color=4D6BFE&style=flat-square" alt="npm version" /></a>
  10. <img src="https://img.shields.io/badge/Node-%E2%89%A522.13-4D6BFE?style=flat-square" alt="Node ≥ 22.13" />
  11. <a href="./LICENSE"><img src="https://img.shields.io/badge/license-MIT-4D6BFE?style=flat-square" alt="MIT" /></a>
  12. <br />
  13. <img src="https://img.shields.io/npm/dm/dsh-meme?label=downloads&color=4D6BFE&style=flat-square" alt="npm downloads" />
  14. <img src="https://img.shields.io/github/stars/yyh-001/dsh-meme?label=stars&color=4D6BFE&style=flat-square" alt="Stars" />
  15. <img src="https://img.shields.io/github/forks/yyh-001/dsh-meme?label=forks&color=4D6BFE&style=flat-square" alt="Forks" />
  16. </p>
  17. <p align="center">
  18. <samp><a href="https://yyh-001.github.io/dsh-meme/">预览表情包</a> · <a href="https://github.com/yyh-001/dsh-meme-packs">图库市场</a> · <a href="https://github.com/yyh-001/dsh-meme/issues/new/choose">反馈问题</a> · <a href="./README.en.md">English</a> · <strong>中文</strong></samp>
  19. </p>
  20. > [!IMPORTANT]
  21. > **dsh-meme 是 DeepSeek Harness 的插件,不是独立应用。**
  22. > 需要先装好 DSH,再通过插件市场或 CLI 装进某个 profile;社区开源项目,并非 DeepSeek 官方产品。
  23. ## 功能
  24. - 😊 **一键发图** — 输入框旁点 😊,搜索或按图库、情绪筛选,点图直接发送;默认把原图作为附件一起发给 AI(模型能直接看图,可在设置里关掉),关掉「点图直接发送」后只插到光标处,随文字一起发。
  25. - 🎭 **主动斗图** — AI 按聊天情绪自己找图接梗,分「关闭 / 看气氛 / 活跃 / 每轮都发」四档,提示词可改。
  26. - 📱 **IM / 手机斗图** — 经 dsh-im 接入 QQ、微信、飞书后,表情包以原生图片消息发出;手机经局域网 IP 打开 DSH Web 收发(默认关)。QQ 大图可开「QQ 发图尺寸」缩到 200–450px。
  27. - 🧠 **学会新图** — 上传图片说「把这张图入库」,AI 自动识别分类和描述;也可把图片拷进图库目录后点「扫描新增」(GIF 保留动画)。
  28. - 🗂️ **整理图库** — 用 `meme_list` / `meme_update` 让 AI 列清单、查重、改分类;删除留在面板,防误删。
  29. - 📦 **管理与分享** — 多图库开关、上传编辑、ZIP 导入导出、市场安装更新。
  30. - 🚀 **开箱即用** — 内置大肥鱼图库(24 张),零第三方运行依赖,使用 Node 内置 SQLite;QQ 缩图为可选能力。
  31. ## 宣传视频
  32. <p align="center">
  33. <a href="https://www.bilibili.com/video/BV1ZWnF6EEAa">
  34. <img src="./docs/promo-video-cover.jpg" alt="dsh-meme 宣传视频(B 站)" width="720" />
  35. </a>
  36. <br />
  37. <a href="https://www.bilibili.com/video/BV1ZWnF6EEAa">▶ 在 B 站观看(56 秒)</a>
  38. </p>
  39. ## 安装
  40. 需要 **Node.js ≥ 22.13.0**。
  41. | 方式 | 做法 |
  42. | --- | --- |
  43. | 插件市场(推荐) | DSH → **插件 → 添加插件**,输入 `dsh-meme` 并安装 |
  44. | 命令行 | `dsh plugin --profile web add dsh-meme`,把 `web` 换成目标 profile |
  45. 装好后打开任意会话,输入框旁会出现 😊。旧包名 `dsh-expression` 已弃用,内部插件 ID 保留兼容。
  46. ## 效果预览
  47. <p align="center">
  48. <img src="./docs/chat-example.png" alt="斗图示例:吃白饭的大肥鱼,用户发一张,AI 接着回一张" width="820" />
  49. <br />
  50. 你发一张,AI 接着回一张
  51. </p>
  52. <p align="center">
  53. <img src="./docs/quick-picker.png" alt="输入框表情选择器:搜索、图库与情绪筛选" width="600" />
  54. <br />
  55. 搜索、图库与情绪筛选
  56. </p>
  57. ## 图库管理
  58. 打开 **设置 → 表情包**:
  59. - **图库** — 每个图库独立开关;卡片显示张数与占用,可管理图片、按分类筛选;「扫描新增」收编手动拷入的图片并清理失效记录;支持新建、ZIP 导入导出、投稿、删除与更新。
  60. - **发现** — 预览市场图库并一键安装(Release ZIP 校验 SHA-256)。
  61. - **设置** — 扫描目录、主动发图、提示词、发送方式、识图模型、QQ 发图尺寸、表情排布、局域网访问、`AGENTS.md`。
  62. <details>
  63. <summary>设置页截图</summary>
  64. <p align="center">
  65. <img src="./docs/panel-library.png" alt="图库管理:已安装图库与独立开关" width="631" />
  66. </p>
  67. <p align="center">
  68. <img src="./docs/panel-discover.png" alt="发现页:市场图库预览与一键安装" width="631" />
  69. </p>
  70. <p align="center">
  71. <img src="./docs/panel-settings.png" alt="设置页:发送方式、主动发图与图库目录" width="631" />
  72. </p>
  73. </details>
  74. 默认扫描 `~/.dsh/meme-packs`,设置存 `~/.dsh/dsh-expression.json`,升级保留。发送方式只影响 AI(自动按渠道 / 纯文字 / 图片要求真发);主动发图仅在自动模式下生效,新开会话生效;识图模型留空跟随默认;QQ 发图尺寸默认关,打开后 IM 发送 200–450px 副本,Web 仍用原图。
  75. ## 常见问题
  76. - **QQ 发表情被当大图拉伸** — 打开「QQ 发图尺寸」,选 300px(经验区间 200–450);缩放需 sharp,dsh-im 已自带,缺失时按原图发送。
  77. - **更新失败 / 插件消失** — 市场点「重试」;仍失败就完全退出 DSH 后更新,必要时在 profile 目录执行 `pnpm add dsh-meme@latest`。图库和设置在 `~/.dsh`,重装不丢。
  78. - **国内网络 / 市场拉不到** — 先点「重试」,再把「图库目录源」切到「镜像源」。
  79. - **手机 / 局域网 / 反代 / 子路径** — 设置页打开「局域网访问图库」;反代需显式声明可信 Host(`DSH_MEME_TRUSTED_HOSTS` 或 `allowedHosts`,支持 `*.trycloudflare.com` 这类通配);子路径部署从 0.1.77 起自动适配。
  80. 更多见 [排障手册](https://github.com/yyh-001/dsh-meme/blob/main/docs/troubleshooting.md)。
  81. ## 分享自己的图库
  82. 新建图包库加图 → **导出** ZIP 给朋友 **导入**;想进市场点 **投稿**,按预填表单附上 ZIP、图片来源与许可。请用插件导出的 ZIP,GitHub「Download ZIP」是源码包。
  83. ## 工具与扩展
  84. | 工具 | 用法 |
  85. | --- | --- |
  86. | `send_meme` | 按情绪 `tag` 抽图,或按 `query` 搜描述/关键词/文件名;候选带 `path`,IM 场景另有 `absPath` |
  87. | `learn_meme` | 收录最近一张用户图片,也可指定 `attachmentId` / `imageUrl` |
  88. | `meme_list` | 跨启用图库按关键词/分类/图库列清单 |
  89. | `meme_update` | 改一张图的分类/描述/关键词(只改索引,不动文件) |
  90. ```text
  91. send_meme tag=happy
  92. send_meme query="猫 比心"
  93. meme_list tag=work
  94. meme_update path="C:\Users\<你>\.dsh\meme-packs\work\a.jpg" caption="加班到趴桌"
  95. ```
  96. 情绪桶:`happy` / `angry` / `sad` / `shy` / `confused` / `daily`。模型把候选里的 `[表情: 描述]` 原样写进回复;发图判定、path 约定与 GIF 压平的坑见 [AGENTS.md](./AGENTS.md)。
  97. ### IM 投递
  98. 经 [dsh-im](https://github.com/xmanrui/dsh-im) 接入后,候选带绝对路径,模型调用 `dsh_im_return_file` 发原生图片;Web 聊天仍用 `[表情: 描述]`。通过 [dsh-companion](https://github.com/yyh-001/dsh-companion) 也可接 QQ;用 [dsh-qq-onebot](https://github.com/2710586329/dsh-qq) 接 QQ 时则调用 `qq_send_image(file=...)`,按它的会话账本自动识别,无需额外配置。
  99. ### QQ 官方机器人
  100. <details>
  101. <summary>dsh-qqbot 配置(展开)</summary>
  102. 对 [dsh-qqbot](https://github.com/tencent-connect/dsh-qqbot) 会话,候选带 `absPath`,交给 `qqbot_send_file` 的 `file_path`。默认路径白名单需加入图库目录:
  103. ```yaml
  104. # qqbot profile 的 cordis.patch.yml(或「设置 → QQ 机器人」)
  105. - id: im-qqbot
  106. config:
  107. sendFile:
  108. extraRoots:
  109. - C:\Users\<你>\.dsh\meme-packs
  110. - C:\Users\<你>\.dsh\profiles\<profile>\node_modules\dsh-meme\memes
  111. ```
  112. `C:\Users\<你>` 在 Linux/macOS 换成 `~`;图库放哪就加哪个目录,内置图库路径也要加。
  113. </details>
  114. ### 给其它插件的只读服务
  115. 同进程插件可用 `ctx.get('dshMeme')` 检索/挑图(只读):`packs()` 列已启用图库,`search()` / `pick()` 按 `query`、`tag` 返回带绝对 `path` 的结果,未命中时给出真实分类统计。自建图库目录或市场源见 [远程图库规范](./docs/remote-pack-spec.md)。
  116. ## 开发
  117. 纯 ESM,没有构建步骤。克隆仓库后直接跑测试:
  118. ```sh
  119. git clone https://github.com/yyh-001/dsh-meme.git
  120. cd dsh-meme
  121. npm test
  122. ```
  123. 测试用 Node 内置 test runner(`node --test test/*.test.mjs`),发版前应全绿。本机用 `link:` 装进 profile 时,改完代码重启 DSH 即生效;给 agent 的硬约定见 [AGENTS.md](./AGENTS.md)。
  124. ## 交流反馈
  125. - 遇到问题先看 [排障手册](https://github.com/yyh-001/dsh-meme/blob/main/docs/troubleshooting.md),没解决就 [开 issue](https://github.com/yyh-001/dsh-meme/issues/new/choose)。
  126. - 交流群:[QQ 1 群(已满)](https://qm.qq.com/q/7AD2g70HqS) · [dsh 插件 2 群](https://qm.qq.com/q/HCtId2UY4q)
  127. - 版本更新见 [npm](https://www.npmjs.com/package/dsh-meme?activeTab=versions)。
  128. ## 相关项目
  129. - [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) — 上游 agent 平台
  130. - [dsh-im](https://github.com/xmanrui/dsh-im) — QQ / 微信 / 飞书等 IM 接入,表情包以原生图片发送
  131. - [dsh-meme-packs](https://github.com/yyh-001/dsh-meme-packs) — 可下载图库与机器可读目录
  132. - [dsh-companion](https://github.com/yyh-001/dsh-companion) — 陪伴模式插件,也能接 QQ 通道
  133. - [dsh-qq-onebot](https://github.com/2710586329/dsh-qq) — OneBot 11 / NapCat 的 QQ 通道,dsh-meme 自动识别并原生发图
  134. - [agent-expression](https://github.com/yyh-001/agent-expression) — 同一套图库思路的本地 Skill,适配 OpenClaw / Hermes / Cursor
  135. ## 许可
  136. 代码采用 [MIT](./LICENSE) 许可。内置、市场与第三方图库的图片版权与使用范围见各图库说明。

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.