WellAlly-health: Skill for Claude Code

.claude/skills/food-database-query/SKILL.md

food-database-query is a skill for Claude Code from huifer/WellAlly-health. It costs 0 tokens per session (5,655 once invoked), scanned A, original, MIT.

A food database query and nutrition tool that looks up foods, compares their nutrients, recommends foods, calculates totals, and converts serving sizes.

In plain words
What is it for?
Use it to find calories and nutrients for foods, compare options, search by nutrition traits, build nutrition totals, and browse food categories.
Why use it?
It removes the need to search separate nutrition references or calculate meal values by hand.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

This is huifer/WellAlly-health's own configuration. It tells Claude Code how to work on WellAlly-health itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything WellAlly-health configures →

Reuse

Borrowing it

Nothing to install: this file belongs to huifer/WellAlly-health. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/huifer/WellAlly-health/main/.claude/skills/food-database-query/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/huifer/WellAlly-health

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for food-database-query

README.md
[![agentmods](https://agentmods.dev/badge/skills/huifer/wellally-health/food-database-query/github.svg)](https://agentmods.dev/skills/huifer/wellally-health/food-database-query)
Your own site
<a href="https://agentmods.dev/skills/huifer/wellally-health/food-database-query"><img src="https://agentmods.dev/badge/skills/huifer/wellally-health/food-database-query/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for food-database-query

Your own site · 80×15
<a href="https://agentmods.dev/skills/huifer/wellally-health/food-database-query"><img src="https://agentmods.dev/badge/skills/huifer/wellally-health/food-database-query.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,655 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium analysis-evasion · line 1
    Suspicious Unicode normalization or mixed-script content
    Fix: Review the flagged content for security risks. Ensure no credentials, secrets, or sensitive data are exposed.
  • medium Agent Snooping · line 769
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.05655
Opus 5 $0.00000 $0.02828
Sonnet 5 $0.00000 $0.01131
Haiku 4.5 $0.00000 $0.00566

Measured 8d ago against content hash cabf9ca7e81e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

food-database-query scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/food-database-query/SKILL.md · 781 lines

How it starts

The opening of the file, as written. The whole thing — 781 lines — stays where its author put it; the contents beside it link to each section on GitHub.

食物数据库查询技能

技能名称: Food Database Query 技能类型: 数据查询与分析 创建日期: 2026-01-06 版本: v1.0


技能概述

本技能提供全面的营养食物数据库查询功能,支持食物营养信息查询、比较、推荐和自动营养计算。

核心功能:

  • ✅ 食物营养信息查询
  • ✅ 食物比较分析
  • ✅ 智能食物推荐
  • ✅ 自动营养计算
  • ✅ 分类浏览和搜索
  • ✅ 份量转换和估算

数据源

主数据库

  • 文件: data/food-database.json
  • 内容: 50种常见食物的详细营养数据
  • 结构: 每种食物包含30+营养素指标

分类体系

  • 文件: data/food-categories.json
  • 分类: 10大类,30+子类
  • 支持: 按分类浏览和筛选

功能模块

1. 食物查询 (Food Query)

1.1 精确查询

用途: 根据食物名称查询营养信息

支持输入:

  • 中文名称: "燕麦", "西兰花", "三文鱼"
  • 英文名称: "Oats", "Broccoli", "Salmon"
  • 别名: "燕麦片", "broccoli", "三文鱼肉"

查询流程:

  1. 接收食物名称
  2. 在数据库中搜索匹配项
  3. 支持模糊匹配和别名匹配
  4. 返回完整营养信息

返回信息:

  • 基本信息 (名称、分类、标准份量)
  • 宏量营养素 (卡路里、蛋白质、碳水、脂肪、纤维)
  • 微量营养素 (维生素、矿物质)
  • 特殊营养素 (Omega-3/6、胆碱等)
  • 升糖指数数据
  • 健康标签和适用人群
  • 常见份量
  • 营养优势说明

示例:

# 用户输入: "燕麦"
# 返回:
{
  "name": "燕麦",
  "name_en": "Oats",
  "category": "谷物类",
  "nutrition_per_100g": {
    "calories": 389,
    "protein_g": 16.9,
    "carbs_g": 66.3,
    "fat_g": 6.9,
    "fiber_g": 10.6,
    # ... 更多营养素
  },
  "health_tags": ["高纤维", "低GI"],
  "glycemic_index": {"value": 55, "level": "低"}
}
1.2 模糊搜索

用途: 根据营养特征搜索食物

搜索条件:

  • 营养素含量: "高蛋白", "高纤维", "低GI"
  • 营养素组合: "高蛋白 低卡路里", "高纤维 低GI"
  • 分类筛选: "谷物类", "蔬菜", "蛋白质"
  • 适用人群: "素食友好", "高血压", "糖尿病"

搜索逻辑:

# 示例: 搜索"高蛋白 低卡路里"
def search_foods(criteria):
    results = []
    for food in database:
        protein = food.nutrition_per_100g.protein_g
        calories = food.nutrition_per_100g.calories

        # 定义阈值
        high_protein = protein >= 15  # 每100g≥15g蛋白质
        low_calorie = calories <= 150  # 每100g≤150卡

        if high_protein and low_calorie:
            results.append(food)

    return sorted(results, key=lambda x: x.protein_g, reverse=True)

返回格式:

  • 按匹配度排序
  • 显示关键营养素
  • 标注匹配标签
1.3 分类浏览

用途: 按食物分类浏览所有食物

分类层级:

蛋白质来源
├── 肉类
├── 禽类
├── 鱼虾贝类
├── 蛋类
├── 豆类
├── 坚果种子
└── 乳制品

浏览模式:

  • 列出某分类下所有食物
  • 按营养素排序
  • 按GI值排序
  • 按健康标签筛选

Read the full file on GitHub · 781 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 781 lines · 0 tokens per session scan A cabf9ca7e81e

Subscribe to this mod's changes

food-database-query is a skill published in the GitHub repository huifer/WellAlly-health (947 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 5,655 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

lab-report-walkthrough

Walk a person through their lab report — read the original document, organize results by panel, flag out-of-range values against the printed reference ranges, compare with their history, and explain in plain language. Use when the user uploads a lab report (PDF/image) or asks what their blood test results mean.

thetahealth/mirobody · 67 tokens

Longevity Protocol

Assembles an evidence-tiered weekly longevity routine across the four pillars with the strongest healthspan data - sleep, zone 2 aerobic work, strength training, and dietary pattern - plus stress and connection, delivered as a filled weekly template with honest evidence labels. Use when someone asks "build me a…

SkillMedev/health-and-longevity · 157 tokens

Mobility Routine

Builds a 10-15 minute daily floor-based mobility routine for desk workers, targeting the four zones sitting predictably stiffens - hips, thoracic spine, shoulders/neck, and ankles - with exact holds, reps, and a sequenced routine card. Use when someone says "I'm stiff from sitting all day", "my hips are tight", "fix…

SkillMedev/health-and-longevity · 136 tokens

Nutrition Planner

Sets personal nutrition targets - protein at 1.6-2.2 g/kg, a calorie budget from goal and activity, fiber and hydration floors - and a repeatable meal structure with a review-and-adjust protocol for fat loss, muscle gain, or maintenance. Use when someone asks "how much protein should I eat", "set my macros for a cut"…

SkillMedev/health-and-longevity · 151 tokens

pilot-service-agents-health

Public-health and biomedical APIs — ClinicalTrials.gov, openFDA, CDC, WHO, ClinVar, DailyMed, disease.sh. Use this skill when: 1. Searching active/past clinical trials by condition, sponsor, phase 2. Drug label, adverse-event, or interaction lookups (openFDA, DailyMed) 3. COVID / epidemiological stats, WHO global…

TeoSlayer/pilot-skills · 136 tokens

apple-health

Unofficial Apple Health export MCP for AI agents. Prefer MCP tools if connected; otherwise the package CLI. Use when the user wants Apple Health data or actions through an agent.

davidmosiah/apple-health-mcp · 39 tokens