Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计提醒

opencalopencal 搜索

Agent Skill

opencal 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

22,273

周安装

901

GitHub Stars

公开资料未说明

下载量

6,992
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:opencal(opencal 搜索)
来源仓库:https://github.com/neikfu/opencal
安装命令:
openclaw skills install opencal
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install opencal

简介

opencal 用于记录膳食、跟踪营养进度和管理卡路里目标。

  • 适合通过 AI 代理实现免提饮食管理场景。opencal 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 当用户提及饮食、食物或卡路里时自动触发使用。
  • 安装前需确认权限范围、维护状态及是否会触发数据读写或联网。
  • 建议结合来源仓库和原始 README 核验具体数据源与隐私处理方式。

SKILL.md

name
opencal
description
Log meals, check nutrition progress, and manage calorie goals in the OpenCal app — hands-free via your AI agent. Use when the user mentions eating, food, calories, macros, or nutrition.
homepage
https://opencal.ai
metadata
{"openclaw":{"emoji":"🥗","requires":{"bins":["curl","jq"],"env":["OPENCAL_API_KEY"]},"primaryEnv":"OPENCAL_API_KEY"}}

OpenCal

OpenCal is a calorie & nutrition tracker with a beautiful iOS app. This skill lets your AI agent log meals, check progress, and update goals — so the user never has to open the app to track what they eat.

"I just had a burrito for lunch" → agent searches, scales, logs it → it shows up in the app instantly.

Setup

  1. Download OpenCal from the App Store
  2. Sign in and set your calorie/macro goals
  3. Go to Profile → API Keys → Generate
  4. Set the key:
   export OPENCAL_API_KEY="sk_your-key-here"

When to use this skill

User saysWhat to do
"I had a chicken sandwich for lunch"Search food → scale nutrition → log it
"What did I eat today?"Fetch today's log and summarize
"How much protein do I have left?"Fetch log totals and compare to goals
"I want to cut to 1800 calories"Update their calorie goal
"That last entry was wrong, remove it"Delete the log entry
"What's in a banana?"Search and show nutrition info (don't log)

Log a meal

The most common flow. User says something like "I had 200g chicken breast for lunch":

1. Search for the food:

curl -s "${OPENCAL_BASE_URL:-https://api.opencal.ai}/api/v1/food/search?q=chicken+breast&limit=5" \
  -H "Authorization: Bearer $OPENCAL_API_KEY" | jq '.results[] | {name, calories, protein, carbs, fat}'

Results are per 100g. Pick the best match.

2. Scale to the actual amount and log:

curl -s -X POST "${OPENCAL_BASE_URL:-https://api.opencal.ai}/api/v1/food/log" \
  -H "Authorization: Bearer $OPENCAL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Chicken Breast",
    "amount": 200, "unit": "g",
    "calories": 330, "protein": 62, "carbs": 0, "fat": 7.2,
    "mealType": "lunch"
  }'

Multiply all nutrition values by amount / 100. The entry appears in the app immediately.

Use mealType: breakfast, lunch, dinner, or snack. Add "loggedAt": "2026-02-18T12:00:00Z" to backfill a past meal (defaults to now).

3. Confirm with the user: "Logged 200g chicken breast for lunch — 330 kcal, 62g protein."

Check daily progress

curl -s "${OPENCAL_BASE_URL:-https://api.opencal.ai}/api/v1/food/log?date=2026-02-18" \
  -H "Authorization: Bearer $OPENCAL_API_KEY" | jq '{totals, entries: [.entries[] | {name, calories, mealType}]}'

Omit ?date= for today. Returns each entry plus totals (calories, protein, carbs, fat).

Check and update goals

# Current goals
curl -s "${OPENCAL_BASE_URL:-https://api.opencal.ai}/api/v1/goals" \
  -H "Authorization: Bearer $OPENCAL_API_KEY" | jq

# Update (only include fields to change)
curl -s -X PUT "${OPENCAL_BASE_URL:-https://api.opencal.ai}/api/v1/goals" \
  -H "Authorization: Bearer $OPENCAL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"calorieGoal": 1800, "proteinGrams": 160}'

Delete a log entry

Get the entry ID from the daily log, then:

curl -s -X DELETE "${OPENCAL_BASE_URL:-https://api.opencal.ai}/api/v1/food/log/{id}" \
  -H "Authorization: Bearer $OPENCAL_API_KEY"

Important notes

  • Search results are per 100g — always scale before logging
  • If the user doesn't mention an amount, ask — don't guess
  • If search returns nothing, try shorter/simpler terms (e.g. "rice" instead of "steamed jasmine rice")
  • Always confirm what you logged so the user can correct mistakes
  • Rate limit: 100 requests/min

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

74.55%
按下载量换算5,213

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills