← 返回 Skills 市场
jonaswide

intervals.icu CLI

作者 Jonas Wideking · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
241
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install intervals-icu-cli
功能描述
Use this skill when an installed `intervals` CLI should be used to query Intervals.icu, inspect activities, create scheduled workout events, create workout l...
使用说明 (SKILL.md)

intervals-cli

Use this skill when the task involves Intervals.icu and the local intervals CLI.

Before You Start

  1. Verify the binary exists:
    • intervals --version
  2. If it is missing, use the skill's declared installer in OpenClaw or install the CLI manually from GitHub Releases.
  3. Verify auth:
    • intervals auth status

The CLI expects one of these environment variables:

  • INTERVALS_API_KEY
  • INTERVALS_ACCESS_TOKEN

OpenClaw metadata declares INTERVALS_API_KEY as the primary env because the skill system supports one primary API-key env. Bearer-token auth via INTERVALS_ACCESS_TOKEN is also valid.

Core Rules

  • Prefer intervals ... --format json.
  • Use absolute dates like 2026-03-16, not relative values like tomorrow.
  • Treat stdout as result data and stderr as diagnostics.
  • For complex writes, prefer --file - or a temp file.
  • Payloads for events, workouts, and wellness are raw Intervals-compatible JSON.
  • Do not install the CLI unless the user asked for installation or the current task clearly depends on it.
  • Do not perform writes or deletes unless the user asked for a mutation.
  • If a temp file is used, remove it after the command completes.

Command Selection

  • Use activities search for text or tag queries.
  • Use activities list for semantic filtering on date, type, distance, tags, or moving time.
  • Use events create or events upsert for something scheduled on a specific date.
  • Use workouts create for a reusable workout library item.
  • Use wellness put or wellness bulk-put for wellness writes.

Events vs Workouts

  • event: a scheduled calendar item on a date
  • workout: a reusable library object not tied to a date

Rule of thumb:

  • "Create a workout for next Monday" usually means events create.
  • "Save this workout for later reuse" means workouts create.

More Guidance

Read these only as needed:

  • Write patterns and examples: {baseDir}/references/writes.md
  • Query guidance: {baseDir}/references/queries.md
  • Example payloads: {baseDir}/examples/

Good Defaults

  • Prefer events upsert over events create when duplicates would be harmful.
  • Resolve natural-language dates before calling the CLI.
  • Ask a follow-up question only when a key training detail is ambiguous.
  • Prefer read commands first when inspecting or validating before a mutation.
安全使用建议
This skill is coherent: it expects the official 'intervals' CLI and an Intervals API key and otherwise instructs only CLI usage. Before installing or providing credentials: (1) verify the CLI binary you have is the legitimate project (run 'intervals --version' and check the binary's origin), (2) if you install via the provided installer, note it downloads GitHub release tarballs — confirm the release page and checksums if you want higher assurance, (3) prefer to provide a least-privileged Intervals API key (not a broad account credential), (4) the skill will not perform writes unless you explicitly request them, and (5) there's a minor metadata inconsistency (registry says no install spec while SKILL.md contains download entries) — ask the publisher to clarify if this matters for your environment.
功能分析
Type: OpenClaw Skill Name: intervals-icu-cli Version: 1.0.1 The skill is a legitimate interface for the `intervals-cli` tool, used to interact with the Intervals.icu fitness platform. It includes well-defined installation steps from a public GitHub repository (github.com/jonaswide/intervals-cli) and provides clear, task-aligned instructions for the AI agent to manage workouts and wellness data. No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力评估
Purpose & Capability
The name/description match the declared requirements: the skill expects a local 'intervals' binary and an Intervals API key. The functionality described (querying activities, creating events/workouts, writing wellness) legitimately requires access to the CLI and an Intervals credential.
Instruction Scope
SKILL.md confines actions to invoking the 'intervals' CLI, prefers JSON and temp-file patterns, and explicitly says not to perform writes or installs unless the user requests them. It references only included example files and CLI output; it does not instruct reading unrelated system files or sending data to third-party endpoints.
Install Mechanism
Registry metadata lists no install spec, but SKILL.md metadata contains download entries that fetch tar.gz releases from the project's GitHub Releases — a reasonable and expected source. Download-and-extract archives will write files to disk (moderate risk); the URLs are GitHub release URLs (no shorteners or personal servers), which is appropriate. The mismatch between the registry "no install spec" statement and SKILL.md's embedded install entries is a minor inconsistency to be aware of.
Credentials
The skill declares only one primary credential (INTERVALS_API_KEY) which matches the described purpose. SKILL.md also notes INTERVALS_ACCESS_TOKEN as a valid alternative; no unrelated secrets or extra environment variables are requested.
Persistence & Privilege
always:false and no required config paths are set. The included agents/openai.yaml allows implicit invocation (policy: allow_implicit_invocation:true), but model invocation is the platform default and there is no evidence the skill demands elevated or persistent system privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install intervals-icu-cli
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /intervals-icu-cli 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Added OpenClaw-compatible metadata with OS/arch-specific installers and environment variable requirements. - Updated installation guidance to reference automatic installer use where available. - Explicitly set `INTERVALS_API_KEY` as the primary environment variable, with notes on bearer token alternative. - New guidance: only install the CLI or perform data mutations when requested by the user or when clearly required by the task. - Added best practice to remove temp files after use and prefer read commands before mutation actions.
v1.0.0
- Initial release of intervals-icu-cli skill. - Enables agent-first interaction with Intervals.icu via the installed `intervals` CLI for activity queries, event scheduling, workout library management, and wellness data entry. - Emphasizes command selection, JSON-first patterns, and clear distinctions between events and workouts. - Provides setup and usage guidelines including environment variables, installation steps, and best practices. - Promotes good defaults such as using `events upsert` to avoid duplicates and resolving dates before CLI calls.
元数据
Slug intervals-icu-cli
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

intervals.icu CLI 是什么?

Use this skill when an installed `intervals` CLI should be used to query Intervals.icu, inspect activities, create scheduled workout events, create workout l... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 241 次。

如何安装 intervals.icu CLI?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install intervals-icu-cli」即可一键安装,无需额外配置。

intervals.icu CLI 是免费的吗?

是的,intervals.icu CLI 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

intervals.icu CLI 支持哪些平台?

intervals.icu CLI 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 intervals.icu CLI?

由 Jonas Wideking(@jonaswide)开发并维护,当前版本 v1.0.1。

💬 留言讨论