AI Agent Hub
Back to plugins
🖥️

dsh-file-quote

Client Updated 2026.08.28

Run the following command in DeepSeek Harness:

dsh plugin install Sunday2Mo/dsh-file-quote

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

Install this plugin in DeepSeek Harness. Source: https://github.com/Sunday2Mo/dsh-file-quote . Run dsh plugin install Sunday2Mo/dsh-file-quote to get started.

About this plugin

When coding with an AI assistant, providing precise code context is a daily must, yet pasting long file excerpts into the chat is both redundant and hard to trace back to. dsh-file-quote takes a minimal approach: select any text, and every reference automatically carries the file path and line range. The chat stays clean with a compact chip, while the AI receives the full excerpt plus exact location metadata.

The plugin works with every file type you can preview or edit—sidebar viewers, the workspace CodeMirror editor, Markdown previews, and more. Sent references collapse into a hover-for-full-text chip on both the input and conversation sides, so the interface never crowds out your actual messages. Clicking any chip jumps straight back to the source: editor highlight in files, scroll-and-flash in chat history, or a floating overlay as a last resort. Multiple references can be stacked freely without merging, and the serialization format stays backward-compatible with older quote blocks.

It is a good fit if you use DeepSeek Harness Web for everyday development and find yourself constantly feeding code snippets into the AI conversation. dsh-file-quote turns the copy-paste ritual into a single select-and-insert gesture, keeping chats tidy while giving the model the precise context it needs. For the full experience including sidebar file references and locate-and-highlight, pair it with dsh-better-sidebar.

Use Cases

  • Reference exact code snippets with file path and line range for AI context
  • Insert multiple non-merging code reference blocks into chat quickly
  • Click a reference chip after sending to jump back and highlight the source
  • Hover over a reference chip to preview full text without leaving the conversation

Best For

  • Developers using DeepSeek Harness Web for everyday coding
  • Engineers who frequently supply precise code context to AI assistants
  • Technical teams that value clean conversations and traceable references