Simplex CLI Admin
Overview
Use this skill to (1) align Simplex Router backend terminology (EN identifiers ↔ 中文释义), and (2) run simplex-cli admin workflows with safe defaults, explicit confirmations, and post-action verification.
Default Operating Mode (Agent Checklist)
-
Prefer --output=llm (or simplex-cli config set output llm ) for parsing.
-
Before any action, capture runtime context:
-
simplex-cli config show --output=llm
-
simplex-cli auth status --validate --output=llm
-
For any mutating command (create/generate, register, adjust, set-limit, add/remove, send):
-
Restate the exact command and its impact
-
Ask the user for explicit confirmation
-
After running, verify via a read command (list/get/history/check )
Common Gotchas
-
User identifiers: some commands use numeric user_id (anotherme DB), while others use string userId (token/cost). Use the glossary to avoid mixing them.
-
Time formats: most commands use RFC3339/ISO8601, but some endpoints expect YYYY-MM-DD HH:mm:ss .
-
Base URL: --base-url must include scheme and host; the CLI client auto-appends /api .
-
Sensitive outputs: auth login token and register password are secrets—avoid pasting into tickets/logs unless requested.
References
-
references/glossary.md : 专有名词中英对照 + 中文释义 + 关联命令/字段
-
references/business-logic.md : 业务逻辑关系图(实体/数据源/指标)+ 常见流程
-
references/cli-cheatsheet.md : CLI 子命令速查(读/写、参数、示例、验证步骤)