name: global-company-person-alumni description: "Find corporate alumni and former colleagues with company ID and personnel ID. Trace career history and expand professional networks for recruitment and B2B lead development.\n\nTrigger: corporate alumni search, find former coworkers, career‑history lookup, B2B network expansion, talent sourcing from alumni groups" metadata: {"version":"1.0.4","homepage":"https://www.upkuajing.com","clawdbot":{"emoji":"🎓","requires":{"bins":["python"],"env":["UPKUAJING_API_KEY"]},"primaryEnv":"UPKUAJING_API_KEY"}}
Query alumni data from the global company database (全球企业库) using the UpKuaJing Open Platform API.
This skill provides access to alumni information from UpKuaJing's global company database. Given a person ID (hid) and a school ID (sid), it returns the list of alumni with their person IDs and school IDs.
hid (person ID) can be obtained from global-company-person-search (person search) resultssid (school ID) can be obtained from global-company-person-education (education history query) resultspython --versionpip install -r requirements.txtScript directory: scripts/*.py
Run example: python scripts/*.py
Important: Always use direct script invocation like python scripts/person_alumni_list.py. Do NOT use shell compound commands like cd scripts && python person_alumni_list.py
person_alumni_list.py)This skill requires an API key. The API key is stored in the ~/.upkuajing/.env file:
cat ~/.upkuajing/.env
Example file content:
UPKUAJING_API_KEY=your_api_key_here
First check if the ~/.upkuajing/.env file has UPKUAJING_API_KEY;
If UPKUAJING_API_KEY is not set, prompt the user to choose:
1. User has one: User provides it (manually add to ~/.upkuajing/.env file)
2. User doesn't have one: You can apply using the interface (auth.py --new_key), the new key will be automatically saved to ~/.upkuajing/.env
Wait for user selection;
When API response indicates insufficient balance, explain and guide user to top up:
1. Create top-up order (auth.py --new_rec_order)
2. Based on order response, send payment page URL to user, guide user to open URL and pay, user confirms after successful payment;
Use this script to get account information for UPKUAJING_API_KEY: auth.py --account_info
All API calls incur fees, different interfaces have different billing methods.
Latest pricing: Users can visit Detailed Price Description
Or use: python scripts/auth.py --price_info (returns complete pricing for all interfaces)
Billed by number of calls, each call returns one page of alumni records:
- Each API call incurs a fee
- Use --cursor to get additional pages (each page is a separate call)
- Before execution:
1. Inform user that this query will incur a fee
2. Stop, wait for explicit user confirmation in a separate message, then execute script
Any operation that incurs fees must first inform and wait for explicit user confirmation. Do not execute in the same message as the notification.
| User Intent | Use API |
|---|---|
| "Find alumni of person H_67890 from school S_001" | Alumni List Query |
User request: "Find alumni of person H_67890 from school S_001"
python scripts/person_alumni_list.py --hid H_67890 --sid S_001
Get next page (use cursor returned from previous response):
python scripts/person_alumni_list.py --hid H_67890 --sid S_001 --cursor 'cursor_string_from_previous_response'
UPKUAJING_API_KEY in ~/.upkuajing/.env fileDo not guess parameter names, get accurate parameter names and formats from documentation
Pagination:
cursor, more data is availablecursor value to get the next pageAn empty cursor means there is no more data
Cross-skill usage:
sid (school ID) can be obtained from global-company-person-education (education history query) resultshid (person ID) can be obtained from global-company-person-search (person search) resultshid as the person unique identifier; sid is the school identifierpython scripts/auth.py --price_info to get accurate pricing informationOther UpKuaJing skills you might find useful:
这是一款功能清晰、质量良好的企业校友查询工具。文档说明详细易懂,错误处理完善,用户体验友好。查询脚本简单易用,支持分页翻页。主要不足是功能相对单一,仅支持单一查询场景,且字段说明可以更详细。总体而言,对于需要查询企业人物校友信息的用户来说,这个工具能满足基本需求,质量可靠。