OpenCal for Openclaw

A powerful AI agent skill to log meals, track nutrition progress, and manage calorie goals hands-free using Openclaw Skills.

neikfu
v1.0.0
Feb 19, 2026
0
1.6k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install opencal

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install opencal using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is OpenCal?

OpenCal is a specialized nutrition and calorie tracking integration designed for AI agents. It bridges the gap between conversational AI and personal health management by allowing users to log food intake, query nutritional data, and monitor daily progress through simple natural language commands. By leveraging Openclaw Skills, developers can empower agents to act as personal nutritionists that interact directly with the OpenCal iOS ecosystem. This integration ensures that every meal mentioned in a chat is accurately scaled and recorded, providing a seamless bridge between conversation and data-driven health tracking.

OpenCal Use Cases

  • Log meals instantly by describing food intake to an AI agent.
  • Query remaining daily macro targets like protein or calories during a conversation.
  • Retrieve and summarize historical eating patterns from specific dates for review.
  • Update fitness goals and calorie limits without manually opening a mobile app.
  • Perform quick nutritional lookups for specific food items to stay informed before eating.

How OpenCal Works

  1. The AI agent receives a natural language input from the user regarding food consumption or nutrition goals.
  2. The agent initiates a food search via the OpenCal API to retrieve standardized nutritional data (typically calculated per 100g).
  3. The agent scales the nutritional values, including calories, protein, fats, and carbs, based on the specific portion size mentioned by the user.
  4. A POST request is sent to log the scaled data to the user's OpenCal account using Openclaw Skills workflows.
  5. The agent confirms the successful log and provides a summary of the recorded nutritional impact to the user.

OpenCal Setup

To get started with this skill, follow these installation steps:

  1. Download the OpenCal app from the App Store and set up your nutritional profile.
  2. Navigate to Profile > API Keys within the app to generate your unique API credential.
  3. Configure your environment by exporting your API key:
export OPENCAL_API_KEY="sk_your-key-here"
  1. Ensure your system has curl and jq installed to handle the API requests and data parsing required by Openclaw Skills.

OpenCal Data Schema & Taxonomy

The OpenCal skill manages data through a structured API interaction. Below is the primary data organization used when logging entries via Openclaw Skills:

Field Type Description
name String The name of the food item being logged.
amount Number The weight or quantity of the food consumed.
unit String The measurement unit (e.g., g, ml).
calories Number Total energy in kcal for the specific entry.
protein Number Total protein in grams.
mealType String Classification: breakfast, lunch, dinner, or snack.
loggedAt ISO8601 Optional timestamp for backfilling past meals.

OpenCal Advanced Features

  • Multi-meal categorization supporting breakfast, lunch, dinner, and snacks for better organization.
  • Historical data backfilling using the loggedAt parameter to maintain accurate records of past entries.
  • Real-time goal synchronization allowing agents to dynamically update calorie and protein targets as user needs evolve.
  • Automated macro scaling logic that ensures precision in nutritional reporting within the Openclaw Skills ecosystem.
  • Intelligent search fallbacks that suggest simpler food terms when specific or complex queries return no results.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins curljq
Github Stars: 0
forks: 0

Featured*