dsh-duckdb
Query local data files with SQL from inside DeepSeek Harness (dsh) — zero Python, zero external services.
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add dsh-duckdbドキュメント
README 全文を読む ↗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
| Arg | Type | Notes |
|---|---|---|
sql | string (required) | One statement. Reference attached files as f0, f1, ... |
files | array of strings | Absolute workspace paths, attached as views in order |
max_rows | integer | Row cap. Default 200, hard cap 1000 |
read_only | boolean | Default true |
duckdb_schema
| Arg | Type | Notes |
|---|---|---|
target | string (required) | Absolute file path, or an attached view name |
sample_rows | integer | Default 5, hard cap 50 |