跳到主要内容
知仓学习社ZHICANG

envelope-team

Design and generate .envelope.json AI agent team definitions — the open standard for multi-agent teams with hierarchy, access policies, human-in-the…

不碰外部(只输出文字)无严重或高危命中davepoon/buildwithclaude

它会碰到什么

扫了多少1 个文本文件,6 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Envelope Team

Design and generate .envelope.json AI agent team definition files — the open standard for building and deploying multi-agent teams on Envelope.

When to Use This Skill

  • User asks to build, design, or generate an Envelope team
  • User describes a workflow that could be automated by a team of AI agents
  • User wants to create a .envelope.json file for deployment
  • User needs help with agent hierarchy, access policies, or gates

What This Skill Does

  1. Takes a natural-language description of the team's purpose
  2. Designs the agent hierarchy (supervisor → managers → workers)
  3. Generates a schema-valid .envelope.json file
  4. Includes access policies, variables, secrets, and gates as appropriate
  5. Explains any schema concepts the user asks about

How to Use

Basic Usage

Build me an Envelope team for customer support triage — one supervisor,
two agents that read Zendesk tickets, and a Slack notifier for escalations.
Create an Envelope team definition for outbound sales — an SDR manager
overseeing two SDRs who work HubSpot leads and a RevOps analyst.

With human-in-the-loop gates

Build an Envelope team that drafts marketing emails and pauses for
human approval before sending.

Example

User: "Build me an Envelope team for content moderation — a supervisor and two reviewer agents that check posts against community guidelines."

Output:

{
  "$schema": "https://schema.openenvelope.org/team/v1.json",
  "name": "Content Moderation Team",
  "slug": "content-moderation",
  "version": "1.0.0",
  "description": "A supervisor and two reviewer agents that check posts against community guidelines.",
  "visibility": "team",
  "category": "ops",
  "requiredVariables": ["companyName"],
  "requiredSecrets": ["MODERATION_API_KEY"],
  "metadata": { "generatedBy": "Claude Code · openenvelope.org" },
  "agents": [
    {
      "key": "supervisor",
      "name": "Moderation Supervisor",
      "role": "supervisor",
      "capabilities": ["Route content to reviewer agents", "Aggregate decisions", "Escalate edge cases"],
      "model": "anthropic:claude-sonnet-4-5",
      "systemPrompt": "You supervise the content moderation team at {{companyName}}. Delegate each item to a reviewer and consolidate their verdicts."
    },
    {
      "key": "policy-reviewer",
      "name": "Policy Reviewer",
      "role": "reviewer",
      "capabilities": ["Check content against community guidelines", "Flag policy violations"],
      "model": "anthropic:claude-haiku-3-5",
      "systemPrompt": "You review content for policy violations at {{companyName}}. Return a verdict of approve, flag, or remove with a reason.",
      "reportsToKey": "supervisor",
      "accessPolicy": {
        "accessPolicyVersion": "1",
        "rules": [
          { "host": "api.moderation-service.com", "action": "allow" },
          { "host": "*", "action": "deny" }
        ]
      }
    },
    {
      "key": "spam-reviewer",
      "name": "Spam Reviewer",
      "role": "reviewer",
      "capabilities": ["Detect spam, bot activity, and duplicate content"],
      "model": "anthropic:claude-haiku-3-5",
      "systemPrompt": "You detect spam and bot activity at {{companyName}}. Return a verdict of approve, flag, or remove with a confidence score.",
      "reportsToKey": "supervisor"
    }
  ]
}

Schema Reference

Top-level fields

| Field | Required | Description |

|---|---|---|

| $schema | yes | Always https://schema.openenvelope.org/team/v1.json |

| name | yes | Human-readable team name |

| slug | yes | URL-safe, lowercase, hyphens only |

| version | yes | Semver e.g. "1.0.0" |

| description | yes | What this team does |

| visibility | yes | "public" · "team" · "private" |

| requiredVariables | no | Non-sensitive config, interpolated via {{varName}} |

| requiredSecrets | no | API keys, stored encrypted, injected as ${SECRET_NAME} |

| schedule | no | Cron schedule { cron, timezone, task } |

| agents | yes | Agent definitions |

| gates | no | Human-in-the-loop checkpoints |

Agent fields

| Field | Required | Description |

|---|---|---|

| key | yes | Unique identifier within this file |

| name | yes | Display name |

| role | yes | Free-form e.g. "supervisor", "analyst", "sdr" |

| capabilities | yes | What this agent can do — used for delegation routing |

| model | yes | e.g. anthropic:claude-sonnet-4-5, anthropic:claude-haiku-3-5 |

| systemPrompt | yes | Agent instructions. Use {{varName}} and ${SECRET_NAME} |

| reportsToKey | no | key of manager agent. Omit for the top-level supervisor |

| accessPolicy | no | Outbound HTTP allowlist |

Hierarchy rule

Exactly one agent should have no reportsToKey — this is the supervisor that receives the initial task. All others reference their manager's key.

Access policy

"accessPolicy": {
  "accessPolicyVersion": "1",
  "rules": [
    { "host": "api.example.com", "action": "allow" },
    { "host": "*", "action": "deny" }
  ]
}

Human-in-the-loop gates

"gates": [
  {
    "name": "approval-check",
    "type": "approval",
    "trigger": { "afterAgent": "drafter" },
    "onApprove": "continue",
    "onReject": "halt"
  }
]

Tips

  • Use anthropic:claude-sonnet-4-5 for supervisors and managers; anthropic:claude-haiku-3-5 for leaf agents doing repetitive work
  • Put anything org-specific (company name, support email, Slack channel) in requiredVariables
  • End access policy rules with { "host": "*", "action": "deny" } for a strict allowlist
  • Add gates before any agent that sends emails, posts publicly, or makes purchases
  • Validate before deploying: npx @openenvelope/schema validate ./team.envelope.json

Links

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

它属于哪个仓库

星标★ 3,470
本站分层T1
该仓技能数381
原文件路径plugins/envelope-team/skills/envelope-team/SKILL.md

同一个仓库里的其他技能

看这个仓库的全部 381 个技能

同名技能的其他版本

有 2 个不同仓库或目录里都有叫 envelope-team 的技能。它们内容并不相同,别混用:

  • davepoon/buildwithclaude — Design and generate .envelope.json AI agent team definitions — the open standard for multi