QQQW114/dsh-keyword-context0

dsh-keyword-context

DeepSeek Harness (DSH) plugin — inject context when user input or model output hits configured keywords, with toggleable/configurable rules and model-editable memory.

AI Analysis

核心用途是实现基于关键词触发的上下文/记忆自动注入,并支持模型自主写入记忆。适合需要为Agent配置特定话题背景知识或简易长期记忆的用户。

Package
dsh-keyword-context
Version
0.1.0
License
MIT
Last updated
Aug 17, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗

配置(config.json)

{
  "enabled": true,
  "allowModelWrite": false,
  "triggers": [
    { "id": "t1", "keywords": ["记忆", "memory"], "context": "用户提到了「记忆」相关话题,请结合上方【记忆】中的内容作答。" }
  ],
  "memories": [
    { "key": "用户偏好", "value": "使用简体中文回答" }
  ]
}