dsh-tools-plugins
开发工具 活跃维护

dsh-tools-plugins

lizhi00001/dsh-tools-plugins

轻量级提示词插件,支持将简短模糊的用户指令自动改写为结构清晰、逻辑严谨的Prompt,完全适配主流大模型输入规范,无需复杂调参即可获得高质量提示词,有效降低提示词工程门槛,提升指令执行准确率。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
TypeScript
主要语言
MIT
开源协议
16 KB
仓库大小
28 天前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:lizhi00001/dsh-tools-plugins
git clone https://github.com/lizhi00001/dsh-tools-plugins.git
git clone git@github.com:lizhi00001/dsh-tools-plugins.git
README.md main

DSH Tools Plugins

English | 中文

A DeepSeek Harness (dsh) bundle that adds practical Agent tools. Install it into a profile to extend the tool catalog.

Plugins included

Plugin Tool Category
prompt-enhancer optimize_prompt Tool integration / Agent enhancement

optimize_prompt rewrites a short or vague instruction into a structured prompt (Role, Task, Constraints, Output Format) using the profile's default LLM.

Install

dsh plugin --profile web add github:lizhi00001/dsh-tools-plugins

For a local checkout:

dsh plugin --profile web add /path/to/dsh-tools-plugins

Restart dsh after installation.

Git install and build scripts

This package ships TypeScript source and builds on install via the prepare script. If pnpm blocks lifecycle scripts, add to your profile's pnpm-workspace.yaml:

allowBuilds:
  dsh-tools-plugins: true

Then run add again.

Usage

After installation, ask the Agent in the Web UI:

Use optimize_prompt to rewrite: "help me write a weekly report"

Or let the Agent call the tool when it detects a vague instruction.

Configuration

Edit the plugin row in your profile cordis.patch.yml, or override via patch:

- id: dsh-prompt-enhancer
  config:
    provider: deepseek
    model: deepseek-chat
    maxTokens: 1200

Omit provider and model to use the profile default model.

Ecosystem discovery

To appear in the DSH plugin ecosystem:

  1. This repository declares dsh.bundle.patch in package.json (required).
  2. Add the GitHub topic dsh-plugin to the repository.
  3. Optional rich metadata lives under dsh.market in package.json.

Development

Requires Node ^22.19 || >=24 and pnpm.

pnpm install
pnpm run build
pnpm run typecheck

Test locally:

dsh plugin --profile web add .
dsh --profile web --dump-config

License

MIT — see LICENSE.