YYTbit / dsh-plugin-rag

Listed

Local knowledge base RAG for DeepSeek Harness

masterOther View source

Installation

npx -y @deepseek-ai/dsh plugin --profile web add github:YYTbit/dsh-plugin-rag

This installation command is an unverified starting point generated from the GitHub repository address.

README

Maintainer-authored documentation snapshot.

View on GitHub ↗
Commit 28f9b84Synced Aug 18, 2026

dsh-plugin-rag

Local knowledge base RAG for DeepSeek Harness.

What it does

Indexes project files (markdown, code, configs) and provides keyword search to find relevant context. No external APIs or embedding models needed -- pure local TF-IDF search.

Install

dsh plugin --profile your-profile add dsh-plugin-rag

CLI

# Search for relevant files
rag "authentication" ./src

# Show index stats
rag --index ./src ./docs

What gets indexed

  • Markdown (.md, .txt)
  • Code (.ts, .js, .py, .rs, .go, .java, .c, .cpp)
  • Config (.json, .yaml, .toml, .env)
  • Docs (.html, .xml, .sql, .graphql)

Skips: node_modules, .git, dist, build, pycache

Configuration

- id: rag
  name: dsh-plugin-rag
  config:
    indexPaths: ['.']
    maxResults: 3
    maxBytes: 4096
    enableInjection: true

How it works

  1. Scans directories for text files
  2. Builds a keyword index (TF-IDF scoring)
  3. Injects index stats into system prompt
  4. Agent uses CLI to search when needed

No embedding models, no external APIs, no heavy dependencies.

License

MIT -- YYTbit

Repository information

Language
TypeScript
License
MIT
Last updated
Aug 14, 2026, 7:49 AM

Install deliberately

Review source code, permissions, lifecycle hooks, dependencies and network access. Test untrusted plugins in an isolated environment.