← DeepSeek Harness Plugins
DeepSeek Harness PluginManifest Valid

dsh-plugin-cache-guard

Prefix-cache diagnostics plugin for DeepSeek Harness that distinguishes prefix rewrites from context growth.

Developer Tools
1GitHub Stars0ForksUpdated2026-10-24

Install

No clear install command was found in the current repository evidence.

Plugin Overview & Capabilities

AI-assisted organization based on the public repository snapshot. The content must be grounded in source evidence and does not replace compatibility or security verification.

source-grounded
dsh-plugin-cache-guard is a DeepSeek Harness plugin designed to monitor prompt prefix cache health. It analyzes token usage streams using a three-gate detection algorithm to differentiate normal context expansion from true prompt prefix rewrites, estimating wasted re-billed tokens and alerting the model or user when cache breaks occur.

Key Capabilities

  • Three-gate detection separating normal context growth from genuine prompt prefix rewrites
  • Provides /cache command to inspect cache hit rate, health status, and rewrite details
  • Provides cache_status tool allowing LLM agents to self-inspect prompt cache performance
  • Injects non-spamming advisory notifications into context once per rewrite break via post-execute hooks
  • Calculates wasted token counts and re-billed prompt volumes

Useful For

  • Diagnosing unexpected token billing spikes and prompt cache invalidations during DSH sessions
  • Monitoring prompt stability when developing agent workflows and dynamic tool injections
  • Allowing autonomous agents to inspect their own context cache status and adapt behavior

Who It Fits

  • DeepSeek Harness plugin and prompt developers
  • DSH power users optimizing API token consumption and inference latency
  • Developers debugging dynamic prompt templating and context resets

Documented Limitations

  • Cannot distinguish between prefix context mutations and server-side cache TTL expiration based solely on usage metrics
  • Continuous back-to-back breaks are gradually absorbed into the sliding baseline, silencing repeated alerts
  • Does not evaluate turns during the initial cold start window (default 8 steps)
  • Relies on usage stream heuristics and does not factor in cacheWriteTokens during collapse detection

DSH Compatibility

Version-specific runtime evidence collected by DSH Plugin. A missing result means we have not tested that combination yet.

Not tested yetNo runtime compatibility tests have been published yet.

Security Signals

Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.

Dependency Counts

package.json declares 0 runtime, 6 development, 1 peer, and 0 optional dependencies.

info
Dsh Bundle Declared

package.json declares DSH bundle metadata.

info
License Declared

GitHub reports the repository license as MIT.

info
Package Manifest Available

A root package.json was captured and can be inspected by the registry.

info
Prepare Script Detected

package.json declares a prepare lifecycle script that may run during relevant package installation workflows.

info
Source Available

Public GitHub source metadata is available for this registry snapshot.

info

Source & Registry Notes

Public provenance, Registry classification, and the latest source check for this entry, kept separate from runtime verification.

Source repository
121212165/dsh-plugin-cache-guard
Registry source
GitHub · dsh-plugin topic
Registry classification
Plugin
Source checked
2909308 · 2026-10-26

This project is independently indexed from public source information. DSH Plugin is not affiliated with DeepSeek or the plugin author. Always check the author repository before installation.

Repository Activity

GitHub stars
1GitHub stars
Forks
0
Open issues
1
Last commit
2026-10-24
Last release
2026-10-06
For maintainers

Maintaining this plugin?

This listing is generated from public repository data. If you maintain this project, you can review the information and share this listing with your users if you find it useful.

Add to README
Listed on DSHPlugin.app