alitrack/dsh-duckdb ↗★ 0

dsh-duckdb

Query local data files with SQL from inside DeepSeek Harness (dsh) — zero Python, zero external services.

Package
dsh-duckdb
Compatibility
Unverified
Harness peer range
^0.0.1-rc.1
Version
0.1.0
License
MIT
Last updated
Oct 29, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add dsh-duckdb

Usage

You: Look at /workspace/sales.csv and total the amount by city.

Agent: [duckdb_schema target=/workspace/sales.csv]
       columns: city VARCHAR, amount BIGINT
       approx rows: 3

       [duckdb_query sql="SELECT city, sum(amount) AS total FROM f0 GROUP BY city ORDER BY city"
        files=["/workspace/sales.csv"]]
       BJ | 300
       HZ | 100
       SH | 200

Tool reference

duckdb_query

ArgTypeNotes
sqlstring (required)One statement. Reference attached files as f0, f1, ...
filesarray of stringsAbsolute workspace paths, attached as views in order
max_rowsintegerRow cap. Default 200, hard cap 1000
read_onlybooleanDefault true

duckdb_schema

ArgTypeNotes
targetstring (required)Absolute file path, or an attached view name
sample_rowsintegerDefault 5, hard cap 50