File contents 万方数据搜索技能
本技能提供万方数据平台的文献检索能力,支持:
完整 API 说明请参考:
👉 reference/api-catalog.md
该文档包含:
API 接口地址
请求参数
返回结构
文献类型说明
工具脚本
scripts/wf_data_query.py - 文献关键词检索
scripts/wf_data_get_doc.py - 获取文献详情
scripts/wf_data_vector_search.py - 向量语义检索
认证信息
所有接口需要以下请求头:
Header
说明
X-Ca-AppKey
应用 Key
Authorization
APPCODE 认证码
Content-Type
application/json
工具说明
1. 文献检索 (使用wf_data_query)
搜索万方数据库中的文献资源。
该工具适用于:
参数
参数
类型
必填
说明
query
string
是
检索关键词
collections
string[]
否
文献类型
rows
int
否
返回条数
start
int
否
起始位置
可用 collections
collection
说明
OpenPeriodical
期刊论文
OpenPeriodicalChi
中文期刊
OpenPeriodicalEng
英文期刊
OpenThesis
学位论文
OpenConference
会议论文
OpenPatent
专利
OpenClaw
法规
OpenCstad
成果
OpenStandard
标准
OpenMagazine
刊名
OpenMeeting
会议名录
OpenNstr
科技报告
OpenVideo
视频
OpenFZLocalChronicle
方志
OpenFZLocalChronicleItem
方志条目
更多字段和高级参数请参考:
👉 reference/api-catalog.md
2. 获取文献详情 (wf_data_get_doc)
根据文献 ID 获取文献详细信息。
参数
参数
类型
必填
说明
collection
string
是
文献资源库
doc_id
string
是
文献 ID
3. 向量语义搜索 (wf_data_vector_search)
通过自然语言进行语义搜索,系统会匹配语义相似的论文片段。
适用于:
参数
参数
类型
必填
说明
query_text
string
是
自然语言查询
collections
string[]
否
全文资源库
可用全文 collections
collection
说明
OpenPeriodicalFulltext
期刊全文
OpenThesisFulltext
学位论文全文
OpenConferenceFulltext
会议论文全文
OpenPatentFulltext
专利全文
OpenClawFulltext
法规全文
OpenStandardFulltext
标准全文
OpenLocalchronicleFulltext
方志全文
推荐调用流程
对于科研问题,建议 Agent 使用以下流程:
用户问题
↓
wf_data_vector_search(语义检索)
↓
获取文献ID
↓
wf_data_get_doc(获取文献详情)
↓
整理研究结果
对于精准关键词搜索:
用户关键词
↓
wf_data_query
↓
获取文献ID
↓
wf_data_get_doc
返回结果
所有接口返回 JSON 数据。
典型结构:
{
"documents": [],
"num_found": 120
}
注意事项
请确保配置正确的 API 认证信息
向量搜索适合语义问题检索
关键词检索适合精确查找
建议 rows 不超过 50
1 --- 2 name: wfdata-search 3 description: 用于从万方数据检索文献 4 --- 5 # 万方数据搜索技能 6 7 本技能提供万方数据平台的文献检索能力,支持: 8 9 - 文献关键词检索 10 - 文献详情获取 11 - 基于语义的向量检索 12 13 完整 API 说明请参考: 14 15 👉 `reference/api-catalog.md` 16 17 该文档包含: 18 19 - API 接口地址 20 - 请求参数 21 - 返回结构 22 - 文献类型说明 23 24 --- 25 26 ## 工具脚本 27 28 - `scripts/wf_data_query.py` - 文献关键词检索 29 - `scripts/wf_data_get_doc.py` - 获取文献详情 30 - `scripts/wf_data_vector_search.py` - 向量语义检索 31 32 --- 33 34 # 认证信息 35 36 所有接口需要以下请求头: 37 38 | Header | 说明 | 39 |------|------| 40 | X-Ca-AppKey | 应用 Key | 41 | Authorization | APPCODE 认证码 | 42 | Content-Type | application/json | 43 44 --- 45 46 # 工具说明 47 48 ## 1. 文献检索 (使用wf_data_query) 49 50 搜索万方数据库中的文献资源。 51 52 该工具适用于: 53 54 - 文献检索 55 - 按关键词搜索论文 56 - 按文献类型筛选 57 58 ### 参数 59 60 | 参数 | 类型 | 必填 | 说明 | 61 |----|----|----|----| 62 | query | string | 是 | 检索关键词 | 63 | collections | string[] | 否 | 文献类型 | 64 | rows | int | 否 | 返回条数 | 65 | start | int | 否 | 起始位置 | 66 67 68 ### 可用 collections 69 70 | collection | 说明 | 71 | ------------------------ | ---- | 72 | OpenPeriodical | 期刊论文 | 73 | OpenPeriodicalChi | 中文期刊 | 74 | OpenPeriodicalEng | 英文期刊 | 75 | OpenThesis | 学位论文 | 76 | OpenConference | 会议论文 | 77 | OpenPatent | 专利 | 78 | OpenClaw | 法规 | 79 | OpenCstad | 成果 | 80 | OpenStandard | 标准 | 81 | OpenMagazine | 刊名 | 82 | OpenMeeting | 会议名录 | 83 | OpenNstr | 科技报告 | 84 | OpenVideo | 视频 | 85 | OpenFZLocalChronicle | 方志 | 86 | OpenFZLocalChronicleItem | 方志条目 | 87 88 更多字段和高级参数请参考: 89 90 👉 `reference/api-catalog.md` 91 92 --- 93 94 # 2. 获取文献详情 (wf_data_get_doc) 95 96 根据文献 ID 获取文献详细信息。 97 98 ### 参数 99 100 | 参数 | 类型 | 必填 | 说明 | 101 | ---------- | ------ | -- | ----- | 102 | collection | string | 是 | 文献资源库 | 103 | doc_id | string | 是 | 文献 ID | 104 105 106 --- 107 108 # 3. 向量语义搜索 (wf_data_vector_search) 109 110 通过自然语言进行语义搜索,系统会匹配语义相似的论文片段。 111 112 适用于: 113 114 * 自然语言搜索 115 * 研究问题检索 116 * 语义相关文献发现 117 118 ### 参数 119 120 | 参数 | 类型 | 必填 | 说明 | 121 | ----------- | -------- | -- | ------ | 122 | query_text | string | 是 | 自然语言查询 | 123 | collections | string[] | 否 | 全文资源库 | 124 125 126 127 ### 可用全文 collections 128 129 | collection | 说明 | 130 | -------------------------- | ------ | 131 | OpenPeriodicalFulltext | 期刊全文 | 132 | OpenThesisFulltext | 学位论文全文 | 133 | OpenConferenceFulltext | 会议论文全文 | 134 | OpenPatentFulltext | 专利全文 | 135 | OpenClawFulltext | 法规全文 | 136 | OpenStandardFulltext | 标准全文 | 137 | OpenLocalchronicleFulltext | 方志全文 | 138 139 --- 140 141 # 推荐调用流程 142 143 对于科研问题,建议 Agent 使用以下流程: 144 145 ``` 146 用户问题 147 ↓ 148 wf_data_vector_search(语义检索) 149 ↓ 150 获取文献ID 151 ↓ 152 wf_data_get_doc(获取文献详情) 153 ↓ 154 整理研究结果 155 ``` 156 157 对于精准关键词搜索: 158 159 ``` 160 用户关键词 161 ↓ 162 wf_data_query 163 ↓ 164 获取文献ID 165 ↓ 166 wf_data_get_doc 167 ``` 168 169 --- 170 171 # 返回结果 172 173 所有接口返回 JSON 数据。 174 175 典型结构: 176 177 ```json 178 { 179 "documents": [], 180 "num_found": 120 181 } 182 ``` 183 184 --- 185 186 # 注意事项 187 188 1. 请确保配置正确的 API 认证信息 189 2. 向量搜索适合语义问题检索 190 3. 关键词检索适合精确查找 191 4. 建议 rows 不超过 50
wanfangdata/wfdata-open-skills/tree/main/skills/wfdata-search commit 80526fd0cd
Frequently asked questions How do I install the Wfdata Search skill? Run npx skillmds@latest add wanfangdata/wfdata-search in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the Wfdata Search skill do? 用于从万方数据检索文献 It is listed under Coding & Dev Tools on SkillMD.
Is Wfdata Search safe to use? This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with Wfdata Search? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is Wfdata Search free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published Wfdata Search? wanfangdata (@wanfangdata) published this skill. Their other Agent Skills are listed on their SkillMD profile.