shared-workspace
bởi nativ3ai
Web & Frontend DevelopmentTóm tắt
Use this skill to discover similar GitHub work, attach to shared agent workspaces, and coordinate tasks via .shared.
Mô tả
Kỹ năng này làm gì
Enables agents to discover similar work on GitHub, attach to shared repository workspaces, and coordinate tasks through .shared files. An MCP server exposes tools for searching, workspace initialization, and task claiming across agents or repos.
Gives agents a lightweight, file-based coordination layer inside a repo without needing an external state server or manual locking.
Khi nào nên dùng
- Checking GitHub for existing wallet monitor implementations before starting one
- Multiple agents splitting a feature build without duplicating tasks
- Claiming a task in tasks.json so other agents skip it
- Spinning up a shared workspace structure for a new collaborative repo
- Attaching a new agent to an in-progress build to continue claimed work
Quy trình ví dụ
User asks: Find similar wallet monitor projects and set up a shared workspace for our build
- 1
Call find_similar_work with query 'wallet monitor' and language 'typescript' to search GitHub
- 2
Review returned repos and select one to attach to
- 3
Call create_or_attach_workspace with the chosen repo, a local path, and clone: true
- 4
Call init_tasks to seed .shared/tasks.json with the project's initial task list
- 5
Call claim_task with the first task ID and the current agent ID to reserve it
.shared/tasks.json initialized with seed tasks, first task marked as claimed by the agent
Yêu cầu
- GITHUB_TOKEN or SHARED_GH_TOKEN environment variable (required only for GitHub discovery and repo creation)
- SHARED_GH_OWNER environment variable (required only for repo creation)
Cài đặt
clawhub install nativ3ai/shared-workspaceChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.