maimai-hub
Skill438 starsChanged 3 months agoMITView on GitHub
Retrieves data from the Colleague Circle and Career Insights sections of Maimai (maimai.cn). Supports: posts from a specific company's Colleague Circle, the site-wide Career Insights feed (hot/latest/following), the Colleague Circle popularity ranking, and looking up a webcid by company name. This skill must be triggered whenever the user mentions "Maimai," "Colleague Circle," "Career Insights," "maimai," "maimai-hub," or any scenario that requires reading Maimai content.
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- lsongdev/skillsedited, first seen Sep 10, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- lsongdev/skills★ 196% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository51 other files it gives its agents.
- android-devSkill
- android-ui-automationSkill
- apple-remindersSkill
- appstoreprice-hubSkill
- asc-cliSkill
- bilibili-hubSkill
- Clash 控制器Skill
- cloudflare-dnsSkill
- codex-imageSkill
- codex-on-ishSkill
- contact-vcard-extractorSkill
- deepseek-usageSkill
- doubao-ttsSkill
- douyin-downloaderSkill
- exa-searchSkill
- free-ttsSkill
- fucai3d-latestSkill
- generative-ui-minisSkill
- github-sync-helperSkill
- health-sleep-analysisSkill
- hyperframes-cliSkill
- hyperframesSkill
- korea-stockSkill
- memos-apiSkill
- nano-bananaSkill
- notion-hubSkill
- openstreetmap-markerSkill
- pdf-converterSkill
- production-agent-publicSkill
- qbt-hubSkill
- quark-hubSkill
- reverse-dcfSkill
- self-improving-agentSkill
- shortcut-share-fileSkill
- spotify-hubSkill
- stock-fund-flowSkill
- stock-priceSkill
- tavily-searchSkill
- tg-hubSkill
- todoocardSkill
- twitter-downloaderSkill
- twitter-x-hubSkill
- us-stockSkill
- web-content-extractorSkill
- web-searchSkill
- weibo-hubSkill
- whenpeakSkill
- xianyu-hubSkill
- xiaohongshu-hubSkill
- youtube-downloaderSkill
- ytmusic-hubSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Before each use, retrieve the latest cookies with browser_use get_cookies.
- Distinctive: line 23
When the script returns an empty array or HTTP 404, automatically switch to reading the page content directly in the browser:
- Distinctive: line 107
When summarizing, sort by engagement (likes + cmts), identify the main topics, and do not list the original text item by item.
- Distinctive: line 111
Returns an empty array: No permission for the Colleague Circle (not an employee of that company).
- Very specific: line 112
Missing csrftoken: Make sure to access the site with a desktop UA before calling get_cookies.
- Very specific: line 113
Cannot find the webcid for a company name: Ask the user to provide the Colleague Circle URL directly …
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
maimai-hub
Authentication Process
Before each use, retrieve the latest cookies with browser_use get_cookies. This must be done on the desktop version of the page because the mobile version does not include csrftoken:
1. browser_use set_user_agent → desktop_safari
2. browser_use navigate → https://maimai.cn/web/search_center
3. browser_use get_cookies → save to env file
4. Confirm that the env file contains COOKIE_CSRFTOKEN (otherwise, retry steps 2-3)Example ENV file path: /var/minis/offloads/env_cookies_maimai_cn_XXXXXXXX.sh
Colleague Circle Fallback Plan (When the API Is Unavailable)
When the script returns an empty array or HTTP 404, automatically switch to reading the page content directly in the browser:
Colleague Circle page URL format:
https://maimai.cn/company/gossip_discuss?webcid=<WEBCID>
Note: The old paths /web/gossip_discuss and /community/gossip_discuss now both return 404.
You must use /company/gossip_discuss.Fallback steps:
1. browser_use navigate → https://maimai.cn/company/gossip_discuss?webcid=<WEBCID>
2. Scroll multiple times to load more content (scroll down × 4~6, 800px each time)
3. Extract post text with browser_use get_readable or execute_js:
document.querySelectorAll('[class*="content"],[class*="text"],[class*="body"]')
Filter criteria: length 15~800, exclude noise such as "Maimai", "illegal", and "Colleague Circle popularity"
4. Deduplicate the extracted results, then compile and summarize themScript Invocation
Script: /var/minis/skills/maimai-hub/scripts/maimai.py
# Colleague Circle posts (must be an employee of that company)
python3 /var/minis/skills/maimai-hub/scripts/maimai.py gossip_circle \
--webcid 9AG14xzt --count 20 --env <ENV_FILE>
# Look up a Colleague Circle by company name (automatically finds webcid)
python3 /var/minis/skills/maimai-hub/scripts/maimai.py gossip_circle \
--company Ant Group --count 20 --env <ENV_FILE>
# Site-wide Career Insights feed
python3 /var/minis/skills/maimai-hub/scripts/maimai.py gossip_feed \
--tab hot --count 20 --env <ENV_FILE>
# tab: hot(Trending) | new(Latest) | follow(Following) | recommend(Recommended)
# Colleague Circle popularity ranking (gets popular company webcids)
python3 /var/minis/skills/maimai-hub/scripts/maimai.py circle_rank \
--env <ENV_FILE>
# Look up webcid by company name
python3 /var/minis/skills/maimai-hub/scripts/maimai.py search_company \
--name ByteDance --env <ENV_FILE>How to Obtain the webcid
Priority:
- URL provided by the user → extract with regex:
webcid=([A-Za-z0-9]+) - Current user's company → visit
https://maimai.cn/web/search_center, then execute JS:window.share_data.data.mycard.web_cid // returns the webcid directly; .company is the full company name - Company name matching → built-in script cache + dynamic ranking lookup (
circle_rankcommand)
Colleague Circle page URL (for browser fallback): https://maimai.cn/company/gossip_discuss?webcid=<WEBCID>
Built-in webcid cache (major tech companies):
| Company | webcid |
| ByteDance | jYZTTwkX |
| Pinduoduo | 1cDwhLvjW |
| Tencent | 167PEUToR |
| Alibaba | EnT6guJz |
| Ant Group | 9AG14xzt |
| Baidu | mWqfo5EX |
| Meituan | 5DDx3ANi |
| Xiaomi | KvzN4IGA |
| JD.com | SJdjsQ5S |
| Kuaishou | RO3MvtaT |
Permissions
- Colleague Circle: Access is limited to employees of that company.
error_code: 21003indicates no permission. - Site-wide Career Insights: Accessible to all logged-in users.
- Ranking: Accessible to all logged-in users.
Output Format
The script returns JSON. Fields for each post: id, time, text, likes, cmts, spreads, ip_loc
When summarizing, sort by engagement (likes + cmts), identify the main topics, and do not list the original text item by item.
Frequently Asked Questions
- Returns an empty array: No permission for the Colleague Circle (not an employee of that company). Switch to site-wide Career Insights.
- Missing csrftoken: Make sure to access the site with a desktop UA before calling
get_cookies. - Cannot find the webcid for a company name: Ask the user to provide the Colleague Circle URL directly (
https://maimai.cn/company/gossip_discuss?webcid=xxx). - API returns empty / 404: Automatically switch to the browser fallback plan. See the "Colleague Circle Fallback Plan (When the API Is Unavailable)" section.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

