← 返回 Skills 市场
bytesagain-lab

Chefpad

作者 bytesagain-lab · GitHub ↗ · v2.0.1 · MIT-0
cross-platform ⚠ suspicious
369
总下载
0
收藏
1
当前安装
9
版本数
在 OpenClaw 中安装
/install chefpad
功能描述
Manage recipes and grocery lists with ingredient tracking and meal plans. Use when adding recipes, searching by ingredient, or building shopping lists.
使用说明 (SKILL.md)

ChefPad — Recipe Manager

A local-first recipe management tool. Add recipes with cuisine and cooking time, build ingredient lists and step-by-step instructions, rate your favorites, search by keyword or ingredient, and get random meal suggestions — all from the command line.

Commands

Command Description
chefpad add \x3Cname> [cuisine] [mins] Add a new recipe with optional cuisine type and cooking time (default: general, 30min)
chefpad ingredient \x3Cid> \x3Ctext> Add an ingredient to an existing recipe by its ID
chefpad step \x3Cid> \x3Ctext> Add a cooking step to an existing recipe by its ID
chefpad list List all saved recipes with ratings, ingredient and step counts
chefpad show \x3Cid> Show full recipe details — ingredients, steps, cuisine, time, rating
chefpad search \x3Ckeyword> Search recipes by name, cuisine, or ingredient
chefpad rate \x3Cid> \x3C1-5> Rate a recipe from 1 to 5 stars
chefpad random Get a random recipe suggestion from your collection
chefpad suggest \x3Cingredients...> Find recipes that match the ingredients you have on hand
chefpad info Show version and branding info
chefpad help Show all available commands

Data Storage

  • Location: ~/.chefpad/
  • recipes.json — Stores all recipes with their ingredients, steps, ratings, cuisine, and cooking time
  • favorites.json — Reserved for favorite recipe tracking
  • Both files are auto-created as empty JSON arrays on first run
  • All data is stored locally as JSON — no external APIs, no network calls, no accounts needed

Requirements

  • bash (any modern version)
  • python3 (standard library only — uses json, time, random)
  • No external dependencies or API keys required

When to Use

  1. Building a personal recipe collection — Add recipes you discover or create, complete with ingredients and step-by-step instructions, all stored locally.
  2. Meal planning with what you have — Use suggest with ingredients in your fridge to find matching recipes from your collection.
  3. Quick dinner decisions — Use random when you can't decide what to cook and want a surprise pick from your saved recipes.
  4. Searching by cuisine or ingredient — Quickly find all Italian recipes or everything that uses chicken with the search command.
  5. Rating and tracking favorites — Rate recipes after cooking them to build a curated list of your best dishes over time.

Examples

# Add a new recipe
chefpad add "Kung Pao Chicken" chinese 25

# Add ingredients to the recipe (use the ID shown after adding)
chefpad ingredient 1710000000 "500g chicken breast, diced"
chefpad ingredient 1710000000 "100g roasted peanuts"
chefpad ingredient 1710000000 "3 dried chili peppers"
chefpad ingredient 1710000000 "2 tbsp soy sauce"

# Add cooking steps
chefpad step 1710000000 "Marinate chicken with soy sauce for 15 minutes"
chefpad step 1710000000 "Stir-fry chicken until golden, set aside"
chefpad step 1710000000 "Fry chili peppers, add chicken and peanuts, toss"

# List all your recipes
chefpad list

# Show full recipe details
chefpad show 1710000000

# Rate a recipe
chefpad rate 1710000000 5

# Search for chicken recipes
chefpad search chicken

# Find recipes matching ingredients you have
chefpad suggest chicken peanuts

# Get a random meal suggestion
chefpad random

Powered by BytesAgain | bytesagain.com | [email protected]

安全使用建议
This skill appears to be a straightforward, local-only recipe manager. Before installing or running the script, inspect the scripts/script.sh file (already included) and consider: it will create ~/.chefpad/recipes.json and favorites.json and update them in place, so back up any existing ~/.chefpad directory first. There are minor metadata inconsistencies (SKILL.md uses 'cooking-recipe' in header and _meta.json ownerId differs from registry ownerId) that look like packaging oversights — not malicious, but verify you trust the GitHub source before use. If you plan to add this as a system-wide CLI, place the script in a location you control and review file permissions.
功能分析
Type: OpenClaw Skill Name: chefpad Version: 2.0.1 The skill contains multiple critical command injection vulnerabilities in `scripts/script.sh` where shell variables (e.g., `$name`, `$ingredient`, `$query`) are directly interpolated into Python heredocs without any escaping or sanitization. While the logic appears to be a legitimate recipe manager and lacks evidence of intentional data exfiltration or backdoors, these flaws allow for arbitrary Python code execution if the agent processes untrusted input. The data is stored locally in `~/.chefpad/` and no network activity was detected.
能力评估
Purpose & Capability
Name/description (recipe manager, grocery lists, meal plans) match the included shell script and README: commands implement add, ingredient, step, list, show, search, rate, random, suggest. Required tools (bash, python3) are appropriate and proportionate.
Instruction Scope
SKILL.md instructions and the script operate only on local files in $HOME/.chefpad and stdout. There are no instructions to read unrelated system paths, access network endpoints, or exfiltrate data. The behavior described in SKILL.md (no external APIs, local JSON storage) aligns with the script.
Install Mechanism
No install spec is provided (instruction-only); the package includes a shell script. Nothing is downloaded or extracted at install time. Low install-surface risk.
Credentials
The skill requests no environment variables or credentials. It writes only to ~/.chefpad/recipes.json and favorites.json. Using $HOME for storage is expected for a local CLI tool.
Persistence & Privilege
always is false and the skill does not request persistent elevated privileges or modify other skills or system-wide agent settings. Its runtime footprint is limited to creating and updating files under the user's home directory.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install chefpad
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /chefpad 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.1
update
v2.0.0
v2.5 standard: Use-when desc, homepage, source, security fix
v1.0.6
yaml-fix+quality
v1.0.5
yaml-fix+quality
v1.0.4
Quality upgrade
v1.0.3
Quality upgrade: custom functionality
v1.0.2
Standards compliance: unique content, no template text
v1.0.1
Quality fix: cleaner docs, removed flags
v1.0.0
Initial release
元数据
Slug chefpad
版本 2.0.1
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 9
常见问题

Chefpad 是什么?

Manage recipes and grocery lists with ingredient tracking and meal plans. Use when adding recipes, searching by ingredient, or building shopping lists. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 369 次。

如何安装 Chefpad?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install chefpad」即可一键安装,无需额外配置。

Chefpad 是免费的吗?

是的,Chefpad 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Chefpad 支持哪些平台?

Chefpad 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Chefpad?

由 bytesagain-lab(@bytesagain-lab)开发并维护,当前版本 v2.0.1。

💬 留言讨论