castor-shared
Installation
SKILL.md
Castor shared
使用 castor-cli,不要通过浏览器 localStorage、配置文件或日志读取 Token。
工作流
- 运行
castor-cli profile list确认目标环境。默认内置:feature→https://castor-web-v3-feature.blacklake.techtest→https://castor-web-v3-test.blacklake.tech
- 目标环境不存在或地址不同,用
castor-cli profile set <name> --endpoint <url>配置。 - 运行
castor-cli auth status --profile <name>。 - 未登录时让用户在终端执行
castor-cli auth login --profile <name> --username <username>。Agent 自动化只能通过标准输入传密码时,使用--password-stdin,不得把密码写进命令参数、文件或回答。 - 登录后再次运行
auth status,核对输出中的profile、endpoint和username。