一键导入
xray-orchestrator
Main orchestration skill for xray agents. Provides commands to coordinate agent work and invoke xray APIs through the local HTTP API server.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Main orchestration skill for xray agents. Provides commands to coordinate agent work and invoke xray APIs through the local HTTP API server.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | xray-orchestrator |
| description | Main orchestration skill for xray agents. Provides commands to coordinate agent work and invoke xray APIs through the local HTTP API server. |
| metadata | {"openclaw":{"primaryEnv":"XRAY_API_KEY","emoji":"🤖"},"author":"xray","tags":["ai","orchestration","agent"]} |
| user-invocable | true |
Display xray status and available commands.
Usage: /xray
Example:
/xray
Get detailed status of xray integration including connection status.
Usage: /xray-status
Example:
/xray-status
Analyze code using xray code analysis capabilities.
Usage: /xray-analyze <file-path>
Arguments:
file-path: Path to file to analyze (required)Example:
/xray-analyze src/index.ts
Perform code review on a file.
Usage: /xray-code <file-path> [options]
Arguments:
file-path: Path to file to review (required)--fix: Attempt to fix issues automatically (optional)Example:
/xray-code src/utils/helper.ts
/xray-code src/utils/helper.ts --fix
Read file using xray file tools.
Usage: /xray-file <file-path> [line-start:line-end]
Arguments:
file-path: Path to file to read (required)line-start:line-end: Line range to read (optional)Example:
/xray-file src/index.ts
/xray-file src/index.ts 1:50
Execute arbitrary xray command or script.
Usage: /xray-exec <command>
Arguments:
command: Command to execute (required)Example:
/xray-exec list files src/
Show this help message.
Usage: /xray-help [command]
Arguments:
command: Specific command to get help for (optional)Example:
/xray-help
/xray-help xray-analyze
This skill acts as the main interface between OpenClaw channels and xray agents. It processes user commands and forwards them to the xray API server running on localhost:18431.
POST /api/agent/invoke - Invoke xray agentGET /api/agent/status - Get agent statusGET /health - Health checkThe skill reads the XRAY_API_KEY environment variable for authentication.
All errors are caught and formatted as user-friendly messages. Detailed error information is logged for debugging.