Agentforce Architecture Analyze
Architecture snapshot of one Agentforce agent's planner, topics, actions, flows, Apex, and prompts from design-time metadata.
- CCM score
- 73 of 100
- skills.sh installs
- 5.9K
- GitHub stars
- 1.2K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the planner, topics, actions, flows, Apex classes, prompt templates, and NGA plugins declared for one agent
- Reads only
BotDefinition,GenAiPlanner*,GenAiPlugin*,GenAiFunction*,Flow,ApexClass, andGenAiPromptTemplatemetadata, never runtime audit rows - Renders a human-readable architecture document and a Mermaid invocation graph, with a runtime budget of 30 to 60 seconds
- Designed for diagramming, inventorying, or diffing a named agent's structure across versions; use agentforce-d360-analyze for session traces
Install
$ npx -y skills add forcedotcom/sf-skills --skill agentforce-architecture-analyze -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
agentforce-architecture-analyze — declared architecture snapshot
Design-time metadata tree for one Agentforce agent: planner → topics → actions → flows → Apex → prompts → NGA plugins. Reads declared metadata only — BotDefinition, GenAiPlanner*, GenAiPlugin*, GenAiFunction*, Flow, ApexClass, GenAiPromptTemplate. Does not read runtime audit rows.
Runtime budget: 30–45s typical, ≤60s hard cap on reference fixtures. Sequential baseline would be 90–220s; parallel Tooling SOQL fan-out delivers a 3–5× speedup. Large bots with many flows scale approximately linearly — each flow metadata retrieve is one round-trip.
Runs inline — no subagent. Every phase is deterministic file processing.
If the user hasn't named an agent
Trigger condition: $ARGUMENTS names no agent (no --agent flag and no exact BotDefinition API name in the prose). Never invent an agent name. Instead, discover what the org actually contains — one read-only query, no pipeline yet. Use the --org alias if given, otherwise the default target org (omit --target-org):
Details
- Repository
- github.com/forcedotcom/sf-skills
- Categories
- AI Agents & LLM Apps, Technical Documentation
- First seen
- Jul 14, 2026
Questions
What does the agentforce-architecture-analyze skill do?
It produces a declared architecture snapshot for one Agentforce agent, covering its planner, topics, actions, flows, Apex, prompt templates and NGA plugins. It renders a human-readable architecture document and a Mermaid invocation graph from design-time metadata. It does not read runtime session traces or audit rows.
How do I install the agentforce-architecture-analyze skill?
Run this command in a project: npx -y skills add forcedotcom/sf-skills --skill agentforce-architecture-analyze -y. Once installed, the agent can describe, diagram, inventory, audit or diff the architecture of a named Agentforce agent in a Salesforce org.
When should I use agentforce-architecture-analyze instead of agentforce-d360-analyze?
Use agentforce-architecture-analyze to describe, diagram, inventory or diff the structure of a specific agent, such as comparing v3 with v5. Use agentforce-d360-analyze for runtime session traces and conversation transcripts, which this skill does not read.
What does the skill need to run?
It needs the sf CLI at version 2.136.8 or later and python3 at version 3.10 or later. It targets Agentforce metadata with minimum API version 64.0 and reads the agent by its API name from a Salesforce org you are authenticated to.
More from forcedotcom/sf-skills
All 78- Dx Org Switch5.9K
- Dx Org Permission Set Assign5.9K
- Platform Custom Lightning Type Generate5.9K
- Agentforce Test5.8K
- Agentforce Observe5.8K
- Platform Lightning App Coordinate5.8K
- Design Systems Slds2 Migrate5.8K
- External Diagram Mermaid Generate5.6K
- Integration Connectivity Connected App Configure5.6K
- Integration Connectivity Generate5.6K
- Agentforce D360 Analyze5.4K
- Experience Ui Bundle Frontend Generate5.4K
- Platform Tracing Configure5.3K
- Experience Ui Bundle Metadata Generate5.3K
- Experience Ui Bundle App Coordinate5.3K
- Platform Value Set Generate5.3K
- Experience Ui Bundle Deploy5.3K
- Experience Ui Bundle Salesforce Data Access5.3K
- Platform Tracing Agentforce Configure5.3K
- Dx App Analytics Query5.3K
- Experience Ui Bundle Custom App Generate5.3K
- Integration Eventing Cdc Configure5.2K
- Platform Trust Archive Manage5.2K
- Integration Eventing Subscription Configure5.2K
Similar to Agentforce Architecture Analyze
More AI Agents & LLM AppsBlueprintMCP serverarcadeai733 starsGenerates architecture and flow diagrams from codebases and system descriptions via Nano Banana Pro.
azure-architecture-autopilotSkillgithub/awesome-copilot1.5K installsTurn natural-language requests and existing Azure resources into architecture diagrams, then refine and deploy them with Bicep.
agent-native-visual-plansPluginBuilderIO/agent-native7.8K starsCreate rich interactive visual plans, recaps, and repo-native visual docs with diagrams, file maps, annotated code and diffs, API/schema summaries, feedback, an
architecture-designerSkilljeffallan/claude-skills8.6K installsStructured system architecture guidance that drafts diagrams, ADRs, and trade-off evaluations for high-level design work.