with one click
xhs-md-to-plain-text
将 Markdown 转为适合小红书粘贴的纯文本(去掉
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
将 Markdown 转为适合小红书粘贴的纯文本(去掉
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
| name | xhs-md-to-plain-text |
| description | 将 Markdown 转为适合小红书粘贴的纯文本(去掉 |
把 Markdown 里的标记(标题 #、加粗 **、列表符号、引用 >、链接语法等)去掉,输出为 .txt,方便直接粘贴到小红书。
Step 0:设置 SKILL_DIR
SKILL_DIR="/path/to/xhs-md-to-plain-text"
Step 1:生成纯文本
npx -y bun ${SKILL_DIR}/scripts/md2text.ts /path/to/article.md --out xhs-img
## 正文内容 到 ## 标签 之间(更适合直接发正文)npx -y bun ${SKILL_DIR}/scripts/md2text.ts /path/to/article.md --body-only --out xhs-img/body.txt
npx -y bun ${SKILL_DIR}/scripts/md2text.ts <markdown-file> [options]
Options:
--out <path> 输出文件路径或输出目录(默认: xhs-img)
--body-only 仅抽取“正文内容”段(## 正文内容 → ## 标签)
Generate a project-specific AGENTS.md draft from the current repository when the user asks to initialize, create, rewrite, or refine AGENTS.md for this repo. Use when the user wants only repo-specific instructions, not generic coding rules. This skill must inspect the current repository, extract its local conventions and boundaries, present a draft first, and wait for user confirmation before writing or overwriting AGENTS.md.
Generic memory and self-improvement skill for user-level or project-level contexts. Use when the user wants Codex to remember stable preferences, workflow patterns, repeated failures, or durable context; when checking whether memory/automation/AGENTS are initialized; when initializing memory infrastructure in ~/.codex or a project root; or when listing, deleting, clearing, or promoting memory records.
小红书爆款文案助手。将技术或职场经历转化为情感共鸣强、极具传播力的故事。遵循S.L.R.A.模型。
将Markdown批量导出固定尺寸的小红书长文图片。适用"md转图片/转小红书长文图"。
skill查询与管理。列出所有可用skill清单,搜索及查看skill详细用法。
大齐风格文章撰写与初稿生成。模拟通俗有趣、去AI味的专家口吻,输出高质量内容。
Based on SOC occupation classification