About AwesomeSalesforceSkills
AwesomeSalesforceSkills is an MCP server published by PranavNagrecha in the RAG category: open-source Salesforce knowledge layer for AI coding assistants. 982+ source-grounded skills, 75 agents, 38-tool MCP server with live-org metadata. pip install sfskills-mcp. Conduid read 50 tools from its source: compare_org_snapshots, describe_object_full, describe_org, describe_permission_set, emit_envelope, get_agent and 44 more. No package is published for it, so it installs from a source checkout.
The repository has 27 stars and 6 forks, and its last commit was on 19 Nov 2026. Conduid has no tagged release on record for it. It passes all 1 static checks Conduid ran on the repository. Its topics include agentforce, ai-coding-assistant, apex, knowledge-base, lwc and open-source.
Install
git clone https://github.com/PranavNagrecha/AwesomeSalesforceSkillsTools (50)
compare_org_snapshotsRead-only P12 org-snapshot comparison from a captured JSON fixture (result_path). Bounded to 32 KiB.describe_object_fullComposite read: fields + record types + validation rules + active flows for one sObject in a single call. Saves four round-trips object-designer / field-impact-analyzer would otherwise make. Per-section errors surface as <section>_error so partial responses still useful.describe_orgDescribe the user's target Salesforce org via 'sf org display' — org id, instance URL, edition, API version, sandbox/scratch status. Use this to ground recommendations in the actual org context.describe_permission_setDescribe a single Permission Set by API name — header metadata, ObjectPermissions, and (optionally) FieldPermissions. Use this inside permission-set-architect to audit what a PSG actually grants. Set include_field_permissions=false for broad PSes where the field-perm row count would explode.emit_envelopeAtomically write an agent's output envelope JSON + paired markdown report to docs/reports/<agent>/<run_id>.{json,md} per docs/consumer-responsibilities.md. Use this at the END of any runtime agent run so the deliverable persists beyond the chat session. Overwrite protection is ON by default. Returns the written paths; returns {error, partial_write} on failure.get_agentFetch the full AGENT.md body for a named agent (e.g. 'apex-refactorer', 'security-scanner', 'deployment-risk-scorer'). Returns the markdown instructions plus metadata. The caller's LLM executes the agent; the MCP server only surfaces the instructions.get_agentforce_test_resultRead-only P11 Agentforce test evidence from a captured JSON fixture (result_path). Bounded to 32 KiB.get_apex_classFetch one ApexClass by name. include_body defaults True; pass False for a header-only call when the class is large or you only need metadata.get_apex_test_runRead-only: retrieve an EXISTING Apex test run via `sf apex get test --test-run-id --json`. test_run_id is required (15/18-char 707…). Optional project_dir is a Salesforce DX project used only as CLI cwd. Never starts or reruns tests. Output is normalized, redacted, paginated, and capped at 32 KiB for model injection.get_automation_inventoryRead-only P05 automation inventory from a captured JSON fixture (result_path). Bounded to 32 KiB.get_code_analysis_resultRead-only P07 code-analysis / security-posture evidence from a captured JSON fixture (result_path). Bounded to 32 KiB.get_component_dependency_evidenceRead-only P04 component-dependency evidence from a captured JSON fixture (result_path). Bounded to 32 KiB.get_data_load_resultRead-only P09 data-load result evidence from a captured JSON fixture (result_path). Bounded to 32 KiB.get_decision_treeFetch one decision tree by basename without .md (e.g. 'automation-selection'). Returns the full markdown — agents should cite the specific branch they followed.get_deployment_resultRead-only: retrieve an EXISTING Salesforce deployment job via `sf project deploy report --job-id --json`. job_id is required (15/18-char 0Af…). Optional project_dir is a Salesforce DX project used only as CLI cwd (the report command refuses a non-DX workspace). Never starts, cancels, retries, or quick-deploys. Output is normalized, redacted, paginated, and capped at 32 KiB for model injection.get_flow_test_resultRead-only P06 flow-test / release-readiness evidence from a captured JSON fixture (result_path). Bounded to 32 KiB.get_integration_config_summaryRead-only P08 integration-config evidence from a captured JSON fixture (result_path). Bounded to 32 KiB.get_invocation_modesReturn docs/agent-invocation-modes.md — the 15 channels this library can be consumed through (MCP, slash commands, bundle export, informal chat, CI harness, subagents, etc.) plus a Quick Picker. MCP is Channel 1 and the canonical channel. Call this once at session start to match the user's situation to the right channel.get_lwc_bundleFetch one LightningComponentBundle by DeveloperName + (by default) every resource in the bundle (js, html, css, meta-xml). Pass include_resources=False for a header-only call. Primary consumer: lwc-debugger, lwc-auditor.get_org_snapshot_manifestRead-only P10 org-snapshot manifest from a captured JSON fixture (result_path). Bounded to 32 KiB.get_skillFetch a skill by id (e.g. 'apex/trigger-framework'). Returns the registry metadata and the full SKILL.md body. Set include_references=true to also pull references/*.md files.get_templateFetch one canonical template by relative path under templates/ (e.g. 'apex/TriggerHandler.cls'). Returns the full body.get_user_access_evidenceRead-only P03 access-path evidence from a captured JSON fixture (result_path). Bounded to 32 KiB.healthServer diagnostic snapshot — server / SDK / sf-CLI versions, registry skill count + build timestamp, lexical-index freshness + size, agent counts by class (runtime / build / deprecated), and the resolved repo root. Never touches the org. Use this to verify the MCP is wired up correctly.list_agentsList SfSkills agents available to the caller. Each agent is an AGENT.md instruction file that tells an LLM how to compose the skill library, templates, decision-trees, and live-org tools into a concrete deliverable (refactor, audit, migration plan, etc.). Filters: kind='runtime' (active user-facing agents), kind='build' (skill-factory agents), kind='deprecated' (retired stubs that redirect — pair with list_deprecated_redirects to find the canonical replacement), or unset for all.list_apex_classesList Apex classes in the org via the Tooling API. Excludes managed-package classes by default (NamespacePrefix = null). name_filter does a SOQL LIKE on Name; status_filter is 'Active' / 'Deleted' / 'Inactive'. Primary consumer: apex-refactorer, code-reviewer, deployment-risk-scorer.list_apex_triggersList ApexTrigger rows. object_name scopes to one sObject. Returns events[] (BeforeInsert / AfterUpdate / etc.) per trigger so trigger-consolidator can spot multi-trigger anti-patterns immediately.list_approval_processesList Approval ProcessDefinitions, optionally filtered by object. By default returns only active approvals. Source of truth for automation-migration-router --source-type=approval_process.list_custom_fieldsList fields on an sObject via EntityParticle (REST API). Default returns custom fields only (__c suffix); pass include_standard=True for standard fields too, or include_pseudo_fields=True to also surface system-managed rows (Id, IsDeleted, SystemModstamp, …). Returns type, length, precision, reference_to, relationship_name per field.list_custom_objectsList custom sObjects in the target org. Set include_standard=true to include standard objects. name_filter does a case-insensitive substring match on the API name.list_deprecated_redirectsReturn the map of retired agent ids → canonical router + flag. Call this once per session; before get_agent, check whether the requested id is in this map and redirect. Example: 'validation-rule-auditor' → {'router': 'audit-router', 'flag': '--domain=validation_rule'}. Prevents routing to a deprecation stub.list_flows_on_objectList Flows (record-triggered, scheduled-triggered, or platform-event-triggered) targeting the given sObject, via the Tooling API. Use this to check for existing automation before recommending a new Flow.list_lwc_bundlesList Lightning Web Component bundles via the Tooling API. Excludes managed-package bundles by default. Primary consumer: lwc-auditor, lwc-builder.list_named_credentialsList Named Credentials in the org. Includes endpoint and principal type. Source of truth for integration-catalog-builder.list_orgsList every Salesforce org the user is authenticated to. Wraps 'sf org list'. Use this when the user hasn't told you which target_org to use — the response gives you valid aliases / usernames to choose from.list_permission_setsList Permission Sets in the org. By default excludes the profile-owned shadow PSes Salesforce creates per profile. Pass include_owned_by_profile=true when auditing legacy custom profiles. name_filter does a SOQL LIKE match on Name.list_record_typesList Record Types on an sObject — developer name, label, active flag, and description. Use this in record-type-and-layout-auditor and object-designer.list_validation_rulesList Validation Rules on an sObject via the Tooling API. Returns rule name, active state, error message, error display field, and id. Use this as the entry point for validation-rule-auditor.probe_apex_referencesEnumerate Apex classes and triggers referencing an <object>.<field>. Uses word-boundary regex on fetched bodies to filter substring false positives. Classifies each hit as read/write/unknown. Primary consumer: field-impact-analyzer.probe_automation_graphEnumerate every active automation on a given sObject: record-triggered flows (grouped by trigger context), legacy Process Builders, active Apex triggers (with event usage), validation rules, workflow rules, and approval processes. Returns a flags[] block with codes like MULTIPLE_RECORD_TRIGGERED_FLOWS, PROCESS_BUILDER_PRESENT, TRIGGER_AND_FLOW_COEXIST. flow-builder Step 0 preflight; apex-builder recursion-risk check.probe_flow_referencesEnumerate active Flow versions whose metadata XML references <object>.<field>. Classifies each hit as read (lookup/condition context) or write (recordCreates / recordUpdates / assignToReference). Strips <description>/<label> text to avoid label-based false positives.probe_matching_rulesList MatchingRule + DuplicateRule records on an sObject with their field items. Computes overlaps[] (pairs of active matching rules sharing >= 1 field — a P0 duplicate-management smell). Primary consumer: duplicate-rule-designer.probe_permset_shapeSummarize a Permission Set / Permission Set Group / user scope. scope argument is psg:<DeveloperName>, ps:<Name>, or user:<username>. Emits assignment counts, concentration ratio vs active standard users, and risk_flags (super-PSG smell + ModifyAllData detection). Primary consumer: permission-set-architect.search_agentsRank SfSkills agents by relevance to a natural-language query. Useful when you know what you want to do (e.g. 'audit picklists') but don't know which agent owns it. Title and 'What This Agent Does' summary weighted heavier than body.search_decision_treesRank standards/decision-trees/ by relevance and return the best matching section per tree (e.g. 'flow vs apex' → automation-selection.md → '## Flow vs Apex'). MUST be consulted BEFORE choosing a technology when the user's task spans more than one option.search_skillLexical search over the SfSkills library ({_skill_count} Salesforce skills spanning admin, apex, flow, lwc, integration, security, data, architect, devops, omnistudio, agentforce). Returns ranked skill ids plus top matching chunks. Use this before proposing a pattern.search_templatesRank canonical building blocks under templates/ by relevance (TriggerHandler, ApplicationLogger, BaseService, TestDataFactory, LWC skeleton, Flow fault-path, etc.). Use this BEFORE writing boilerplate to avoid reinventing what already exists.suggest_agentTake a free-text task description ('I want to refactor a 2000-line Apex class', 'audit my picklists', 'design a permission set for the marketing team') and return ranked candidate agents + decision-tree branches the chosen agent should consult before recommending a technology. Top pick comes back ready for get_agent. Excludes deprecated stubs.tooling_queryEscape-hatch read-only SOQL against the Tooling or REST API. Refuses any statement that is not a SELECT or that contains DML keywords / semicolons. Applies an automatic LIMIT if missing. Prefer the specialized list_* tools where they exist. Default subprocess timeout is 90s — see the SFSKILLS_TIMEOUT_SECONDS env var to raise it for slow queries.validate_against_orgCategory-aware probe that checks whether a skill's guidance already has analogs in the org. E.g. for apex skills it lists existing *TriggerHandler*/*Handler classes; for flow skills it lists Flows targeting object_name. Returns probe output and a summary of hit counts the agent can reason over.Security checks
- ✓README presentThe repository's README runs to about 4.3K words.
5 checks have not been run yet.
README
The repository's README runs to about 4.3K words. The original in the repository is authoritative.
Read full README