Content matrix
Cross-platform content distribution — generate platform-native versions of content for X, LinkedIn, Reddit, and Xiaohongshu from one input, then auto-publish via API or browser automation. Use when distributing content, creating social posts, or publishing across platforms.From its SKILL.md
npx -y skills add jrr996shujin-png/content-matrix-skills --skill content-matrixAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
3 things to look at
- reads credentialsReads from 4 credential sources: `TWITTER_API_KEY` and 3 more.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 8 commands, including `python3 {baseDir}/skills/content_adapter.py "Your mother content here"` and 7 more.
SKILL.md
3.3 KB, 743 tokens by cl100k_base, as published. Nobody here has run it
Content Matrix — Cross-Platform Content Distribution
Trigger
Activate when user mentions:
- "distribute content", "cross-platform", "content matrix"
- "post to LinkedIn / X / Reddit / Xiaohongshu"
- "generate social media versions"
- "multi-platform publishing"
- "发帖", "内容分发", "跨平台"
Quick Start
Generate content for all platforms
python3 {baseDir}/skills/content_adapter.py "Your mother content here"
Generate for specific platforms
python3 {baseDir}/skills/content_adapter.py "Content" --platforms x,reddit,linkedin
Preview cost before generating
python3 {baseDir}/skills/content_adapter.py "Content" --plan
Publishing
LinkedIn (Free — API)
# First-time setup
python3 {baseDir}/skills/publishers/linkedin_publisher.py --setup
# Publish
python3 {baseDir}/skills/publishers/linkedin_publisher.py --text "Your post"
X / Twitter (~$0.01/tweet)
# Requires: TWITTER_API_KEY, TWITTER_API_SECRET, TWITTER_ACCESS_TOKEN, TWITTER_ACCESS_SECRET
python3 {baseDir}/skills/publishers/x_publisher.py "Your tweet"
# Thread
python3 {baseDir}/skills/publishers/x_publisher.py --thread "Tweet 1" "Tweet 2" "Tweet 3"
Reddit (Free — Browser Automation, macOS only)
# Requires: Chrome with "Allow JavaScript from Apple Events" + logged into Reddit
python3 {baseDir}/skills/publishers/reddit_publisher.py --check-login
python3 {baseDir}/skills/publishers/reddit_publisher.py --title "Title" --body "Body" --subreddit test
Note: New Reddit accounts trigger CAPTCHA. Use reddit-cultivate skill to build karma first.
AI Model Support
# OpenAI (default, ~$0.01)
python3 {baseDir}/skills/content_adapter.py "Content"
# DeepSeek (cheapest, ~$0.001)
python3 {baseDir}/skills/content_adapter.py "Content" --base-url https://api.deepseek.com --model deepseek-chat
# Claude
python3 {baseDir}/skills/content_adapter.py "Content" --provider anthropic
# Ollama local (free)
python3 {baseDir}/skills/content_adapter.py "Content" --base-url http://localhost:11434/v1 --model llama3
Configuration
Personal Style (important!)
Edit {baseDir}/configs/my_style.json — paste your old posts so AI learns your voice.
Platform Rules
{baseDir}/configs/platform_rules.json — content rules per platform. Usually no need to edit.
Publish Timing
{baseDir}/configs/publish_timing.json — best posting times and order.
Engagement Tracking
python3 {baseDir}/skills/engagement_tracker.py add --platform reddit --url "https://reddit.com/r/..."
python3 {baseDir}/skills/engagement_tracker.py check
python3 {baseDir}/skills/engagement_tracker.py report
Dependencies
- Python 3.8+
- openai (
pip install openai) - tweepy (
pip install tweepy) — for X publishing - requests (
pip install requests) — for LinkedIn publishing
What ships with it: 15 files
99.9 KB alongside SKILL.md, 9 of them executable
compositions/
- content_matrix.yaml1.0 KB
configs/
- competitors.json1.5 KB
- my_style.json2.2 KB
- platform_rules.json5.4 KB
- publish_timing.json1.4 KB
skills/
- changelog_monitor.pyruns23.3 KB
- content_adapter.pyruns22.5 KB
- engagement_tracker.pyruns16.7 KB
- plan_estimator.pyruns8.7 KB
- publishers/__init__.pyruns41 B
- publishers/linkedin_publisher.pyruns6.1 KB
- publishers/reddit_publisher.pyruns3.1 KB
- publishers/x_publisher.pyruns4.4 KB
- .env.example1.4 KB
- setup.shruns2.3 KB