| name | xcli-rs-user |
| description | use, install, run, and troubleshoot the x-cli-rs command line tools. use when the user asks how to run x, chatgpt-image-cli, google-cli, baidu-cli, nanobanana-cli, xiaohongshu-cli, or twitter-cli; needs help with kimi-webbridge status, chrome extension setup, json output, verbose logs, release installers, or common runtime errors such as daemon_unreachable, daemon_not_running, extension_not_connected, consent_required, no_results, search_failed, generate_failed, browser_action_failed, missing_args, or invalid_args. |
x-cli-rs User
Use this skill to help users run installed x-cli-rs binaries and troubleshoot browser-backed commands.
First checks
-
Confirm the binary exists:
x --help
google-cli --help
baidu-cli --help
chatgpt-image-cli --help
nanobanana-cli --help
xiaohongshu-cli --help
twitter-cli --help
-
Confirm the local bridge is ready:
curl http://127.0.0.1:10086/status
-
Confirm Chrome is open, the extension is connected, and the user is signed in to the target site.
Command selection
Use references/commands.md to choose commands.
Prefer the unified entrypoint:
x google search "rust cli" --limit 5 --hl en
x baidu search "大模型" --limit 5
x chatgpt-image generate "a cute panda" -o ./images
x nanobanana gen "a macro shot of a pink rose" -o ./out
x xiaohongshu search "穿搭" --limit 5
x twitter search "rust cli" --limit 10
x twitter post elonmusk/status/1234567890 --out ./out
Use compatibility binaries when the user specifically asks for them:
google-cli search "rust cli" --limit 5 --hl en
baidu-cli search "大模型" --limit 5
chatgpt-image-cli generate "a cute panda" -o ./images
nanobanana-cli gen "a macro shot of a pink rose" -o ./out
xiaohongshu-cli search "穿搭" --limit 5
twitter-cli search "rust cli" --limit 10
Debugging rules
- Preserve stdout JSON when collecting diagnostics.
- Redirect verbose logs to stderr.
- Ask for both stdout JSON and stderr when a command fails.
- Interpret error codes using
references/troubleshooting.md.
Recommended diagnostic pattern:
x --verbose google search "rust cli" --limit 5 >/tmp/xcli-out.json 2>/tmp/xcli-err.log
cat /tmp/xcli-out.json
cat /tmp/xcli-err.log
Output contract
Use references/json-contract.md when explaining outputs or building scripts around x-cli-rs.