setup

A setup command for configuring the Salesforce Claude Code Framework in a project.

In plain words
What is it for?
It verifies framework files and helps connect Markdown skill files from a directory or home folder, or leaves configuration for later.
Why use it?
It checks whether the framework is installed first, so configuration does not proceed in an incomplete project.

Command for Claude Code

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.

agentmods
npx agentmods add commands/ehebert7/salesforce-claude-framework/setup
Clone the repo
git clone --depth 1 https://github.com/ehebert7/salesforce-claude-framework

Made for: Claude Code.

Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,180 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original 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 $0.00000 $0.01180
Opus 5 $0.00000 $0.00590
Sonnet 5 $0.00000 $0.00236
Haiku 4.5 $0.00000 $0.00118

Measured 2d ago against content hash 320d5289d003, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

setup 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 2d 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.

.claude/commands/setup.md · 209 lines

How it starts

The opening of the file, as written. The whole thing — 209 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Framework Setup

Configure the Salesforce Claude Code Framework for your environment.

Note: If the framework isn't installed yet, use /install first.

Process

Step 1: Verify Installation

Check if framework files exist:

  • .claude/hooks/skill-rules.json
  • .claude/commands/dev-docs.md

If missing, display:

Framework not found in current directory.

Run /install first to install the framework, then run /setup to configure it.

And stop.

If found, continue.

Step 2: Skill Configuration

Display:

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SKILL CONFIGURATION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Skills are markdown files containing domain knowledge that Claude
can reference when helping you code.

The framework can auto-detect keywords in your prompts and suggest
relevant skills.

Ask:

Do you have skills you'd like to integrate?

1. Scan a directory for skills
2. Use skills from my home directory (~/.claude/skills/)
3. Skip - I'll configure manually later
4. Show me how skills work

If Option 1 (Scan directory):

Ask: "Enter the path to your skills directory:"

Scan the directory for .md files recursively. For each file:

  1. Read the filename (without .md) as skill name
  2. Optionally read the first heading as display name

Display found skills:

Found X skills:
• apex-best-practices
• lwc-dev-guidelines
• agentforce-setup
• salesforce-flow-architect
[...]

Would you like to configure auto-detection triggers for these skills?
1. Yes - configure each one
2. Yes - use smart defaults based on skill names
3. No - just register them without triggers

If "smart defaults": Generate triggers based on skill name:

  • apex-best-practices → keywords: ["apex", "trigger", "class", "soql", "dml"]
  • lwc-dev-guidelines → keywords: ["lwc", "lightning", "component", "wire"]
  • agentforce-* → keywords: ["agentforce", "agent", "bot", "topic", "action"]
  • etc.

If "configure each": For each skill, ask:

Skill: [skill-name]
Enter keywords (comma-separated) that should trigger this skill:
>

Read the full file on GitHub · 209 lines

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. 2d ago First seen · 209 lines · 0 tokens per session scan A 320d5289d003

Subscribe to this mod's changes

setup is a command published in the GitHub repository ehebert7/salesforce-claude-framework (11 stars, last pushed 9mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,180 tokens. 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-30.