Chuyển đến nội dung
Skillpedia
Lập trình chung48k · #6264

cowork-to-code-bridge

Skill này làm gì

Công cụ này cho phép AI chạy các lệnh đơn giản trên máy tính cá nhân của bạn. Nó hoạt động bằng cách gửi hướng dẫn đến một chương trình bạn đã cài sẵn, chương trình này thực hiện các tác vụ bằng quyền của bạn.

Khi nào nên dùng

  • ✓Khi bạn yêu cầu kiểm tra trạng thái của một file trên máy tính.
  • ✓Khi bạn muốn AI chỉnh sửa nhỏ một file cụ thể.
  • ✓Khi một tác vụ cần thực hiện trên máy của bạn và không thể làm trực tuyến.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/cowork-to-code-bridge/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/cowork-to-code-bridge/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Kiểm tra trạng thái kho Git cục bộ của tôi.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

AI gửi lệnh đến một chương trình “bridge” mà bạn đã cài đặt. Chương trình này chạy trên máy tính của bạn với quyền của bạn và thực thi tác vụ được yêu cầu.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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.sh boundary 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:

  1. BRIDGE_ROOT is an absolute path owned by the local account and is not group- or world-writable.
  2. The token file and queue/result directories are owner-only; no symlink or shared-directory indirection is present.
  3. cowork-to-code-bridge-selfcheck succeeds on the machine.
  4. The daemon runs in a dedicated environment with unrelated API keys and cloud credentials removed. Never assume ambient credentials are safe.
  5. BRIDGE_ALLOW_UNAUTH is not enabled.
  6. BRIDGE_CLAUDE_AUTOINSTALL=0 is set so a queued task cannot install another tool as a side effect.

…

Câu hỏi thường gặp

Điều này có an toàn không?

Công cụ chỉ chạy các tác vụ với quyền của tài khoản bạn. Điều quan trọng là chương trình “bridge” phải được cài đặt đúng cách và bạn phải tin tưởng nó, vì nó có quyền truy cập vào file và tiến trình của bạn.

“Bridge” là gì?

Đây là chương trình bạn cần cài trên máy tính. Nó đóng vai trò trung gian, cho phép AI gửi lệnh để thực thi cục bộ.

Tôi có thể yêu cầu AI viết bất kỳ mã nào không?

Không. Công cụ này dành cho các tác vụ cụ thể, được phê duyệt như kiểm tra trạng thái hoặc chỉnh sửa giới hạn. Nó không dành cho phát triển mã tổng quát hay các tác vụ phức tạp.

Chi tiết

Mô tả gốc của tác giả

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.

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#6264
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự