Overview
- Skill Key
- 88901111hz-lang/nerve-bridge-skill
- Author
- 88901111hz-lang
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/88901111hz-lang/nerve-bridge-skill
- Latest Commit SHA
- 7c7756d6df1874cff07dc8f1589c6531a883b35d
Bi-directional control of Trae via macOS AppleScript with built-in feedback mechanism. Use when needing to execute code/commands in Trae IDE and wait for completion confirmation.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 nerve_bridge 技能。 若已安装,则直接安装 nerve_bridge 技能。
# Nerve Bridge (v2)
Direct neural link to Trae with closed-loop feedback via macOS AppleScript.
## Quick Start
Send instruction and wait for confirmation:
```bash
python3 nerve_bridge.py "<instruction>"
```
Example:
```bash
python3 nerve_bridge.py "Create a new Python file and add a simple 'Hello World' function. After creating, add a print statement to test it."
```
## How It Works
1. **Signal Injection**:
- Payload is copied to system clipboard via `pbcopy`
- AppleScript activates Trae and simulates: Space (wake) → Delete → Cmd+V → Enter
2. **Feedback Loop**:
- Instruction must include a Python hook that writes to `~/.openclaw/workspace/trae_feedback.json` when done
- Script waits up to 5 minutes (300 seconds) for the signal file
- Returns JSON feedback when received
## Required Hook Pattern
When crafting instructions, include this pattern at the end:
```python
import json, time
with open("~/.openclaw/workspace/trae_feedback.json", "w") as f:
json.dump({"status": "success", "timestamp": time.time()}, f)
```
## Environment
- **Platform**: macOS only
- **Dependencies**: System Python (`python3`), AppleScript (`osascript`)
- **Permissions**: System Events and Terminal must have "Accessibility" permissions
- **Output File**: `~/.openclaw/workspace/trae_feedback.json` (created by the script)
## Troubleshooting
- **No output from Trae**: Check if Trae window is active and input is focused
- **Timeout**: Trae didn't complete within 5 minutes
- **Permission denied**: macOS may need to grant Terminal System Events permission
capt-marbles
Task Router
capncoconut
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
canbirlik
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.