| name | cdu-library-book-survey |
| description | Agent-neutral Chengdu University library recommendation skill. Use when a user wants to research CDU OPAC holdings, recommend books by major/course/exam/research/career goal, compare library holdings with better external books, get call numbers, holding locations, borrow status, barcodes, shelf navigation, produce actionable borrowing lists, or map books to courses, abilities, and career directions. |
CDU Library Book Survey Skills
Use this reusable skills repository as a learning-planning and library-holdings research skill for Chengdu University students. It must help the user decide which books are worth borrowing, whether they are currently borrowable, where to find them, what collection gaps remain, and whether external books should supplement the library.
First Steps
- Read references/workflow.md for the complete execution workflow.
- If OPAC collection is possible, use scripts/opac_survey.py to collect search results, detail pages, holdings, barcodes, and shelf navigation data.
- Load only the reference files needed for the task:
Access Prerequisites
CDU OPAC may only be reachable from the Chengdu University campus network or through the university VPN. Do not assume VPN works unless the user confirms it. First try the OPAC URL:
http://libopac.cdu.edu.cn/opac/search_adv.php#/index
If inaccessible, ask the user to connect to campus network/VPN or provide screenshots/copied results for manual-assisted analysis.
Do Not
- Do not log into the user's library account.
- Do not query personal borrowing records.
- Do not reserve, renew, or recommend-purchase books unless the user explicitly asks and the system supports it.
- Do not high-frequency crawl OPAC.
- Do not present unverified data as library facts.
- Do not mix external books into the "library holdings Top10".
- Do not recommend from title alone; verify details, abstracts, subjects, holdings, or external publication data whenever possible.
Required Output Rules
- Separate "馆藏推荐 Top10" from "学习价值 Top10".
- Every library Top10 item must include at least title, call number, holding location, borrow status, and evidence source.
- If precise shelf navigation is unavailable but call number and holding location are known, state:
需到馆内按索书号查找.
- External books may be recommended even when the library has related holdings, but list at most 8 and explain the specific collection gap they fill.
- Every recommendation reason must state what problem the book solves, the suitable stage, and why it is recommended.
- Before finalizing, perform the quality checklist in references/workflow.md.
Script Quick Start
Create an input JSON:
{
"profile": {
"school": "成都大学",
"major": "专业名称",
"stage": "年级或学习阶段",
"goal": "学习或研究目标",
"purpose": "课程学习 / 考研 / 科研入门 / 兴趣拓展 / 职业技能",
"network": "校园网 / 学校 VPN / 校外未连接 VPN / 未知",
"output_depth": "normal"
},
"keywords": ["关键词1", "关键词2", "关键词3"],
"max_results_per_keyword": 50
}
Run:
python3 scripts/opac_survey.py --input request.json --output survey.json --format json
If the script uses cache or cannot verify live OPAC data, mark affected output with [缓存数据] and/or [未实时核验].