Guides Salesforce Administrators through creating or maintaining an Education Cloud institutional hierarchy (System, Campus, College, Department) by parsing org structure from PDF, URL, text, or CSV. Creates Account records with ParentId and Business Profiles on first run; reconciles delta on subsequent runs.
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.
Guides Salesforce Administrators through the full lifecycle of an institutional hierarchy: initial creation AND ongoing maintenance. Parses organizational structure from documents, URLs, CSV, or text, then either builds the hierarchy from scratch or reconciles it against what already exists in the org — creating only the delta. Supports any number of hierarchy levels (e.g., System → Campus → College → Department, or System → Region → Campus → Division → Department) based on the input. Creates/updates Account records with parent-child relationships and Business Profiles for each level, derives materialized paths on the fly for semantic navigation, and validates the result.
Try headless-360 first for every Account/BusinessProfile read or write — reads via dispatch_readonly, writes via dispatch (see references/mcp-invocation.md for call shape, response envelope, and per-step invocations). Probe with GET /services/data/vXX.0/limits before the first call: 2xx → route everything through it. Absent/4xx/5xx → probe other available transports (another Salesforce MCP server, or authenticated sf CLI) with the same read, use the first healthy one, and tell the user which transport is in use. None healthy → stop, ask the user to connect one; never fabricate a result.
Gather or infer before proceeding:
Defaults unless specified:
If the user provides a complete hierarchy description or document, parse and confirm the structure before creating or changing records.
All steps are sequential. Do not skip or reorder. If blocked, stop and ask for missing context.
Verify foundation prerequisites — Follow references/foundation_prerequisites.md: org edition, Lightning Experience, Education Cloud license, running user's Full Access assignment, Education Cloud Foundation enabled (self-heal via confirm-then-enable if off). Do not proceed to Step 1 until all checks pass.
Understand input format
Name,LevelType,Level,ParentName (see examples/sample_hierarchy_input.csv for the expected shape; examples/sample_hierarchy_input_edgecases.csv shows duplicate names, abbreviations, and an orphaned parent reference)Parse desired hierarchy structure
references/hierarchy_parsing_rules.md for decision logicConfirm desired structure with user
examples/hierarchy_visualization.md for the box-drawing template and formatting rules.3.5. Resolve Account RecordType from org
developerName/available isn't exposed through a plain Account SOQL query — describe is the correct source):
GET /services/data/v68.0/sobjects/Account/describe via dispatch_readonly (see references/mcp-invocation.md)recordTypeInfos array from body. Each entry has developerName, name, recordTypeId, available, defaultRecordTypeMapping.developerName (varies by org, e.g. Business, Business_Accounts). Ignore the Master entry (developerName = "Master") — not selectable for records.available:true RecordType → use it.developerName to use.references/account_recordtype_prerequisite.md: ask for/confirm a Label, confirm before creating, create via Tooling API, cold-verify available:true.recordTypeId into a runtime variable recordTypeId (a resolved value from THIS org's describe response — never a literal copied into the skill). Use recordTypeId for every Account create in Step 6.Determine mode: new setup vs. update
existingTree (every desired node is new).(Update mode) Load current hierarchy and compute the delta
ChildAccounts, SOQL fallback), match desired vs. current by Name within sibling group, and classify each node as reuse / CREATE / EXTRA / RENAME / MOVE — full matching and cycle-rejection algorithm in references/delta_computation.md.Preview before any write
examples/output_examples.md for both templates.Apply changes (create / rename / move)
references/mcp-invocation.md (Step 7). Capture each created Account's returned Id. Do not stop at a "pending"/"intended delta" plan — the confirmation is the go-ahead.RecordTypeId (the field the Data API sObject POST accepts) — NOT a nested RecordType/DeveloperName object, which the sObject create endpoint rejects. Value is the recordTypeId variable resolved from describe in Step 3.5 — never a hardcoded 18-char Id. For the System (top level, new setup only), OMIT ParentId entirely (do not send null). Store returned Account ID: accountMap[NodeId] = response.body.idName only. Move: patch ParentId only (cycle already rejected in Step 5).[action] applied: [count] Accounts ([level name])references/error_handling.mdCreate Business Profiles (new/changed Accounts only)
POST /services/data/v68.0/sobjects/BusinessProfile with body {AccountId} (see references/mcp-invocation.md)InstitutionType warning: if the user asks to populate InstitutionType on a Business Profile, note that it is a managed, restricted picklist (typically Public / Private / Charter only — cannot be extended). For institutions outside that K-12/higher-ed taxonomy (e.g. vocational/trade, allied health, satellite/extension campuses), there is no valid value that fits. Tell the user this upfront rather than guessing or silently picking the closest match, and offer Description as the only available workaround field for that nuance — it is not a substitute for a real categorization field.[Total N] Business Profiles created and linkedreferences/error_handling.md (retry with exponential backoff)Verify hierarchy (cold verification)
success:true on a write is not proof. Cold GET /services/data/v68.0/sobjects/Account/[Account Id] (via dispatch_readonly) on each affected Account (created, renamed, moved, and their parents); read Name, ParentId, RecordTypeId. Confirm: ParentId resolves the expected parent (System has ParentId: null, no orphans); RecordTypeId matches Step 3.5's resolved value; RENAME/MOVE persisted correctly.Hierarchy verification complete — [N] Accounts, parent chains valid, 0 orphansReturn structure summary (completion report)
# Institutional Hierarchy Expanded Successfully for an update run, # Institutional Hierarchy Created Successfully for new setup. If an output location was provided, you MUST actually write the report there as report.md by invoking the file-write tool — do not merely print the report body in chat and claim it was saved; a described-but-unwritten file does not exist. Otherwise display it.examples/hierarchy_visualization.md)/ to display the materialized path (derived on the fly — no stored path field)| Constraint | Rationale |
|---|---|
| Update mode changes only the delta — reuse existing Accounts, never recreate | Recreating produces duplicates and orphaned Business Profiles; reconcile is the correct maintenance model |
| Deletion is never automatic — report extras, delete only on explicit per-node user confirmation | Removing an Account cascades to its Business Profile and children; destructive and irreversible |
| System Account has no ParentId | Top-level account cannot reference a parent |
| Child ParentId must reference its immediate parent Account | Maintains tree structure integrity — children link to direct parent, not ancestors |
| Process CREATE in depth-first order; apply MOVE/RENAME after creates | ParentId references fail if parent doesn't exist yet |
| Reject a MOVE that places a node under its own descendant | Cycle would corrupt the tree; Salesforce also throws CIRCULAR_DEPENDENCY |
| BusinessProfile must link to exactly one Account via AccountId (1:1) | Required by Education Cloud; never create a second profile for an existing Account |
| All Account names must be unique within their sibling group | Delta matching keys on name-within-parent; duplicates make reconcile ambiguous |
Account RecordType resolved at runtime from Account describe, never hardcoded — capture recordTypeId from recordTypeInfos; POST uses RecordTypeId (not nested RecordType/DeveloperName) | Hardcoded Id/DeveloperName silently mismatches other orgs; describe is the source of truth for RecordType metadata |
| Retry Business Profile creation on API rate limit | Bulk creation commonly hits rate limits; retry succeeds |
| Materialized path is derived on the fly (walk ParentId chain to root), not read from a stored field | No path column exists on Account; compute it by joining ancestor Names with / when a path is requested |
| Support any number of levels (2+) | Do not hardcode level count — parse whatever structure appears in source |
headless-360 is the default transport for every Account/BusinessProfile read/write; fall back to another available MCP or authenticated sf CLI only when it isn't set up, and announce the transport in use | Keeps org auth on the session's bound OAuth JWT when available; falling back silently would hide which credential/transport actually made the change |
| Never silently substitute a different data source when the requested URL is blocked | Customer must know what their hierarchy was actually built from — ask for a PDF/CSV/pasted alternative instead |
InstitutionType on BusinessProfile is a managed restricted picklist — flag it, don't guess a value for institutions outside its taxonomy | Guessing a value (or forcing the closest fit) misrepresents the institution's real category |
See references/gotchas.md for known failure modes and their resolutions (rename/delete ambiguity, duplicate update runs, paging, rate limits, ambiguous parsing, missing Education Cloud provisioning, and more).
Deliverables (new setup):
AccountId fieldDeliverables (update/reconcile): the delta only — counts of created / renamed / moved / unchanged Accounts, any untouched extras, Business Profiles added for new Accounts, and the same verification summary.
See examples/output_examples.md for sample output structures (new setup and update/reconcile).
| File | When to read |
|---|---|
references/foundation_prerequisites.md | Step 0 — org edition, Lightning Experience, EDU license, permission set assignment, Education Cloud Foundation enablement; run before Step 1 on every standalone invocation |
references/mcp-invocation.md | Steps 3.5, 5, 7-9 — exact dispatch/dispatch_readonly call shape and response envelope for every Account/BusinessProfile read/write |
references/account_recordtype_prerequisite.md | Step 3.5 — no non-Master Account RecordType exists in org; ask/confirm/create it as a self-resolving prerequisite |
references/hierarchy_parsing_rules.md | Step 2 — when parsed structure is ambiguous (e.g., college names appear without explicit campus parent) |
references/delta_computation.md | Step 5 — exact matching algorithm for reconciling desired vs. current hierarchy (reuse/CREATE/EXTRA/RENAME/MOVE), including cycle rejection |
references/error_handling.md | Steps 7-8 — when API errors occur during Account create/patch or Business Profile creation |
references/gotchas.md | Any step — known failure modes and their resolutions |
examples/hierarchy_visualization.md | Steps 3 & 10 — to format the hierarchy structure summary for the user |
examples/output_examples.md | Steps 6 & 10 — pre-write preview templates, and sample completion-report output for new setup and update/reconcile |
examples/sample_hierarchy_input.csv | Step 1 — reference shape for CSV input (Name,LevelType,Level,ParentName) |
examples/sample_hierarchy_input_edgecases.csv | Step 1 — CSV edge cases: duplicate sibling names, abbreviations, orphaned parent reference |
examples/hierarchy_visualization.md (opens in a new tab)examples/output_examples.md (opens in a new tab)examples/sample_hierarchy_input.csv (opens in a new tab)examples/sample_hierarchy_input_edgecases.csv (opens in a new tab)references/account_recordtype_prerequisite.md (opens in a new tab)references/delta_computation.md (opens in a new tab)references/error_handling.md (opens in a new tab)references/foundation_prerequisites.md (opens in a new tab)references/gotchas.md (opens in a new tab)references/hierarchy_parsing_rules.md (opens in a new tab)references/mcp-invocation.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/sf-skills:education-cloud-multi-campus-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-skills266 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).3 plugins in 2 repositories ship this exact skill · first indexed Nov 14, 2026
Other plugins' skills for the same job