maimai-hub

Extracts posts and rankings from Maimai Colleague Circle and Career Insights feeds.

Updated Jul 20, 2026
One-click install
npx skills add https://github.com/lsongdev/skills --skill maimai-hub-lsongdev
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: maimai-hub
Source: https://github.com/lsongdev/skills/tree/main/maimai-hub
Command: npx skills add https://github.com/lsongdev/skills --skill maimai-hub-lsongdev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Reading Maimai (maimai.cn) content such as company Colleague Circle posts and the site-wide Career Insights feed requires manual browsing and login handling; this Skill automates authenticated retrieval of that data as structured JSON. ## Core Features & Use Cases - Colleague Circle Posts: Fetch posts from a specific company's Colleague Circle by webcid or company name, with a built-in webcid cache for major tech companies. - Career Insights Feed & Rankings: Retrieve the site-wide feed (hot/new/follow/recommend tabs) and the Colleague Circle popularity ranking. - Browser Fallback: When the API returns empty results or 404, automatically switch to reading the page directly in the browser via browser_use. - Use Case: Ask for the latest Colleague Circle discussion at ByteDance; the Skill resolves the webcid, pulls the posts, and summarizes the main topics sorted by engagement. ## Quick Start Use the maimai-hub skill to fetch the 20 hottest Career Insights posts from Maimai and summarize the main topics.

Frequently Asked Questions about maimai-hub

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fetch Maimai Colleague Circle posts for a company?▼

Run the maimai.py script with the gossip_circle command, passing either --webcid or --company plus a cookie env file. Company names are resolved through a built-in webcid cache covering major tech firms like ByteDance, Tencent, and Alibaba.

How to look up a Maimai webcid by company name?▼

Use the search_company command with --name to resolve a company name to its webcid. The script first checks a built-in cache of known companies, then falls back to the Colleague Circle popularity ranking for dynamic lookup.

Why does Maimai return an empty array or error 21003?▼

Error code 21003 means you lack permission because Colleague Circle access is limited to employees of that company. Switch to the site-wide Career Insights feed, which is accessible to all logged-in users, or use the browser fallback plan.

Why is csrftoken missing when getting Maimai cookies?▼

The mobile version of Maimai pages does not include csrftoken in cookies. Set a desktop user agent (desktop_safari) before navigating to the site and calling get_cookies, then verify COOKIE_CSRFTOKEN exists in the env file.

What happens when the Maimai API returns 404?▼

The old /web/gossip_discuss and /community/gossip_discuss paths now return 404. The Skill automatically falls back to reading https://maimai.cn/company/gossip_discuss?webcid=<WEBCID> directly in the browser, scrolling to load content and extracting post text.