Claude Skill
kangarooking/x-skills
A Python-based Claude Skill that automates material collection, topic selection, tweet creation, and draft publishing. Streamline your social media content workflow.
Overview
Repository
Install this Skill
git clone https://github.com/kangarooking/x-skills.gitRegistry
Summary
A Claude Skill that automates the process of collecting materials, confirming topics, creating tweets, and finally publishing them to a draft box.
自动收集素材,确认选题,并创作推文,最后发布到草稿箱的Claude Skill
Key features
- Automated material collection
- Topic confirmation and selection
- Tweet content creation
- Batch publishing to draft box
- Python-based implementation
Use cases
- Automating social media content creation pipelines
- Generating draft tweets from collected materials
- Streamlining content ideation and publishing workflows
- Managing batch content operations for social platforms
README excerpt
# X-Skills [English](./README_EN.md) | **简体中文** > 一套用于 X (Twitter) 内容创作自动化的 Claude Skills,帮助你高效收集素材、筛选选题、创作爆款推文并发布到草稿箱。 [](./RELEASE_NOTES_v2.0.md) [](LICENSE) [](https://claude.ai/claude-code) --- ## ✨ 功能特性 ``` 素材收集 → 选题筛选 → 推文创作 → 发布草稿 → 反馈闭环 📚 🎯 ✍️ 📤 🔄 ``` | Skill | 命令 | 功能描述 | |-------|------|----------| | **x-collect** | `/x-collect [话题]` | 4轮深度搜索,支持画像增强与探索模式 | | **x-filter** | `/x-filter` | 多维加权打分 + 负样本过滤 + 多样性衰减 | | **x-create** | `/x-create [选题]` | 意图路由 + A/B变体 + Critic自检 | | **x-publish** | `/x-publish` | 自动发布到X草稿箱 + 事件记录 | ### 核心亮点 - **智能推荐算法**:借鉴 X For You 推荐算法,引入多源候选、加权评分、多样性控制 - **A/B 变体 + Critic**:默认生成两个版本并自检打分,低于阈值自动重写一次 - **意图驱动路由**:根据目标动作(收藏/转发/讨论)自动选择最佳创作模式 - **反馈闭环**:支持正/负样本库(liked/rejected topics)+ 事件日志(JSONL) - **相似度过滤**:基于字符 n-gram 的轻量相似度算法,避免重复低质选题 - **状态持久化**:Python 脚本管理状态文件,支持 hooks 自动收集反馈 --- ## 🚀 快速开始 ### 1. 安装 Skills 将 skill 文件夹复制到 Claude skills 目录: ```bash # macOS/Linux cp -r x-collect x-filter x-create x-publish ~/.claude/skills/ # 或者创建符号链接(推荐,方便更新) ln -s $(pwd)/x-collect ~/.claude/skills/ ln -s $(pwd)/x-filter ~/.claude/skills/ ln -s $(pwd)/x-create ~/.claude/skills/ ln -s $(pwd)/x-publish ~/.claude/skills/ ``` ### 2. 首次设置 运行 `/x-create`,回答几个简单问题完成初始化: - **账号定位**:你主要分享什么内容?(AI/科技、创业、个人成长等) - **目标受众**:你的读者是谁?(中文用户、英文用户、双语用户) - **人设风格**:你想塑造什么形象?(专业严肃、轻松幽默、犀利观点等) ### 3. 开始使用 ```bash # 步骤1: 收集素材 /x-collect Claude MCP协议 # 步骤2: 筛选选题 /x-filter # 步骤3: 创作推文 /x-create "MCP协议详解" --type thread # 步骤4: 发布到草稿 /x-publish ``` --- ## 📖 详细使用 ### x-collect 素材收集 使用4轮搜索策略,模拟人类调研思维: | 轮次 | 策略 | 目标 | |------|
Topics
No topics yet.