forcedotcom/sf-skills is a collection of reusable instructions that help AI coding agents build and work with Salesforce applications and platform features. Developers use it for Agentforce agents, Lightning apps, Flow, Apex, SOQL, Lightning Web Components, and related Salesforce configuration. The catalogue entries are the repository’s skills, plugins, commands, MCP servers, and agents for AI tools that support skills.
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.
npx skills add forcedotcom/sf-skills --skill agentforce-persona-generategit clone --depth 1 https://github.com/forcedotcom/sf-skillsWrote 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.
[](https://agentmods.dev/skills/forcedotcom/sf-skills/agentforce-persona-generate)<a href="https://agentmods.dev/skills/forcedotcom/sf-skills/agentforce-persona-generate"><img src="https://agentmods.dev/badge/skills/forcedotcom/sf-skills/agentforce-persona-generate/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.
<a href="https://agentmods.dev/skills/forcedotcom/sf-skills/agentforce-persona-generate"><img src="https://agentmods.dev/badge/skills/forcedotcom/sf-skills/agentforce-persona-generate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00206 | $0.06341 |
| Opus 5.5 | $0.00082 | $0.02536 |
| Sonnet 5.5 | $0.00041 | $0.01268 |
| Haiku 4.5 | $0.00021 | $0.00634 |
Grade A, and why
agentforce-persona-generate 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 14d 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.
How it starts
The opening of the file, as written. The whole thing — 506 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Designing Agent Persona
How to Use
This skill designs an AI agent persona for Salesforce Agentforce. It walks through four sequenced phases (DRAFT → REFINE → SCORE → ENCODE) and offers five spokes (NAME, FILL OUT, ADJUST, CHECKLIST, WORKSHOP) you can run any time after DRAFT.
What it produces:
- A persona document (
persona/[agent-name]/persona.md) — who the agent is, how it sounds, what it never does - A sample dialog (
persona/[agent-name]/sample-dialog.md) — the persona in action - An evaluation report on request (
persona/[agent-name]/evaluation.md) — 100-point rubric, gap analysis, recommendations - A completeness checklist on request (
persona/[agent-name]/checklist.md) — what's filled in, what's missing - A workshop outline on request (
persona/[agent-name]/workshop-outline.md) — stakeholder questions, dimension cards - An encoding artifact on request — valid Agent Script
.agentfile, OR Agentforce Builder field values
Session resumption: If you stop mid-phase, your progress is preserved in the conversation and can be resumed.
When to Use This Skill
- Designing a new Agentforce agent and need to define its personality before building (greenfield)
- Auditing an existing
.agentfile's persona consistency (brownfield) - Translating brand guidelines into a structured persona
- Producing a stakeholder workshop outline to gather design input
- Aligning teams on what an agent should sound like before development
Scope boundary: This skill defines WHO the agent is. It does not define dialog flows, subagents, actions, routing, or variables — those are agent design (use agentforce-generate). The encoding output for Use Case A produces an .agent skeleton with placeholders for those structures; the user fills them in.
Framework Reference
Read references/persona-framework.md for the full framework. It defines:
- Identity — 3-5 anchoring adjectives + Negative Identity (≥2 character-level anti-patterns)
- 14 dimensions (Personification + the 13 expression dimensions):
- Personification — Talking System / Familiar Thing / Personal Assistant
- Register — Subordinate / Peer / Advisor / Coach
- Voice — Formality, Warmth, Personality Intensity, Reading Level
- Tone — Emotional Coloring, Empathy Level (+ Tone Boundaries, Tone Flex)
- Delivery — Brevity, Humor
- Chatting Style — Emoji, Formatting, Punctuation, Capitalization
- Persona Artifacts — Identity (traits + negative identity), Expression (tone boundaries + never-say + guardrails), Phrasing (phrase book + discourse markers + lexicon)
- Tone Flex — how tone shifts by context (including per-subagent calibration)
- Lexicon — global and per-subagent vocabulary, including immutable terms
- Guardrails — content-level boundaries (e.g., "Don't offer medical advice"), distinct from Never-Say
What ships with it
23 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.
- assets/checklist-template.md 5.5 KB
- assets/persona-encoding-template.md 9.5 KB
- assets/persona-template.md 9.0 KB
- assets/sample-dialog-template.md 1.3 KB
- assets/workshop-outline-template.md 3.4 KB
- examples/concierge-persona.md 10 KB
- examples/concierge-sample-dialog.md 4.0 KB
- examples/drover-persona.md 10.0 KB
- examples/drover-sample-dialog.md 3.4 KB
- examples/steady-hand-persona.md 9.0 KB
- examples/steady-hand-sample-dialog.md 4.9 KB
- examples/yt-persona.md 9.9 KB
- examples/yt-sample-dialog.md 3.0 KB
- references/attributions.md 2.2 KB
- references/interaction-design-notes.md 1.5 KB
- references/persona-encoding-guide.md 31 KB
- references/persona-framework.md 57 KB
- references/refinement-mappings.md 1.7 KB
- references/scoring-rubric.md 4.7 KB
- references/voice-catalog.json 87 KB
- references/workshop-question-policy.md 5.9 KB
- references/workshop-scenario-seeds.md 6.9 KB
- scripts/parse_agent_yaml.py 7.2 KB runs code
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.
- 14d ago First seen · 506 lines · 206 tokens per session scan A a42413958216
agentforce-persona-generate is a skill published in the GitHub repository forcedotcom/sf-skills (1,097 stars, last pushed today), licensed Apache-2.0. It adds 206 tokens to every session and 6,341 once invoked, about $0.0008 per session on Opus 5.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-10-03.
Other skills, from other repositories
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…
insight-error-page
Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…