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

sparkysparky 命令行

Agent Skill

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

总安装

4,895

周安装

198

GitHub Stars

公开资料未说明

下载量

1,536
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install sparky

简介

SparkyFitness CLI 用于食物日记、运动跟踪、生物识别登记和健康摘要。

SKILL.md

name
sparky
description
SparkyFitness CLI for food diary, exercise tracking, biometric check-ins, and health summaries.
homepage
https://github.com/CodeWithCJ/SparkyFitness
metadata
{"clawdbot":{"emoji":"🏃","requires":{"bins":["sparky"]}}}

sparky

Use sparky to interact with a self-hosted SparkyFitness server — log food, exercise, weight, steps, and mood.

Install

  • Homebrew (macOS/Linux): brew tap aronjanosch/tap && brew install sparky-cli
  • Build from source (requires Go 1.21+):
  git clone https://github.com/aronjanosch/sparky-cli
  cd sparky-cli
  go build -o sparky .
  sudo mv sparky /usr/local/bin/
  • Pre-built binaries: https://github.com/aronjanosch/sparky-cli/releases (Linux, macOS, Windows — amd64/arm64)

Setup (once)

  • sparky config set-url <url> — e.g. sparky config set-url https://sparky.example.com
  • sparky config set-key <key>
  • sparky config show
  • sparky ping — verify connection

Food

  • Search: sparky food search "chicken breast" [-l 10] — local DB first, falls back to Open Food Facts; shows Brand column
  • Search by barcode: sparky food search --barcode 4061458284547 — exact product lookup, no ambiguity
  • Log by name: sparky food log "chicken breast" -m lunch -q 150 -u g [-d YYYY-MM-DD]
  • Log by barcode: sparky food log --barcode 4061458284547 -m lunch -q 113 -u g — most reliable, no brand guessing
  • Log by ID: sparky food log --id <uuid> -m lunch -q 150 -u g — skips search, unambiguous
  • Pick result: sparky food log "Hähnchenbrust" --pick 2 — select Nth search result instead of prompting
  • Create custom: sparky food create "My Meal" --calories 450 --protein 28 --carbs 42 --fat 16 — adds a custom food to your library; defaults to 100g serving; optional: --fiber, --sugar, --sodium, --saturated-fat, --brand, --serving-size, --serving-unit
  • Diary: sparky food diary [-d YYYY-MM-DD]
  • Delete entry: sparky food delete <uuid> — removes a diary entry
  • Remove from library: sparky food remove <uuid> — purge a food from your local library (get UUID via sparky -j food search)

Exercise

  • Search: sparky exercise search "bench press" [-l 10] — local DB first, falls back to Free Exercise DB
  • Search external only: sparky exercise search --external "pushup" — bypasses local cache
  • Log by name: sparky exercise log "Pushups" [--duration 45] [--calories 400] [-d YYYY-MM-DD]
  • Log by ID: sparky exercise log --id <uuid> --set 10x80@8 --set 10x80@9 — skips search, unambiguous
  • Sets format: REPS[xWEIGHT][@RPE] — e.g. 10x80@8 = 10 reps, 80 kg, RPE 8; 10x80 or 10@8 also valid
  • Notes: sparky exercise log "Pushups" --notes "felt strong"
  • Diary: sparky exercise diary [-d YYYY-MM-DD]
  • Delete: sparky exercise delete <uuid>

Check-ins

  • Weight: sparky checkin weight 75.5 [-u kg|lbs] [-d YYYY-MM-DD]
  • Steps: sparky checkin steps 9500 [-d YYYY-MM-DD]
  • Mood: sparky checkin mood 8 [-n "notes"] [-d YYYY-MM-DD]
  • Diary: sparky checkin diary [-d YYYY-MM-DD] — shows biometrics + mood together

Summary & trends

  • sparky summary [-s YYYY-MM-DD] [-e YYYY-MM-DD] — nutrition/exercise/wellbeing totals (default: last 7 days)
  • sparky trends [-n 30] — day-by-day nutrition table

Agentic workflow (always prefer --id to avoid ambiguity)

Exercise — search first, then log by ID:

# 1. Find candidates; use --external to bypass local cache if needed
sparky -j exercise search --external "pushup"
# Each result has is_local: true/false
#   is_local: true  → id is a UUID → use --id directly
#   is_local: false → id is a source string → log by exact name to import first,
#                     then search again to get the UUID

# 2a. Local exercise
sparky -j exercise log --id <uuid> --set 3x10@8

# 2b. External exercise (import on first log, then switch to --id)
sparky -j exercise log "Pushups" --set 3x10
sparky -j exercise search "Pushups"        # now is_local: true
sparky -j exercise log --id <uuid> --set 3x10

Food — preferred agentic workflow:

# Option A: barcode (most reliable)
sparky food log --barcode 4061458284547 -q 113 -u g -m lunch

# Option B: search → inspect brand+macros → log by --id
sparky -j food search "Hähnchenbrust"
# check brand + calories in results; pick the right one
sparky food log --id <uuid> -q 400 -u g -m dinner

# Option C: search with --pick N (when brand column shows the right one)
sparky food log "Hähnchenbrust" --pick 3 -q 400 -u g -m dinner

# Remove a bad import from local library
sparky -j food search "bad product"   # get the food's id (UUID)
sparky food remove <uuid>

Custom food (when you have nutrition facts and it's not in the DB):

# Ingredients/beverages — nutrition per 100g/ml (default)
sparky -j food create "Craft Beer" --calories 43 --protein 0.5 --carbs 3.6 --fat 0 --serving-unit ml
sparky -j food log --id <uuid> -q 330 -m dinner

# Meals (Cookidoo, Chefkoch, etc.) — nutrition per serving, specify explicitly
sparky -j food create "Lasagna" --calories 450 --protein 28 --carbs 42 --fat 16 --serving-size 1 --serving-unit serving
sparky -j food log --id <uuid> -q 1 -m dinner

Notes

  • -j / --json is a root-level flag: sparky -j food diary, not sparky food diary -j
  • Always verify brand in search results before logging — Open Food Facts has many products with identical names
  • --barcode is the most reliable option when the product has a scannable barcode
  • --pick N selects the Nth result (1-based); exact local name match bypasses --pick entirely
  • In JSON mode with ambiguous results, the CLI always picks results[0] — use --id in scripts to be safe
  • Both search commands fall back to online providers automatically; matches are added to your library on first log
  • Weight is stored in kg; lbs are auto-converted (166 lbs → 75.30 kg)
  • Full UUIDs for delete: sparky -j food diary | jq '.[0].id'
  • Meal options: breakfast, lunch, dinner, snacks (default: snacks)

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

75.58%
按下载量换算1,161

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills