Agent skill

Maimai Hub

by OpenMinis in OpenMinis/MinisSkills

Retrieves data from the Colleague Circle and Career Insights sections of Maimai (maimai.cn).

MITAuto-check passed

Install Maimai Hub

skills CLI
$ npx skills add OpenMinis/MinisSkills --skill maimai-hub -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install OpenMinis/MinisSkills maimai-hub --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/OpenMinis/MinisSkills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/maimai-hub .claude/skills/maimai-hub && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
maimai-hub
GitHub stars
446
Token cost
~1.2k tokens
SKILL.md length
296 words
Files
2 (incl. scripts)
Skills in repo
49
Repo updated
First seen
Licence
MIT

At a glance

Retrieves data from the Colleague Circle and Career Insights sections of Maimai (maimai.cn).

  • Works in 3 steps: URL provided by the user → extract with… → Current user's company → visit… → Company name matching → built-in script…
  • SKILL.md covers Authentication Process, Colleague Circle Fallback Plan…, Script Invocation and How to Obtain the webcid, plus 3 more sections
  • Runs Python scripts from its folder; calls python3; reaches maimai.cn

What it does

Maimai Hub is an agent skill from OpenMinis/MinisSkills. 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.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/maimai.py`).

The repository describes itself as: Skills collection for Minis. The licence is MIT.

Example prompts

  • “Maimai,”
  • “Colleague Circle,”
  • “Career Insights,”
  • “/maimai-hub”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. URL provided by the user → extract with regex: webcid=([A-Za-z0-9]+)
  2. Current user's company → visit https://maimai.cn/web/search_center, then execute JS
  3. Company name matching → built-in script cache + dynamic ranking lookup (circle_rank command)

What it can do on your machine

Read from SKILL.md and the folder at commit ae8c5db. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • maimai.cn

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Maimai Hub loads about 1.2k tokens when it runs. Until then it costs about 122 tokens; SKILL.md has 296 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~122
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from OpenMinis/MinisSkills at commit ae8c5db, republished under its MIT licence (© OpenMinis). 296 words, ~1,247 tokens.

Download SKILL.mdSave it as .claude/skills/maimai-hub/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
maimai-hub
description
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.

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 them

Script Invocation

Script: /var/minis/skills/maimai-hub/scripts/maimai.py

bash
# 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:

  1. URL provided by the user → extract with regex: webcid=([A-Za-z0-9]+)
  2. Current user's company → visit https://maimai.cn/web/search_center, then execute JS:
    js
    window.share_data.data.mycard.web_cid  // returns the webcid directly; .company is the full company name
  3. Company name matching → built-in script cache + dynamic ranking lookup (circle_rank command)

Colleague Circle page URL (for browser fallback): https://maimai.cn/company/gossip_discuss?webcid=<WEBCID>

Built-in webcid cache (major tech companies):

Companywebcid
ByteDancejYZTTwkX
Pinduoduo1cDwhLvjW
Tencent167PEUToR
AlibabaEnT6guJz
Ant Group9AG14xzt
BaidumWqfo5EX
Meituan5DDx3ANi
XiaomiKvzN4IGA
JD.comSJdjsQ5S
KuaishouRO3MvtaT

Permissions

  • Colleague Circle: Access is limited to employees of that company. error_code: 21003 indicates 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.

© OpenMinis, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in maimai-hub of OpenMinis/MinisSkills.

  • SKILL.md
  • scripts/maimai.py

Open the folder on GitHubat commit ae8c5db

Compare with similar skills

Maimai Hub next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Maimai Hub compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Maimai Hub this skillOpenMinis/MinisSkills446—~1.2kAutomated safety check: PassMIT
Iterative Retrievalaffaan-m/ECC276k7 repos~1.6kAutomated safety check: PassMIT
Formatting Insight AxesPostHog/posthog40k—~2.1kAutomated safety check: PassCustom licence
Iterative Retrievalaffaan-m/ECC276k2 repos~1.1kAutomated safety check: PassMIT
Iterative Retrievalaffaan-m/ECC276k2 repos~1.3kAutomated safety check: PassMIT
Iterative Retrievalaffaan-m/ECC276k1 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • Pattern for progressively refining context retrieval to solve the subagent context problem.

    276k GitHub starsUsed in 7 repos~1.6k tokens
    Agent WorkflowsAuto-check passed
  • Official

    Pick the right y-axis unit when creating or updating an insight via posthog:insight-create or posthog:insight-update — both TrendsQuery (trendsFilter.aggregationAxisFormat) and SQL insights…

    40k GitHub stars~2.1k tokensUpdated today
    DatabasesAuto-check passed
  • サブエージェントのコンテキスト問題を解決するために、コンテキスト取得を段階的に洗練するパターン. An agent skill from affaan-m/ECC.

    276k GitHub starsUsed in 2 repos~1.1k tokens
    Auto-check passed
  • 서브에이전트 컨텍스트 문제를 해결하기 위한 점진적 컨텍스트 검색 개선 패턴. An agent skill from affaan-m/ECC.

    276k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check passed
  • 逐步优化上下文检索以解决子代理上下文问题的模式

    276k GitHub starsUsed in 1 repo~1.1k tokens
    Auto-check passed
  • Insight Error Page

    vercel/next.js

    Official

    Write or audit an insight-kind error page for the Next.js dev overlay.

    143k GitHub stars~5.5k tokensUpdated today
    Writing & ContentAuto-check passed

More from OpenMinis/MinisSkills

All 49 skills in this repo
  • Android UI Automation

    OpenMinis/MinisSkills

    Automate Android apps that have no public API or web version by driving the UI layer through the Accessibility Service.

    446 GitHub stars~1.6k tokensUpdated 2 days ago
    Auto-check passed
  • Codex On Ish

    OpenMinis/MinisSkills

    Install and run OpenAI Codex CLI inside the Minis/iSH Alpine sandbox on iOS, where rustls TLS and async sockets are broken.

    446 GitHub stars~1k tokensUpdated 2 days ago
    Auto-check passed
  • Evidence Chain Builder

    OpenMinis/MinisSkills

    Score a claim against the evidence behind it. An agent skill from OpenMinis/MinisSkills.

    446 GitHub stars~2.4k tokensUpdated 2 days ago
    Auto-check passed
  • Hyperframes CLI

    OpenMinis/MinisSkills

    HyperFrames CLI and Minis rendering. An agent skill from OpenMinis/MinisSkills.

    446 GitHub stars~3.5k tokensUpdated 2 days ago
    Auto-check passed
  • Whenpeak

    OpenMinis/MinisSkills

    Predict when a person's brain works best from their sleep, using the WhenPeak performance-intelligence API, and turn it into concrete scheduling advice.

    446 GitHub stars~2.3k tokensUpdated 2 days ago
    Auto-check passed
  • Openstreetmap Marker

    OpenMinis/MinisSkills

    Generate a mobile-first, immersive, Amap(Gaode)-style custom landmark marker HTML map for travel itinerary planning, place showcasing, location sharing, etc.

    446 GitHub stars~1.9k tokensUpdated 2 days ago
    Auto-check passed

Questions about Maimai Hub

What does Maimai Hub do?

Retrieves data from the Colleague Circle and Career Insights sections of Maimai (maimai.cn). Maimai Hub is an agent skill from OpenMinis/MinisSkills.cn).

How do I install Maimai Hub in Claude Code?

Run `npx skills add OpenMinis/MinisSkills --skill maimai-hub -a claude-code`. Or copy the skill folder (maimai-hub in OpenMinis/MinisSkills) into .claude/skills/maimai-hub in your project. Claude Code loads it when a task matches its description.

How do I install Maimai Hub in Codex?

Run `npx skills add OpenMinis/MinisSkills --skill maimai-hub -a codex`. Or copy the skill folder (maimai-hub in OpenMinis/MinisSkills) into .agents/skills/maimai-hub in your project. Codex loads it when a task matches its description.

Can I use Maimai Hub in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add OpenMinis/MinisSkills --skill maimai-hub -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/maimai-hub, .gemini/skills/maimai-hub, .github/skills/maimai-hub and .opencode/skills/maimai-hub in your project.

What does Maimai Hub need to run?

Going by SKILL.md and its folder, Maimai Hub needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Maimai Hub access the network?

SKILL.md names 1 domain. In commands or code: maimai.cn; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Maimai Hub safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Maimai Hub use?

Maimai Hub is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Maimai Hub use?

About 1.2k tokens (SKILL.md is roughly 5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Maimai Hub?

Skills that share tags, products or a category with Maimai Hub: Iterative Retrieval (affaan-m/ECC, 276k stars), Formatting Insight Axes (PostHog/posthog, 40k stars), Iterative Retrieval (affaan-m/ECC, 276k stars) and Iterative Retrieval (affaan-m/ECC, 276k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Maimai Hub?

OpenMinis (a GitHub organization) maintains it in OpenMinis/MinisSkills, which has 446 GitHub stars. The repository holds 49 skills in this directory. The repository was last updated on October 7, 2026.

Source: OpenMinis/MinisSkills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.