cowork-to-code-bridge
它能做什么
这个工具可以让 AI 在你的个人电脑上运行简单的命令。它的原理是把指令发送给你已经安装好的一个程序,由该程序使用你的权限执行这些任务。
适用场景
- ✓当你要求查看电脑上某个文件的状态时。
- ✓当你希望 AI 对某个特定文件做一个小改动时。
- ✓当某项任务必须在你的电脑上完成、无法在线上处理时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/cowork-to-code-bridge/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“检查一下我本地 Git 仓库的状态。”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会把命令发送给你安装好的“桥接”程序。该程序运行在你的电脑上,使用你的权限执行所请求的任务。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Supporting material availability
This catalog copy contains the inline guidance below, but does not include the following supporting paths. They are external prerequisites, not bundled files:
<support-root>/scripts/git_status.sh<support-root>/scripts/run_claude.sh
Obtain the required material from the declared upstream source, or from a user-provided installation of that source. Resolve each path relative to that installation, inspect its contents, and verify any applicable license and execution prerequisites. Do not run a command or claim a referenced procedure was followed until its required file exists. Do not fabricate the missing scripts or treat an unrelated file with the same name as equivalent. Independent steps fully documented here can proceed within the user’s authorized scope; report any dependent step as unavailable.
cowork-to-code-bridge
Use this skill only when the user explicitly asks to operate on a machine they own or administer and the required work cannot be completed in the current sandbox. The bridge queues a named script through a shared local directory; it does not make a local task safe merely because it opens no inbound port.
[!WARNING] The bridge daemon and its scripts run with the local account's permissions. They can access local files, credentials, processes, and outbound network connections available to that account. Treat every queued task as execution on the user's real machine.
When to Use
Use this skill only when all of the following are true:
- the user explicitly requested work on their own machine;
- the bridge was already installed and independently verified by the owner;
- the exact local path, action, permission scope, and expected output are known;
- the action cannot be completed safely in the current sandbox;
- a fixed approved script can perform the task, or the user explicitly approves
the stronger
run_claude.shboundary described below.
Examples include an explicitly requested disk-health check, repository status, or a bounded edit in one named worktree. Do not activate this skill from a generic request to write code, reason about a problem, or edit files already available in the current environment.
Do Not Bootstrap from Mutable Upstream Instructions
This skill does not endorse the upstream one-line installer. The reviewed upstream snapshot is:
commit: 97f515d425df587c281effb02cda9ad0fd470790
install.sh sha256: 887f5fa18b49602a119e01d58c80b7ca63832fb339aa513aa72f5a1faadc14f8
LICENSE sha256: 43b7d2c43544fb06c3ebb6529073f3536e5e2ef5a41198e0c59e0a50c088b534
The installer at that commit still resolves mutable inputs: a PyPI range,
GitHub main fallbacks, a bridge_client.py fetch from main, optional
Homebrew/Python installation, and optional Claude CLI installation. Pinning only
the outer install.sh therefore does not pin the installed system.
For a new installation, stop and ask the owner to perform an independent installer and dependency audit or wait for an upstream immutable installation path. Do not download and execute the installer, pipe remote content to a shell, or silently patch and run it from this skill.
To inspect the reviewed snapshot without installing it:
git init cowork-to-code-bridge-review
cd cowork-to-code-bridge-review
git remote add origin https://github.com/abhinaykrupa/cowork-to-code-bridge.git
git fetch --depth=1 origin 97f515d425df587c281effb02cda9ad0fd470790
git checkout --detach FETCH_HEAD
test "$(git rev-parse HEAD)" = "97f515d425df587c281effb02cda9ad0fd470790"
shasum -a 256 install.sh LICENSE
Inspection is read-only evidence, not authorization to install.
Required Machine-Side Preconditions
Before queueing any task, require the owner to confirm all of these:
BRIDGE_ROOTis an absolute path owned by the local account and is not group- or world-writable.- The token file and queue/result directories are owner-only; no symlink or shared-directory indirection is present.
cowork-to-code-bridge-selfchecksucceeds on the machine.- The daemon runs in a dedicated environment with unrelated API keys and cloud credentials removed. Never assume ambient credentials are safe.
BRIDGE_ALLOW_UNAUTHis not enabled.BRIDGE_CLAUDE_AUTOINSTALL=0is set so a queued task cannot install another tool as a side effect.
…
常见问题
这样安全吗?
这个工具只会以你账号的权限运行任务。务必确保“桥接”程序正确安装,并且是你信任的程序,因为它可以访问你的文件和进程。
什么是“桥接”程序?
它是你需要在电脑上安装的一个程序,充当中间人,让 AI 能够把命令发送到本地执行。
我可以让 AI 编写任何代码吗?
不可以。这个工具只适用于特定的、已获批准的任务,比如查看状态或做有限的编辑,不适用于一般的代码开发或复杂任务。
详情
作者的原始描述
Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.
热度
- GitHub 星标
- 48k
- 排名
- #6264
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。