账号切换器

v1.0.0

通过 HTTP API 控制多账号矩阵管理工具,实现浏览器账号的启动、关闭及信息查询。

0· 88·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for wociaozhongyunonghaole/account-switcher.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "账号切换器" (wociaozhongyunonghaole/account-switcher) from ClawHub.
Skill page: https://clawhub.ai/wociaozhongyunonghaole/account-switcher
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install account-switcher

ClawHub CLI

Package manager switcher

npx clawhub@latest install account-switcher
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name and description match the included assets and behavior: the SKILL.md instructs running matrix_manager.py, and that script implements HTTP calls to a local multi-account tool. No unrelated environment variables or binaries are requested.
Instruction Scope
Runtime instructions are narrow and specific: run the included Python script, then read last_result.txt for UTF-8 results. The SKILL.md does not direct reading other system files, scanning environment variables, or sending data to external endpoints (the code posts to the configured api_url).
Install Mechanism
This is an instruction-only skill with an included Python script and config; there is no installer or external download. The only required runtime dependency is the Python requests package, which the documentation asks the user to pip install.
Credentials
The skill declares no required environment variables or credentials. The script uses a local api_url (config.yaml default http://localhost:1008) and does not access secrets or unrelated config paths.
Persistence & Privilege
always is false and the skill does not request elevated or persistent system-wide privileges. It writes a single last_result.txt file in the skill directory (expected behavior) and does not modify other skills or global agent settings.
Assessment
This skill appears to do exactly what it claims: call a local multi-account management service on localhost:1008 to list/start/stop browser accounts and write a last_result.txt for the agent to read. Before installing, confirm you trust the local "多账号矩阵管理工具" software that will receive these POST requests (if a malicious local service were listening on port 1008 it could respond to or act on these commands). Do not change config.yaml api_url to an external address unless you understand the implications, since that would direct commands to a remote endpoint. Also ensure Python and the requests package are installed. If you want extra caution, review the included matrix_manager.py (it is small and readable) and run it manually to observe behavior before granting the agent automated invocation.

Like a lobster shell, security has layers — review code before you run it.

latestvk9767t7dpfp4z3n1j2qxak580984bq6f
88downloads
0stars
1versions
Updated 3w ago
v1.0.0
MIT-0

账号切换器

多账号矩阵管理工具的技能,通过 HTTP API 控制账号的启动、关闭和信息查询。


执行流程(AI 必读)

Windows 控制台会显示乱码,这是正常的。 执行后必须读文件获取正确结果。

步骤

  1. 执行 Python 命令(替换 <技能目录> 为实际路径):

    python <技能目录>/matrix_manager.py <命令> [参数]
    
  2. 读取结果文件

    <技能目录>/last_result.txt
    
    • 此文件由 matrix_manager.py 脚本创建
    • UTF-8 编码,包含正确的中文内容
  3. 将结果返回给用户

不要根据控制台输出判断结果。


命令列表

命令说明完整 Python 调用
list列出所有账号python matrix_manager.py list
start <关键词>按名称启动账号python matrix_manager.py start 小红书
start-index <索引>按索引启动账号python matrix_manager.py start-index 1
stop <关键词>按名称关闭账号python matrix_manager.py stop 小红书
stop-index <索引>按索引关闭账号python matrix_manager.py stop-index 1

匹配规则startstop 命令先精准匹配账号名,失败则模糊匹配。


文件说明

文件说明
matrix_manager.py主脚本,执行命令并输出结果
config.yaml配置文件(API 地址、超时时间)
last_result.txt执行结果输出文件,由 matrix_manager.py 创建

前置要求

1. Python 环境

需要 Python 3.8+,检测方法:

python --version

如未安装,访问 https://www.python.org/downloads/ 下载安装,勾选「Add Python to PATH」

安装后需安装 requests 库:

pip install requests

2. 矩阵工具

必须安装「多账号矩阵管理工具」(官网:https://zmt.scys6688.com/)。

开启本地 HTTP 服务:软件设置 → 本地服务器 → 勾选「启动本地服务器」,确认端口为 1008。


故障排查

问题原因解决
「python 不是内部或外部命令」未安装 Python 或未添加 PATH重装并勾选「Add Python to PATH」
「No module named 'requests'」未安装 requestspip install requests
「无法连接到多账号矩阵管理工具」软件未启动或本地服务未开启打开软件,开启本地服务器(端口 1008)
返回「无api」编码问题本脚本使用 UTF-8 编码,无需手动处理

索引说明

  • API 返回的下标:从 0 开始
  • 操作使用的索引:从 1 开始

例如:API 下标 "0" 对应操作索引 "1"。


配置

config.yaml 默认内容:

api_url: http://localhost:1008
timeout: 10

api_url 仅用于连接本地工具,请勿修改为外部地址。

Comments

Loading comments...