cli

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Loops CLI Skill

Loops CLI 技能

This skill helps with Loops terminal workflows. Use it for installation, auth and configuration, command selection, and shell-first operational tasks.
此技能可助力Loops终端工作流。适用于安装、身份验证与配置、命令选择以及Shell优先的运维任务。

When To Use

使用场景

Use this skill when the user needs to:
  • install, update, or troubleshoot the Loops CLI
  • authenticate with Loops from the terminal
  • manage stored team keys or switch between them
  • run one-off contact, list, event, or transactional-email commands
  • inspect CLI output in text or JSON locally
This skill is for command-line usage, not application integrations or email-strategy review.
当用户需要完成以下操作时,使用此技能:
  • 安装、更新或排查Loops CLI问题
  • 从终端通过Loops进行身份验证
  • 管理已存储的团队密钥或在不同密钥间切换
  • 运行一次性的联系人、列表、事件或事务性邮件命令
  • 在本地以文本或JSON格式查看CLI输出
此技能适用于命令行使用场景,不适用于应用集成或邮件策略评审。

Working Style

工作方式

When this skill is active:
  1. Prefer
    loops --help
    and command-specific help output for exact flags and the latest command shape.
  2. Prefer the CLI for shell workflows, one-off operational tasks, credential validation, and quick troubleshooting.
  3. Use
    --output json
    when the result needs to feed another tool or script.
  4. Use named stored keys plus
    --team
    when the user works across multiple Loops teams.
  5. Avoid printing secrets. Prefer keyring-backed auth or environment variables over hardcoded API keys.
  6. If the task becomes application-code integration or exact HTTP payload design, use the separate
    api
    skill.
Official references:
  • CLI repo:
    https://github.com/Loops-so/cli
  • CLI README:
    https://github.com/Loops-so/cli/blob/main/README.md
当此技能激活时:
  1. 优先使用
    loops --help
    和命令专属帮助输出来获取确切的参数和最新命令格式。
  2. 优先使用CLI完成Shell工作流、一次性运维任务、凭据验证和快速排查问题。
  3. 当结果需要供其他工具或脚本使用时,使用
    --output json
    参数。
  4. 当用户同时服务于多个Loops团队时,使用已命名的存储密钥加上
    --team
    参数。
  5. 避免打印机密信息。优先使用基于密钥环的身份验证或环境变量,而非硬编码API密钥。
  6. 如果任务涉及应用代码集成或精确的HTTP负载设计,请使用单独的
    api
    技能。
官方参考资料:
  • CLI仓库:
    https://github.com/Loops-so/cli
  • CLI说明文档:
    https://github.com/Loops-so/cli/blob/main/README.md

Category Routing

分类路由

  • Installation, auth flows, config resolution, global flags, and common Loops CLI workflows: Read
    references/cli.md
  • 安装、身份验证流程、配置解析、全局参数以及常见Loops CLI工作流: 阅读
    references/cli.md

Output Checklist

输出检查清单

Aim to leave the user with:
  • the right command or install path for the task
  • any auth or team-selection caveats that affect behavior
  • safe handling of credentials
  • the next validation step, such as
    loops --help
    ,
    loops auth status
    , or
    loops api-key
目标是为用户提供:
  • 适用于当前任务的正确命令或安装路径
  • 任何会影响操作行为的身份验证或团队选择注意事项
  • 安全的凭据处理方式
  • 下一步验证步骤,例如
    loops --help
    loops auth status
    loops api-key