Skip to content
Back to search

social-push

🤖 AI social-media automation skill | Self-evolution workflows | AI 社交媒体自动化 skill | 自我进化工作流

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/jihe520--social-push/badge.svg)](/listings/jihe520--social-push)

HTML

<a href="/listings/jihe520--social-push"><img src="/api/listings/jihe520--social-push/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

tips: 直接将下面内容复制给 claude code 执行即可安装

前置依赖

1. 安装 Claude Code 2. 安装 agent-browser 和 Chromium 浏览器

npm install -g agent-browser # agent-browser CLI tool
npx skills add https://github.com/vercel-labs/agent-browser --skill agent-browser # 安装 agent-browser skill
agent-browser install  # Download Chromium

3. 允许远程调试功能,在 chrome的地址栏输入 `chrome://inspect/#remote-debugging`,打开 `Allow remote debugging for this browser instance`

安装 Skill

推荐使用 npx 安装:

npx skills add jihe520/social-push

或手动复制 `.claude/skills/social-push` 目录到你的项目中。

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 155 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # Social Push Skill
  2. 中文 | [English](./README_EN.md)
  3. 一个用于 AI 编程助手的社交媒体发布技能,基于 [agent-browser](https://github.com/anthropics/agent-browser) 实现自动化发布内容到各大社交平台。
  4. ---
  5. > check out my new project
  6. >
  7. > 我正在构建一个社交媒体运营 Agent , 欢迎关注
  8. >
  9. > https://gutchain.fun/
  10. >
  11. > my x will record my update : https://x.com/EqbymCi
  12. >
  13. > thanks
  14. ---
  15. ## 💡 Why?
  16. **claude code + bash + --help + skills**
  17. 传统脚本难以应对页面复杂变化,playwright mcp 消耗大量 tokens 且慢
  18. agent-browser 解析交互 ref 减少 tokens 消耗
  19. 在 bash 中的 agent-browser 使用 `--help` 很好得到提示,运行更快
  20. self-evolution 方便维护,页面变化后可自行修复
  21. 与 claude code 沟通用户需求,动态生成发布内容
  22. ## ✨ Features
  23. - 🚀 **一句话发布内容** - 在 Claude Code 中输入 `/social-push 把这篇文章发到小红书`,AI 自动完成所有操作
  24. - 🧠 **AI 驱动的智能交互** - 无需硬编码选择器,AI 自动理解页面元素,抗改版能力强
  25. - 🔄 **Self-Evolution(自我进化)** - 网页改版后可自动检测并修复 workflow,无需手动维护代码
  26. - 📝 **Markdown 即配置** - 添加新平台只需创建一个 markdown 文件,无需编写复杂脚本
  27. - 🔐 **自动保存登录状态** - 使用 `--state` 参数保持会话,一次登录永久有效
  28. - 👀 **可视化操作** - 浏览器对用户可见(`--headed` 模式),方便调试和监控
  29. - 🛡️ **安全设计** - 仅暂存草稿,不自动发布,由用户最终确认
  30. - 🎯 **多平台支持** - 已支持小红书(图文/长文)、X/Twitter、知乎、微博、微信公众号、掘金,轻松扩展更多平台
  31. ## 🌐 支持平台
  32. 一句话添加一个新平台
  33. | 平台 | 内容类型 | 状态 |
  34. |------|----------|------|
  35. | <img src="https://cdn.simpleicons.org/xiaohongshu/FF2442" alt="小红书" width="20" height="20"/> 小红书 | 图文 | ✅ |
  36. | <img src="https://cdn.simpleicons.org/xiaohongshu/FF2442" alt="小红书" width="20" height="20"/> 小红书 | 长文 | ✅ |
  37. | <img src="https://cdn.simpleicons.org/x/000000" alt="X" width="20" height="20"/> X | 推文 | ✅ |
  38. | <img src="https://cdn.simpleicons.org/zhihu/0084FF" alt="知乎" width="20" height="20"/> 知乎 | 想法 | ✅ |
  39. | <img src="https://cdn.simpleicons.org/sinaweibo/E6162D" alt="微博" width="20" height="20"/> 微博 | 微博 | ✅ |
  40. | <img src="https://cdn.simpleicons.org/wechat/07C160" alt="微信" width="20" height="20"/> 微信公众号 | 文章 | ✅ |
  41. | <img src="https://cdn.simpleicons.org/juejin/1E80FF" alt="掘金" width="20" height="20"/> 掘金 | 文章 | ✅ |
  42. | <img src="https://cdn.simpleicons.org/discourse/000000" alt="Linux do" width="20" height="20"/> Linux do | 帖子 | ✅ |
  43. more and more...
  44. ## 📦 安装
  45. tips: 直接将下面内容复制给 claude code 执行即可安装
  46. ### 前置依赖
  47. 1. 安装 Claude Code
  48. 2. 安装 agent-browser 和 Chromium 浏览器
  49. ```bash
  50. npm install -g agent-browser # agent-browser CLI tool
  51. npx skills add https://github.com/vercel-labs/agent-browser --skill agent-browser # 安装 agent-browser skill
  52. agent-browser install # Download Chromium
  53. ```
  54. 3. 允许远程调试功能,在 chrome的地址栏输入 `chrome://inspect/#remote-debugging`,打开 `Allow remote debugging for this browser instance`
  55. ### 安装 Skill
  56. 推荐使用 npx 安装:
  57. ```bash
  58. npx skills add jihe520/social-push
  59. ```
  60. 或手动复制 `.claude/skills/social-push` 目录到你的项目中。
  61. ## 🚀 使用方法
  62. 在 Claude Code 中 **手动** /social-push 命令 即可
  63. ## ⚙️ 自定义
  64. 修改 [SKILL.md](./social-push/SKILL.md) 的 `# Rules` 部分可以自定义关键参数
  65. ## 📁 目录结构
  66. ```
  67. social-push/
  68. ├── SKILL.md # 技能定义文件
  69. └── references/
  70. ├── 小红书图文.md # 小红书图文发布流程
  71. ├── 小红书长文.md # 小红书长文发布流程
  72. ├── X推文.md # X/Twitter推文发布流程
  73. ├── 掘金文章.md # 掘金文章发布流程
  74. └── more... # 未来可添加更多平台
  75. ```
  76. ## 🔑 首次登录
  77. 当前默认 `--auto-connect` 自动链接用户使用的浏览器(非常推荐使用自己经常用的浏览器,状态稳定安全)
  78. 关于登录状态和浏览器选择
  79. 有很多方式
  80. 连接自己的浏览器 chrome / edge vs 连接下载的浏览器 playweight chromium testing
  81. chromium testing: 有的网站不能直接使用 agent-browser 登录,需手动滑
  82. -- state ~/my-state.json: 使用状态文件保存登录状态,但文章草稿不保存
  83. -- profile ~/my-profile: 使用浏览器用户数据目录,登录状态和草稿都保存,但可能有兼容性问题
  84. 建议手动完成初始化登录
  85. 部分平台必须要手动登录一次以保存状态:
  86. 将下面 prompt 复制给 claude code 执行:
  87. ```
  88. 有些网站不能直接使用自动化登录,需要手动登录后保存状态
  89. 请按照以下步骤操作:
  90. 找到该`ms-playwright Google Chrome for Testing.app`的位置
  91. 查看指南 `agent-browser --help`
  92. 打开浏览器 `open "path" --args --remote-debugging-port=9222`
  93. 连接浏览器 `sleep 2 && curl -s http://localhost:9222/json/version`
  94. `agent-browser connect "ws://localhost:9222/devtools/browser/xxx"`
  95. 手动登录后保存状态 `agent-browser state save ~/my-state.json`
  96. ```
  97. ## 🔗 引用
  98. - [Claude Code](https://docs.anthropic.com/en/docs/claude-code) - Anthropic 的 AI 编程助手
  99. - [agent-browser](https://github.com/vercel-labs/agent-browser) - AI 驱动的浏览器自动化工具
  100. - [Anthropic Skills](https://github.com/anthropics/skills) - Claude Code 的技能系统
  101. - [Playwright](https://playwright.dev/) - agent-browser 底层使用的浏览器自动化框架
  102. ## 🤝 贡献指南
  103. 欢迎添加更多平台支持!参考 `references/` 目录下的现有 workflow 格式创建新平台的发布流程。

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.