Leitarkkk/dsh-research-nudge ↗★ 4

dsh-research-nudge

引导编码智能体在反复尝试前先检索文档、GitHub和网页 适合需要减少智能体本地盲目试错、提升研究深度的编码任务。

包名
dsh-research-nudge
兼容性
待验证
Harness 依赖范围
^0.1.0-rc.7
Cordis 依赖范围
^4.0.1
版本
0.3.0
许可证
MIT
最近更新
2026年8月28日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Leitarkkk/dsh-research-nudge

Configuration

The bundle inserts a row with the id research-nudge. Override that row in the profile's cordis.patch.yml:

- id: research-nudge
  config:
    enabled: true
    debtThreshold: 20
    maxToolCallsWithoutResearch: 15
    maxMinutesWithoutResearch: 15
    cooldownMinutes: 10
    ordinaryToolDebt: 1
    mutationDebt: 2
    executionDebt: 1
    failureDebt: 4
    repeatedFailureDebt: 6
    maxAgentSnoozeMinutes: 60
    researchTools:
      - web_search
      - web_fetch
      - github_search
      - docs_search
      - fetch_url
    debug: false

DSH patch layers replace a row's entire config value rather than deep-merging it. Any omitted fields above fall back to this plugin's schema defaults. reminder may also be set to a custom string.

FieldDefaultMeaning
enabledtrueRegister the lifecycle listener
debtThreshold20Debt score that makes a reminder eligible
maxToolCallsWithoutResearch15Call-count fallback threshold
maxMinutesWithoutResearch15Elapsed-time fallback threshold
cooldownMinutes10Minimum time between reminders
ordinaryToolDebt1Weight for other local tools
mutationDebt2Weight for write/edit/delete-style tools
executionDebt1Weight for shell/build/test-style tools
failureDebt4Extra weight for a failed result
repeatedFailureDebt6Extra weight for an equivalent consecutive failure
maxAgentSnoozeMinutes60Upper bound for one agent-requested snooze of reminders
researchToolscommon web/docs/GitHub namesSubstring patterns that reset state after normalization
reminderbuilt-in advisory textModel-visible reminder body
debugfalseLog resets and queued reminders to stderr