agentforce-architectur…
Declared architecture snapshot for one Agentforce agent: planner, topics, actions, flows, Apex, prompt templates, and NGA…
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,
Claude Code
$ npx -y skills add forcedotcom/sf-skills --skill service-itsm-agentic-setup-agent-runtime-access-assign --agent claude-code
Codex
$ npx skills add forcedotcom/sf-skills --skill service-itsm-agentic-setup-agent-runtime-access-assign -a codex -y
Cursor
$ npx skills add forcedotcom/sf-skills --skill service-itsm-agentic-setup-agent-runtime-access-assign -a cursor -y
Gemini CLI
$ npx skills add forcedotcom/sf-skills --skill service-itsm-agentic-setup-agent-runtime-access-assign -a gemini-cli -y
GitHub Copilot
$ npx skills add forcedotcom/sf-skills --skill service-itsm-agentic-setup-agent-runtime-access-assign -a github-copilot -y
OpenCode
$ npx skills add forcedotcom/sf-skills --skill service-itsm-agentic-setup-agent-runtime-access-assign -a opencode -y
Windsurf
$ npx skills add forcedotcom/sf-skills --skill service-itsm-agentic-setup-agent-runtime-access-assign -a windsurf -y
name: service-itsm-agentic-setup-agent-runtime-access-assign
description: "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."
metadata:
version: "1.1"
domains: ["Service", "Agentforce"]
minApiVersion: "67.0"
relatedSkills:
- "service-itsm-agentic-setup-agentforce-studio-configure"
- "service-itsm-agentic-setup-cmdb-access-assign"
- "service-itsm-agentic-setup-employee-agent-configure"
- "service-itsm-agentic-setup-fulfiller-agent-configure"
- "service-itsm-agentic-setup-itsm-agentforce-permset-assign"
cliTools:
- tool: ["node"]
semver: ">=18.0.0"
- tool: ["sf"]
semver: ">=2.0.0"
accessCheck: "OrgPermissions.EinsteinAgentPlatform"
allowed-tools: |
Bash
Read
AskUserQuestionAn 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:
1. **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. 2. **A custom "Agent Access" permission set.** Create (or reuse) **Agent Access**, grant the **activated agents** the user chooses (one `SetupEntityAccess` per 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.
Full I/O contracts in `references/helper-contracts.md`.
---
1. **`sf` CLI 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. 2. **API v67.0+**. 3. **`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.
---
Ask only what cannot be inferred from conversation:
This repository provides Salesforce agent skills, plugins, and sample apps for building applications.
Declared architecture snapshot for one Agentforce agent: planner, topics, actions, flows, Apex, prompt templates, and NGA…
Use this skill to Upgrade Einstein Bots into Agentforce agents end-to-end in a single pass, orchestrating per-bot Agent Spec…
Data Cloud 360° view of a single Agentforce session. TRIGGER when user asks to trace, inspect, summarize, or describe a specific…
Build, modify, audit, repair, optimize, debug, and deploy agents with Agentforce Agent Script. TRIGGER when: user creates,…
Analyze production Agentforce agent behavior using session traces and Data Cloud, and manage Agent Health Monitoring (AHM)…
Use to design an AI agent persona — identity, voice, tone, behavioral style, guardrails — and encode it into Agent Script (.agent…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.