loops-cli
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseLoops 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
- create draft campaigns and update email-message content from the shell
- list or inspect themes and reusable components for LMX
- 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身份验证
- 管理已存储的团队密钥或在多个密钥间切换
- 运行一次性的联系人、列表、事件或事务性邮件命令
- 从shell创建营销活动草稿并更新邮件消息内容
- 列出或查看LMX的主题与可复用组件
- 在本地以文本或JSON格式查看CLI输出
此技能仅用于命令行使用场景,不支持应用集成或邮件策略评审。
Working Style
工作方式
When this skill is active:
- Prefer for exact flags and the latest command shape.
loops agent-context - Prefer the CLI for shell workflows, one-off operational tasks, credential validation, and quick troubleshooting.
- Use when the result needs to feed another tool or script.
--output json - Use named stored keys plus when the user works across multiple Loops teams.
--team - Avoid printing secrets. Prefer keyring-backed auth or environment variables over hardcoded API keys.
- If the task becomes application-code integration or exact HTTP payload design, use the separate skill.
loops-api
Official references:
- CLI docs:
https://loops.so/docs/cli - CLI repo:
https://github.com/loops-so/cli - CLI README:
https://github.com/loops-so/cli/blob/main/README.md
激活此技能时:
- 优先使用获取准确的参数和最新的命令格式。
loops agent-context - 优先使用CLI完成shell工作流、一次性运维任务、凭证验证和快速排查问题。
- 当结果需要供其他工具或脚本使用时,添加参数。
--output json - 当用户跨多个Loops团队工作时,使用已命名的存储密钥加上参数。
--team - 避免打印机密信息。优先使用密钥环支持的身份验证或环境变量,而非硬编码的API密钥。
- 如果任务涉及应用代码集成或精确的HTTP负载设计,请使用独立的技能。
loops-api
官方参考资料:
- CLI文档:
https://loops.so/docs/cli - CLI仓库:
https://github.com/loops-so/cli - CLI README:
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 - Campaigns, email messages, themes, components, revision handling, and LMX file flags:
Read . For LMX markup itself, also use the
references/cli.mdskill.loops-lmx
If the task becomes application-code integration or exact HTTP payload design beyond the CLI, use the skill.
loops-api- 安装、身份验证流程、配置解析、全局参数以及常见Loops CLI工作流:
查阅
references/cli.md - 营销活动、邮件消息、主题、组件、版本处理以及LMX文件参数:
查阅。若涉及LMX标记本身,还需使用
references/cli.md技能。loops-lmx
如果任务超出CLI范畴,涉及应用代码集成或精确的HTTP负载设计,请使用技能。
loops-apiOutput 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, orloops api-keyloops agent-context
目标为用户提供:
- 适用于当前任务的正确命令或安装路径
- 任何会影响操作行为的身份验证或团队选择注意事项
- 安全的凭据处理方式
- 后续验证步骤,例如、
loops --help、loops auth status或loops api-keyloops agent-context