agentleFS
cooklangcooklang/cooklang-skills/AGENTS.md

cooklang-skills

AGENTS.md9 starsChanged 38 days agoMITView on GitHub

This folder may hold recipes written in Cooklang, a plain-text recipe format. The cook MCP server (npx -y @cookmd/mcp@0.2.3) reads, searches, validates and writes these files. Prefer its tools over editing by hand or doing arithmetic yourself: The recipe folder is COOK_RECIPES_DIR, else the workspace folder the client reports, else the folder the server was started in (never /, the home folder or a plugin install folder). If the tools say no recipe folder is set, ask the user for…

The file

We split this AGENTS.md into the rules it gives an agent

3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    read and find: list_recipes, read_recipe (with scaling), search_recipes

    line 14
  2. Very specific:

    check and save: validate, then write_recipe / write_menu / write_config (writes are validated and stay inside the recipe folder)

    line 15
  3. Very specific:

    import and report: import_recipe, render_report

    line 17

≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Cooklang

This folder may hold recipes written in Cooklang, a plain-text recipe format.

  • .cook files are recipes. Ingredients are @name{qty%unit}, cookware #name{}, timers ~{qty%unit}, sections = Name, notes > text.
  • .menu files are meal plans that reference recipes.
  • config/aisle.conf groups shopping-list items by store aisle; config/pantry.conf is the pantry inventory.
  • Metadata (title, servings, tags, times, source) is YAML frontmatter between --- lines at the top of the file. Never write the deprecated >> metadata lines; convert any you find to frontmatter.

Use the Cook MCP server

The cook MCP server (npx -y @cookmd/mcp@0.2.3) reads, searches, validates and writes these files. Prefer its tools over editing by hand or doing arithmetic yourself:

  • read and find: list_recipes, read_recipe (with scaling), search_recipes
  • check and save: validate, then write_recipe / write_menu / write_config (writes are validated and stay inside the recipe folder)
  • plan and shop: shopping_list (merges, groups by aisle, subtracts the pantry), pantry_*
  • import and report: import_recipe, render_report
  • nutrition (get_nutrition, aggregate_nutrition, ...) and photo or social-link import need a cook.md login on Cook Basic or Pro; login and auth_status handle that. Never estimate nutrition from memory.

The recipe folder is COOK_RECIPES_DIR, else the workspace folder the client reports, else the folder the server was started in (never /, the home folder or a plugin install folder). If the tools say no recipe folder is set, ask the user for the path and have them set COOK_RECIPES_DIR in the server config. If the cook tools are missing, tell the user to add the server (see https://github.com/cooklang/cooklang-skills).

Skills

Each task below has a skill with a step-by-step guide (installed with the plugin or extension; the source is skills/<name>/SKILL.md in this repo). Use the matching skill before starting:

SkillUse it for
cooklang-editingWrite a new recipe or edit and fix a .cook file
cooklang-validationCheck recipes, a folder or the whole collection for errors
metadataAdd or fix YAML frontmatter, including bulk changes
recipe-importImport a recipe from a URL, photos or pasted text
recipe-searchFind recipes by ingredient, tag, cuisine or a remembered phrase
scale-recipeShow a recipe for more or fewer servings
export-recipeTurn a recipe into Markdown, JSON, plain text or HTML
organize-collectionFolder layout, metadata audit, aisle and pantry config
meal-planningBuild or edit a .menu meal plan
shopping-listShopping lists from recipes or plans
pantryStock, expiry, low items; what can I cook now
report-authoringCustom Jinja reports with render_report
nutrition-reportsNutrition evaluation and screening (Cook Basic or Pro)
nutrition-goalsChange a recipe or plan to hit nutrition targets (Cook Basic or Pro)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.