xhs-pharma-social-listening

xhs-pharma-social-listening is a skill for Codex from EthanYoQ/Skill-hub. It costs 87 tokens per session (2,430 once invoked), scanned A, original, MIT.

A workflow for collecting and analyzing Xiaohongshu posts and comments about pain points among employees at foreign pharmaceutical companies. Xiaohongshu is a Chinese social platform for user posts and notes.

In plain words
What is it for?
Use it to investigate employee views related to pharmaceutical companies, job roles, compliance, medical affairs, or artificial intelligence, then create a cited and scored report.
Why use it?
It helps produce traceable findings from sampled social content while checking platform access and handling collection limits carefully.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions subagents.

Good fit Use it to investigate employee views related to pharmaceutical companies, job roles, compliance, medical affairs, or artificial intelligence, then create a cited and scored report.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ethanyoq/skill-hub/xhs-pharma-social-listening
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add EthanYoQ/Skill-hub --skill xhs-pharma-social-listening
Clone the repo
git clone --depth 1 https://github.com/EthanYoQ/Skill-hub

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for xhs-pharma-social-listening

README.md
[![agentmods](https://agentmods.dev/badge/skills/ethanyoq/skill-hub/xhs-pharma-social-listening/github.svg)](https://agentmods.dev/skills/ethanyoq/skill-hub/xhs-pharma-social-listening)
Your own site
<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/xhs-pharma-social-listening"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/xhs-pharma-social-listening/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for xhs-pharma-social-listening

Your own site · 80×15
<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/xhs-pharma-social-listening"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/xhs-pharma-social-listening.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,430 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00087 $0.02430
Opus 5 $0.00044 $0.01215
Sonnet 5 $0.00017 $0.00486
Haiku 4.5 $0.00009 $0.00243

Measured 12d ago against content hash ca0fd213a7af, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

xhs-pharma-social-listening scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/analyze_xhs_pharma.py, scripts/collect_xhs_pharma.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/10-business-industry/xhs-pharma-social-listening/SKILL.md · 153 lines

How it starts

The opening of the file, as written. The whole thing — 153 lines — stays where its author put it; the contents beside it link to each section on GitHub.

XHS Pharma Social Listening

Overview

Use this skill to run an end-to-end Xiaohongshu social listening workflow for foreign pharma employee pain points. The main agent owns orchestration, scoring, analysis, and final reporting. Delegate Xiaohongshu collection to a collector subagent when subagent tools are available. Use Agent Reach/OpenCLI for access checks, seed discovery, spot validation, and note-level fill-in. For large runs or when OpenCLI throughput is insufficient, prefer a batch crawler path, with MediaCrawler as the first candidate. See references/batch-collection.md before changing collection strategy.

Workflow

  1. Check platform access:
    • Run agent-reach doctor --json.
    • Confirm xiaohongshu.status is ok and active backend is OpenCLI or another working backend.
  2. Select collection path:
    • Delegate Xiaohongshu information collection to a subagent when multi_agent_v1.spawn_agent or an equivalent subagent tool is available.
    • Keep one active XHS collection subagent per logged-in account/session unless the user explicitly asks for parallel collection; platform rate limits and captcha risk matter more than raw parallelism.
    • If the task is small or only needs validation, run scripts/collect_xhs_pharma.py.
    • If the user reports OpenCLI is slow, requests >1000 items, or asks for recurring social listening, read references/batch-collection.md and run a MediaCrawler POC first.
    • For large runs, target at least 1,000 independent evidence items: deduplicated notes plus deduplicated comments. Report search rows, note-detail rows, and comment rows separately; a detail row enriches its note and is not another independent item.
    • Use a broad-first query matrix. Start with single company, alias, and pharma-specific role terms, then add paired precision probes. Do not run cross-industry work or pain terms as standalone searches, including 市场部, 报销, 背调, 外企, 裁员, 离职, 合规, 薪资, and KPI; these must be paired with a pharma context anchor from references/query-matrix.md.
    • Cover company names, blackwords/aliases, roles, pain terms, compliance terms, AI/medical affairs terms.
    • Do not narrow or abandon the broad-first query matrix merely because MediaCrawler returns CAPTCHA/461. First distinguish query semantics from backend execution risk. If Agent Reach/OpenCLI can still search/read the same query, treat the issue as MediaCrawler-path or session cooldown risk, not as evidence that the keyword strategy is invalid.
    • Before any MediaCrawler batch run after a prior CAPTCHA/461, run an Agent Reach/OpenCLI smoke on the same or adjacent keyword: opencli xiaohongshu search "<query>" --limit 5 -f json, then read one note and comments. If OpenCLI succeeds but MediaCrawler fails, switch the collection backend to Agent Reach/OpenCLI and cool down MediaCrawler; do not continue retrying MediaCrawler in the same turn.
  3. Analyze:
    • Run scripts/analyze_xhs_pharma.py on the collection directory.
    • Produce report.md, topic_scores.csv, evidence_notes.csv, evidence_comments.csv, and dataset_summary.json.
  4. Report carefully:
    • Treat output as sampled social listening, not platform-total statistics.
    • Mark unverified items: author identity, policy authenticity, company-specific generalization, and whether a pain point is industry-wide.

Read the full file on GitHub · 153 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 153 lines · 87 tokens per session scan A ca0fd213a7af

Subscribe to this mod's changes

xhs-pharma-social-listening is a skill published in the GitHub repository EthanYoQ/Skill-hub (9 stars, last pushed 5d ago), licensed MIT. It adds 87 tokens to every session and 2,430 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.