DeepSeek Harness Plugin

SIMON-WORLD/dsh-eco-indicator

Category Tools & Capabilities Added 2026-08-19

Economic indicator lookup via World Bank open data (GDP, inflation, trade, population), no API key required.

Install

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:SIMON-WORLD/dsh-eco-indicator

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

This plugin publishes its README in Chinese only.

DeepSeek Harness 插件:经济指标一键查询(World Bank 开放数据,无需 API Key)。

Query World Bank open economic indicators — GDP, inflation, trade, population, GDP per capita — by country and year range. No API key required.

功能

  • wb_indicator:按国家 + 年份区间查询任意世界银行指标(每行一年,缺失年份自动省略)
  • wb_countries:按名称片段或 ISO3 代码解析国家代码(给 wb_indicator 用)

常用指标示例:

代码 含义
NY.GDP.MKTP.CD GDP(现价美元)
NY.GDP.PCAP.CD 人均 GDP(现价美元)
FP.CPI.TOTL.ZG 通胀率(CPI 年增长率 %)
NE.TRD.GNFS.ZS 贸易占 GDP 比重(%)
SP.POP.TOTL 总人口
SL.UEM.TOTL.ZS 失业率(%)

国家代码:ISO3(CHN/USA/GBR)或区域(W 世界 / 1A 高收入 / 3E 低收入)。

安装

dsh plugin --profile web add dsh-eco-indicator
# 或从 GitHub 安装
dsh plugin --profile web add https://github.com/SIMON-WORLD/dsh-eco-indicator

安装后重启 harness,然后在对话里问:

查一下中国 2018-2023 的 GDP(现价美元)和通胀率

模型会自动调用 wb_indicator 返回逐年数据。

开发

npm run test   # 运行 node --test 单元测试(不依赖网络)

License

MIT

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.