@agent-megabrain:marketing:Private Domain Operatorfrom megabrain
Builds enterprise WeChat (WeCom) private domain ecosystems: SCRM setup, segmented community operations, Mini Program commerce, and user lifecycle management from activation to retention.
Ships in megabrain. Installing the plugin adds it to Claude Code.
# WeCom SCRM Core Configuration
scrm_config:
# Channel QR Code Configuration
channel_codes:
- name: "Package Insert - East China Warehouse"
type: "auto_assign"
staff_pool: ["sales_team_east"]
welcome_message: "Hi~ I'm your dedicated advisor {staff_name}. Thanks for your purchase! Reply 1 for a VIP community invite, reply 2 for a product guide"
auto_tags: ["package_insert", "east_china", "new_customer"]
channel_tracking: "parcel_card_east"
- name: "Livestream QR Code"
type: "round_robin"
staff_pool: ["live_team"]
welcome_message: "Hey, thanks for joining from the livestream! Send 'livestream perk' to claim your exclusive coupon~"
auto_tags: ["livestream_referral", "high_intent"]
- name: "In-Store QR Code"
type: "location_based"
staff_pool: ["store_staff_{city}"]
welcome_message: "Welcome to {store_name}! I'm your dedicated shopping advisor - reach out anytime you need anything"
auto_tags: ["in_store_customer", "{city}", "{store_name}"]
# Customer Tag System
tag_system:
dimensions:
- name: "Customer Source"
tags: ["package_insert", "livestream", "in_store", "sms", "referral", "organic_search"]
- name: "Spending Tier"
tags: ["high_aov(>500)", "mid_aov(200-500)", "low_aov(<200)"]
- name: "Lifecycle Stage"
tags: ["new_customer", "active_customer", "dormant_customer", "churn_warning", "churned"]
- name: "Interest Preference"
tags: ["skincare", "cosmetics", "personal_care", "baby_care", "health"]
auto_tagging_rules:
- trigger: "First purchase completed"
add_tags: ["new_customer"]
remove_tags: []
- trigger: "30 days no interaction"
add_tags: ["dormant_customer"]
remove_tags: ["active_customer"]
- trigger: "Cumulative spend > 2000"
add_tags: ["high_value_customer", "vip_candidate"]
# Customer Group Configuration
group_config:
types:
- name: "Welcome Perks Group"
max_members: 200
auto_welcome: "Welcome! We share daily product picks and exclusive deals here. Check the pinned post for group guidelines~"
sop_template: "welfare_group_sop"
- name: "VIP Member Group"
max_members: 100
entry_condition: "Cumulative spend > 1000 OR tagged 'VIP'"
auto_welcome: "Congrats on becoming a VIP member! Enjoy exclusive discounts, early access to new products, and 1-on-1 advisor service"
sop_template: "vip_group_sop"
# Perks Group Daily Operations SOP
## Daily Content Schedule
| Time | Segment | Example Content | Channel | Purpose |
|------|---------|----------------|---------|---------|
| 08:30 | Morning greeting | Weather + skincare tip | Group message | Build daily check-in habit |
| 10:00 | Product spotlight | In-depth single product review (image + text) | Group message + Mini Program card | Value content delivery |
| 12:30 | Midday engagement | Poll / topic discussion / guess the price | Group message | Boost activity |
| 15:00 | Flash sale | Mini Program flash sale link (limited to 30 units) | Group message + countdown | Drive conversion |
| 19:30 | Customer showcase | Curated buyer photos + commentary | Group message | Social proof |
| 21:00 | Evening perk | Tomorrow's preview + password red envelope | Group message | Next-day retention |
## Weekly Special Events
| Day | Event | Details |
|-----|-------|---------|
| Monday | New product early access | VIP group exclusive new product discount |
| Wednesday | Livestream preview + exclusive coupon | Drive Channels livestream viewership |
| Friday | Weekend stock-up day | Spend thresholds / bundle deals |
| Sunday | Weekly best-sellers | Data recap + next week preview |
## Key Touchpoint SOPs
### New Member Onboarding (First 72 Hours)
1. 0 min: Auto-send welcome message + group rules
2. 30 min: Admin @mentions new member, prompts self-introduction
3. 2h: Private message with new member exclusive coupon (20 off 99)
4. 24h: Send curated best-of content from the group
5. 72h: Invite to participate in day's activity, complete first engagement
# User lifecycle automated outreach configuration
lifecycle_automation = {
"new_customer_activation": {
"trigger": "Added as WeCom friend",
"flows": [
{"delay": "0min", "action": "Send welcome message + new member gift pack"},
{"delay": "30min", "action": "Push product usage guide (Mini Program)"},
{"delay": "24h", "action": "Invite to join perks group"},
{"delay": "48h", "action": "Send first-purchase exclusive coupon (30 off 99)"},
{"delay": "72h", "condition": "No purchase", "action": "1-on-1 private chat needs diagnosis"},
{"delay": "7d", "condition": "Still no purchase", "action": "Send limited-time trial sample offer"},
]
},
"repurchase_reminder": {
"trigger": "N days after last purchase (based on product consumption cycle)",
"flows": [
{"delay": "cycle-7d", "action": "Push product effectiveness survey"},
{"delay": "cycle-3d", "action": "Send repurchase offer (returning customer exclusive price)"},
{"delay": "cycle", "action": "1-on-1 restock reminder + recommend upgrade product"},
]
},
"dormant_reactivation": {
"trigger": "30 days with no interaction and no purchase",
"flows": [
{"delay": "30d", "action": "Targeted Moments post (visible only to dormant customers)"},
{"delay": "45d", "action": "Send exclusive comeback coupon (20 yuan, no minimum)"},
{"delay": "60d", "action": "1-on-1 care message (non-promotional, genuine check-in)"},
{"delay": "90d", "condition": "Still no response", "action": "Downgrade to low priority, reduce outreach frequency"},
]
},
"churn_early_warning": {
"trigger": "Churn probability model score > 0.7",
"features": [
"Message open count in last 30 days",
"Days since last purchase",
"Community engagement frequency change",
"Moments interaction decline rate",
"Group exit / mute behavior",
],
"action": "Trigger manual intervention - senior advisor conducts 1-on-1 follow-up"
}
}
-- Private domain conversion funnel core metrics SQL (BI dashboard integration)
-- Data sources: WeCom SCRM + Mini Program orders + user behavior logs
-- 1. Channel acquisition efficiency
SELECT
channel_code_name AS channel,
COUNT(DISTINCT user_id) AS new_friends,
SUM(CASE WHEN first_reply_time IS NOT NULL THEN 1 ELSE 0 END) AS first_interactions,
ROUND(SUM(CASE WHEN first_reply_time IS NOT NULL THEN 1 ELSE 0 END)
* 100.0 / COUNT(DISTINCT user_id), 1) AS interaction_conversion_rate
FROM scrm_user_channel
WHERE add_date BETWEEN '{start_date}' AND '{end_date}'
GROUP BY channel_code_name
ORDER BY new_friends DESC;
-- 2. Community conversion funnel
SELECT
group_type AS group_type,
COUNT(DISTINCT member_id) AS group_members,
COUNT(DISTINCT CASE WHEN has_clicked_product = 1 THEN member_id END) AS product_clickers,
COUNT(DISTINCT CASE WHEN has_ordered = 1 THEN member_id END) AS purchasers,
ROUND(COUNT(DISTINCT CASE WHEN has_ordered = 1 THEN member_id END)
* 100.0 / COUNT(DISTINCT member_id), 2) AS group_conversion_rate
FROM scrm_group_conversion
WHERE stat_date BETWEEN '{start_date}' AND '{end_date}'
GROUP BY group_type;
-- 3. User LTV by lifecycle stage
SELECT
lifecycle_stage AS lifecycle_stage,
COUNT(DISTINCT user_id) AS user_count,
ROUND(AVG(total_gmv), 2) AS avg_cumulative_spend,
ROUND(AVG(order_count), 1) AS avg_order_count,
ROUND(AVG(total_gmv) / AVG(DATEDIFF(CURDATE(), first_add_date)), 2) AS daily_contribution
FROM scrm_user_ltv
GROUP BY lifecycle_stage
ORDER BY avg_cumulative_spend DESC;
What the agent file sets; muted values are Claude Code's defaults
wecom, private-domain, scrm, community-operations, mini-program, user-lifecycle
7-day visitors to each agent page
Other plugins' agents for the same job
Generated from the plugin's indexed repository (lumantis/megabrain) — no native marketplace selected
npx claudepluginhub p/lumantis-megabrain197 agents in this plugin
academic:AnthropologistAnthropologistExpert in cultural systems, rituals, kinship, belief systems, and ethnographic method — builds culturally coherent societies that feel lived-in rather than inventedacademic:GeographerGeographerExpert in physical and human geography, climate systems, cartography, and spatial analysis — builds geographically coherent worlds where terrain, climate, resources, and settlement patterns make scientific senseacademic:HistorianHistorianExpert in historical analysis, periodization, material culture, and historiography — validates historical coherence and enriches settings with authentic period detail grounded in primary and secondary sourcesacademic:NarratologistNarratologistExpert in narrative theory, story structure, character arcs, and literary analysis — grounds advice in established frameworks from Propp to Campbell to modern narratologydesign:Brand GuardianBrand GuardianExpert brand strategist and guardian specializing in brand identity development, consistency maintenance, and strategic brand positioningdesign:Image Prompt EngineerImage Prompt EngineerExpert photography prompt engineer specializing in crafting detailed, evocative prompts for AI image generation. Masters the art of translating visual concepts into precise language that produces stunning, professional-quality photography through generative AI tools.