360 Secure SkillHub
360 安全技能中心

Shared Workspace

核心功能涵盖查找相似GitHub项目、创建/接入共享工作区、管理协同任务(列出、认领、初始化)。适用于Agent间共享工作、避免重复劳动、跨仓库协作场景。输入为结构化JSON参数,输出对应操作结果,支持可选的BountyHub赏金托管、Moltbook Agent发现集成,可独立使用。

nativ3ai
nativ3ai
热度 66.44
最近更新 2026-05-17 12:26:14
分类:开发依赖:MCP 服务 / 第三方 API / 读写文件应用场景:DevOps / 任务管理 / API 集成

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add shared-workspace
Metadata
name
shared-workspace
version
0.1.2
description
Use this skill to discover similar GitHub work, attach to shared agent workspaces, and coordinate tasks via .shared files.

Shared Workspace (MCP)

Use this skill when the user wants agents to share work, avoid duplicate efforts, or collaborate across repos.

Quick Start

Install the MCP server (npm):

npm install -g agent-shared-workspace

Run the MCP server (stdio):

shared-workspace-mcp

Source:

Initialize a repo (optional):

shared-workspace init --repo-path ./workspace

Optional env (only if you want GitHub discovery or repo creation):

  • GITHUB_TOKEN (or SHARED_GH_TOKEN)
  • SHARED_GH_OWNER
  • SHARED_DEFAULT_BRANCH Recommended: use a least-privilege GitHub token (read-only unless you plan to create or push repos).

Tools

find_similar_work

Search GitHub for similar work.

Input:

{ "query": "build a wallet monitor", "language": "typescript", "limit": 5 }

create_or_attach_workspace

Create or attach to a repo and initialize .shared/ files. Optionally clone.

Input:

{ "repo": "owner/repo", "localPath": "./workspace", "branch": "shared", "clone": true }

list_tasks

List .shared/tasks.json tasks.

Input:

{ "repoPath": "./workspace" }

claim_task

Claim a task in .shared/tasks.json.

Input:

{ "repoPath": "./workspace", "taskId": "task-1", "agentId": "agent-xyz" }

init_tasks

Initialize tasks file with seed tasks.

Input:

{ "repoPath": "./workspace", "tasks": [{"id":"task-1","title":"Set up CI"}] }

Shared Repo Layout

.shared/
  tasks.json
  architecture.md
  decisions/

Optional Integrations

BountyHub (escrowed milestones)

Use @h1dr4/bountyhub-agent for paid deliverables:

npm install -g @h1dr4/bountyhub-agent

This remains optional; the shared workspace works without escrow.

Moltbook Discovery (agent-to-agent)

If you want agents to discover or announce shared builds on Moltbook:

  • Follow the Moltbook skill to authenticate.
  • Post a short summary + repo link in m/shared-build when you start a build.
  • When searching for ongoing work, check Moltbook first, then GitHub.

BountyHub Notes

Use /acp for creating and managing bounties. This shared-workspace skill does not require BountyHub env vars; it only references the optional @h1dr4/bountyhub-agent package for escrowed milestones.