maimai-hub

Extract colleague circle posts and workplace talk feeds from Maimai via authenticated API calls.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Accessing Maimai (maimai.cn) colleague circle posts and workplace talk feeds requires authenticated sessions, company-specific webcid identifiers, and handling of API failures, which makes manual data collection slow and error-prone. ## Core Features & Use Cases - Colleague Circle Extraction: Fetch posts from a specific company's colleague circle by webcid or company name, with a built-in cache of major companies like ByteDance, Tencent, and Alibaba. - Global Workplace Talk Feed: Retrieve hot, new, following, or recommended feed tabs available to any logged-in user. - Browser Degradation Fallback: When the API returns empty results or 404 errors, automatically switch to browser-based page reading with scrolling and DOM extraction. - Use Case: A user asks what employees at Ant Group are discussing; the skill resolves the webcid, pulls the latest colleague circle posts, and summarizes trending topics sorted by engagement. ## Quick Start Read the latest colleague circle posts from ByteDance on Maimai and summarize the main discussion topics.

Frequently Asked Questions about maimai-hub

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

FAQPage Schema
How do I read Maimai colleague circle posts for a specific company?

Run the maimai.py script with the gossip_circle command, passing either --webcid directly or --company with the company name. The script resolves the company to a webcid using a built-in cache or dynamic rank lookup, then returns posts as JSON.

How to get Maimai cookies for API authentication?

Use browser automation to navigate to maimai.cn/web/search_center with a desktop user agent, then extract cookies including csrftoken into an env file. Mobile pages lack csrftoken, so the desktop user agent step is mandatory.

Why does Maimai colleague circle return an empty array?

Empty results mean the logged-in account is not an employee of that company, since colleague circles are restricted to employees (error_code 21003). Switch to the global workplace talk feed, which is accessible to all logged-in users.

What is a webcid and how do I find it for a company?

A webcid is Maimai's internal company identifier used in colleague circle URLs. Extract it from a user-provided URL with regex, read it from the current user's profile data, or look it up via the search_company command and circle popularity rankings.

What happens when the Maimai API returns 404 or fails?

The skill automatically degrades to browser-based extraction by navigating to the company gossip_discuss page, scrolling to load content, and extracting post text via DOM queries. Results are filtered, deduplicated, and summarized.