agentforce-architecture-analyze
A Salesforce skill that maps how one Agentforce agent is built, working only from design-time metadata rather than live session records.
What the skill teaches
A Salesforce skill that maps how one Agentforce agent is built, working only from design-time metadata rather than live session records. Given an agent API name and an org, the agent uses the Salesforce CLI and bundled Python scripts to read the planner, topics, actions, flows, Apex classes, prompt templates and plugins, then produces a readable architecture document and Mermaid diagrams of the invocation graph. It can also compare two versions of the same agent. If no agent is named, it first lists the agents the org contains. It needs the sf CLI and Python 3.10 or later.
Capabilities
- Inventory the topics, actions and flows of an Agentforce agent
- Render Mermaid diagrams of an agent's invocation graph
- Compare the architecture of two agent versions
- List the agents defined in an org
About
- Publisher
- Salesforce
- Tool
- Salesforce
Install
- Run this to add it to Any client:
npx skills add forcedotcom/sf-skills
What's inside
- README.md
- assets/cli/describe_sobject.yaml
- assets/cli/describe_tooling_sobject.yaml
- assets/cli/list_metadata_genaiprompttemplate.yaml
- assets/cli/org_display.yaml
- assets/cli/retrieve_genai_plugin.yaml
- assets/cli/show_access_token.yaml
- assets/mermaid/action_tree.mmd
- assets/mermaid/data_flow.mmd
- assets/mermaid/dependency_graph.mmd
- assets/mermaid/invocation_sequence.mmd
- assets/mermaid/planner_state.mmd
- assets/soql/apex_class_bodies_by_ids.soql
- assets/soql/apex_class_bodies_by_names.soql
- assets/soql/bot_definition_details.soql
- assets/soql/bot_version_lookup.soql
- assets/soql/flow_definition_by_ids.soql
- assets/soql/flow_definition_ids_by_names.soql
- assets/soql/flow_definition_view_by_durable_ids.soql
- assets/soql/flow_metadata_by_id.soql
- assets/soql/functions_by_plugins.soql
- assets/soql/planner_attrs_by_parent_ids.soql
- assets/soql/planner_bundle_functions.soql
- assets/soql/planner_definition_by_agent_chain.soql
- assets/soql/plugin_functions_by_plugin_ids.soql
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
This skill includes scripts that your agent may run.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Salesforce | |
| Publisher | Salesforce | source |
| Official status | OfficialSalesforce's developer documentation for its skills and plugins links to the forcedotcom/sf-skills repository | source |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | Yes | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | Apache-2.0 | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 6, 20261,156 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository |
Sources
- Skill file (SKILL.md)github.com/forcedotcom/sf-skillsNov 13, 2026
- README (README.md)github.com/forcedotcom/sf-skillsNov 13, 2026
- Licence file (LICENSE.txt)github.com/forcedotcom/sf-skills · Backs: Licence, PublisherNov 13, 2026
- Web pagedeveloper.salesforce.com · Backs: Official statusNov 13, 2026
- Folder in the repository (agentforce-architecture-analyze)github.com/forcedotcom/sf-skills · Backs: Includes scriptsNov 13, 2026
- GitHub repositorygithub.com/forcedotcom/sf-skills · Backs: Activity, LicenceNov 11, 2026
- Skill file (SKILL.md)github.com/forcedotcom/sf-skillsNov 10, 2026
- Folder in the repository (agentforce-architecture-analyze)github.com/forcedotcom/sf-skills · Backs: Includes scriptsNov 10, 2026