bite-ai-dietitian: Instructions file for Claude Code

CLAUDE.md

bite-ai-dietitian CLAUDE.md is an instructions file for Claude Code from aligundogdu/bite-ai-dietitian. It costs 1,960 tokens per session, scanned B, original, MIT.

Project instructions for an AI dietitian working in a Markdown-based personal nutrition journal. The repository may also contain separate Astro and Telegram bot applications, but everyday journal work stays in Markdown.

In plain words
What is it for?
Use them to maintain daily and weekly nutrition records, recipes, goals, kitchen information, meal plans, and related Markdown files within the journal’s rules.
Why use it?
They define the boundaries for safe work, including avoiding medical advice and keeping journal changes separate from optional software projects. They also describe how to use medication information when it exists.

Instructions file for Claude Code

Written for Claude Code: PreToolUse hook event. Also seen: reads .claude/ paths; mentions CLAUDE.md.

This is aligundogdu/bite-ai-dietitian's own configuration. It tells Claude Code how to work on bite-ai-dietitian 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 bite-ai-dietitian configures →

Reuse

Borrowing it

Nothing to install: this file belongs to aligundogdu/bite-ai-dietitian. 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/aligundogdu/bite-ai-dietitian/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/aligundogdu/bite-ai-dietitian

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 bite-ai-dietitian CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/aligundogdu/bite-ai-dietitian/claude-md/github.svg)](https://agentmods.dev/instructions/aligundogdu/bite-ai-dietitian/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/aligundogdu/bite-ai-dietitian/claude-md"><img src="https://agentmods.dev/badge/instructions/aligundogdu/bite-ai-dietitian/claude-md/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 bite-ai-dietitian CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/aligundogdu/bite-ai-dietitian/claude-md"><img src="https://agentmods.dev/badge/instructions/aligundogdu/bite-ai-dietitian/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,960 This file is loaded in full into every session.
When invoked 1,960 The same file — it is already loaded in full.
Security scan B 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.01960 $0.01960
Opus 5.5 $0.00784 $0.00784
Sonnet 5.5 $0.00392 $0.00392
Haiku 4.5 $0.00196 $0.00196

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

Security

Grade B, and why

bite-ai-dietitian CLAUDE.md scanned grade B 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 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.

Strips warnings and disclaimersmediumAnti-refusal

Omitting safety caveats hides risk from the user and is a common jailbreak preamble.

The user is an adult who can read numbers. Keep responses short. Don't lecture. Don't add disclaimers to every message. Don't repeat their situation back at them. When they log a meal, acknowledge and update the file — d
CLAUDE.md · 88 lines

How it starts

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

CLAUDE.md — Project Rules for the AI Dietitian

What this project is

This is a markdown-based personal nutrition journal. You (Claude) are the user's AI dietitian. You work entirely in markdown files. There is no codebase to modify under the journal root — only markdown content.

The bite/ subdirectory is an optional Astro web viewer with its own code. The bot/ subdirectory is an optional Telegram bot with its own code. Both are separate concerns; day-to-day dietitian work does not touch them.

Repeating workflows are skills in .claude/skills/: log-meal, weigh-in, weekly-retro, log-training, inbox. Use them; they hold the details this file only summarises.

Files you read

File When
PROFILE.md, GOALS.md before any advice
ASSUMPTIONS.md before any estimate; household defaults, food bases, rejected foods, timing rules
KITCHEN.md before suggesting any meal
MEASUREMENTS.md on weigh-ins and retros (private)
MEDICATIONS.md if it exists, as context only (private, git-ignored)

Core rules

  1. No code in the journal. Everything in the repo root, daily/, weekly/, recipes/, macros/, PROFILE.md, GOALS.md, KITCHEN.md, MEAL_PLAN.md is markdown. You create and edit markdown files; you do not write programs.

  2. No medical advice. The user is responsible for their own health decisions. If they describe a medical situation, encourage them to talk to a clinician. You can provide general nutritional information, not diagnoses or treatment.

    Medication context (optional): If MEDICATIONS.md exists at the repo root, read it at the start of a session and treat it as context, not as a prescription to reason about. Use it to:

    • respect meal timing (e.g. a med that needs to be taken with food);
    • factually flag documented food-medication interactions when they come up in meal suggestions (for example "this medication is typically not combined with grapefruit");
    • interpret daily logs correctly (e.g. low appetite in the morning is expected for this user).

Read the full file on GitHub · 88 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. 9d ago Changed · +31 lines · +774 tokens per session f5503388dea3
  2. 1mo ago First seen · 57 lines · 1,186 tokens per session scan B 605da953313d

Subscribe to this mod's changes

bite-ai-dietitian CLAUDE.md is an instructions file published in the GitHub repository aligundogdu/bite-ai-dietitian (5 stars, last pushed 9d ago), licensed MIT. It adds 1,960 tokens to every session, about $0.0078 per session on Opus 5.5. A static security scan graded it B with 1 finding (strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories