service-itsm-agentic-setup-agent-runtime-access-assign
БесплатноЗапускает вложенные скриптыНе проверенGrant a user the runtime permissions an activated ITSM agent's actions need so the actions do not fail on permission errors. After a Fulfiller or Employee…
от forcedotcom★ 1 200 звёзд на GitHubОб этом скилле
Grant Runtime Access for an Activated ITSM Agent
An ITSM agent (Fulfiller or Employee) can be created and activated, yet fail the moment it's opened — its actions call platform features the user can't execute. This skill closes that gap after activation via two write-capable steps behind one confirmation:
- Runtime action-execution permissions. Detect which feature permission sets are provisioned, let the user pick a tier per feature (user/agent vs admin) and which user(s) to grant, then assign — license first when license-gated.
- A custom "Agent Access" permission set. Create (or reuse) Agent Access, grant the activated agents the user chooses (one
SetupEntityAccessper agent), then assign it to the same user(s).
The verified feature → tier → permset matrix lives in references/permset-topology.md. No org has all three features — assign only what is provisioned and report the rest as unavailable, never failing on an absent feature.
Every read and write runs through the Salesforce CLI (sf) — no metadata XML, no token extraction, no MCP.
Scope
- In scope: detecting which platform feature permsets are provisioned; per-feature tier selection; asking which user(s) to grant (running user offered, never silent) and resolving them; PSL-then-permset assignment (license-gated tiers) idempotently; creating/reusing the custom
Agent_Accesspermission set; adding aSetupEntityAccessgrant per chosen activated agent; assigningAgent_Accessto the user(s); verifying assignments by read-back. - Out of scope (owning skill parenthesized): the Agentforce for IT Service Go toggles / Studio config (
service-itsm-agentic-setup-agentforce-studio-configure); creating or activating the Employee (service-itsm-agentic-setup-employee-agent-configure) or Fulfiller (service-itsm-agentic-setup-fulfiller-agent-configure) agent; the Fulfiller activation action-surfacing gap (create/activate-time, not this runtime one —service-itsm-agentic-setup-itsm-agentforce-permset-assign); CMDB access (service-itsm-agentic-setup-cmdb-access-assign); generic non-ITSM permission-set assignment; authoring/editing feature permsets.
Helper scripts (all invoked via Bash) hold every deterministic decision (A9)
Full I/O contracts in references/helper-contracts.md.
scripts/classify-platform-permset-availability.mjs— which features are provisioned, each tier'spresent+needsPsl, and the org's own display label per tier.scripts/resolve-target-user.mjs— running-user Id from the API-rootidentityURL (fails closed on a malformed shape).scripts/rank-candidate-users.mjs— up to five real, non-service candidate users to offer, ranked by audience (standard-license first for a Fulfiller agent, Unified Employee first for an Employee agent).scripts/gate-unified-catalog-tiers.mjs— per target user, which Unified Catalog tiers to offer (Community User → Unified Employee; Admin → System Administrator), else omit UC for that user.scripts/classify-activated-agents.mjs— the activated-agent candidate list (BotDefinitionInternalCopilotwith ≥1ActiveBotVersion).scripts/classify-agent-access-state.mjs— whetherAgent_Accessmust be created and which chosen agents still need a grant (idempotency).scripts/classify-assignment-state.mjs— per user+permset idempotency; pass the sentinelNO-PSLwhen the selected tier'sneedsPsl:false.
Preconditions
sfCLI installed and authenticated to the target org (sf org display -o <alias>shows Connected). All calls use--target-org <alias>; never extract or pass the access token by hand.- API v67.0+.
node≥ 18 on PATH.
If a precondition fails, sf surfaces an auth or 401/403/404; report the raw response verbatim and stop — do not fabricate state.
Clarifying questions
Ask only what cannot be inferred from conversation:
- Target org — the
sfalias. Default tosf config get target-orgif unset. - Target user(s) — never a silent default: if unnamed, ASK via
AskUserQuestion(see Phase 2); if named, honor it. - Tier per provisioned feature — for EACH provisioned feature, ask which tier (lighter user/agent vs full admin); never auto-select.
- Which activated agents — multi-select from the activated-agent list; if only one is activated, still confirm it.
- Confirm the write — one consolidated confirmation covering every write; require an explicit "yes" via
AskUserQuestionbefore any write.
Workflow
All calls go through sf; substitute <alias> with the target org. Use the skill's absolute directory for every script path. Exact command shapes: references/cli-invocation.md.
Phase 1 — Read: what is provisioned, and what is activated?
Query the six platform feature permsets, capture to a file, and classify:
sf data query \ -q "SELECT Id, Name, Label, Lic
Установить service-itsm-agentic-setup-agent-runtime-access-assign в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash
Read
AskUserQuestionВложенные файлы
FAQ
Что делает скилл service-itsm-agentic-setup-agent-runtime-access-assign?
Grant a user the runtime permissions an activated ITSM agent's actions need so the actions do not fail on permission errors. After a Fulfiller or Employee agent is activated, this skill detects which platform feature permission sets are provisioned (Prompt Templates, Data Cloud, Unified Catalog), lets you pick a tier (user/agent vs admin) per feature and which user(s) to assign, then assigns them (license first when license-gated). It also creates a custom "Agent Access" permission set granting the activated agents you choose and assigns it to the user — all via the Salesforce CLI. Use to grant a user access to an activated agent, to assign prompt-template, data-cloud, or unified-catalog access, or to create an Agent Access permission set. DO NOT TRIGGER for enabling Agentforce for IT Service toggles, creating or activating an agent, the Fulfiller activation action-surfacing gap (service-itsm-agentic-setup-itsm-agentforce-permset-assign), CMDB access, or generic permission-set assignment.
Как установить скилл service-itsm-agentic-setup-agent-runtime-access-assign?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл service-itsm-agentic-setup-agent-runtime-access-assign запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic