dsh-memes
表情包选择器,按语义标签从图库中挑选合适的反应图片返回。 适合希望智能体用表情包回应的用户;默认配置即可使用。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:kagura-agent/dsh-memes说明文档
阅读完整 README ↗Configuration
The bundle works without configuration. A mirror or test fixture can override the tag catalog URL in the profile patch:
- id: memes
config:
tagsUrl: https://example.com/tags.json
The image base remains pinned to the Agent Meme Stash revision. A custom catalog must use file keys from that revision.
使用
直接用自然语言表达即可:
发一个庆祝成功的表情包。
用一个无语的表情回应这个 bug。
Send a happy reaction meme.
agent 可以调用 pick_meme({ mood: "frieren cringe", count: 1 })。mood 为必填参数;count 默认是 3,最多为 10。图片 URL 只通过 presentation metadata 交给 Web 客户端;模型只会收到“图片已显示”的确认,避免再次用 Markdown 嵌入同一张 GIF。
选图依次解析常用别名、匹配精确分类、检查多词标签,并在没有语义命中时随机选择。
配置
默认配置即可使用。私有镜像或测试 fixture 可以在 profile patch 中覆盖标签目录地址:
- id: memes
config:
tagsUrl: https://example.com/tags.json
图片根地址仍固定到 Agent Meme Stash 的指定 revision,因此自定义目录必须使用该 revision 中存在的文件 key。