OpenClaw
Adhd Bookmark Analyzer
ADHD X Bookmark Analysis
☆ 0查看技能
markdown to social
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install hugosbl/markdown-to-social打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
Convert markdown articles/text into platform-optimized social media posts. One content → multiple formats (Twitter thread, LinkedIn post, Reddit post).
python3 scripts/md2social.py convert <file.md> --platform twitter|linkedin|reddit
python3 scripts/md2social.py convert <file.md> --all
python3 scripts/md2social.py convert --text "Direct text" --platform twitter
| Flag | Description |
|---|---|
--platform |
twitter, linkedin, or reddit |
--all |
Generate all 3 formats at once |
--text |
Use direct text instead of a file |
--output DIR |
Save to files (twitter.txt, linkedin.txt, reddit.md) |
--json |
Output as JSON |
Python 3.10+ stdlib only. No external packages, no API calls.
# Twitter thread from an article
python3 scripts/md2social.py convert article.md --platform twitter
# All platforms, saved to files
python3 scripts/md2social.py convert article.md --all --output ./social-posts
# Quick text to LinkedIn
python3 scripts/md2social.py convert --text "Big news today..." --platform linkedin
# JSON output for automation
python3 scripts/md2social.py convert article.md --all --json
skills/markdown-to-social/
├── SKILL.md # This file
└── scripts/
└── md2social.py # Main CLI script
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# markdown-to-social
Convert markdown articles/text into platform-optimized social media posts.
One content → multiple formats (Twitter thread, LinkedIn post, Reddit post).
## Usage
```bash
python3 scripts/md2social.py convert <file.md> --platform twitter|linkedin|reddit
python3 scripts/md2social.py convert <file.md> --all
python3 scripts/md2social.py convert --text "Direct text" --platform twitter
```
## Options
| Flag | Description |
|------|-------------|
| `--platform` | `twitter`, `linkedin`, or `reddit` |
| `--all` | Generate all 3 formats at once |
| `--text` | Use direct text instead of a file |
| `--output DIR` | Save to files (twitter.txt, linkedin.txt, reddit.md) |
| `--json` | Output as JSON |
## Platform Rules
### Twitter
- Hook tweet with 🧵 + numbered thread (1/N, 2/N...)
- Each tweet strictly < 280 chars
- Smart sentence splitting (no mid-sentence cuts)
- 6-8 tweets max, CTA at the end
### LinkedIn
- Hook paragraph visible before "see more" (~1300 chars)
- Emoji bullets, frequent line breaks for mobile
- 3000 chars max, 5-8 hashtags at the end
- Professional but engaging tone
### Reddit
- Title < 300 chars
- TL;DR at the top
- Full markdown body preserved (headers, bold, bullets)
## Dependencies
Python 3.10+ stdlib only. No external packages, no API calls.
## Examples
```bash
# Twitter thread from an article
python3 scripts/md2social.py convert article.md --platform twitter
# All platforms, saved to files
python3 scripts/md2social.py convert article.md --all --output ./social-posts
# Quick text to LinkedIn
python3 scripts/md2social.py convert --text "Big news today..." --platform linkedin
# JSON output for automation
python3 scripts/md2social.py convert article.md --all --json
```
## File Structure
```
skills/markdown-to-social/
├── SKILL.md # This file
└── scripts/
└── md2social.py # Main CLI script
```ADHD X Bookmark Analysis
Release Notes Generator
Arena Social Skill
Automated Content Generation Pipeline Skill