← Back to Skills Marketplace
lsx1205

Yixiaoer Rotator Skill

by lsx1205 · GitHub ↗ · v1.0.5 · MIT-0
cross-platform ⚠ suspicious
220
Downloads
1
Stars
1
Active Installs
14
Versions
Install in OpenClaw
/install yixiaoer-rotator-skill
Description
蚁小二账号轮询管理器 - 多账号矩阵自动轮询发布,支持按平台独立维护索引、状态持久化。使用场景:需要管理多个平台账号(如哔哩哔哩、头条号、百家号等),自动轮询发布避免重复使用同一账号。触发词:账号轮询、多账号管理、蚁小二发布、自动切换账号、矩阵发布。
Usage Guidance
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install yixiaoer-rotator-skill
  3. After installation, invoke the skill by name or use /yixiaoer-rotator-skill
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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 和接口地址
Metadata
Slug yixiaoer-rotator-skill
Version 1.0.5
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 14
Frequently Asked Questions

What is Yixiaoer Rotator Skill?

蚁小二账号轮询管理器 - 多账号矩阵自动轮询发布,支持按平台独立维护索引、状态持久化。使用场景:需要管理多个平台账号(如哔哩哔哩、头条号、百家号等),自动轮询发布避免重复使用同一账号。触发词:账号轮询、多账号管理、蚁小二发布、自动切换账号、矩阵发布。 It is an AI Agent Skill for Claude Code / OpenClaw, with 220 downloads so far.

How do I install Yixiaoer Rotator Skill?

Run "/install yixiaoer-rotator-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Yixiaoer Rotator Skill free?

Yes, Yixiaoer Rotator Skill is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Yixiaoer Rotator Skill support?

Yixiaoer Rotator Skill is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Yixiaoer Rotator Skill?

It is built and maintained by lsx1205 (@lsx1205); the current version is v1.0.5.

💬 Comments