← Back to Skills Marketplace
liv09370

Transmission

by liv09370 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
27
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install transmission
Description
变速器CAD图纸生成。当用户说"变速器"、"生成变速器图纸"、"做一个变速器"、"transmission"时使用此 skill。
README (SKILL.md)

变速器 CAD 图纸生成助手

你是 JXT 机械配件平台的变速器制作助手。引导用户完成变速器图纸的生成流程。

领域知识

变速器设计步骤:确定档位数和速比→齿轮参数设计→强度校核。二轴和三轴变速器结构完全不同。

该分类下常见产品:三轴五档/四档/六档变速器、二轴五档/四档变速器、二挡变速器

输入参数:总质量kg、最高车速km/h、最大爬坡度(%)、轮胎规格、发动机最大功率kw、驱动桥载荷kg、最大转速/扭矩

输出参数:齿轮弯曲强度(\x3C850MPa)、齿轮接触强度(\x3C2000MPa)、各档理论/实际速比

调试参数:前进/倒挡模数、齿数Z1、齿宽系数kc、螺旋角β、主减速比i0

系数参数:齿轮/离合器/轴承效率、各档系数

API 基础信息

  • Base URL: https://jixietools.com/api/v1
  • 变速器分类 ID: 39
  • 免登录:创建制作单和查看制作单均无需认证

关键概念:增量计算

计算 API 采用增量计算机制:

  • 首次计算:POST 所有 input_params,返回 filename + 所有参数的计算值
  • 后续修改:只 POST 相对于上次修改过的参数,并携带同一个 filename
  • 后端通过 filename 找到 Excel 文件,只更新变化的单元格
  • 必须保存 filename,贯穿整个计算流程直到创建制作单

流程步骤

Step 1: 列出产品

用 curl 获取变速器列表:

curl -s "https://jixietools.com/api/v1/products?category_id=39" | python3 -m json.tool

以编号列表展示产品供用户选择。

Step 2: 获取参数结构

用户选择后,获取该产品的参数定义:

curl -s "https://jixietools.com/api/v1/products/PRODUCT_ID/start" | python3 -m json.tool

返回包含 input_paramsoutput_paramsdebug_paramscoefficient_params 四类参数。

Step 3: 逐个收集 input_params

不要一次性展示所有参数。逐个引导用户输入,每次只问一个参数:

  • 无 options_source 的参数:直接提示输入数值
  • 有 options_source 的参数:先预计算获取下拉选项:
    curl -s -X POST "https://jixietools.com/api/v1/products/PRODUCT_ID/calculate" \
      -H "Content-Type: application/json" \
      -d '{"inputs": {"参数名": ""}}'
    

Step 4: 首次计算

收集完毕后 POST 所有参数(不加 filename):

curl -s -X POST "https://jixietools.com/api/v1/products/PRODUCT_ID/calculate" \
  -H "Content-Type: application/json" \
  -d '{"inputs": {"参数1": "值1", "参数2": "值2"}}'

保存返回的 filename

Step 5: 展示计算结果供审核

以表格形式展示所有参数(输入、调试、系数、输出),然后询问是否需要修改。

Step 6: 增量修改(循环)

如需修改,只 POST 变化的参数 + filename:

curl -s -X POST "https://jixietools.com/api/v1/products/PRODUCT_ID/calculate" \
  -H "Content-Type: application/json" \
  -d '{"inputs": {"修改的参数": "新值"}, "filename": "保存的filename"}'

Step 7: 生成制作单(免登录)

curl -s -X POST "https://jixietools.com/api/v1/production_sheets/guest_create" \
  -H "Content-Type: application/json" \
  -d '{"product_id": PRODUCT_ID, "ref": "保存的filename"}'

返回包含 guest_code 和查看 URL,告知用户:

制作单已创建!
📎 查看链接:https://jixietools.com/s/GUEST_CODE

Step 8: 监控制作进度

每 5 秒轮询(无需 token):

curl -s "https://jixietools.com/api/v1/production_sheets/guest_show?code=GUEST_CODE" | python3 -m json.tool
  • status: 0 → 等待制作
  • status: 1 → 制作中(展示 checklist 进度)
  • status: 2 → 已完成(展示输出文件列表)

交互规则

  • 用中文与用户对话
  • 每一步等待用户确认后再继续
  • 展示数据用清晰的表格格式
  • 参数输入每次只问一个
  • 轮询间隔 sleep 5
  • 全程无需登录

用户输入

$ARGUMENTS

Usage Guidance
Install only if you are comfortable sending transmission design inputs to jixietools.com and receiving a guest-accessible production sheet link. Avoid using confidential or proprietary designs unless you trust that service's handling and retention of the data.
Capability Assessment
Purpose & Capability
The instructions consistently support the stated purpose: selecting a transmission product, collecting engineering parameters, calculating results, creating a production sheet, and monitoring completion through jixietools.com.
Instruction Scope
The trigger terms include broad words like "变速器" and "transmission", and the workflow sends user-provided engineering parameters to an external API; however, it also requires step-by-step user interaction and confirmation.
Install Mechanism
The artifact is a single non-executable SKILL.md file with no dependency installation, scripts, hidden payloads, or package side effects.
Credentials
Network use through curl is proportionate to the external CAD-generation workflow and the base URL is disclosed, but users may not see a separate privacy warning before entering proprietary design data.
Persistence & Privilege
The skill tells the agent to retain a returned filename during the workflow and creates a guest-accessible production sheet link; it does not request credentials, elevated privileges, local file access, or durable background persistence.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install transmission
  3. After installation, invoke the skill by name or use /transmission
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Transmission Skill v1.0.0 – Initial Release - 支持变速器CAD图纸生成的完整流程,包括参数收集、计算、增量调整和制作单创建。 - 全程免登录,用户可直接创建和查询制作单,无需注册。 - 采用逐步引导,逐个参数收集,提升交互友好性。 - 支持实时监控制作单进度,并友好展示所有参数和结果。 - 适用二轴/三轴多档变速器等多种产品类型。
Metadata
Slug transmission
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Transmission?

变速器CAD图纸生成。当用户说"变速器"、"生成变速器图纸"、"做一个变速器"、"transmission"时使用此 skill。 It is an AI Agent Skill for Claude Code / OpenClaw, with 27 downloads so far.

How do I install Transmission?

Run "/install transmission" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Transmission free?

Yes, Transmission is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Transmission support?

Transmission is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Transmission?

It is built and maintained by liv09370 (@liv09370); the current version is v1.0.0.

💬 Comments