Not in the top 1,000 by GitHub stars

YijiaDuan/build-managed-agents

Claude Code skill for Anthropic Managed Agents — create / run / audit the cloud-hosted agent API end-to-end. 教 Claude 用 Anthropic 托管代理 API 的 skill,覆盖创建/运行/审计全流程。

History

Review weekly changes to SKILL.md before updating. Dates mark the weeks in which we observed each version; checks apply to the recorded commits.

View weekly changes

SKILL.md

Week of Nov 2, 2026 · Line counts unavailable

Before Not checked yet → After Network or broad shell

First observation → f43ec00d15c0

No earlier version was observed for comparison.

Compare on GitHub

View on GitHubAdd to my skills

Verified commit f43ec00d15c0a58157ef270dc4494e6c621b142d

10GitHub stars
0stars in 7 days
1skill in this repository
0commits in 30 days

Heat

0.3
  • Star growth, last 7 daysNot available
  • Star growth, last 24 hoursNot available
  • Rank movement, last 7 daysNot available
  • Commits, last 30 daysNot available
  • Accounts asking about it through MCP, last 7 daysNot available
  • Hot votes this weekNot available

Heat never changes the order by stars, and sponsorship never touches it. How heat works

Stars over time

Oct 25, 2026Oct 25, 202610

30-day change not yet available: not enough history.

Individual skills in this repository

How it works

build-managed-agents

When your agent uses it

教 Claude Code / OpenClaw 等 coding agent 使用 Anthropic Claude Managed Agents(云端托管代理服务)API —— create/run/audit 全流程。当用户(或上游 coding agent)需要创建托管 agent、跑 session、流式处理事件、审计用量或调用 /v1/agents、/v1/environments、/v1/sessions 等 API 时使用。触发词:managed agents、托管代理、build a managed agent、agent_toolset_20260401、client.beta.agents、client.beta.sessions。

What it loads into context

Frontmatter

125 tokens

Always available to the agent

SKILL.md

1,683 tokens

When the skill is activated

Reference documents

9,853 tokens

Loaded on request

Token counts are estimates. Scripts run separately; they are not counted as reference context.

The playbook

  1. 何时使用
  2. 前置条件
  3. 核心概念速查
  4. 标准工作流
  5. 可用脚本
  6. 常见陷阱
  7. 参考文件索引
  8. 官方文档

Scripts executed separately

  • scripts/admin.py
  • scripts/quickstart.py

Files

  • .gitignoreasset246 bytes
  • LICENSEasset1,067 bytes
  • README.mddoc4,458 bytes
  • SKILL.mdcore6,433 bytes
  • SKILL.mdcore6,433 bytes
  • SKILL.mdcore6,433 bytes
  • SKILL.mdcore6,433 bytes
  • SKILL.mdcore6,433 bytes
  • reference/audit.mddoc6,202 bytes
  • reference/create.mddoc7,917 bytes
  • reference/errors.mddoc5,657 bytes
  • reference/events.mddoc4,615 bytes
  • reference/run.mddoc8,465 bytes
  • scripts/admin.pyruns6,401 bytes
  • scripts/quickstart.pyruns3,408 bytes
Read SKILL.md

# build-managed-agents

这是一个给 coding agent(Claude Code / OpenClaw / Cursor agent 等)用的 skill —— 当 coding agent 需要帮用户构建基于 Claude Managed Agents 的应用时,照着本 skill 的 recipe 执行。

Anthropic 托管的 agent 运行时:云容器 + 内置工具 + 事件流。你不用自己搭 agent loop、工具执行、沙箱。

本 skill 覆盖三个阶段:**Create**(定义 agent/环境/session)→ **Run**(发消息、流式接收、处理工具确认)→ **Audit**(查状态、事件流、token 用量、成本)。

## 何时使用

- 用户要"创建一个 managed agent" / "托管 agent" / "跑一个 session"
- 代码里出现 `client.beta.agents`、`client.beta.environments`、`client.beta.sessions`
- 用户询问 `/v1/agents`、`/v1/environments`、`/v1/sessions` 等端点
- 用户要审计/调试 session(看事件流、token 消耗、错误重试)
View the complete source on GitHub

Skills included

  • build-managed-agents

Repository facts

License
MIT
Created
Apr 15, 2026
Last pushed
Apr 15, 2026
Forks
0
Open issues
0
Project activity
Slowing

Before you install

Network or broad shell

Automated signals, not a guarantee

Checked Nov 4, 2026

Not fully analyzed: some files were too long, unreadable or missing. This never lowers the level.

Show 4 notes
  • SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
Show all 31 signals by file

.gitignore

  • Access to secretsline 18
    [Credential-related source omitted]

README.md

  • Network accessline 10
    # 全局(推荐,所有项目可用) git clone https://github.com/YijiaDuan/build-managed-agents \
  • Network accessline 11
    git clone https://github.com/YijiaDuan/build-managed-agents \
  • Network accessline 14
    # 或只装到当前项目 mkdir -p .claude/skills git clone https://github.com/YijiaDuan/build-managed-agents \
  • Network accessline 15
    mkdir -p .claude/skills git clone https://github.com/YijiaDuan/build-managed-agents \   .claude/skills/build-managed-agents
  • Network accessline 16
    git clone https://github.com/YijiaDuan/build-managed-agents \
  • Access to secretsline 24
    [Credential-related source omitted]

SKILL.md

  • Access to secretsline 27
    [Credential-related source omitted]
  • Network accessline 145
    - https://platform.claude.com/docs/en/managed-agents/overview
  • Network accessline 146
    - https://platform.claude.com/docs/en/managed-agents/quickstart
  • Network accessline 147
    - https://platform.claude.com/docs/en/api/agents

reference/audit.md

  • Network accessline 182
    https://console.anthropic.com → Agents / Sessions 标签页,GUI 展示:

reference/create.md

  • Network accessline 84
    mcp_servers=[     {"name": "my_server", "type": "url", "url": "https://example.com/mcp"},
  • Network accessline 85
    {"name": "my_server", "type": "url", "url": "https://example.com/mcp"},
  • Network accessline 203
    {     "type": "github_repository",     "url": "https://github.com/org/repo",
  • Network accessline 204
    [Credential-related source omitted]
  • Network accessline 205
    "url": "https://github.com/org/repo",

reference/errors.md

  • Network accessline 121
    4. **Agent 版本** — 是不是 update 了但 session pin 了旧版本 5. **Environment 可达性** — networking limited 但工具要访问外网 6. **MCP server** — 单独 curl 测 MCP URL 是否可达
  • Network accessline 122
    [Credential-related source omitted]
  • Network accessline 123
    6. **MCP server** — 单独 curl 测 MCP URL 是否可达
  • Network accessline 124
    [Credential-related source omitted]

reference/run.md

  • Network accessline 40
    {"type": "text", "text": "Hello"},         {"type": "image", "source": {"type": "base64", "data": "...", "media_type": "image/png"}},         {"type": "image", "source": {"type": "url", "url": "https://..."}},
  • Network accessline 41
    {"type": "image", "source": {"type": "base64", "data": "...", "media_type": "image/png"}},         {"type": "image", "source": {"type": "url", "url": "https://..."}},         {"type": "image", "source": {"type": "file", "file_id": "file_...
  • Network accessline 42
    {"type": "image", "source": {"type": "url", "url": "https://..."}},
  • Network accessline 258
    # 流式接收(SSE) curl -sS -N "https://api.anthropic.com/v1/sessions/$S/events/stream" \
  • Network accessline 259
    [Credential-related source omitted]
  • Access to secretsline 259
    [Credential-related source omitted]
  • Access to secretsline 262
    [Credential-related source omitted]

scripts/admin.py

  • Executable scriptline 1
    Executable file

scripts/quickstart.py

  • Executable scriptline 1
    Executable file
  • Access to secretsline 6
    [Credential-related source omitted]

How the signals fit together

Facts from a static read of the files at the pinned commit. They describe what the code does, not why.

Some files could not be read; the facts below still hold.

Signal confidence: 30 facts

Works with

Agent compatibility, from the files in this repository
AgentStatusEvidenceInstall to
Claude CodeCompatibleStandard SKILL.md SKILL.md.claude/skills/<skill-name>/
CodexCompatibleStandard SKILL.md SKILL.md.agents/skills/<skill-name>/
CursorCompatibleStandard SKILL.md SKILL.md.cursor/skills/<skill-name>/
Gemini CLICompatibleStandard SKILL.md SKILL.md.gemini/skills/<skill-name>/
GitHub CopilotCompatibleStandard SKILL.md SKILL.md.github/skills/<skill-name>/
OpenCodeCompatibleStandard SKILL.md SKILL.md.opencode/skills/<skill-name>/
  • Native The repository ships a manifest, folder or frontmatter field for this agent.
  • Compatible A standard SKILL.md that this agent can read.
  • Unknown No evidence either way.

Derived automatically from paths, manifests and frontmatter. Not tested on each agent.