quantdb-sdk SKILL.md skillB
quantdb-sdk from qusong0627/quantmind is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add qusong0627/quantmind/quantdb-sdk@git:20260919.a5c8006Pins git:20260919.a5c8006 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 16 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- qusong0627/quantmind
- Path
skills/quantdb-sdk/SKILL.md- Versions recorded
- 5
- Latest version
- git:20260919.a5c8006, committed Sep 19, 2026
- First version recorded
- Aug 29, 2026
- Size
- 13,052 bytes
- Repository stars
- 1,774
- License
- AGPL-3.0
QuantDB 数据 SDK — API Key 配置、数据集目录、字段查询。在 QuantBot / Claude Code 中查询 QuantDB 数据、配置 API Key、预览/同步数据集、远程查询 K 线/财务/因子时使用。触发词:quantdb、QuantDB、数据key、API key、数据集、数据字段、远程数据、同步数据集、查询K线、查看字段.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
> ⚙️ 本技能遵循公共运行环境契约(最高优先级,先于本文其余内容执行):
> 详见 [_shared/env-contract.md](../_shared/env-contract.md),执行前先读它。
# QuantDB 数据 SDK 技能
QuantDB 是付费 CDN 数据源,通过 API Key 认证。提供 A 股完整数据:K 线、财务、估值、技术指标、L1/L2 因子(共 315 维 AI 因子)。
## 1. API Key 配置
### 1.1 查看配置状态(脱敏)
```bash
BASE=http://127.0.0.1:8000
TOKEN=$(curl -s -X POST $BASE/api/v1/auth/login -H "Content-Type: application/json" \
-d '{"username":"admin","password":"admin123","tenant_id":"default"}' \
| python3 -c "import sys,json; print(json.load(sys.stdin).get('access_token',''))")
AUTH="Authorization: Bearer $TOKEN"
# 查看 Key 是否已配置 + 数据目录 + runtime.env 路径
curl -s -H "$AUTH" "$BASE/api/v1/admin/data-platform/quantdb/config"
# 返回: {api_key_configured, api_key_masked, data_dir, runtime_env_file}
```
### 1.2 保存/更新 API Key
```bash
curl -s -X POST -H "$AUTH" -H "Content-Type: application/json" \
"$BASE/api/v1/admin/data-platform/quantdb/config" \
-d '{"api_key":"qdb_your_key_here"}'
# 写入 config/runtime.env 并立即生效,当场用 get_me() 验证 Key 可用性
# 返回: {api_key_masked, verified, error}
```
### 1.3 SDK 状态
```bash
curl -s -H "$AUTH" "$BASE/api/v1/admin/data-platform/quantdb/info"
# 返回: {quantdb: {installed, api_key_configured, ...}}
```
…Read the whole file at its exact version.
How to install
mdr add qusong0627/quantmind/quantdb-sdk@sha256:a219c373ce6fc3d0The line at the top of this page pins the label git:20260919.a5c8006, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_d3my3adcqjlh7ytf)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Aug 29, 2026 and Sep 19, 2026, about one every 5 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260919.a5c8006 latest | 2026-09-19 | a5c8006 | 13,052 B | B | view · diff |
| git:20260919.401b4a8 | 2026-09-19 | 401b4a8 | 14,889 B | B | view · diff |
| git:20260913.f047312 | 2026-09-13 | f047312 | 14,875 B | B | view · diff |
| git:20260829.c9fd96c | 2026-08-29 | c9fd96c | 13,269 B | B | view · diff |
| git:20260829.cda0e48 | 2026-08-29 | cda0e48 | 13,271 B | B | view |
Audit of the latest version
- fail: No link to a raw IP address (matched: http://127.0.0.1:8000)
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (13052 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No script tag
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
qusong0627/quantmind · 1,774 stars · license AGPL-3.0 · pushed 2026-10-22 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_d3my3adcqjlh7ytf GET https://markdownregistry.com/api/v1/resolve?ref=qusong0627/quantmind/quantdb-sdk GET https://markdownregistry.com/api/v1/blob/a219c373ce6fc3d0655b6c64e41ca49a399a46a1155f9cb398e9c521df06de36
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.