intervals.icu CLI
/install intervals-icu-cli
intervals-cli
Use this skill when the task involves Intervals.icu and the local intervals CLI.
Before You Start
- Verify the binary exists:
intervals --version
- If it is missing, use the skill's declared installer in OpenClaw or install the CLI manually from GitHub Releases.
- Verify auth:
intervals auth status
The CLI expects one of these environment variables:
INTERVALS_API_KEYINTERVALS_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 liketomorrow. - Treat stdout as result data and stderr as diagnostics.
- For complex writes, prefer
--file -or a temp file. - Payloads for
events,workouts, andwellnessare 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 searchfor text or tag queries. - Use
activities listfor semantic filtering on date, type, distance, tags, or moving time. - Use
events createorevents upsertfor something scheduled on a specific date. - Use
workouts createfor a reusable workout library item. - Use
wellness putorwellness bulk-putfor wellness writes.
Events vs Workouts
event: a scheduled calendar item on a dateworkout: 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 upsertoverevents createwhen 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.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install intervals-icu-cli - After installation, invoke the skill by name or use
/intervals-icu-cli - Provide required inputs per the skill's parameter spec and get structured output
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 241 downloads so far.
How do I install intervals.icu CLI?
Run "/install intervals-icu-cli" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is intervals.icu CLI free?
Yes, intervals.icu CLI is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does intervals.icu CLI support?
intervals.icu CLI is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created intervals.icu CLI?
It is built and maintained by Jonas Wideking (@jonaswide); the current version is v1.0.1.