Copilot For Revit Skill OpenClaw Skill

让 OpenClaw 能够操作 Revit。当用户提及 Revit 相关操作(图纸、标注、视图、元素等)时自动调用。 支持的操作包括: - 检查 Revit 状态 - 列出可用工具 - 执行 Revit 命令(生成图纸、创建标注、查询元素等)

v1.0.1 Recently Updated Updated Today

Installation

clawhub install copilot-for-revit

Requires npm i -g clawhub

113

Downloads

0

Stars

0

current installs

0 all-time

2

Versions

EU EU-Hosted Inference API

Power your OpenClaw skills with the best open-source models.

Drop-in OpenAI-compatible API. No data leaves Europe.

Explore Inference API

GLM

GLM 5

$1.00 / $3.20

per M tokens

Kimi

Kimi K2.5

$0.60 / $2.80

per M tokens

MiniMax

MiniMax M2.5

$0.30 / $1.20

per M tokens

Qwen

Qwen3.5 122B

$0.40 / $3.00

per M tokens

Copilot for Revit Skill

自动检测 Revit 相关意图,通过 openclaw-bridge 调用远程 Revit MCP 服务。

⚠️ 安全警告

此 skill 可以执行修改 Revit 项目的命令(如删除元素、修改参数、生成图纸等)。

  • 请确保在信任的网络环境中使用
  • 建议先在测试项目中验证
  • 如需命令执行确认,可在 OpenClaw 配置中启用命令确认机制

前置条件

  1. Windows 端已配置好 Copilot for Revit(参考 快速开始指南
  2. Linux 端已安装 openclaw-bridge(git clone https://github.com/ryanchan720/openclaw-bridge
  3. 网络互通:Linux 能访问 Windows 的 18181 端口

配置

环境变量

变量 说明 默认值
REVIT_MCP_URL Revit MCP 服务地址 http://localhost:18181
OPENCLAW_BRIDGE_DIR openclaw-bridge 仓库路径 ~/repos/openclaw-bridge

~/.bashrc~/.zshrc 中配置:

export REVIT_MCP_URL="http://192.168.1.100:18181"
export OPENCLAW_BRIDGE_DIR="$HOME/repos/openclaw-bridge"

验证

# 测试连通性
curl $REVIT_MCP_URL/sse

# 或使用 bridge CLI
cd $OPENCLAW_BRIDGE_DIR
uv run python -m openclaw_bridge.cli health

使用方式

自动检测(推荐)

直接在聊天中提及 Revit 相关操作:

用户: Revit 在线吗?
OpenClaw: [自动调用 health 检查]

用户: 帮我看看 Revit 里有哪些可用命令
OpenClaw: [自动调用 tools list]

用户: 帮我在当前视图里创建梁标记
OpenClaw: [自动匹配 TagBeamCommand 并调用]

显式调用

明确指定要使用的工具:

用户: 用 GetEnvInfoCommand 查看一下环境信息
OpenClaw: [调用指定工具]

触发关键词

当用户消息包含以下关键词时自动激活:

  • Revit
  • 图纸 / 标注 / 视图 / 元素
  • 墙 / 门 / 窗 / 梁 / 柱
  • 标高 / 房间
  • 以及从 tools list 动态获取的所有工具名称

错误处理

错误 提示
Revit 不在线 提示用户启动 Revit 或检查网络
Revit is not ready 提示用户打开项目文件
工具不存在 列出可用工具供用户选择
参数缺失 向用户询问缺失的参数

注意事项

  1. Revit 必须打开项目:大多数命令需要在打开 .rvt 文件后才能执行
  2. 同步执行:当前为同步调用,长耗时命令可能需要等待
  3. 网络依赖:需要 Linux 主机能访问 Windows 的 18181 端口

相关链接

Statistics

Downloads 113
Stars 0
Current installs 0
All-time installs 0
Versions 2
Comments 0
Created Mar 19, 2026
Updated Apr 5, 2026

Latest Changes

v1.0.1 · Mar 19, 2026

Fix ClawHub review issues: add env vars declaration and security warnings

Quick Install

clawhub install copilot-for-revit
EU Made in Europe

Chat with 100+ AI Models in one App.

Use Claude, ChatGPT, Gemini alongside with EU-Hosted Models like Deepseek, GLM-5, Kimi K2.5 and many more.