skill

skill is a skill for Claude Code, Codex from asachs01/nutrition-mcp. It costs 0 tokens per session (442 once invoked), scanned A, original, MIT.

A nutrition tool connected to USDA FoodData Central, the United States Department of Agriculture's food-nutrition database. It looks up food information, records meals and tracks calories, macronutrients and fibre.

In plain words
What is it for?
Use it to search for foods, retrieve macro breakdowns, log servings, set calorie and macro targets, compare foods, and view daily or weekly summaries.
Why use it?
It avoids manually finding nutrition values and adding up meals. It can compare foods and show intake against saved daily targets or past meal records.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is cd nutrition-mcp && node src/server.js.

Good fit Use it to search for foods, retrieve macro breakdowns, log servings, set calorie and macro targets, compare foods, and view daily or weekly summaries.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/asachs01/nutrition-mcp
agentmods
npx agentmods add skills/asachs01/nutrition-mcp/skill

Made for: Claude Code, Codex.

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 skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/asachs01/nutrition-mcp/skill/github.svg)](https://agentmods.dev/skills/asachs01/nutrition-mcp/skill)
Your own site
<a href="https://agentmods.dev/skills/asachs01/nutrition-mcp/skill"><img src="https://agentmods.dev/badge/skills/asachs01/nutrition-mcp/skill/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 skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/asachs01/nutrition-mcp/skill"><img src="https://agentmods.dev/badge/skills/asachs01/nutrition-mcp/skill.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 442 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.
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.00442
Opus 5 $0.00000 $0.00221
Sonnet 5 $0.00000 $0.00088
Haiku 4.5 $0.00000 $0.00044

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

Security

Grade A, and why

skill 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 9d 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.

skill/SKILL.md · 44 lines

What it actually says

Nutrition MCP Server

USDA FoodData Central integration for nutrition lookup, meal logging, and macro tracking.

Server

cd nutrition-mcp && node src/server.js

Requires USDA_API_KEY env var (free at https://fdc.nal.usda.gov/api-key-signup).

Common Workflows

Search for a food and get details

  1. nutrition { action: "search", query: "chicken breast" } → get fdcId from results
  2. nutrition { action: "get", fdcId: "171477" } → full macro breakdown

Log a meal

  1. Search for the food (above)
  2. meal_log { action: "log", fdcId: "171477", servings: 1, mealType: "lunch" }

Check daily progress

  1. targets { action: "set", calories: 2000, protein: 150, carbs: 200, fat: 65, fiber: 30 } (one-time)
  2. targets { action: "progress" } → shows consumed vs remaining

Compare foods

  • nutrition { action: "compare", fdcIds: ["171477", "171078"] } → side-by-side macros

View meal history

  • meal_log { action: "daily_summary" } → today's totals by meal
  • meal_log { action: "weekly_summary" } → weekly averages
  • meal_log { action: "list", date: "2025-01-15" } → all entries for a date

Storage

  • Logs: ~/.nutrition-mcp/logs/YYYY-MM.json
  • Targets: ~/.nutrition-mcp/targets.json
  • Cache: ~/.nutrition-mcp/cache/ (24h TTL)

Nutrient IDs Reference

Energy=1008, Protein=1003, Fat=1004, Carbs=1005, Fiber=1079, Sugar=2000, Sodium=1093, Cholesterol=1253

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. 9d ago First seen · 44 lines · 0 tokens per session scan A acadfba470e8

Subscribe to this mod's changes

skill is a skill published in the GitHub repository asachs01/nutrition-mcp (0 stars, last pushed 7mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 442 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-08-31.

Related

Other skills, from other repositories

paper-search

Search, download, and read academic papers from 20+ sources (arXiv, PubMed, Semantic Scholar, CrossRef, etc). Use when the user asks to find papers, search for research, look up academic literature, download a paper PDF, or extract text from a paper.

openags/paper-search-mcp · 62 tokens

onescience-modelscope-publish

A tool for preparing a reproduced research model for ModelScope, a platform for sharing machine-learning models. It organizes files into the platform’s expected directory structure and creates upload guidance.

onescience-ai/OneSkills · 81 tokens

onescience-research-workflow

A research-workflow planning skill for OneScience, a system that coordinates scientific computing tasks. It creates detailed plans for fields such as weather, biology, materials, and fluid simulations, including steps, dependencies, resources, checks, and fallback paths.

onescience-ai/OneSkills · 70 tokens

onescience-cli

A skill for running OneScience command-line commands on remote SSH or SLURM systems. SSH is a way to use another computer remotely, while SLURM schedules jobs on shared computing clusters.

onescience-ai/OneSkills · 97 tokens

onescience-data-analyzer

A data-analysis skill for OneScience, a research-focused AI platform. It accepts task details from the conversation or from handoff files, then carries out analysis, charts, and report generation.

onescience-ai/OneSkills · 73 tokens

onescience-trainer

A workflow for planning, creating, running, and checking machine-learning model training. It covers data splits, loss functions, optimizers, learning-rate schedules, evaluation, checkpoints, logs, and runtime needs.

onescience-ai/OneSkills · 147 tokens