Token导航 LogoToken导航TokenDH.com
效率操作浏览器clawhub未标认证来源可访问clear审计通过

agentcadagentcad 效率

Agent Skill

agentcad 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 OpenClaw 中需要维护前端项目、生成组件或检查界面实现时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,633

周安装

199

GitHub Stars

1

下载量

1,624
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:agentcad(agentcad 效率)
来源仓库:https://github.com/jdilla1277/agentcad
安装命令:
openclaw skills install agentcad
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install agentcad

简介

用于执行 CadQuery Python 脚本生成 STEP 文件。

  • 适合 AI 代理进行 3D 建模与设计任务。
  • 支持参数化建模与几何对象构建。agentcad 属于效率类 Skill,可作为该场景下的辅助能力补充。
  • 安装命令:openclaw skills install agentcad。
  • 注意依赖环境配置与输出文件存储路径。

SKILL.md

name
agentcad
description
CAD tool for AI agents. Use when the user asks you to design, model,
compatibility
Requires Python 3.10-3.12 and agentcad installed (pip install agentcad).
allowed-tools
Bash(agentcad:*)
version
0.1.6
metadata
openclaw
requires
bins
anyBins

agentcad — CAD tool for AI agents

You have access to agentcad, a CLI that turns CadQuery Python scripts into 3D geometry. All output is JSON. Every command returns "command" and "status" keys.

First-time setup

agentcad init --name <project_name>
agentcad --help   # Read this — it is your complete operational briefing

Core workflow

  1. Write a script. No imports needed — cq, show_object, and all helpers

are pre-injected. show_object(result) is required.

  1. Dry-run first to check metrics without consuming a version:
   agentcad run script.py --output test --dry-run

Check volume, dimensions, is_valid in the response.

  1. Run for real. Visual feedback is on by default:
   agentcad run script.py --output label

Every successful run produces (paths in the JSON response): - preview.png — 4-view composite (front, right, top, iso). Read this to confirm the part looks right before iterating. One image, all 4 angles. - diff.side_by_side — side-by-side PNG vs the most recent successful prior version. Read this when iterating to see what your change did. - diff.overlay — tinted (green prev, red this) overlay for subtle shifts. Read only if side-by-side didn't resolve the question. - viewer.html — interactive 3D viewer for the user (humans only; you can't render HTML). Mention it to the user so they open it.

Pass --no-preview only for tight parametric sweeps where latency matters.

  1. Show the user. After a successful build, open the interactive viewer:
   agentcad view v1_label/viewer.html   # or output.step / output.glb

Users expect to see the result in a browser. Do this every run, unprompted.

  1. Inspect if invalid. If is_valid: false or geometry looks wrong:
   agentcad inspect v1_label/output.step
  1. Iterate. Fix the script, run with a new --output label. Use

agentcad diff 1 2 to compare versions.

Script writing rules

  • show_object(result) is required — at least one call.
  • These are pre-injected (no import needed):

cq, show_object, translate, rotate, mirror_fuse, loft_sections, tapered_sweep, naca_wire, bbox_point, place_at, assemble, ellipse_wire, spline_wire, polygon_wire, rounded_rect_wire, elliptical_sweep, involute_gear_profile

  • Helpers operate on TopoDS_Shape. Bridge with .val().wrapped:
  part = cq.Workplane('XY').box(10, 20, 5).val().wrapped
  moved = translate(part, 50, 0, 0)
  • To show helper output:
  show_object(cq.Workplane('XY').newObject([cq.Shape.cast(topo_shape)]))
  • For OCP internals (gp_Pnt, BRepPrimAPI, etc.), import manually.

Key commands

CommandPurpose
agentcad init --name NAMEInitialize project
agentcad run SCRIPT --output LABELExecute script, produce STEP + metrics
agentcad run ... --dry-runMetrics only, no version consumed
agentcad run ... --no-previewSuppress preview (on by default)
agentcad run ... --render iso,frontPNG views
agentcad run ... --export stl,glbMesh export
agentcad run ... --params k=v,k=vOverride script parameters
agentcad render STEP --view SPECPost-hoc renders with camera control
agentcad export STEP --format stl,glbPost-hoc mesh export
agentcad inspect STEPTopology report (validity, free edges)
agentcad diff REF1 REF2Compare versions
agentcad contextProject state
agentcad docs [SECTION]Deep-dive docs (16 sections)
agentcad view FILERun this after every successful build — opens GLB/STEP in the user's browser

Debugging playbook

  1. Check metrics firstvolume and dimensions catch most issues.
  2. Read preview.png — the 4-view composite. Fastest way to spot obvious problems.
  3. Read diff.side_by_side if iterating — confirms your change did what you intended.
  4. Negative volume? Wire winding is backwards (CW instead of CCW).
  5. is_valid: false? Run agentcad inspect — check free_edge_count and shell status.
  6. Hollow shape? free_edge_count > 0 means open shell.
  7. Complex profiles (gears, splines)? Use subtractive construction — cut from

a blank cylinder/box instead of building up. See agentcad docs patterns.

Patterns

  • Build at origin, then position: Create geometry at origin, use translate()

and rotate() to place it.

  • Compound vs Union: makeCompound() for assemblies (parts stay separate),

.union() for boolean fuse into one solid.

  • Parametric scripts: Top-level variable assignments become overridable via

--params. Use this for iteration.

  • Named parts: show_object(shape, name="wheel", options={"color": "red"})

for per-part metrics and colored GLB export.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

71.39%
按下载量换算1,159

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills