← 返回 Skills 市场
220
总下载
1
收藏
1
当前安装
14
版本数
在 OpenClaw 中安装
/install yixiaoer-rotator-skill
功能描述
蚁小二账号轮询管理器 - 多账号矩阵自动轮询发布,支持按平台独立维护索引、状态持久化。使用场景:需要管理多个平台账号(如哔哩哔哩、头条号、百家号等),自动轮询发布避免重复使用同一账号。触发词:账号轮询、多账号管理、蚁小二发布、自动切换账号、矩阵发布。
安全使用建议
This skill appears to implement the claimed account-rotation features, but there are inconsistencies you should resolve before installing:
- The skill actually requires two environment variables (YIXIAOER_API_KEY and YIXIAOER_MEMBER_ID), yet the registry metadata lists none. Treat these as required secrets for operation.
- Verify and audit the dependent yixiaoer-skill (scripts/api.ts) before use — the rotator calls that script and passes your API key to it. Ensure that dependent script does not exfiltrate data or forward unexpected environment variables.
- The rotator hardcodes an absolute path (/root/.openclaw/workspace/skills/yixiaoer-skill/scripts/api.ts). Ensure this path is correct in your environment or edit the script to point to the intended location.
- The script spawns a child process with a merged env (process.env), so avoid running it in environments where other sensitive credentials are present, or sanitize the environment before invocation.
- Check the repository/source (the clawhub.json points to a GitHub repo) and confirm the owner and code integrity. If you lack the ability to audit the dependent yixiaoer-skill, treat this as higher risk.
If you plan to proceed: install yixiaoer-skill first, inspect scripts/api.ts, set only the required env vars (and avoid exposing unrelated credentials), and run in a controlled environment.
能力评估
Purpose & Capability
The described purpose (rotating platform accounts via the 蚁小二 API) matches the script's behavior: it syncs accounts, maintains per-platform indices, persists a JSON state, and returns next account IDs. Requesting an API key and member ID is reasonable for this purpose. However, the registry metadata lists no required environment variables or primary credential while SKILL.md and the script clearly require YIXIAOER_API_KEY and YIXIAOER_MEMBER_ID — an incoherent metadata declaration.
Instruction Scope
SKILL.md and the script instruct running node scripts in the skill directory and calling the yixiaoer-skill's scripts/api.ts. The instructions are mostly scoped to account-sync and state management. Concerns: the README/SKILL.md tell users to cd into an absolute workspace path (/root/.openclaw/...); the script hardcodes the path '/root/.openclaw/workspace/skills/yixiaoer-skill/scripts/api.ts', which may not exist or may point to a different codebase on some systems. The SKILL.md claims temporary-file-based payload passing, but the script actually passes a --payload argument (with in-place escaping).
Install Mechanism
This is an instruction-only skill with a local Node script; there is no installer or remote download. That keeps install risk low. The skill depends on yixiaoer-skill (declared in clawhub.json) which should be installed separately; the external dependency is expected for the described functionality.
Credentials
The script requires two environment variables (YIXIAOER_API_KEY and YIXIAOER_MEMBER_ID) which are proportional to the claimed functionality but the skill metadata fails to declare them. Additionally, when the script spawns the child process it merges the parent process.env into the child's environment, meaning any other env vars (including unrelated secrets present in the agent environment) would be passed to the yixiaoer-skill process — a potential information-leakage risk if that dependent script transmits environment variables externally.
Persistence & Privilege
The skill writes a local state file (account-rotator-state.json) within its directory to persist indices — consistent with its purpose. always is false and the skill does not request elevated system privileges or modify other skills' configs. Persistence is limited to the skill directory.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install yixiaoer-rotator-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/yixiaoer-rotator-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.5
恢复误删除的技能,添加.clawhubignore 和 LICENSE
v1.0.4
添加.clawhubignore,排除 state 文件
v1.0.3
修复路径 bug,使用绝对路径调用 yixiaoer-skill
v1.0.2
优化技能结构,符合 skill-creator-2 规范
v3.0.1
修复:移除文档中真实的 API Key 和成员 ID 示例,改用占位符
v3.0.0
重大更新:YIXIAOER_MEMBER_ID 改为必需环境变量,明确账号归属,避免多成员混淆
v2.2.0
新增功能:支持 YIXIAOER_MEMBER_ID 环境变量,团队多成员场景可过滤特定成员的账号
v2.1.1
文档更新:添加 API Key 获取指南,说明 API Key 按成员生成无需额外配置成员 ID
v2.1.0
安全修复:1) 声明必需环境变量 2) API Key 通过 env 选项传递避免 shell 注入 3) 添加 API Key 格式验证 4) 完善安全说明文档 5) 声明 yixiaoer-skill 依赖
v2.0.1
修复:移除文档中的真实账号名称和 API Key 示例
v2.0.0
**yixiaoer-rotator v2.0.0**
- Skill全面重构,独立于 yixiaoer-skill,可单独用作账号矩阵管理
- 支持多平台独立维护账号轮询索引,状态持久化结构优化
- 新增 sync、accounts、all、platforms 等 CLI 命令,提升集成和易用性
- 文件结构简化,移除旧脚本和冗余文档
- 新增 CONFIG.md,使用说明与配置文档更加清晰
v1.1.0
v1.1.0: 新增成员名称查询功能,支持精确匹配运营人名称
v1.0.1
yixiaoer-rotator v1.0.1
- 增加 _meta.json 文件,完善元数据支持
- 文档优化:在 SKILL.md 明确依赖 yixiaoer-plugin 插件,增加使用前置要求说明
- 修正和更新 README.md 相关内容
- 更新 package.json 及 clawhub.json 依赖和元信息
- 细化账户轮询管理相关说明,提升用户上手友好度
v1.0.0
yixiaoer-rotator v1.0.0 – 初始版本发布
- 实现多账号平台账号轮询,单账号平台固定账号自动管理
- 支持账号状态持久化,重启后可继续使用
- 提供每小时自动批量发布功能
- 内置命令行工具,便于查看和重置轮询状态
- 支持通过环境变量配置 API Key 和接口地址
元数据
常见问题
Yixiaoer Rotator Skill 是什么?
蚁小二账号轮询管理器 - 多账号矩阵自动轮询发布,支持按平台独立维护索引、状态持久化。使用场景:需要管理多个平台账号(如哔哩哔哩、头条号、百家号等),自动轮询发布避免重复使用同一账号。触发词:账号轮询、多账号管理、蚁小二发布、自动切换账号、矩阵发布。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 220 次。
如何安装 Yixiaoer Rotator Skill?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install yixiaoer-rotator-skill」即可一键安装,无需额外配置。
Yixiaoer Rotator Skill 是免费的吗?
是的,Yixiaoer Rotator Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Yixiaoer Rotator Skill 支持哪些平台?
Yixiaoer Rotator Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Yixiaoer Rotator Skill?
由 lsx1205(@lsx1205)开发并维护,当前版本 v1.0.5。
推荐 Skills