Account Switcher for Openclaw

A powerful Python-based controller for multi-account browser management via HTTP API.

wociaozhongyunonghaole
v1.0.0
Apr 6, 2026
0
706
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install account-switcher

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install account-switcher using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Account Switcher?

Account Switcher is a specialized skill designed to interface with multi-account matrix management tools. It enables AI agents and developers to programmatically control browser instances, allowing for the automated starting, stopping, and status querying of specific account profiles through a local HTTP API.

By leveraging Openclaw Skills, this tool bridges the gap between high-level AI commands and local browser automation. It features intelligent matching logic, supporting both precise and fuzzy name matching to ensure reliable execution even with complex account naming conventions.

Account Switcher Use Cases

  • Automating logins across multiple social media or platform accounts.
  • Programmatically switching browser environments for testing or manual tasks.
  • Managing large-scale account matrices via command-line or AI instructions.
  • Querying the current status of account profiles in a management tool.

How Account Switcher Works

  1. The user or AI agent triggers a Python command via the CLI, passing specific parameters like 'start', 'stop', or 'list'.
  2. The matrix_manager.py script processes the command and communicates with the local HTTP server on port 1008.
  3. The script executes the requested action (e.g., launching a browser profile) and captures the response from the matrix tool.
  4. Detailed execution results are written to a last_result.txt file using UTF-8 encoding to prevent character corruption.
  5. The agent reads the result file to confirm success and provides feedback to the user.

Account Switcher Setup

To get started with this skill in your Openclaw Skills workflow, ensure you meet the prerequisites:

  1. Environment Setup: Install Python 3.8+ and the required requests library:

    pip install requests
    
  2. Matrix Tool Configuration: Install the Multi-Account Matrix Management Tool. Open the software and navigate to Settings -> Local Server, then check Enable Local Server on port 1008.

  3. Skill Verification: Check your Python version to ensure compatibility:

    python --version
    

Account Switcher Data Schema & Taxonomy

The skill manages data through a local configuration and a temporary result tracker:

File Description
config.yaml Contains the local API endpoint (default: http://localhost:1008) and timeout settings.
matrix_manager.py The core logic handler for all Openclaw Skills account operations.
last_result.txt A UTF-8 encoded text file storing the output of the most recent command execution.

Note on Indexing: The internal API uses 0-based indexing, but this skill maps operations to a user-friendly 1-based index (e.g., Index 1 in the command corresponds to API Index 0).

Account Switcher Advanced Features

  • Intelligent Matching: Automatically falls back to fuzzy matching if an exact account name is not found.
  • Encoding Safety: Uses a dedicated text-based result pipeline to bypass common terminal character encoding issues on Windows.
  • Index-Based Control: Provides direct access to profiles via numerical indices for rapid-fire automation without needing full names.
  • Configurable Timeouts: Customizable response windows via YAML to handle slow-loading browser profiles.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*