dsh-plugin-cache-guard
Prefix-cache diagnostics plugin for DeepSeek Harness that distinguishes prefix rewrites from context growth.
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.
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.
Security Signals
Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.
package.json declares 0 runtime, 6 development, 1 peer, and 0 optional dependencies.
package.json declares DSH bundle metadata.
GitHub reports the repository license as MIT.
A root package.json was captured and can be inspected by the registry.
package.json declares a prepare lifecycle script that may run during relevant package installation workflows.
Public GitHub source metadata is available for this registry snapshot.
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
Related DSH Plugins
Ranked by overlapping capabilities, use cases, plugin type, categories, and DSH profile.
Context-compression plugin and proxy enabling long-lived sessions with layered, model-driven summaries.
View plugin →DeepSeek Harness integration for ego-lite Chromium browser, providing 33 structured automation tools and a real-time visual watch panel.
View plugin →High-performance native file, shell, and PTC operations toolkit for DeepSeek Harness.
View plugin →Security red-teaming and prompt rule management plugin for DeepSeek Harness web and desktop profiles.
View plugin →