Configures Nonprofit Cloud Fundraising on a Salesforce org headlessly using headless-360 MCP tools. Assigns permission sets/groups org-wide, enables Fundraising, creates a default Gift Designation, configures gift and recurring-donation-failure settings, and offers optional enhanced features like Interest Tags and Timeline.
Ships in sf-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Turn on Nonprofit Cloud Fundraising for an org: resolve and assign the right permission sets and
groups org-wide, by role, confirm the plan, enable Fundraising, create a default Gift
Designation record, configure basic gift/recurring-donation-failure settings and Fundraising
feature toggles, and offer optional enhanced features. Every read/write runs through the Salesforce-hosted
headless-360 MCP server via its four meta-tools. Toggle writes use named or org-preference operations, never the
IndustriesSettings Metadata API (not available on every org). The org comes from the
session's OAuth JWT; this skill never handles credentials, and uses an org alias only to pin the optional CLI fallback to the session's org.
Run the Fundraising license check (Phase 1 step 2) first, so an
unlicensed org stops with zero writes. Then check whether Person Accounts is live via mcp__headless-360__dispatch_readonly
— a Tooling query, SELECT QualifiedApiName FROM FieldDefinition WHERE EntityDefinition.QualifiedApiName='Account' AND QualifiedApiName='IsPersonAccount' (totalSize > 0
= live), the same check hr-service-person-account-setup uses. Do not filter RecordType on
IsPersonType — that column only exists once Person Accounts is already enabled, so it 400s with
INVALID_FIELD on exactly the orgs this gate needs to detect. FieldDefinition is always valid
regardless of org state.
Layer 0 writes nothing. Any Person Accounts change is confirmed in the step 5 plan and
written in step 6a. See references/mcp-invocation.md's "Person Accounts
enablement (Layer 0)" and "Person Accounts record-type profile visibility".
On any
401/403/404from adiscover/describe/dispatch*call, halt and surface the raw error rather than guessing — see the Error Taxonomy inreferences/mcp-invocation.md.
Idempotency and resumability: every phase check re-reads live org state — never a persisted
checkpoint. state.json is output-only, never read to resume. Every write step (6, 8, 9, 11)
queries for an existing match/state before creating or toggling, so re-running this skill — after
a pause, or days later — recognizes completed work instead of erroring on DUPLICATE_VALUE or
re-toggling something already on.
Front-load verification instead of walking steps one at a time: steps 6–11 each need a live
read before deciding whether to write anything — resolve all six checks as early as Phase 1
allows, before starting Phase 3's writes, rather than one at a time in step order. This is still
five to seven separate live queries, not one or two collapsed calls — collapsing it is
under-verification, not the fast path. It applies even when a request says "core setup is already
done, skip it": the live batch is still the minimum bar, and every fact it confirms still gets
recorded in state.json's per-step booleans. See references/mcp-invocation.md → "Front-loading Phase 1's live checks" for the full per-step breakdown and why "already done" never skips a read.
User-facing output: clean but not silent. Before Phase 2 and Phase 3, give a one-line preview of what that phase will touch. After each phase's writes, re-check via a read-only query and give a one-line confirmation — never from the write response alone. Everything else stays internal; step 14's full re-verification still runs at the end.
Before repeating a discover/describe/dispatch_readonly call below, check whether this
session already returned the same fact for the current org via a successful tool response —
reuse it instead of re-reading. A user's verbal claim is never cache-eligible, only a live
response is. See references/mcp-invocation.md → "Phase 0 caching rules" for what qualifies and
when it's invalidated — Layer 0's pause-gate re-check and step 13 always re-read live regardless.
mcp__headless-360__discover(query="Nonprofit Cloud Fundraising settings permission set gift designation"), then describe the concrete targets: GiftDesignation, FundraisingConfig (incl. DonorExternalIdField), and IndustriesSettings.orgPreferenceEnabled and its toggles. See references/mcp-invocation.md for field lists/fallbacks and references/permission-targeting.md for the org-wide permission model.PermissionSetLicense for DeveloperName = 'FundraisingAccessPsl' (the base license, distinct from add-ons like AgentforceForFundraisingPsl). If not present, stop: "Fundraising is not licensed on this org. Contact your Salesforce account team to provision it." Make zero writes.PermissionSet for both name variants (force__FundraisingAccess/FundraisingAccess) and PermissionSetGroup for Fundraising_Admin/Fundraising_User, confirming Status = 'Updated' (see Gotchas on 'Updating'/'Outdated'). Stop and report exactly which is missing if any aren't found. NPC is on-core/unprefixed — never fall back to a managed-package namespace like npe03__/npe01__.describe the FundraisingSettings skill and use its get-settings-view-model read for orgPreferenceEnabled. Do this in Phase 1 — flipping it dispatches the named set-fundraising-org-preference operation, needing its own dedicated confirmation, since it's irreversible and org-wide (references/mcp-invocation.md → "Enabling Fundraising (set-fundraising-org-preference)"). If false, Phase 2 step 5 handles the gate.orgPreferenceEnabled = false, warn explicitly (irreversible and org-wide; dispatches the named set-fundraising-org-preference operation) and get a dedicated confirmation for this step, on top of the plan-wide one below. Confirmed → step 7 writes it, 6/8/9/10/11/12 all reachable. Declined → stop with zero writes: no later step runs, including permission set/group assignment (STOPPED_ENABLEMENT_NOT_CONFIRMED). If Layer 0 found Person Accounts missing, give it the same dedicated irreversibility confirmation (one combined ask is fine); declining stops with zero writes (STOPPED_PERSON_ACCOUNTS_MISSING). Confirm the rest of the plan via AskUserQuestion before any other write — the ordinary checkpoint, covering every remaining write including toggles; never a separate per-toggle confirmation.FundraisingAccess org-wide, and classify each human user by role — query all active, human User rows, classify each by Profile.Name (Admin/Standard/unclassified), and assign FundraisingAccess to every resolved human user, idempotently. See references/permission-targeting.md for the full targeting model and the custom-profile limitation.6a. Apply the confirmed Person Accounts change — only after step 5. Missing → create the Business Account record type, then run the enablement chain (its own operations only, not HR-Service's). A failed re-check stops with STOPPED_OTHER. Once it shows an active type (even if enabled), make both types visible to Standard User/System Administrator, Person Account default; on failure report manual and continue.
FundraisingSettings skill's set-fundraising-org-preference step — see references/mcp-invocation.md → "Enabling Fundraising (set-fundraising-org-preference)". If describe shows no dispatchable route for it on this org, treat that as a blocking capability gap and stop — do not fall back to a Metadata API write for this field. Re-verify via dispatch_readonly of get-settings-view-model before treating it as done — never trust the write response alone.Fundraising_Admin to every Admin-classified user, Fundraising_User to every Standard-classified user from step 6 — never both, never unclassified. Same idempotency rule as step 6.GiftDesignation (Name, IsActive = true, IsDefault = true), confirmed via describe. Query for an existing IsDefault = true record first. Blocked whenever step 7 was blocked (INVALID_TYPE until the org preference is on); never run ahead of step 6 — the assigned user needs FundraisingAccess to see it.FundraisingConfig fields for gift/recurring-donation-failure handling, confirmed via describe (see references/mcp-invocation.md → "FundraisingConfig field defaults"). Resolve DonorExternalIdField deterministically via an object describe on the donor object, looking for a field with externalId: true (see references/mcp-invocation.md → "FundraisingConfig field defaults" — do not query FieldDefinition/EntityParticle for an IsExternalId column, neither exposes one), else fall back to donor name — no prompt. This resolution is mandatory, never skippable: do not save FundraisingConfig with DonorExternalIdField unset, and run the describe even if every other setting is already configured. Blocked whenever step 7 was blocked.references/mcp-invocation.md → "Fundraising feature toggles": 2 route through named headless-360 operations, and the other 4 route through the generic Setup org-preference operation. (NextGen Commitment Processing is not a toggle here — step 7's set-fundraising-org-preference already force-enables it as a side effect.) Verify every write with a best-effort read-only Tooling query; if IndustriesSettings isn't available on the org, report the toggle as written-but-unverified and ask the admin to confirm it in Setup, never fall back to a metadata write. Blocked whenever step 7 was blocked.AskUserQuestion: Interest Tags, Interaction Summaries, Record Alerts, Life Events, Timeline — all, some, or none, never one at a time. If Record Alerts is selected, follow up with one AskUserQuestion for the category's label and description (free text) and severity (a choice of Error, Warning or Info) — never create a category without an admin-supplied name. Timeline is irreversible and needs its own explicit warning/confirmation beyond the combined ask. See references/mcp-invocation.md → "Optional enhanced features" for the per-feature mechanism.dispatch can 500 and still have applied, or 200 and still have been silently rejected. Only a read-back is authoritative.outcome/stopReason. Same format for the step 12 pre-ask recap — see references/mcp-invocation.md → "Status-recap table format".state.json — see Output Expectations below. This is the final action regardless of outcome, including hard-stops.| Constraint | Rationale |
|---|---|
| Check licensing, then Person Accounts, read-only first; enable Person Accounts (step 6a) only after the admin confirms the plan | Irreversible — confirmed as part of the plan |
| Check Fundraising licensing before the Person Accounts check and permission sets | Stops an unlicensed org before any irreversible write |
Always describe before a dispatch write | Confirms the exact input schema for each operation |
Confirm the plan via AskUserQuestion before enabling Fundraising or assigning anything | Prevents unintended, hard-to-reverse org changes |
| Assign permission sets/groups to human users only | Integration/service users on Fundraising sets cause confusing access grants |
| Re-verify via read-only queries instead of trusting write responses | dispatch can 200 on a rejected create or 500 on a write that actually succeeded — neither response alone is proof |
Check orgPreferenceEnabled (Phase 1) before assuming Fundraising is already on | One-way, irreversible, org-wide toggle — gated behind its own dedicated confirmation |
| Never treat a human's "done" answer at a pause gate as verified — re-run the read-only check before resuming | Only the org's own state is authoritative, not a report of it |
| Never persist or read a local checkpoint file to decide where to resume | state.json is output-only; live org state is the only checkpoint |
Write state.json as the final action on every path, including hard-stops | Downstream eval scoring and admins need a machine-readable outcome regardless of where the flow stopped |
| Permission set/group assignment is org-wide by role | See references/permission-targeting.md |
Attempt every write through headless-360 named operations or the generic Setup org-preference operation; never write IndustriesSettings (or any toggle) through the Metadata API or the sf CLI | The Metadata API isn't available on every org, so a Metadata-API-dependent flow breaks there |
| Never create a Record Alert category without an admin-supplied name — no example or default name | The category is admin-owned content; a made-up one is clutter they didn't ask for |
Ask about optional enhanced features (step 12) once, combined — never one AskUserQuestion per feature | Avoids prompt fatigue for a set of independent, non-blocking add-ons |
| Never automate page-layout or Lightning-page component placement (e.g. the Business Milestones related list) — always manual, guided instructions | Placement/styling isn't well-driven through chat, and automation risks overwriting existing customizations |
| Gift Designation queries/creates (step 9) must never run ahead of permission set assignment (step 6) | Designations aren't visible or usable to the assigned user until FundraisingAccess is granted |
Known failure modes and misreadings, with resolutions, are catalogued in full in
references/gotchas.md — read it before executing any step that involves discover,
permission set/group readiness, or Record Alerts. Additional
edge cases (write-response trust, resume/idempotency, pause-gate re-verification, the "who am I"
fallback, custom-profile/integration-user limits, donor External-Id) are in
references/mcp-invocation.md's Error Taxonomy/gate sections and references/permission-targeting.md's
known-limitations notes.
Known gap: this schema doesn't yet track org-wide permission targeting or feature toggles. Extending it further is a tracked follow-up.
Write state.json to the working directory as the final action, matching this schema:
{
"prereqs": { "personAccountsEnabled": true, "fundraisingLicensed": true },
"permSets": { "resolved": true, "assignedToHumanUsersOnly": true },
"confirmedBeforeEnable": true,
"fundraisingEnabled": true,
"permissionSetGroupsAssigned": true,
"defaultGiftDesignationCreated": true,
"settingsConfigured": true,
"outcome": "CONFIGURED",
"stopReason": "",
"optionalFeatures": {
"offeredCombined": true,
"recordAlerts": { "categoryCreated": true, "categoryAlreadyExisted": false, "orgPrefsOutcome": "manual_guidance_given" },
"lifeEvents": { "licenseAssigned": true, "pageLayoutDeployAttempted": false },
"timeline": { "enabled": true, "dedicatedConfirmationGiven": true }
}
}
outcome is one of CONFIGURED, STOPPED_PERSON_ACCOUNTS_MISSING, STOPPED_NOT_LICENSED,
STOPPED_NOT_CONFIRMED, STOPPED_ENABLEMENT_NOT_CONFIRMED, STOPPED_OTHER — never any other
string, including something meaning "skipped" or "already done." There is no such value; inventing
one fails validation.
optionalFeatures is a required top-level object whenever step 12 is reached — reached means
attempting or resolving at least one of Record Alerts, Life Events, or Timeline, not finishing all
three. orgPrefsOutcome is one of configured, manual_guidance_given, license_gap,
not_reached. The Record Alerts org preferences are manual guidance only, so use manual_guidance_given once the admin opts in (category creation is reported separately in categoryCreated).
Populate every sub-field touched with what was actually observed; leave sub-fields for a feature
never touched at their not-yet-resolved value (not_reached/false) rather than dropping them.
Omit the whole optionalFeatures object only when step 12 was never reached at all — never omit it
just because the work is partial.
All eight core fields above must be present in the written JSON with a literal true/false —
never omit a key, even for a step the request told you to skip. A step the front-loaded batch
confirmed is verified, not skipped — give it the batch's real observed value (usually true),
not false. Reserve false for a field genuinely never checked by any means; even then the key
itself must stay in the object — a missing key and a false value are not the same output, and
only the latter passes validation. Populate every field from values actually observed via
dispatch*/the read-back — never fabricate. Set stopReason whenever outcome starts with
STOPPED_. Core setup pre-verified via the front-loaded batch, plus this session's
optional-enhanced-features work, still reports outcome: CONFIGURED — that enum has no separate
"already done" variant.
Use STOPPED_ENABLEMENT_NOT_CONFIRMED — not STOPPED_OTHER — when Phase 2 step 5's enablement
confirmation ends in "stop": an explicit admin decline. No writes were made, so leave the write-dependent
fields false.
| Need | Delegate to |
|---|---|
| Provisioning a Unified Employee (UEL) user, not a Fundraising setup | service-itsm-agentic-setup-uel-user-create |
| General headless-360 invocation conventions (tool shape, ECA setup) | See references/mcp-invocation.md in this skill, or the sibling reference in service-itsm-incident-mgmt-configure |
| File | When to read |
|---|---|
references/mcp-invocation.md | Every phase — call shape, ECA setup, error taxonomy, and optional-features mechanisms |
references/permission-targeting.md | Steps 6, 8 — the org-wide role-based permission model |
references/gotchas.md | Before any step touching discover, toggle verification, permission set/group readiness, or Record Alerts — known failure modes and resolutions |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
salesforce, nonprofit-cloud, fundraising, headless-360, org-provisioning
266 skills in this plugin
/afcc-setup-coordinateOrchestrates end-to-end headless setup of Agentforce Contact Center (AFCC) on a Salesforce org. Scans the org first, presents a delta plan for approval, then sequentially provisions demo users, Omni-Channel base settings, a human queue with routing config and members, presence statuses, permission sets, a PSTN voice number, and an active PstnVoice MessagingChannel wired to the queue. Interactive at key decision points — never assumes country, number type, queue names, or user counts. TRIGGER: set up AFCC, configure Agentforce Contact Center, stand up voice contact center, AFCC migration setup, provision AFCC org headlessly./agentforce-architecture-analyzeDeclared architecture snapshot for one Agentforce agent: planner, topics, actions, flows, Apex, prompt templates, and NGA plugins. Renders a human-readable architecture document and Mermaid invocation graph from design-time metadata (not runtime audit rows). TRIGGER when user asks to describe, diagram, inventory, audit, document, or diff (e.g. v3 vs v5) the architecture / action tree / topic structure / tool inventory of a specific agent by agent API name in a specific org. DO NOT TRIGGER for runtime session traces, conversation transcripts, generation timings, or gateway audit chains — this skill reads design-time metadata only (use agentforce-d360-analyze for session traces)./agentforce-bot-upgradeUse this skill to upgrade Einstein Bots into Agentforce agents end-to-end in a single pass, orchestrating per-bot Agent Spec generation, agentforce-generate authoring, and post-conversion .agent enhancements. TRIGGER when: user asks to migrate, upgrade, or convert one or more Einstein Bots (BotDefinition/BotVersion chatbots) to Agentforce agents; runs a multi-bot bot-to-agent upgrade; needs Einstein Bot metadata turned into Agent Spec handoffs and generated .agent agents; convert bots to agents; upgrade my service bots; move bots to Agentforce. DO NOT TRIGGER when: user already has an approved Agent Spec and only wants direct .agent authoring, deploy, test, or observe flows; user wants to migrate or upgrade an EXISTING Agentforce agent from a legacy GenAiPlannerBundle to an NGA aiAuthoringBundle (that is agentforce-generate's 'Migrate a Legacy Agent to Agent Script' flow, not an Einstein Bot upgrade); the request is unrelated to Einstein Bot migration./agentforce-d360-analyzeData Cloud 360° view of a single Agentforce session. TRIGGER when user asks to trace, inspect, summarize, or describe a specific Agentforce session by session id (Agent Session UUID `019d…` or MessagingSession id `0Mw…`). Also triggers on session discovery — find/list/search sessions by time, agent, channel, outcome, or conversation text — when the user has no session id yet. DO NOT TRIGGER for design-time architecture questions (use agentforce-architecture-analyze instead) or for runtime perf/latency/SLO questions that require platform telemetry beyond Data Cloud./agentforce-generateBuild, modify, audit, repair, optimize, debug, and deploy agents with Agentforce Agent Script. TRIGGER when: user creates, reviews, or changes .agent files or aiAuthoringBundle metadata; asks to fix AgentScript, audit an existing agent, run an AgentScript health check, common-pitfall review, or baseline-versus-candidate repair loop; changes a response, action, subagent, route, state flow, or Agent Spec; migrates or upgrades a legacy GenAiPlannerBundle Agentforce agent (NOT an Einstein Bot) to an aiAuthoringBundle (Agent Script) agent; previews, debugs, deploys, publishes, or tests agents; uses sf agent generate/preview/publish/test; or manages Agentforce MCP servers, tools, assets, or authentication. DO NOT TRIGGER when: Apex, Flow, Prompt Template, Experience Cloud, or general Salesforce CLI work is unrelated to Agent Script; the source is an Einstein Bot (BotDefinition/BotVersion) — use agentforce-bot-upgrade; or the primary input is a production session or trace ID rather than an agent artifact./agentforce-hyperclassifier-configureOnboard a customer org and evaluate or improve Agentforce HyperClassifier routing descriptions against labeled utterances. TRIGGER for classifier evaluation, expected-versus-actual routing reports, repeated regressions, or description optimization with customer ECA authentication. DO NOT TRIGGER for general agent conversation testing, runtime session tracing, or automatic agent deployment./sf-skills:nonprofit-fundraising-configurefrom sf-skills
sf-skills@sf-skills-plugin is listed by ccmalcom/sf-skills-plugin — review the source before installing
npx claudepluginhub ccmalcom/sf-skills-plugin --plugin sf-skills3 plugins ship this exact skill · first indexed Nov 10, 2026
Other plugins' skills for the same job