← Back to Skills Marketplace
jonaswide

intervals.icu CLI

by Jonas Wideking · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
241
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install intervals-icu-cli
Description
Use this skill when an installed `intervals` CLI should be used to query Intervals.icu, inspect activities, create scheduled workout events, create workout l...
README (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.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install intervals-icu-cli
  3. After installation, invoke the skill by name or use /intervals-icu-cli
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug intervals-icu-cli
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

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.

💬 Comments