Loading...
Loading...
COO Social Media Operation Skill: Automated Operation of Xiaohongshu, Douyin, WeChat Official Account, and WeChat Channels using Playwright MCP
npx skill4agent add garfield-bb/hap-skills-collection coo-social-mediaplaywright# Navigate to the specified page
mcp__playwright__playwright_navigate --url "https://www.xiaohongshu.com/..."
# Page screenshot
mcp__playwright__playwright_screenshot --name "screenshot" --savePng true
# Get page content
mcp__playwright__playwright_get_visible_text
# Get page HTML
mcp__playwright__playwright_get_visible_html
# Click element
mcp__playwright__playwright_click --selector "CSS selector"
# Input content
mcp__playwright__playwright_fill --selector "CSS selector" --value "content"
# Scroll page
mcp__playwright__playwright_evaluate --script "window.scrollTo(0, document.body.scrollHeight)"1. Navigate to Xiaohongshu Creator Center
2. Click "Publish Note"
3. Fill in the title (Recommended format: [Category] Content Description)
4. Upload cover image
5. Fill in the main content
6. Add topic tags
7. Click Publish
mcp__playwright__playwright_navigate --url "https://creator.xiaohongshu.com/"1. Navigate to Data Center
2. View note data
- Page views
- Likes
- Saves
- Comments
3. Screenshot to save data
4. Get page text for analysis1. Navigate to Douyin Creator Platform
2. Click "Publish Video"
3. Upload video file
4. Fill in video copy (no more than 50 characters)
5. Add topic tags
6. Click Publish
mcp__playwright__playwright_navigate --url "https://creator.douyin.com/"1. Navigate to Data Center
2. View video data
- Play volume
- Likes
- Comments
- Shares
3. Get interaction data1. Log in to WeChat Official Account Backend
2. Click "Write New Article"
3. Fill in title
4. Compile main content (supports HTML format)
5. Set cover image
6. Fill in abstract
7. Click Publish
mcp__playwright__playwright_navigate --url "https://mp.weixin.qq.com/"1. Navigate to Data Statistics
2. View article data
- Read volume
- "Watched" count
- Likes
- Shares
3. Get user data1. Log in to WeChat Channels Management Backend
2. Click "Publish Video"
3. Upload video
4. Fill in video copy
5. Add topics
6. Click Publish1. View video data
- Play volume
- Likes
- Comments
- Shares
2. Get user portraitDaily Workflow:
├── 08:00 - Check messages and comments on all platforms
├── 09:00 - Reply to user questions and feedback
├── 10:00 - Publish scheduled content (if planned)
├── 14:00 - Data monitoring and interaction
├── 17:00 - Data summary and reporting
└── 18:00 - Prepare content for the next day1. Content Planning
├── Determine publishing platforms
├── Prepare materials (images/videos/copy)
└── Set publishing time
2. Content Creation
├── Write copy
├── Create materials
└── Preview and confirm
3. Publishing Execution
├── Log in to each platform
├── Upload content
└── Confirm publishing
4. Data Tracking
├── Monitor publishing status
├── Record initial data
└── Follow up on interactionsTitle: [Category] Content Description
Cover: Eye-catching image
Main Content:
1. Attention-grabbing opening (pain point/solution)
2. Product introduction
3. Usage scenarios
4. Call to action (download/follow)
Tags: #productivity-tool #AI #product-nameVideo Duration: 15-60 seconds
Copy: No more than 50 characters
Topics: Relevant topic tagsTitle: Article Title (no more than 64 characters)
Abstract: Article abstract
Main Content: HTML format content (2000-5000 characters)
Cover: Cover image URL
Author: Author name# Collect Xiaohongshu data
mcp__playwright__playwright_navigate \
--url "https://creator.xiaohongshu.com/"
# Save screenshot
mcp__playwright__playwright_screenshot \
--name "xiaohongshu_data_$(date +%Y%m%d)" \
--savePng true
# Get text
mcp__playwright__playwright_get_visible_text
# Get HTML
mcp__playwright__playwright_get_visible_html \
--selector ".data-section"# [Date] Social Media Data Report
## Xiaohongshu
| Metric | Value | Change |
|------|------|------|
| Follower Count | XXX | +XX |
| Note Count | XX | +X |
| Average Likes | XXX | +XX% |
## Douyin
| Metric | Value | Change |
|------|------|------|
| Follower Count | XXX | +XX |
| Video Count | XX | +X |
| Average Plays | XXXX | +XX% |
## WeChat Official Account
| Metric | Value | Change |
|------|------|------|
| Follower Count | XXX | +XX |
| Article Count | XX | +X |
| Average Reads | XXX | +XX% |