DeepSeek Harness Plugin

hongdougao111/dsh-bagu

Category Tools & Capabilities Added 2026-11-07

Two gates for outbound AI text. (1) Guard: before any text goes out it blocks the shapes anyone could write — padding verbs plus abstract nouns ("optimised the code structure"), hollow adjectives, universal filler, template openers, git commit/PR/review boilerplate, comments that narrate the code. Covers chat, comments, email, commit messages, PR descriptions, reviews, issues, docs and code comments. Passes with OK, blocks with one line naming what to change. (2) Catch memes: when someone drops a slang term the model does not guess or look it up — it already knows. A built-in 6792-entry meme wiki is queried before the model starts thinking, and the entry usage field ("how to answer this") goes straight into context. Matches only exact title/slug/alias hits, never fuzzy, so ordinary chat never triggers it. Bundled SQLite by node:sqlite, zero dependencies, 1.6ms per query. Settings page: guard on/off, strict mode, prompt section toggle, meme wiki toggle, per-turn auto-lookup, a four-step tone slider (reserved / measured / follow the room / unrestrained) that is behavioural rather than a label, AI-completion switch (off by default, uses the session own model so no API key needed), a paste-and-test box, and three thresholds. No model call for any check.

Install

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:hongdougao111/dsh-bagu

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.