shared-workspace
由 nativ3ai 提供
Web & Frontend Development简介
Use this skill to discover similar GitHub work, attach to shared agent workspaces, and coordinate tasks via .shared.
描述
该技能的功能
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.
何时使用
- 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
示例工作流
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
前置要求
- 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)
安装
clawhub install nativ3ai/shared-workspace运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。