dsh-full-reduction
Run the following command in DeepSeek Harness:
dsh plugin install uckkk/dsh-full-reduction
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install uckkk/dsh-full-reduction in your terminal to install this plugin from https://github.com/uckkk/dsh-full-reduction, then call the full_reduction tool directly in your session.
About this plugin
Full-reduction promotions (spend X, save Y; spend X, get Y% off) are one of the most common pricing mechanics in e-commerce and marketing, yet manually working through stacked rules is slow and error-prone. dsh-full-reduction lets you call a calculation directly from an AI conversation: supply the parameters and get an exact discount breakdown with per-step details instantly.
Built on pure Node with zero network dependencies, all computation runs locally. The core tool full_reduction accepts reduction-rule parameters and returns, step by step, which threshold was hit, the discount amount applied, and the final payable total, making it straightforward to sanity-check a campaign or debug a billing discrepancy.
It is ideal for operations, product, and data teams who design or validate reduction rules frequently, as well as developers embedding pricing logic into agent workflows. Licensed under MIT for free use and redistribution.
Use Cases
- Quickly validate reduction-rule calculation accuracy before launch
- Embed discount computation into agent workflows
- Debug discount discrepancies in order reconciliation
- Batch-check final payable totals under stacked reduction tiers
Best For
- Ops and product teams who design or validate reduction rules frequently
- Developers needing local, dependency-free pricing calculations
- Engineers integrating discount logic into marketing workflows
Related Plugins
A method pack that makes AI coding agents plan against your real baseline, prove completion with fresh evidence, and reduce reworks and unsafe changes.
Turns the DeepSeek Harness session into a captain that builds a durable sub-agent team, splits goals into dependency-aware tasks, and coordinates work via direct messages and a live Web UI.
Gives coding agents design judgment, letting Claude Code, Cursor, and 70+ agents generate and iterate high-quality UI, presentations, and graphics right from the terminal.
Run the Pi ecosystem's plugins on DeepSeek Harness, unmodified, via a compatibility layer that implements Pi's public extension ABI on DSH's native services.