← 返回 Skills 市场
xiaoxiangxie

Cook Like Hoc

作者 就是祥子 · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
93
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install cook-like-hoc
功能描述
Search and display recipes from the open-source Gar-b-age/CookLikeHOC repository. Use when the user asks to "cook like hoc", "像老乡鸡那样做饭", "老乡鸡菜谱", "做菜", or wa...
使用说明 (SKILL.md)

CookLikeHOC Skill

This skill allows you to retrieve recipe instructions from the CookLikeHOC repository. It contains recipes from the "老乡鸡菜品溯源报告".

Prerequisites

  • Python 3 installed
  • Built-in urllib and json modules (no external libraries required)

Workflows

1. Searching for a Recipe

When the user asks for a recipe or wants to know how to cook a dish from the CookLikeHOC database, run the search_recipe.py script.

Command:

python ~/.agents/skills/cook-like-hoc/scripts/search_recipe.py "\x3CRecipe Name>"

Example:

python ~/.agents/skills/cook-like-hoc/scripts/search_recipe.py "肥肠鸡"

How to handle the output

  • The Python script performs fuzzy matching. It will return the markdown recipe for the exact or closest match.
  • Output the recipe to the user, formatting it cleanly as markdown.
  • If it says Could not find any recipe matching, inform the user that the recipe isn't in the database and perhaps suggest one from the provided examples.

Supported categories & recipes

The repository has categories like 主食 (Staple Food), 炒菜 (Stir-fried), 汤 (Soup), 炖菜 (Stew), 炸品 (Fried), 烤类 (Roasted), 烫菜 (Blanched), 煮锅 (Boiled Pots), 砂锅菜 (Casserole), 蒸菜 (Steamed), 配料 (Ingredients), and 饮品 (Drinks). The script searches across all markdown files in these categories automatically.

安全使用建议
This skill is coherent for fetching recipes from the referenced GitHub repo. Before installing, be aware that: (1) the script makes outbound HTTP(S) requests to api.github.com and to jsDelivr (fastly.jsdelivr.net) to list and fetch files; (2) if you have a GITHUB_TOKEN environment variable set, the script will read it and use it in an Authorization header to GitHub (this is optional and used only to raise API rate limits) — remove or limit that token if you don't want it used; (3) the script writes a local cache file (recipe_tree_cache.json) inside the skill directory and may update it. If those behaviors are acceptable, the skill appears safe and consistent with its description. If you want extra caution, inspect the included files yourself or run the script in a sandboxed environment (no token, restricted network) first.
功能分析
Type: OpenClaw Skill Name: cook-like-hoc Version: 1.0.1 The skill is designed to search and retrieve recipes from a specific open-source GitHub repository (Gar-b-age/CookLikeHOC). The Python script `scripts/search_recipe.py` uses standard libraries to fetch file lists via the GitHub API and content via the jsDelivr CDN, including a legitimate check for a `GITHUB_TOKEN` environment variable to handle API rate limits. No evidence of malicious intent, data exfiltration, or unauthorized execution was found.
能力评估
Purpose & Capability
Name/description match implementation: the script fetches the repo tree from GitHub and recipe markdown via the jsDelivr CDN and returns recipe content. The requested capabilities (network fetches of the repository) are appropriate for the stated purpose and there are no unrelated credentials or binaries required.
Instruction Scope
SKILL.md instructs the agent to run the included Python script from the skill folder. The script only reads/writes a cache file inside the skill directory, queries the GitHub tree API, and fetches raw markdown via jsDelivr. It does not attempt to read unrelated system files or send data to unexpected endpoints.
Install Mechanism
No install spec; this is instruction/code-only. There are no remote installers or downloads performed by an installer step. The only network activity is the script fetching repository data at runtime (GitHub API and jsDelivr), which is expected.
Credentials
The script will optionally read a GITHUB_TOKEN environment variable (os.environ.get('GITHUB_TOKEN')) and add it to the Authorization header to increase API rate limits. The skill metadata does not declare any required env vars. This is plausible for the purpose but worth noting: if a token is present it will be sent to api.github.com (normal GitHub usage).
Persistence & Privilege
always:false and no system-wide config changes. The script writes/updates a cache file (recipe_tree_cache.json) within the skill's scripts directory only; it does not modify other skills or global agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install cook-like-hoc
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /cook-like-hoc 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Update readme
v1.0.0
Initial publish
元数据
Slug cook-like-hoc
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Cook Like Hoc 是什么?

Search and display recipes from the open-source Gar-b-age/CookLikeHOC repository. Use when the user asks to "cook like hoc", "像老乡鸡那样做饭", "老乡鸡菜谱", "做菜", or wa... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 93 次。

如何安装 Cook Like Hoc?

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

Cook Like Hoc 是免费的吗?

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

Cook Like Hoc 支持哪些平台?

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

谁开发了 Cook Like Hoc?

由 就是祥子(@xiaoxiangxie)开发并维护,当前版本 v1.0.1。

💬 留言讨论