Home / Docs / Agent Invocation Modes
Agent Invocation Modes
Audience: anyone routing work to agents/<id>/ — humans in Cursor / Claude Code / VS Code, AI assistants wrapping this repo, MCP clients, CI, or custom orchestrators.
TL;DR: The library exposes the same 48 active run-time agents through many channels. MCP is the canonical channel for production use — it keeps agent specs, skill library, probes, and live-org context in sync so agent outputs stay grounded and citations stay resolvable. Other channels exist for sketching, teaching, and delivery-team handoff.
One caveat before you rely on that recommendation: installing the SfSkills plugin does not connect the MCP server. .claude-plugin/plugin.json declares skills and commands and has no mcpServers key, so a user has to wire the server up themselves. Channel 1 is the best channel; it is not the default one.
This file is itself an MCP tool resource — get_invocation_modes returns it verbatim (mcp/sfskills-mcp/src/sfskills_mcp/meta.py:205-225). Agents read it, so keep it accurate.
Source: this catalog was consolidated from an external review (Cursor, 2026-04-19) — see feedback/FEEDBACK_LOG.md, anchor 2026-04-19-cursor-invocation-review. Attributed and adopted; not every claim landed verbatim.
Verified against this checkout on 2026-08-15.
The channels
| # | Channel | Who uses it | Enforcement | Best for |
|---|---|---|---|---|
| 1 | MCP server (get_agent / list_agents) | AI assistants with MCP client | Canonical — stays in sync with repo, ships probes + skills + live-org tools together | Production agent invocations; anything that needs real-org grounding; multi-tool workflows |
| 2 | Authored happy path in AGENT.md | Humans / AI reading the spec directly | By discipline only | Highest-fidelity single run; good for routers and multi-mode designers |
| 3 | Slash commands (/build-flow, /audit-router, etc.) — 67 of them | IDE users | Command wrapper bakes in flags + paths | Repeatable team workflows; "same command, different org alias" |
| 4 | Queue + orchestrator (BACKLOG.yaml) | Library maintainers | Orchestrator reads the queue, routes builders | Skill-building and library-maintenance rows, not ad-hoc "fix this Flow" |
| 5 | Harness (scripts/run_builder.py) | CI / builder agents | Full 5-gate protocol — Gate A inputs, A.5 requirements, B ground, C build, D seal | Generated metadata that must compile in a target org |
| 6 | Bundle export (scripts/export_agent_bundle.py) | Consumer projects / delivery teams | Rewritten paths + shipped probes + shipped skills | Drop a single agent into a customer repo without vendoring the monorepo |
| 7 | Informal @folder chat (@agents/<id>/ + natural language) | Humans exploring | None — all on the model's diligence | Fast sketching; not production; see mitigations below |
| 8 | PR / branch review (code-reviewer, security-scanner, soql-optimizer) | Reviewers on a feature branch | Static scan; no org needed for the three above | "Review this branch" workflows |
| 9 | Pre-push developer habit | Individual devs | By discipline only | security-scanner + soql-optimizer + lwc-auditor before git push |
| 10 | Multi-agent pipelines (choreographed) | Orchestrating caller | Intermediate reports written to disk per docs/consumer-responsibilities.md | content-researcher → *-skill-builder → validator; object-designer → data-model-reviewer |
| 11 | Advisory / pre-sales / architecture desk work | Consultants / architects | None — label as desk-level unless evidence attached | org-assessor, waf-assessor, release-train-planner, sandbox-strategy-designer |
| 12 | Delivery / change readiness | Release managers | Checklists + dependency ordering | changeset-builder, data-loader-pre-flight, custom-metadata-and-settings-designer |
| 13 | Incident / load / data-governance | On-call operators | "Go / no-go + questions" framing | data-loader-pre-flight, duplicate-rule-designer, deployment-risk-scorer |
| 14 | Training / onboarding (reading syllabus) | Juniors | AGENT.md + linked skills as curriculum | Grounding new hires in library conventions |
| 15 | Subagent / delegated tasks | Parent AI session dispatching to child | Parent enforces write-to-disk + envelope | Context isolation; parallel scans on different paths |
Fourteen agent folders are deprecated stubs — validation-rule-auditor, sharing-audit-agent, picklist-governor, org-drift-detector and ten more. Every one of them redirects to audit-router; nine also keep a legacy slash command alias in commands/. See