dsh-plugin-rag: A Local Knowledge Base RAG Plugin for DeepSeek Harness

yytbit/dsh-plugin-rag

Data & KnowledgeVerified
Listed on 2026-08-19
Page last updated 2026-09-16

dsh-plugin-rag provides local knowledge base RAG for DeepSeek Harness, using TF-IDF keyword search over project files without external APIs or embedding models.

dsh-plugin-rag is a local knowledge base RAG plugin for DeepSeek Harness that indexes project files and provides keyword search to find relevant context. It solves the problem of quickly locating relevant information within the harness, without needing external APIs or embedding models—pure local TF-IDF search. It supports Markdown, code, config files, and more, automatically skipping directories like node_modules. Use CLI commands to search for relevant files, and it can inject index stats into the system prompt to aid agent decision-making.

How to Install

install
npmdsh plugin --profile web add dsh-plugin-rag
Category
Data & Knowledge
Platform
DSH Plugin
Author
yytbit
Distribution
Plugin

dsh-plugin-rag Key Features

Local file indexingKeyword searchContext injectionCLI search
Listed on dsh-plugin.org

dsh-plugin-rag Repo Summary

What Does It Do?

dsh-plugin-rag is a local knowledge base RAG plugin for DeepSeek Harness that indexes project files and provides keyword search to find relevant context. It solves the problem of quickly locating relevant information within the harness, without needing external APIs or embedding models—pure local TF-IDF search. Maintained by YYTbit under the MIT license, it was last updated in 2026-08.

Core Features

  • Indexes project files: supports Markdown, code, config files, and more, automatically skipping directories like node_modules and .git.
  • Keyword search: use CLI commands to search for relevant files and get matching results.
  • Index statistics: view index status to understand the scope of indexed files.
  • Flexible configuration: set index paths, max results, max bytes, and other parameters.
  • System prompt injection: injects index stats into the system prompt to aid agent decision-making.

How to Use This Plugin?

After enabling it in DSH, use CLI commands to search, for example, type rag "authentication" ./src to find relevant files. You can also use rag --index ./src ./docs to view index statistics. For configuration, add a rag config entry in the DSH configuration file, setting parameters like indexPaths and maxResults; the plugin will automatically scan directories and build the index.

This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: yytbit/dsh-plugin-rag. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.

Install, update, and uninstall this plugin in the Plugin Market of DeepSeek Harness's DSH Plugin Hub

DSH Plugin FAQ