dsh-code-stats: A Code Size Statistics Plugin for Projects

The DeepSeek Harness plugin `dsh-code-stats` is designed to address the pain point of manually measuring code size when agents analyze a project. Built with pure Node.js, it requires no external network access and supports 30+ programming languages. It scans a specified directory, quickly counts files and lines of code, groups results by language, and lists the largest files. By automatically filtering directories such as `node_modules`, it efficiently helps users understand a project's tech stack and scale. Users can install it via `dsh plugin add`, enable it in the configuration, and then call the `code_stats` tool in a session to retrieve the results.

Read More