Individual skill
build-managed-agents
教 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。
SKILL.md
Source commit f43ec00d15c0a58157ef270dc4494e6c621b142d
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 11, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 10
- Repository last updated
- Apr 15, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- ai-agents Repository topic
- anthropic-api Repository topic
- claude-code Repository topic
- claude-skill Repository topic
- claude-skills Repository topic
- managed-agents Repository topic
- engineering Derived category
- security Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
.gitignoreasset · 246 bytesLICENSEasset · 1,067 bytesREADME.mddoc · 4,458 bytesSKILL.mdcore · 6,433 bytesSKILL.mdcore · 6,433 bytesSKILL.mdcore · 6,433 bytesSKILL.mdcore · 6,433 bytesSKILL.mdcore · 6,433 bytesreference/audit.mddoc · 6,202 bytesreference/create.mddoc · 7,917 bytesreference/errors.mddoc · 5,657 bytesreference/events.mddoc · 4,615 bytesreference/run.mddoc · 8,465 bytesscripts/admin.pyruns · 6,401 bytesscripts/quickstart.pyruns · 3,408 bytes
Read excerpt
# 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 消耗、错误重试)