dsh-token-furnace
🕳️ A DeepSeek Harness plugin that does nothing at all, except burn tokens.
English | 中文
Repository: github.com/550AW/dsh-token-furnace · Version: 1.2.0
What is this
DeepSeek Harness (DSH) is a plugin-driven agent harness. Plugins can add tools, slash commands, UI, whatever. This one adds a hole in your wallet.
It registers exactly two things:
| Resource | What it does |
|---|---|
token_furnace tool |
Registered schema: Object(count: integer, 1–500, default 1). Returns that many lines of fixed filler text. Numeric counts are truncated toward zero and clamped to 1–500 (1.5 → 1, 9999 → 500); anything that is not a number or an integer string (NaN, Infinity, empty string, "abc", objects, arrays, booleans, Chinese numerals, …) fails with the readable error count must be an integer between 1 and 500 (got …) — it never emits NaN. |
/token slash command |
Turns /token 20 into a prompt that asks the agent to call that tool once. |
That's it. No file access, no shell, no network, no prompt rewriting, no session mutation. It does not "simulate" a token burn — it causes a real one.
Why it burns tokens
Every tool call forces another model request. The request re-sends the whole conversation (input tokens, billed), the model produces the tool call (output tokens, billed), and the tool result is appended to history — so every later request in that session pays for it again.
you: /token 500
agent: *calls token_furnace*
tool: lumen #1: STAR, stoked. … (500 lines)
agent: "done, 500 lines burned" ← all of the above is now permanent context
you: *asks anything else*
→ the 500 lines are re-sent and re-billed, every single turn
The filler is deliberately fixed and useless: it cannot be mistaken for a research tool, a crawler, or a fake data source. It reads nothing and produces nothing you could possibly want. Zero information, pure entropy — the honest minimum for "burn tokens and do nothing".
Why not just call it "useless"?
Because it is useless. That is the feature. As a plugin it justifies its existence about as well as a screen door on a submarine, and it is aware of that.
Install
There are two ways to install this bundle. Neither needs dependencies or a build step.
Option A: From GitHub (recommended)
The source of this directory is published at github.com/550AW/dsh-token-furnace. Clone it, or download the release archive dsh-token-furnace-1.2.0.zip and unzip it:
git clone https://github.com/550AW/dsh-token-furnace
Then, in a DSH session, ask the agent:
install the bundle at
D:\path\to\dsh-token-furnace
The agent calls plugin_manager install_bundle with that local checkout (or unzipped release directory), which links the package into the active profile and applies cordis.patch.yml. There is no npm install and no build step.
Option B: Existing local directory
If you already have the folder, point the plugin manager at D:\path\to\dsh-token-furnace — the same plugin_manager install_bundle call, with the same result.
Verify
The installer reports application: "applied". After that:
/tokenappears in the slash-command list.token_furnaceis visible to the agent's tool list.
If it fails to activate, read the diagnostic — DSH validates tool schemas at load time and refuses the whole plugin on a schema error.
Usage
| Command | Effect |
|---|---|
/token |
Burn 1 line |
/token 20 |
Burn 20 lines |
/token 0 |
Clamped to 1 line |
/token -3 |
Clamped to 1 line |
/token 1.5 |
Truncated to 1 line |
/token 9999 |
Clamped to 500 lines |
/token 1e9 |
Clamped to 500 lines |
/token 0x10 |
16 lines (Number parses the hexadecimal value) |
/token abc |
Usage error usage: /token [lines 1-500]; no prompt is sent |
Or just tell the agent "call token_furnace" — the tool exists independently of the command. Direct tool calls accept the same contract: integer 1–500, default 1, readable error for invalid values, never NaN.
Testing
The plugin has a dependency-free regression suite using Node's built-in test runner:
node --test test/token-furnace.test.mjs
16 tests cover registration, the canonical tool schema, output shape, count clamping/validation, command clamping/errors, disposer idempotence, registration rollback, and locale metadata. Run with Node.js 22+.
Cost warning
This plugin spends real money. It is not a demo stub that fakes a number; it produces actual billed requests and permanently grows the context window. If you are on a metered API key, keep the counts small, or enjoy discovering what your quota feels like.
If you wanted to measure spending, use a billing plugin. If you wanted to stress-test compaction and caching, note that the fixed filler here usually stays cached, so it is deliberately the world's worst stress test. If you wanted to drain a quota that expires or you just think it's funny — congratulations, this is the most useful useless thing you will install today.
Files
index.js the whole plugin (tool + command)
cordis.patch.yml bundle patch: inserts the plugin row
package.json dsh.bundle.patch points at the patch
locale/en.json plugin-page copy (English)
locale/zh.json plugin-page copy (中文)
docs/DETAIL.md longer rationale and changelog
docs/DETAIL.zh.md
docs/SETUP.md install notes
docs/SETUP.zh.md
test/token-furnace.test.mjs dependency-free regression tests
icon.svg a small furnace on fire
Uninstall
Disable or remove the bundle dsh-token-furnace from the plugin manager. No state, no config, no data files remain — it never had any.
Marketplace listing
This plugin is listed in awesome-dsh-plugin under the category fun:
A deliberately useless DeepSeek Harness bundle that provides one no-op token_furnace tool and a /token slash command to burn tokens and produce nothing.
The entry file lives in this repository as dsh-token-furnace.yml so the catalogue text stays reviewable next to the code; the copy submitted upstream is data/plugins/550AW__dsh-token-furnace.yml. Description changes start in that file.
License
MIT. Go forth and waste responsibly.
还没有评论,来写第一条。