← 返回 Skills 市场
wociaozhongyunonghaole

浏览器账号控制器

作者 scariris · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
97
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install browser-account-controller
功能描述
通过 HTTP API 控制多账号矩阵管理工具,实现浏览器账号的启动、关闭和信息查询,支持按名称或索引操作。
使用说明 (SKILL.md)

浏览器账号控制器

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


执行流程(AI 必读)

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

步骤

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

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

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

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


命令列表

命令 说明 完整 Python 调用
list 列出所有账号 python matrix_manager.py list
start \x3C关键词> 按名称启动账号 python matrix_manager.py start 小红书
start-index \x3C索引> 按索引启动账号 python matrix_manager.py start-index 1
stop \x3C关键词> 按名称关闭账号 python matrix_manager.py stop 小红书
stop-index \x3C索引> 按索引关闭账号 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'」 未安装 requests pip install requests
「无法连接到多账号矩阵管理工具」 软件未启动或本地服务未开启 打开软件,开启本地服务器(端口 1008)
返回「无api」 编码问题 本脚本使用 UTF-8 编码,无需手动处理

索引说明

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

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


配置

config.yaml 默认内容:

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

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

安全使用建议
This skill appears internally consistent and limited to controlling a local service. Before installing, verify you trust the local "多账号矩阵管理工具" and that it is intentionally running on your machine at http://localhost:1008. Inspect config.yaml to ensure api_url remains a localhost address (the script will follow whatever URL is configured). The script writes last_result.txt in the skill's directory — check that location if you need to see results. Finally, only install the required Python package (requests) from a trusted source and avoid changing api_url to any external host unless you explicitly trust that endpoint.
能力评估
Purpose & Capability
Name/description claim to control a local multi-account matrix tool via HTTP API; the provided matrix_manager.py sends POST requests to api_url (default http://localhost:1008), implements list/start/stop logic, and matches the documented commands. Required resources (Python + requests, local matrix tool) are proportional to the stated purpose.
Instruction Scope
SKILL.md instructs only to run the included Python script, read the generated last_result.txt, and ensure the local matrix tool and Python/requests are available. The instructions do not ask the agent to read arbitrary files, system credentials, or contact external endpoints beyond the local API. The script writes last_result.txt in its own directory and prints console output; the skill explicitly instructs to use the file for results.
Install Mechanism
This is instruction-only (no install spec). It requires installing the requests Python package per the README, which is reasonable. There are no downloads from external/untrusted URLs or extract/install steps that would write arbitrary code to disk outside the contained script.
Credentials
The skill requests no environment variables, tokens, or config paths. The only configuration file (config.yaml) contains a local api_url and timeout; SKILL.md warns against changing api_url to an external address. No sensitive credentials are requested or accessed.
Persistence & Privilege
Flags show default behavior (not always:true), user-invocable, and normal model invocation allowed. The skill does not attempt to persist itself, modify other skills, or change system-wide configuration. It only writes a local last_result.txt file and uses the included script.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install browser-account-controller
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /browser-account-controller 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
浏览器账号控制器 v1.0.0 首次发布: - 提供通过 HTTP API 启动、关闭和查询多账号浏览器矩阵的功能 - 支持账号名称/索引智能匹配与命令操作(list、start、stop 等) - 执行流程规范:仅通过 last_result.txt 获取执行结果,支持中文 - 明确文件结构与配置方法,内置故障排查指导 - 兼容 Python 3.8+,依赖 requests 库,适配本地多账号矩阵管理工具
元数据
Slug browser-account-controller
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

浏览器账号控制器 是什么?

通过 HTTP API 控制多账号矩阵管理工具,实现浏览器账号的启动、关闭和信息查询,支持按名称或索引操作。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 97 次。

如何安装 浏览器账号控制器?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install browser-account-controller」即可一键安装,无需额外配置。

浏览器账号控制器 是免费的吗?

是的,浏览器账号控制器 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

浏览器账号控制器 支持哪些平台?

浏览器账号控制器 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 浏览器账号控制器?

由 scariris(@wociaozhongyunonghaole)开发并维护,当前版本 v1.0.0。

💬 留言讨论