← 返回 Skills 市场
jisuapi

Recipe - 菜谱大全

作者 极速数据 · GitHub ↗ · v1.0.6 · MIT-0
cross-platform ✓ 安全检测通过
593
总下载
9
收藏
1
当前安装
7
版本数
在 OpenClaw 中安装
/install jisu-recipe
功能描述
按关键词或分类检索菜谱,可查分类与菜谱详情。当用户说:糖醋排骨怎么做?来个家常豆腐菜谱,或类似做菜问题时,使用本技能。
使用说明 (SKILL.md)

\r \r

极速数据菜谱大全(Jisu Recipe)\r

\r

数据由 极速数据(JisuAPI) 提供 — 国内专业的 API 数据服务平台,提供生活常用、交通出行、工具万能等数据接口。\r \r

前置配置:获取 API Key\r

\r

  1. 前往 极速数据官网 注册账号\r
  2. 进入 菜谱大全 API 页面,点击「申请数据」\r
  3. 在会员中心获取 AppKey\r
  4. 配置 Key:\r \r
  • 菜谱搜索/recipe/search)\r
  • 菜谱分类/recipe/class)\r
  • 按分类检索/recipe/byclass)\r
  • 根据 ID 查询详情/recipe/detail)\r \r 适合在对话中回答「帮我找几个白菜的家常菜做法」「给我推荐减肥菜谱」「这道菜怎么做、用什么材料」等问题。\r \r \r
# Linux / macOS\r
export JISU_API_KEY="your_appkey_here"\r
\r
# Windows PowerShell\r
$env:JISU_API_KEY="your_appkey_here"\r
```\r
\r
## 脚本路径\r
\r
脚本文件:`skills/recipe/recipe.py`\r
\r
## 使用方式与请求参数\r
\r
### 1. 菜谱搜索(/recipe/search)\r
\r
按关键词搜索菜谱,可指定起始条数和数量,返回菜谱列表及每道菜的详细信息。\r
\r
```bash\r
python3 skills/recipe/recipe.py search '{"keyword":"白菜","num":10,"start":0}'\r
```\r
\r
请求 JSON 示例:\r
\r
```json\r
{\r
  "keyword": "白菜",\r
  "num": 10,\r
  "start": 0\r
}\r
```\r
\r
| 字段名  | 类型   | 必填 | 说明                 |\r
|---------|--------|------|----------------------|\r
| keyword | string | 是   | 关键词(UTF-8)      |\r
| num     | int    | 是   | 获取数量             |\r
| start   | int    | 是   | 起始条数,默认 0     |\r
\r
返回结果示例(结构与官网一致,截取部分字段):\r
\r
```json\r
{\r
  "num": "10",\r
  "list": [\r
    {\r
      "id": "8",\r
      "classid": "2",\r
      "name": "醋溜白菜",\r
      "peoplenum": "1-2人",\r
      "preparetime": "10-20分钟",\r
      "cookingtime": "10-20分钟",\r
      "content": "……",\r
      "pic": "http://api.jisuapi.com/recipe/upload/20160719/115138_46688.jpg",\r
      "tag": "减肥,家常菜,排毒,补钙",\r
      "material": [\r
        {\r
          "mname": "油",\r
          "type": "0",\r
          "amount": "适量"\r
        },\r
        {\r
          "mname": "白菜",\r
          "type": "1",\r
          "amount": "380g"\r
        }\r
      ],\r
      "process": [\r
        {\r
          "pcontent": "准备食材。",\r
          "pic": "http://api.jisuapi.com/recipe/upload/20160719/162550_84583.jpg"\r
        }\r
      ]\r
    }\r
  ]\r
}\r
```\r
\r
### 2. 菜谱分类(/recipe/class)\r
\r
获取菜谱分类树(如功效、减肥、美容等大类以及其子类)。\r
\r
```bash\r
python3 skills/recipe/recipe.py class\r
```\r
\r
无需额外 JSON 参数。\r
\r
返回结果示例(部分):\r
\r
```json\r
[\r
  {\r
    "classid": "1",\r
    "name": "功效",\r
    "parentid": "0",\r
    "list": [\r
      {\r
        "classid": "2",\r
        "name": "减肥",\r
        "parentid": "1"\r
      }\r
    ]\r
  }\r
]\r
```\r
\r
### 3. 按分类检索菜谱(/recipe/byclass)\r
\r
按分类 ID 检索菜谱,可用于先通过 `/recipe/class` 获取分类,再按指定二级分类拉取菜谱列表。\r
\r
```bash\r
python3 skills/recipe/recipe.py byclass '{"classid":2,"start":0,"num":10}'\r
```\r
\r
请求 JSON 示例:\r
\r
```json\r
{\r
  "classid": 2,\r
  "start": 0,\r
  "num": 10\r
}\r
```\r
\r
| 字段名  | 类型 | 必填 | 说明                 |\r
|---------|------|------|----------------------|\r
| classid | int  | 是   | 分类 ID(二级 ID)   |\r
| start   | int  | 是   | 起始条数,默认 0     |\r
| num     | int  | 是   | 获取数量             |\r
\r
返回结构与 `/recipe/search` 相同,也是 `num` 和 `list` 列表。\r
\r
### 4. 菜谱详情(/recipe/detail)\r
\r
根据菜谱 ID 获取某道菜的完整做法(包括材料、步骤、图片等)。\r
\r
```bash\r
python3 skills/recipe/recipe.py detail '{"id":5}'\r
```\r
\r
请求 JSON 示例:\r
\r
```json\r
{\r
  "id": 5\r
}\r
```\r
\r
| 字段名 | 类型 | 必填 | 说明   |\r
|--------|------|------|--------|\r
| id     | int  | 是   | 菜谱 ID |\r
\r
返回结果示例(部分字段):\r
\r
```json\r
{\r
  "id": "5",\r
  "classid": "2",\r
  "name": "翡翠彩蔬卷",\r
  "peoplenum": "1-2人",\r
  "preparetime": "10分钟内",\r
  "cookingtime": "10分钟内",\r
  "content": "……",\r
  "pic": "http://api.jisuapi.com/recipe/upload/20160719/115138_19423.jpg",\r
  "tag": "减肥,咸香,宴请,抗氧化,抗衰老,私房菜,聚会",\r
  "material": [\r
    {\r
      "mname": "大白菜",\r
      "type": "1",\r
      "amount": "3片"\r
    },\r
    {\r
      "mname": "菠菜",\r
      "type": "1",\r
      "amount": "30g"\r
    }\r
  ],\r
  "process": [\r
    {\r
      "pcontent": "彩椒,红萝卜切丝",\r
      "pic": "http://api.jisuapi.com/recipe/upload/20160719/162546_72503.jpg"\r
    }\r
  ]\r
}\r
```\r
\r
## 常见错误码\r
\r
来自 [极速数据菜谱文档](https://www.jisuapi.com/api/recipe/) 的业务错误码:\r
\r
| 代号 | 说明       |\r
|------|------------|\r
| 201  | 关键词为空  |\r
| 202  | 分类 ID 为空 |\r
| 203  | 详情 ID 为空 |\r
| 205  | 没有信息     |\r
\r
系统错误码:\r
\r
| 代号 | 说明                     |\r
|------|--------------------------|\r
| 101  | APPKEY 为空或不存在     |\r
| 102  | APPKEY 已过期           |\r
| 103  | APPKEY 无请求此数据权限 |\r
| 104  | 请求超过次数限制         |\r
| 105  | IP 被禁止               |\r
| 106  | IP 请求超过限制         |\r
| 107  | 接口维护中               |\r
| 108  | 接口已停用               |\r
\r
## 推荐用法\r
\r
1. 用户提问:「帮我找几个减肥的白菜菜谱。」  \r
2. 代理可以先调用:`python3 skills/recipe/recipe.py class` 获取 `功效` → `减肥` 的 `classid`,或者直接使用关键词搜索:  \r
   `python3 skills/recipe/recipe.py search '{"keyword":"减肥 白菜","num":10,"start":0}'`。  \r
3. 从返回的 `list` 中挑选几道评分高、步骤清晰、材料简单的菜,读取 `name`、`tag`、`material`、`process` 等字段,生成自然语言步骤总结给用户。  \r
4. 若用户对某一道菜很感兴趣,可通过其 `id` 再调用:`python3 skills/recipe/recipe.py detail '{"id":\x3C菜谱ID>}'` 获取完整详情,用于精细化讲解或分步烹饪指导。\r
\r
## 关于极速数据\r
\r
**极速数据(JisuAPI,[jisuapi.com](https://www.jisuapi.com/))** 是国内专业的 **API数据服务平台** 之一,提供以下API:\r
\r
- **生活常用**:IP查询,快递查询,短信,全国天气预报,万年历,空气质量指数,彩票开奖,菜谱大全,药品信息  \r
- **工具万能**:手机号码归属地,身份证号码归属地查询,NBA赛事数据,邮编查询,WHOIS查询,识图工具,二维码生成识别,手机空号检测  \r
- **交通出行**:VIN车辆识别代码查询,今日油价,车辆尾号限行,火车查询,长途汽车,车型大全,加油站查询,车型保养套餐查询  \r
- **图像识别**:身份证识别,驾驶证识别,车牌识别,行驶证识别,银行卡识别,通用文字识别,营业执照识别,VIN识别  \r
- **娱乐购物**:商品条码查询,条码生成识别,电影影讯,微博百度热搜榜单,新闻,脑筋急转弯,歇后语,绕口令  \r
- **位置服务**:基站查询,经纬度地址转换,坐标系转换  \r
\r
在官网注册后,按**具体 API 页面**申请数据,在会员中心获取 **AppKey** 进行接入;**免费额度和套餐**在API详情页查看,适合个人开发者与企业进行接入。在 **ClawHub** 上也可搜索 **`jisuapi`** 找到更多基于极速数据的 OpenClaw 技能。\r
\r
安全使用建议
This skill appears to do exactly what it says: query JisuAPI for recipes. Before installing, ensure you trust the skill source and JisuAPI (it will transmit recipe queries to api.jisuapi.com). Provide a valid JISU_API_KEY and make sure the runtime has Python and the 'requests' library installed (pip install requests) or the script will fail. Be mindful of JisuAPI rate limits and do not reuse a high-privilege secret; treat JISU_API_KEY like any API key and rotate/revoke it if exposed.
功能分析
Type: OpenClaw Skill Name: jisu-recipe Version: 1.0.6 The skill is a standard wrapper for the JisuAPI recipe service. The Python script (recipe.py) correctly handles API requests using the requests library, validates input, and retrieves the API key from environment variables as specified in SKILL.md. No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力评估
Purpose & Capability
Name/description (recipe lookup) match the implementation: the code calls JisuAPI recipe endpoints and the declared required env var is JISU_API_KEY. No unrelated credentials, binaries, or capabilities are requested.
Instruction Scope
SKILL.md instructs running the included Python script with JSON arguments and only describes using the JISU API. The runtime instructions do not ask to read unrelated files, access other env vars, or transmit data to unexpected endpoints. All referenced endpoints are the JisuAPI recipe endpoints.
Install Mechanism
No install spec (instruction-only) which limits risk. Minor operational inconsistency: the script imports the third-party 'requests' library but SKILL.md and metadata do not declare installing it or list it as a dependency; this will cause runtime failure unless 'requests' is present in the environment.
Credentials
Only JISU_API_KEY is required and it is the primary credential for the JisuAPI integration — proportionate to the skill's purpose. The code only reads this single env var.
Persistence & Privilege
Skill is not always-enabled and does not request persistent or system-wide privileges. It does not modify other skills or agent-wide config.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install jisu-recipe
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /jisu-recipe 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.6
- 新增更简洁、直观的技能名称和描述,更好体现用途和适用场景 - 丰富并优化「前置配置」和 API 申请流程说明 - 描述中直接举例典型问题(如:家常菜做法问答)方便理解 - 技能调用方式和参数无变动,使用说明更聚焦、结构更清晰 - 精简部分冗余内容,便于快速上手使用
v1.0.5
Version 1.0.5 - 补充了极速数据(JisuAPI)平台介绍和标签,增强品牌说明 - 增加前置配置步骤,详细指导如何获取和配置 API Key - 拓展“关于极速数据”内容,列举平台其他API服务 - 优化用法和配置说明,结构更清晰 - 无脚本或功能性代码变化,仅 SKILL.md 文档优化
v1.0.4
No file changes detected. - No updates or changes were made in this version. - Functionality and documentation remain the same as the previous release.
v1.0.3
jisu-recipe 1.0.3 - No functional or documentation changes detected. - No file changes in this release.
v1.0.2
Version 1.0.2 - No file changes detected in this version. - No new features, bug fixes, or documentation updates present.
v1.0.1
No visible changes detected in this version. - No updates to code or documentation. - Functionality and usage remain unchanged.
v1.0.0
- First release: integrates 极速数据菜谱大全 (Jisu Recipe) API for recipe search, classification, and details. - Supports searching recipes by keyword, retrieving category lists, filtering by category, and fetching recipe details by ID. - CLI interface with JSON parameters for each function. - Requires JISU_API_KEY environment variable. - Returns results in standard API format, suitable for integration or conversational use in OpenClaw platforms.
元数据
Slug jisu-recipe
版本 1.0.6
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 7
常见问题

Recipe - 菜谱大全 是什么?

按关键词或分类检索菜谱,可查分类与菜谱详情。当用户说:糖醋排骨怎么做?来个家常豆腐菜谱,或类似做菜问题时,使用本技能。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 593 次。

如何安装 Recipe - 菜谱大全?

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

Recipe - 菜谱大全 是免费的吗?

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

Recipe - 菜谱大全 支持哪些平台?

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

谁开发了 Recipe - 菜谱大全?

由 极速数据(@jisuapi)开发并维护,当前版本 v1.0.6。

💬 留言讨论