AI Agent Hub
Back to plugins
🧠

dsh-baize-rules

Memory Updated 2026.09.04

Run the following command in DeepSeek Harness:

dsh plugin install bvcvb/dsh-baize-rules

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install bvcvb/dsh-baize-rules in the DeepSeek Harness terminal to install the plugin (source: https://github.com/bvcvb/dsh-baize-rules).

About this plugin

Retyping instructions like "write comments in Chinese" or "never delete tests" at the start of every conversation is tedious and easy to forget. dsh-baize-rules turns those must-do and must-not requirements into a persistent behavioral baseline: the moment a session begins, the currently active rules are injected into the model context as a sourced user message. If no rules are set or the byte budget trims them all, the plugin silently skips injection, so an empty reminder shell never reaches the model.

Three scopes (global, session, project) let you layer constraints from team-wide norms down to per-directory quirks. Rendering follows a specificity-wins order, so project rules survive tight budgets before global ones are trimmed. SHA-1 digest deduplication prevents redundant re-injection, literal delimiter characters in rule bodies are automatically escaped to block frame breakout, and everything is written under $DSH_HOME so rules persist across sessions and restarts. The /baize-rules command set and the optional web client panel share a single store and core, guaranteeing one source of truth whether you manage rules from the terminal or a browser.

If you want to codify team coding standards, personal style preferences, or project-specific conventions into the DeepSeek Harness context without pasting them manually every round, this plugin is built for you. It also serves small engineering teams that need directory-level rule overrides while keeping a shared global baseline.

Use Cases

  • Enforcing team-wide coding style as a default baseline
  • Keeping personal preferences persistent across sessions without retyping
  • Applying directory-level rule overrides per working directory
  • Preserving high-specificity rules when the byte budget is tight

Best For

  • Solo developers using DeepSeek Harness daily
  • Engineering teams that need codified coding standards in context
  • Power users who are tired of repeating the same instructions every round