forcedotcom/sf-skills / plugins/builder/education-cloud/skills/education-cloud-multi-campus-configure
education-cloud-multi-campus-configure
VerifiedUse this skill when a Salesforce Administrator needs to create OR maintain an institutional hierarchy for Education Cloud by parsing organizational structure from a PDF, URL, text, or CSV. On a first run it creates System, Campus, College, and Department Account records linked via ParentId plus 1:1 Business Profile records. On later runs it reconciles the org's existing hierarchy against the desired structure and applies only the delta — adding new units, renaming, or moving a node under a different parent — never recreating what exists. TRIGGER when the user wants to set up, configure, build, update, restructure, or reorganize a multi-campus structure, institutional hierarchy, or account hierarchy with business profiles; or add, rename, or move a campus, college, or department. DO NOT TRIGGER for single-campus flat setups without hierarchy levels, one-off manual account creation, or non-Education-Cloud account management.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 21.3 KB |
| examples/hierarchy_visualization.md | markdown | 5.7 KB |
| examples/output_examples.md | markdown | 1.6 KB |
| examples/sample_hierarchy_input.csv | other | 1.7 KB |
| examples/sample_hierarchy_input_edgecases.csv | other | 937 B |
| references/account_recordtype_prerequisite.md | markdown | 2.5 KB |
| references/delta_computation.md | markdown | 2.2 KB |
| references/error_handling.md | markdown | 8.3 KB |
| references/foundation_prerequisites.md | markdown | 3.8 KB |
| references/gotchas.md | markdown | 2.5 KB |
| references/hierarchy_parsing_rules.md | markdown | 6.1 KB |
| references/mcp-invocation.md | markdown | 3.5 KB |
references/mcp-invocation.md
View on GitHub# MCP Invocation Reference — Multi-Campus Hierarchy
`headless-360` is the default transport (see Mechanism in `SKILL.md` for the health-probe and fallback
sequence). When it's healthy, every operation below dispatches through it via four meta-tools:
- `mcp__headless-360__discover(query)` — semantic search over the indexed operation catalog
- `mcp__headless-360__describe(id)` — pull the schema and canonical route for one operation
- `mcp__headless-360__dispatch_readonly({url, method, queryParams?, body?})` — GET / read-only HTTP
- `mcp__headless-360__dispatch({url, method, body?, queryParams?})` — POST / PATCH / DELETE HTTP
**Dispatch takes raw HTTP**, not `{operation_id, arguments}`. Give it the full `url`
(`/services/data/v68.0/...`), `method`, optional `body`, and optional `queryParams` (camelCase — the
tool rejects `query_params`, and a SOQL string must go in `queryParams.q`, never appended inline to
the URL as `?q=`). The server signs the request with the JWT bound to the current MCP session and
forwards it to the org — the skill never handles a credential, org id, or alias.
**A `discover` miss does NOT mean the route is absent.** The standard `/sobjects/...` and `/query`
REST routes this skill uses are not always ranked first (or indexed) in the discovery corpus —
`describe` on the canonical operation still returns the schema, and `dispatch*` on the exact path
still works. Only if the GET/POST/PATCH/DELETE itself returns 404 should you treat the route as
unavailable on this org.
## Response envelope
`dispatch*` returns the REST response singly wrapped:
```json
{ "status_code": 200, "body": { "totalSize": 1, "records": [ { "Id": "001..." } ] } }
```
Read the relevant field from `body`. Status codes: `200` read success; `201` record created; `400`
bad body or a business-rule rejection — read `body[0].errorCode`; `403` access/feature gap; `404` the
endpoint/impl is not present on this org.
## Calls used by this skill
**Step 3.5 — resolve Account RecordType**
```text
mcp__headless-360__dispatch_readonly({"url": "/services/data/v68.0/sobjects/Account/describe", "method": "GET"})
```
**Step 5 — load current hierarchy**
```text
mcp__headless-360__dispatch_readonly({"url": "/services/data/v68.0/sobjects/Account/[Account Id]/ChildAccounts", "method": "GET"})
```
Fallback if `ChildAccounts` is unavailable:
```text
mcp__headless-360__dispatch_readonly({
"url": "/services/data/v68.0/query",
"method": "GET",
"queryParams": { "q": "SELECT Id, Name, ParentId FROM Account WHERE ParentId = '[Account Id]'" }
})
```
**Step 7 — create / rename / move / delete Account**
```text
mcp__headless-360__dispatch({
"url": "/services/data/v68.0/sobjects/Account",
"method": "POST",
"body": { "Name": "[Node name]", "RecordTypeId": "[recordTypeId]", "ParentId": "[Parent Account Id]" }
})
mcp__headless-360__dispatch({"url": "/services/data/v68.0/sobjects/Account/[Account Id]", "method": "PATCH", "body": {"Name": "[new name]"}})
mcp__headless-360__dispatch({"url": "/services/data/v68.0/sobjects/Account/[Account Id]", "method": "PATCH", "body": {"ParentId": "[new parent Account Id]"}})
mcp__headless-360__dispatch({"url": "/services/data/v68.0/sobjects/Account/[Account Id]", "method": "DELETE"})
```
**Step 8 — create BusinessProfile**
```text
mcp__headless-360__dispatch({"url": "/services/data/v68.0/sobjects/BusinessProfile", "method": "POST", "body": {"AccountId": "[Account ID]"}})
```
**Step 9 — cold verification**
```text
mcp__headless-360__dispatch_readonly({"url": "/services/data/v68.0/sobjects/Account/[Account Id]", "method": "GET"})
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |