nutrition-chef

nutrition-chef is a skill for Claude Code from philipyaz/cos. It costs 245 tokens per session (12,474 once invoked), scanned A, original, MIT.

A food and kitchen operator that turns plain-language requests into food logs, pantry records, meal plans, dietary settings, nutrition targets, and shopping lists. It estimates calories and nutrients while storing the results on the board.

In plain words
What is it for?
Use it to record what you ate, plan meals, check or update pantry items, set nutrition targets, and manage shopping lists.
Why use it?
It keeps meal information in one structured place instead of leaving meals, ingredients, and plans in scattered notes.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to record what you ate, plan meals, check or update pantry items, set nutrition targets, and manage shopping lists.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/philipyaz/cos/nutrition-chef
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add philipyaz/cos --skill nutrition-chef
Clone the repo
git clone --depth 1 https://github.com/philipyaz/cos

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 nutrition-chef

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/philipyaz/cos/nutrition-chef"><img src="https://agentmods.dev/badge/skills/philipyaz/cos/nutrition-chef.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 245 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 12,474 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00245 $0.12474
Opus 5.5 $0.00098 $0.04990
Sonnet 5.5 $0.00049 $0.02495
Haiku 4.5 $0.00024 $0.01247

Measured 2mo ago against content hash 9480804e41f6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

nutrition-chef scanned grade A with 1 finding 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 2mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

MCP — never `bash`/`curl` (Cowork's sandbox blocks outbound HTTP; the tools exist for
board/.claude/skills/nutrition-chef/SKILL.md · 702 lines

How it starts

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

Nutrition & Chef (the kitchen operator)

This skill is the intelligence that turns a plain-language request — "I had a chicken burrito for lunch", "what can I cook tonight", "plan dinners this week" — into structured records on the board. It writes only through the nutrition MCP — never bash/curl (Cowork's sandbox blocks outbound HTTP; the tools exist for exactly this). The board UI is the read twin: the human glances at /nutrition/log, /nutrition/pantry, /nutrition/plan; the agent (you) does the writing.

The estimation, recipe judgment, and the diet math live here, in this skill — the MCP just stores what you author. The nutrition tools are thin: log_food / list_food_log / get_food_log / update_food_log / delete_food_log; read_pantry / add_pantry_item / update_pantry_item / remove_pantry_item; plan_meal / list_meal_plan / get_meal_plan / update_meal_plan / remove_meal_plan; the DIETARY-PROFILE pair get_diet_profile / set_diet_profile; the AGENT-AUTHORED TARGETS save_nutrition_targets / list_nutrition_targets / get_nutrition_targets; and the SHOPPING LIST list_shopping / add_shopping_item / update_shopping_item / remove_shopping_item + the computed get_shopping_candidates (JOB 6).

The board does NOT compute targets — YOU do (the save_training_plan law). There is no longer a diet "engine" on the board. You read the inputs (the user's free-text goal, the physiology facts, the dietary profile, the recent food log), compute the daily calories + macros yourself, and persist them with save_nutrition_targets. The board validates the shape, attributes it to you, versions it, and serves it back — it never invents a number. This is the same pattern the fitness coach uses.

Weight, the body goal, and identity live in the body MCP, not here. Current/ target weight, the free-text objective, sex/DOB/height/training-status, and the physiology baseline (BMR / TDEE / BMI / trend / fat-free mass) are the body add-on's. Read them with get_body_objective (the goal) and get_body_status (the facts); log a weigh-in with the body MCP's log_weight. This skill READS them to author targets; it does not own them. (If the user wants to set their goal/weight/identity, point them at the body skill or the /body page.)

Gate — the add-on must be ENABLED. Every WRITE 404s ("Not found.") when the Nutrition & Chef add-on is disabled; READS always work. If a write comes back "Not found.", the add-on is off — tell the user to enable it from the board's /addons catalog (toggle on), then retry. You don't enable it yourself; it's a deliberate, human, one-time switch.

Attribution. The MCP stamps every write as actor: agent, so the board's activity log shows the agent did it (the UI writes as human). There is no pending / propose queue for nutrition — these tools write directly. So "approval" here means a conversational check-in (STEP 0), not the board's propose/approve flow. Don't claim a pending queue exists.

ALLERGIES + DIET — read them FIRST, honor them ALWAYS (the safety rule). Before you plan a meal, suggest food, or author nutrition targets, you MUST call get_diet_profile and read its allergies, dietType, and notes. Never plan, suggest, or build a meal containing a listed allergies item — no exceptions. Honor dietType (vegan / halal / no-pork / keto …) and weigh notes (intolerances, foods avoided, preferences) as soft constraints. If get_diet_profile errors or is unreachable, STOP and ask the user to confirm their allergies in-chat before planning — do not guess around allergens you cannot see. The board does not enforce this; you do. This is best-effort (always tell the user to double-check ingredients themselves), but it is the one rule you never skip.

NOT MEDICAL ADVICE — say it, every time it's relevant. The targets you author (calories/macros/deficits) are informational estimates, not medical advice. Carry that framing in your own words whenever you discuss targets, a deficit, or a body goal, and surface the warnings the board returns on save_nutrition_targets (e.g. a below-floor calorie note). Defer to a professional (a clinician or registered dietitian) for any medical condition, pregnancy/breastfeeding, an eating-disorder history, or a user under 18 — recommend they consult one, and don't push a deficit. The sex calorie floors are a conservative backstop, not a substitute for that.

Read the full file on GitHub · 702 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago Changed · +22 lines 9480804e41f6
  2. 2mo ago Changed · +31 lines c72a1e16f903
  3. 3mo ago First seen · 649 lines · 245 tokens per session scan A f5d6ff421e84

Subscribe to this mod's changes

nutrition-chef is a skill published in the GitHub repository philipyaz/cos (4 stars, last pushed 13d ago), licensed MIT. It adds 245 tokens to every session and 12,474 once invoked, about $0.0010 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

nutrition-chef compared with skills from other repositories

nutrition-chef next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nutrition-chefphilipyaz/cosSkill413d agoMITA245Claude Code
challengejanrummel/claude-orchestrator-starterSkill521d agoMITA96Claude Code, Codex
quality-gatejanrummel/claude-orchestrator-starterSkill521d agoMITA56Claude Code, Codex
wiki-linttboome33/obsidian-mcp-routerSkill1yesterdayApache-2.0A119Claude Code
handoffjanrummel/claude-orchestrator-starterSkill521d agoMITA70Claude Code, Codex
meta-sync-templatetboome33/obsidian-mcp-routerSkill1yesterdayApache-2.0A159Claude Code
savetboome33/obsidian-mcp-routerSkill1yesterdayApache-2.0A112Claude Code