xianyu_accounts

Original🇨🇳 Chinese
Translated

Manage Xianyu Accounts: View List, Health Check, Cookie Refresh

7installs
Added on

NPX Install

npx skill4agent add g3niusyukki/xianyu-openclaw xianyu_accounts

SKILL.md Content (Chinese)

View Translation Comparison →

Xianyu Account Management

Use this skill when users want to view or manage their Xianyu accounts.

Usage

Use the
bash
tool to execute the following commands:

View All Accounts

bash
cd /home/node/.openclaw/workspace && python -m src.cli accounts --action list
Returns: Information such as the name, status, and priority of all configured accounts.

Check Account Health

bash
cd /home/node/.openclaw/workspace && python -m src.cli accounts --action health --id <account_id>
Returns: Metrics such as account health score, number of posts, number of errors, etc.

Validate Cookie Validity

bash
cd /home/node/.openclaw/workspace && python -m src.cli accounts --action validate --id <account_id>
Returns: Whether the Cookie is still valid.

Refresh Cookie

bash
cd /home/node/.openclaw/workspace && python -m src.cli accounts --action refresh-cookie --id <account_id> --cookie "new cookie value"

Examples

User says: "Is my account still normal?" →
bash
cd /home/node/.openclaw/workspace && python -m src.cli accounts --action list
Then perform a health check for each account.
User says: "The Cookie has expired, I need to update it" → Ask the user to provide the new Cookie value, then:
bash
cd /home/node/.openclaw/workspace && python -m src.cli accounts --action refresh-cookie --id account_1 --cookie "cookie provided by user"

Notes

  • Cookie is sensitive information, do not display it completely in responses
  • If the Cookie expires, remind the user: Open browser -> Log in to Xianyu -> F12 -> Network -> Copy Cookie
  • Accounts with a health score below 50% are recommended to be suspended