explaingit

chefkannofriend-source/lcb-baker-agent

Analysis updated 2026-05-18

121PythonAudience · generalComplexity · 2/5LicenseSetup · easy

TLDR

A Claude Code subagent that looks up pastry recipes, answers baking science questions, and calculates Baker's Percentage to scale recipes to any batch size.

Mindmap

mindmap
  root((Baker Agent))
    What it does
      Recipe lookup
      Bakers percentage math
      Recipe scaling
      Pastry technique Q&A
    Setup
      Copy agent definition
      Copy scripts and data
      Add own recipes
    Knowledge base
      Ganache ratios
      Mousse stability
      Meringue types
    Tools
      Claude Code subagent
      Standalone CLI script
    Tech stack
      Python

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Ask Claude Code to scale a brioche recipe to a specific amount of flour and get exact ingredient weights back

USE CASE 2

Look up which recipes in the library use a particular ingredient, such as gelatin or praline

USE CASE 3

Get an answer to a pastry science question, like why a mousse might be unstable, from the built in knowledge base

USE CASE 4

Calculate Baker's Percentage for a recipe from the command line without using Claude Code at all

What is it built with?

PythonClaude CodeMarkdown

How does it compare?

chefkannofriend-source/lcb-baker-agent2417467487-hub/worldcuproinabilaziz99/agent-runtime
Stars121121121
LanguagePythonPythonPython
Setup difficultyeasymoderatemoderate
Complexity2/54/54/5
Audiencegeneralpm founderdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Requires Python 3.9+ and the Claude Code CLI, recipe files must be supplied by the user.

The code is free to use, modify, and distribute, including commercially, as long as you keep the copyright notice, the recipe files themselves are not included and may carry separate copyright.

In plain English

LCB Baker Agent is a subagent for Claude Code, the AI coding assistant, that specializes in pastry recipes and a baking calculation method called Baker's Percentage. It is built around a recipe library styled after Le Cordon Bleu training material, with recipes written in both French and Chinese. The agent can look up a recipe by name in either language, or find every recipe in the library that uses a particular ingredient. Its main calculation feature is Baker's Percentage, which expresses every ingredient in a recipe as a percentage of one base ingredient, usually flour for bread and brioche, or chocolate for ganache. This makes it easy to compare recipes and to scale a formula up or down to a different batch size while keeping the same ratios. Beyond calculations, the agent also answers pastry science questions using a curated knowledge base covering topics like ganache ratios, mousse stability, meringue types, caramel temperatures, and choux pastry leavening. Setting it up means copying an agent definition file into a project's Claude Code agents folder, or into a global folder to make it available everywhere, then copying over the included scripts and recipe data folders. A person adds their own recipes as markdown files with a small metadata header, following one of two supported formats, a bilingual ingredient table or a simple bullet list. Once installed, Claude Code automatically routes pastry related questions to this agent, so a user can simply ask things like how to scale a brioche recipe to a specific amount of flour, or what ratio of cream to chocolate makes a good ganache. There is also a standalone command line script that works without Claude Code at all, letting someone search recipes, look up an ingredient, calculate Baker's Percentage for a recipe file, or scale a recipe to a target weight directly from the terminal. It requires only Python 3.9 or newer, with no external dependencies. The project code is released under the MIT license, though the README notes that the actual recipe files are not included in the repository, since recipes sourced from culinary schools or cookbooks may carry their own copyright.

Copy-paste prompts

Prompt 1
Set up the LCB Baker Agent in my project by copying agents/baker.md into .claude/agents and the scripts and data folders alongside it.
Prompt 2
Help me write a new recipe markdown file in the bilingual table format so the Baker Agent can calculate its Baker's Percentage.
Prompt 3
Ask the Baker Agent to scale this brioche recipe to 2000 grams of flour.
Prompt 4
Explain what ratio of chocolate to cream the Baker Agent's knowledge base recommends for a stable ganache.

Frequently asked questions

What is lcb-baker-agent?

A Claude Code subagent that looks up pastry recipes, answers baking science questions, and calculates Baker's Percentage to scale recipes to any batch size.

What language is lcb-baker-agent written in?

Mainly Python. The stack also includes Python, Claude Code, Markdown.

What license does lcb-baker-agent use?

The code is free to use, modify, and distribute, including commercially, as long as you keep the copyright notice, the recipe files themselves are not included and may carry separate copyright.

How hard is lcb-baker-agent to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is lcb-baker-agent for?

Mainly general.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.