managed-agents-roles
Use to define, provision, and maintain a repo's Managed-Agents roles (agent-templates/) — persona→role.json→environment→vault→provision, on the…
от FuzeOne★ 18 звёзд на GitHub
Установить managed-agents-roles в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
managed-agents-roles
Projects the org's persona agents (.claude/agents/*.md) onto a provider's managed-agents
runtime so a coding session never stalls asking a human to "run this on the cluster" or "do
this on GitHub". A role = persona (system) + environment (packages + network reach) +
permissions (per-tool always_allow/always_ask + vault-scoped creds).
Read agent-templates/README.md first — it explains the split: the framework
(schema/, roles/_base/, sync/, providers/) is canonical in FuzeSDLC and kept current
by governance-sync; the concrete definitions below are the repo's own; the deployed
orchestration runtime (handoff MCP, worker) lives in FuzeAgent.
When to use
- Adding a managed-agents role to a repo (or the first one — onboarding the
rolesaxis). - Changing a role's tools/policies/MCP servers/environment, or a persona that drives it.
- Wiring provisioning (the
provision-sync.ymlcaller + the secrets it needs).
Define a role
- Persona — ensure
.claude/agents/<role>.mdexists (a canonical agent from FuzeSDLC, installed bysdlc-bootstrap, or an authored repo-local one). Its body (YAML frontmatter stripped) becomes the agentsystem. Never duplicate the persona into the role JSON — reference it. - role.json —
agent-templates/roles/<role>/role.json:{ "$schema": "../../schema/role-manifest.schema.json", "role": "<role>", "extends": "_base", "name": "<role>", "persona": ".claude/agents/<role>.md", "environment": "<env-basename>", "system_append": "role-specific guardrails (added to _base, never replacing it)", "tools": [ /* extra mcp_toolset entries + per-tool permission_policy */ ], "mcp_servers": [ /* { "type":"url","name":"...","url":"${SOME_MCP_URL}" } */ ], "skills": [], "services": { "github": "write", "k8s": "none", "cloud": "none" } }_basealready supplies the guardrail system prompt, theagent_toolset+github+handoffMCP tools, and theiralways_allowpolicies. Override per key;system_appendandservicesare merged, not replaced. - Environment —
agent-templates/environments/<env>.json(schema/environment.schema.json).cloud-*= a provider sandbox (packages + allowed network);selfhosted-*= a queue drained by a worker inside your network that holds the real creds. Environments are not versioned — the adapter archives+recreates by name on config change. Bind a repo to a role at launch via the environment (that is the per-repo axis — one role, many environments). - Vault (optional) —
agent-templates/vaults/<name>.json(schema/vault.schema.json) for MCP-auth / channel creds; reference${VAR}— never inline a secret. Creds with an empty/unset token are skipped at provision time. - Guardrails — production actions (
kubectl/helm/terraformwrites, money, outbound customer messages) must bealways_ask; a self-hosted worker adds OS-level guard shims + a scoped-RBAC kubeconfig (defense-in-depth, not the primary boundary).
Declare + provision
- Manifest — add the
rolesblock to.fuze/manifest.json(governance/repo-manifest.schema.json):
Its presence tells"roles": { "source": "agent-templates/", "runtime": "managed-agents", "provider": "anthropic", "defined": ["backend","frontend","devops"], "environments": ["cloud-backend","selfhosted-devops"] }sdlc-bootstrapto stamp theprovision-sync.ymlcaller. - Validate + preview (offline, no API calls):
cd agent-templates && python sync/validate.py && python providers/provision.py --provider anthropic --dry-run - Provision — merging a definition change to
maintriggersprovision-sync.yml(→ FuzeSDLC reusableprovision.yml), which reconciles agents/environments/vaults/memory into their deployed counterparts. Needs repo secretsMANAGED_AGENTS_API_KEY(Console key with themanaged-agentsbeta — NOT a Claude Code token) + the referenced*_MCP_URLs. Absent key → the job skips (never fails a merge).
Maintain
- The framework files (
schema/,roles/_base/,sync/,providers/) are canonical in FuzeSDLC — do not hand-edit them per repo;governance-syncwill revert drift. Change the framework in FuzeSDLC; repos pick it up on their next PR. - Editing a persona or a
role.jsonre-syncs that agent on the next merge. Adding a role creates it. Provisioning never prunes — archiving an orphaned agent is a separate step.
Verify
python sync/validate.py passes; provision.py --dry-run lists the expected roles/envs; after
merge, the provisioned agents/environments are visible in the provider console; governance-sync
reports the framework in sync.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл managed-agents-roles?
Use to define, provision, and maintain a repo's Managed-Agents roles (agent-templates/) — persona→role.json→environment→vault→provision, on the provider-abstracted framework. The framework is canonical in FuzeSDLC and stamped by sdlc-bootstrap; this skill covers authoring the repo's own concrete roles/environments and wiring provisioning.
Как установить скилл managed-agents-roles?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл managed-agents-roles запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…