← 返回 Skills 市场
ctz168

Collab Edit

作者 SamAI.cc · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
18
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install collab-edit
功能描述
Enable real-time collaboration by exposing a local collaborative editing tool via aitun tunnel. Perfect for AI agents that need to co-edit code, documents, o...
使用说明 (SKILL.md)

Collab Edit - Real-Time Collaboration via Aitun Tunnel

When to Use

Use this skill when:

  • You need to co-edit code, a document, or a configuration file with a user in real time
  • You want to set up a shared whiteboard or drawing canvas accessible via browser
  • You are pair-programming with a user and need a shared code editor
  • You want to collaboratively draft content (markdown, notes, specifications) with live updates
  • You need to review and annotate a document together with the user

Do NOT use this skill when:

  • Only one person is editing (no collaboration needed)
  • The content is finalized and just needs to be shared (use sendfile instead)
  • You want to share a read-only preview (use aitun-tunnel or live-preview instead)

Instructions

Step 1: Install aitun

pip install aitun

Or verify it is already installed:

which aitun || pip show aitun

Step 2: Start a collaborative editing server

Choose and start a collaboration tool. Here are common options:

# Option A: Code-server (VS Code in browser) for pair programming
# Install: curl -fsSL https://code-server.dev/install.sh | sh
code-server --bind-addr 0.0.0.0:8080 --auth none &
COLLAB_PID=$!

# Option B: Hedgedoc / Etherpad-like tool for document collaboration
# (install per project instructions, then start on port 8080)

# Option C: Simple shared notepad (Python)
pip install collaborative-notepad
collaborative-notepad --port 8080 &
COLLAB_PID=$!

# Option D: Whiteboard (excalidraw self-hosted or similar)
npx excalidraw-room --port 8080 &
COLLAB_PID=$!

Step 3: Create a tunnel

Expose the collaboration server to the internet:

aitun -p 8080 &
AITUN_PID=$!
sleep 3

The output will contain the public URL, e.g.:

  • https://aitun.cc/abc123

Step 4: Share the collaboration link

Send the link to the user so they can join:

Let's work on this together! Open the shared editor:
https://aitun.cc/abc123

I can see your changes in real time, and you can see mine.
This session is active while we're working.

Step 5: Collaborate in real time

  • Edit content together — both you and the user see changes instantly
  • Use the chat or comment features of the collaboration tool for discussion
  • Take turns editing, or work on different sections simultaneously
  • Save or export the final result when collaboration is complete

Step 6: Clean up

When the collaboration session is over, stop the servers:

kill $AITUN_PID 2>/dev/null
kill $COLLAB_PID 2>/dev/null

CLI Reference

The aitun command (installed via pip install aitun) accepts these flags:

Flag Description
-p PORT Local service port (default: 8080)
-k TOKEN Auth token for registered subdomain (omit for free tunnel)
--host HOST Local service address (default: localhost)
--tcp-ports PORTS TCP forwarding ports, comma-separated (e.g., 22,3306; requires -k)
--p2p Enable P2P direct connection (default: enabled)
--no-p2p Disable P2P, force server relay mode
--daemon Run as background daemon
--stop Stop running daemon

Notes

  • Free tunnels use proxy address mode (path-based URL like aitun.cc/abc123), NOT subdomains
  • Free tunnels expire after 24 hours, auto-renewed on restart
  • For a permanent collaboration endpoint, register at https://aitun.cc to get a custom subdomain
  • Collaboration tools that use WebSocket work well through the tunnel
  • For security, consider enabling authentication on the collaboration tool itself (most support password or token auth)
  • All traffic is encrypted end-to-end
  • Multiple users can open the same link simultaneously for group collaboration
  • Export or save the final document before stopping the tunnel
安全使用建议
Install only if you understand that this can publish a live editor from your machine to the internet. Do not tunnel code-server or any workspace editor without strong authentication, limited duration, and a non-sensitive isolated workspace; ignore the no-auth example and treat the encryption claim as unverified.
能力评估
Purpose & Capability
The stated collaboration purpose is coherent, but the code-server example disables authentication and is later paired with a public tunnel, creating high-impact access beyond ordinary document co-editing.
Instruction Scope
The skill tells agents to expose and share a public collaboration URL without a prominent hard warning to require authentication, limit access, or avoid sensitive workspaces.
Install Mechanism
The declared install is limited to the aitun package via uv, while the runtime examples also suggest installing external collaboration tools such as code-server, collaborative-notepad, and excalidraw-room.
Credentials
Public tunneling is expected for the purpose, but binding a web IDE to 0.0.0.0 with no auth is not proportionate because it can expose local files, terminals, project secrets, and editing authority.
Persistence & Privilege
The skill starts background collaboration and tunnel processes and provides cleanup commands; it does not install persistence, but sessions can remain reachable until stopped.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install collab-edit
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /collab-edit 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release - real-time collaboration via aitun tunnel
元数据
Slug collab-edit
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Collab Edit 是什么?

Enable real-time collaboration by exposing a local collaborative editing tool via aitun tunnel. Perfect for AI agents that need to co-edit code, documents, o... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 18 次。

如何安装 Collab Edit?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install collab-edit」即可一键安装,无需额外配置。

Collab Edit 是免费的吗?

是的,Collab Edit 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Collab Edit 支持哪些平台?

Collab Edit 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Collab Edit?

由 SamAI.cc(@ctz168)开发并维护,当前版本 v1.0.0。

💬 留言讨论