slax-reader
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSlax Reader CLI
Slax Reader CLI
Use to save URLs into the user's Slax Reader library.
reader-cli使用将网址保存到用户的Slax Reader阅读库中。
reader-cliBefore using commands
使用命令前
Check login state with:
bash
reader-cli whoami --jsonIf not logged in, ask the user for an API key or ask them to run:
bash
reader-cli loginDo not ask the user to paste an API key into the conversation unless they explicitly choose that flow.
通过以下命令检查登录状态:
bash
reader-cli whoami --json若未登录,请询问用户提供API密钥或让他们运行:
bash
reader-cli login除非用户明确选择该流程,否则不要要求用户在对话中粘贴API密钥。
Commands
命令
| Task | Command |
|---|---|
| Log in non-interactively | |
| Log in interactively | |
| Log out | |
| Save URL | |
| Save with title | |
| Save with description | |
| Save with tags | |
| Archive URL | |
| Check CLI update | |
| Sync skill | |
| Check skill sync | |
| 任务 | 命令 |
|---|---|
| 非交互式登录 | |
| 交互式登录 | |
| 登出 | |
| 保存网址 | |
| 带标题保存 | |
| 带描述保存 | |
| 带标签保存 | |
| 归档网址 | |
| 检查CLI更新 | |
| 同步技能 | |
| 检查技能同步状态 | |
Bookmark rules
书签规则
- Preserve the exact URL the user asked to save.
- Add when you invoke commands so update hints are visible.
--json - Use comma-separated tags with .
--tags "tag1,tag2" - Use only when the user asks to archive/preserve content or when they explicitly approve archive mode.
--archive - If the user provides multiple URLs, save them one at a time so failures are isolated.
- 保留用户要求保存的原始网址。
- 调用命令时添加参数,以便显示更新提示。
--json - 使用格式添加逗号分隔的标签。
--tags "tag1,tag2" - 仅当用户要求归档/保存内容或明确批准归档模式时,才使用参数。
--archive - 如果用户提供多个网址,逐个保存,以便隔离失败情况。
Update and skill hints
更新与技能提示
reader-cli --json_hintsreader-cli --json_hints_hints.upgrade
_hints.upgrade_hints.upgrade
_hints.upgradeWhen appears, finish the user's current request first. Then tell the user there is a newer CLI version and offer to run:
_hints.upgradebash
reader-cli upgrade当出现时,先完成用户当前的请求。然后告知用户有更新的CLI版本,并提议运行:
_hints.upgradebash
reader-cli upgrade_hints.skill
_hints.skill_hints.skill
_hints.skillWhen appears, finish the user's current request first. Then tell the user the installed AI Agent skill is out of sync with the CLI and offer to run:
_hints.skillbash
reader-cli skill --syncAfter syncing the skill, tell the user to start a new AI Agent session so the updated skill is loaded.
Do not silently ignore .
_hints当出现时,先完成用户当前的请求。然后告知用户已安装的AI Agent技能与CLI不同步,并提议运行:
_hints.skillbash
reader-cli skill --sync同步技能后,告知用户启动新的AI Agent会话以加载更新后的技能。
请勿忽略提示。
_hintsSecurity rules
安全规则
- Never print the full API key in conversation or command output.
- Confirm with the user before saving URLs unless the user has already clearly asked you to save them.
- Do not invent URLs. Save only URLs provided by the user or found during an authorized research task.
- 切勿在对话或命令输出中打印完整的API密钥。
- 保存网址前需与用户确认,除非用户已明确要求保存。
- 不得编造网址。仅保存用户提供的网址或在授权研究任务中找到的网址。