AI Agent Hub
Back to plugins
🖥️

dsh-codegraph

Client Updated 2026.08.27

Run the following command in DeepSeek Harness:

dsh plugin install jiangzhenguo/dsh-codegraph

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

To install this plugin in DeepSeek Harness, visit the full source address https://github.com/jiangzhenguo/dsh-codegraph and run the command dsh plugin install jiangzhenguo/dsh-codegraph.

About this plugin

The dsh-codegraph plugin solves the inefficiency of AI models relying on grep and file reading for code analysis, which is often slow and context-lacking. By integrating CodeGraph's pre-indexed code knowledge graph, it enables models to directly query symbols, call chains, and code regions, significantly boosting analysis speed and accuracy.

Its core capabilities include wrapping the codegraph CLI into native model tools, exposing essential tools like codegraph_explore by default to keep the toolset streamlined, and automatically injecting prompts to prioritize these tools. The plugin also implements structured prompt frontloading, which pre-runs queries based on user intent and injects results into sessions, reducing reflexive searches and improving context availability.

Designed for DSH users, it is ideal for developers and AI-assisted programming enthusiasts who need to efficiently explore codebases, perform refactoring, impact analysis, or test planning. The plugin streamlines code exploration workflows, allowing models to focus better on tasks and enhancing overall development efficiency and code quality.

Use Cases

  • Quickly explore symbols and call chains in the codebase
  • Perform impact analysis before code refactoring
  • Manage code index to keep it synchronized

Best For

  • Developers using DSH for AI-assisted programming
  • Software engineers needing efficient code analysis tools
  • Team members focused on code maintenance and refactoring