lin-answer-now
lin1213812138/lin-answer-now
让 agent 一拿到结果就交付:把"先交付、少查询"写进系统提示,并在工具调用持续堆积时逐级提醒它收尾。
安装
dsh plugin --profile web add github:lin1213812138/lin-answer-nowREADME
answer-now
English | 中文
A DeepSeek Harness plugin that pushes the agent to deliver its answer as soon as it has one, instead of burning your time on extra queries.
What it does
- Injects instructions into the system prompt — stop querying the moment you can answer, never repeat a query, prefer one decisive query over several narrow ones, no filler tool calls.
- Counts tool calls per agent per turn — and when the count crosses a threshold, injects an escalating reminder into the agent's inbox ("answer now instead of querying further" → "stop calling tools and produce your final answer").
- Resets on new user messages, so each of your turns starts fresh.
It is advisory-only: it never blocks or rejects a tool call, so it can't break a legitimate workflow.
Install
From npm (prebuilt, no build step):
dsh plugin --profile desktop add lin-answer-now
Or from GitHub source:
dsh plugin --profile desktop add https://github.com/lin1213812138/lin-answer-now
Then restart dsh web (or reload the page) and you're done.
Can't reach npm? Install straight from the GitHub source — this needs no npm account or login:
dsh plugin --profile desktop add https://github.com/lin1213812138/lin-answer-now
Installing on another machine (中文说明见 README.zh.md)
Each machine has its own DSH profile, so the plugin isn't shared automatically. On the other computer, just run one of the install commands above (use dsh profile list to find the profile name if it isn't desktop), then restart dsh web (or reload the page).
Local
link:installs: if you installed from a local folder with alink:entry (development copy), the plugin is bound to that folder on disk — keep the folder around or the link breaks. Published npm/GitHub installs are self-contained and don't have this dependency.
Configuration
All values are optional; the defaults are sensible.
- id: answer-now
name: lin-answer-now
config:
thresholds: [4, 7, 10] # remind at these tool-call counts, escalating each time
include: [] # only watch these tools (empty = all)
exclude: ["answer_now"] # never count these tools
quietTools: ["todo_write", "todo_read", "todo_write_many", "schedule_list"]
cooldownSteps: 1 # tool calls to skip between reminders
reminderSummary: "answer now" # summary text on the reminder message
resetOnUserMessage: true # reset the counter when you send a new message
Requirements
DSH ≥ 0.2.0.
License
MIT