sf-diagram

sf-diagram is a skill for Claude Code from kugamon/salesforce-core-skills. It costs 118 tokens per session (4,077 once invoked), scanned A, original, no licence file.

A tool for creating Salesforce system diagrams in Mermaid, a text format for diagrams, with an ASCII fallback. Salesforce is a business platform whose data, integrations, and automated agents can be mapped visually.

In plain words
What is it for?
It helps map OAuth sign-in flows, data models, integration sequences, system landscapes, role hierarchies, and Agentforce architectures.
Why use it?
It turns complex Salesforce relationships and flows into diagrams that are easier to inspect and explain.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the salesforce-core plugin — 16 skills, 2 agents, 1 hook shipped together

Good fit It helps map OAuth sign-in flows, data models, integration sequences, system landscapes, role hierarchies, and Agentforce architectures.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kugamon/salesforce-core-skills/sf-diagram
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add kugamon/salesforce-core-skills --skill sf-diagram
Clone the repo
git clone --depth 1 https://github.com/kugamon/salesforce-core-skills

Made for: Claude Code.

Or install salesforce-core, the plugin that ships this one along with the rest of its 16 skills, 2 agents, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sf-diagram

README.md
[![agentmods](https://agentmods.dev/badge/skills/kugamon/salesforce-core-skills/sf-diagram/github.svg)](https://agentmods.dev/skills/kugamon/salesforce-core-skills/sf-diagram)
Your own site
<a href="https://agentmods.dev/skills/kugamon/salesforce-core-skills/sf-diagram"><img src="https://agentmods.dev/badge/skills/kugamon/salesforce-core-skills/sf-diagram/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sf-diagram

Your own site · 80×15
<a href="https://agentmods.dev/skills/kugamon/salesforce-core-skills/sf-diagram"><img src="https://agentmods.dev/badge/skills/kugamon/salesforce-core-skills/sf-diagram.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,077 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00118 $0.04077
Opus 5 $0.00059 $0.02039
Sonnet 5 $0.00024 $0.00815
Haiku 4.5 $0.00012 $0.00408

Measured 11d ago against content hash 598d656d142e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

sf-diagram scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/salesforce-core/skills/sf-diagram/SKILL.md · 465 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Files

What ships with it

36 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 465 lines · 118 tokens per session scan A 598d656d142e

Subscribe to this mod's changes

sf-diagram is a skill published in the GitHub repository kugamon/salesforce-core-skills (0 stars, last pushed 2d ago), with no licence file. It adds 118 tokens to every session and 4,077 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

matlab-uihtml-design

Generate beautiful, distinctive HTML/CSS/JS control panels for MATLAB uihtml components. 8 built-in styles (Clean, Material, Cosmic Dark, Neumorphic Dark, Dashboard Light, Midnight Gradient, Minimal Mono, Warm Dark) plus custom aesthetics. Produces production-grade UI with sliders, buttons, toggles, and panels. Use…

matlab/agent-skills-playground · 86 tokens

baoyu-diagram

Create professional, dark-themed SVG diagrams of any type — architecture diagrams, flowcharts, sequence diagrams, structural diagrams, mind maps, timelines, illustrative/conceptual diagrams, and more. Use this skill whenever the user asks for any kind of technical or conceptual diagram, visualization of a system…

JimLiu/baoyu-skills · 146 tokens

sxo

Search Experience Optimization (SXO) — the bridge between SEO and UX/CRO. Audits the full journey from the SERP click to the on-page goal: SERP click-through factors (title/meta/rich results that win the click), then post-click experience signals that keep users and drive conversions — above-the-fold relevance and…

nowork-studio/notfair-plugin · 235 tokens

create-workflow-diagram

Create FigJam/Miro-style workflow diagrams as high-quality PNG images from plain-text workflow descriptions. Renders beautiful HTML diagrams with connected nodes, arrows, and labels, then screenshots them for sharing.

gooseworks-ai/goose-skills · 45 tokens

create-chatgpt-mockup

Render pixel-accurate ChatGPT mobile (iOS) screen mockups in light mode from a thread JSON. Supports user text bubbles, user image attachments, assistant markdown prose, citation chips, the OpenAI spiral logo, the Apps-SDK GPT chip in the composer, and three header styles (model-tag, plain title, "Get Plus"). Fixed…

gooseworks-ai/goose-skills · 90 tokens

journey-mapping

Build customer journey maps and service blueprints that visualize the end-to-end user experience including touchpoints, emotions, friction, and underlying systems. Use this skill whenever the user wants to map a customer journey, build a service blueprint, identify friction across an experience, align teams on the…

rampstackco/claude-skills · 131 tokens