| name | configure-scc |
| description | Use when setting up SCC for Salesforce Apex and LWC development. Interactive wizard to install profiles, modules, and customize the harness for your org. |
| origin | SCC |
| user-invocable | true |
Configure SCC
Interactive guide for installing and configuring Salesforce Claude Code.
When to Use
- When installing SCC for the first time on a Salesforce project
- When adding new modules or profiles to an existing SCC installation
- When customizing hook behavior or profiles for your team's workflow
- When troubleshooting SCC configuration or missing components
- When setting up SCC for different team members or CI/CD environments
Installation
Quick Install
npm install -g scc-universal
npx scc-universal install all
npx scc-universal install apex
npx scc-universal install lwc
Profile Details
| Profile | Includes |
|---|
apex | Common rules + Apex rules, agents, skills |
lwc | Common rules + LWC rules, agents, skills |
full | All agents, skills, rules |
Diagnostics
npx scc-universal doctor
npx scc-universal status
npx scc-universal repair
npx scc-universal uninstall
Hook Configuration
Profiles
export SCC_HOOK_PROFILE=minimal
export SCC_HOOK_PROFILE=standard
export SCC_HOOK_PROFILE=strict
Disable Specific Hooks
export SCC_DISABLED_HOOKS=governor-check,cost-tracker
Package Manager
SCC auto-detects your package manager. Override with:
export CLAUDE_PACKAGE_MANAGER=npm
Environment-Specific Configuration
Sandbox / Scratch Org Development
sf config set target-org=my-scratch-org
CI/CD Environments
export SCC_HOOK_PROFILE=minimal
export SCC_DISABLED_HOOKS=cost-tracker,session-start,session-end,evaluate-session
Team Setup
Share SCC configuration across your team by adding to your project's .env.example:
SCC_HOOK_PROFILE=standard
CLAUDE_PACKAGE_MANAGER=npm
Troubleshooting
Common Issues
| Problem | Cause | Fix |
|---|
npx scc-universal install fails | Node.js < 20 | Upgrade: nvm install 20 |
| Hooks not firing | SCC not installed in project | Run npx scc-universal doctor to check |
Permission denied on hooks | Script not executable | Run npx scc-universal repair |
| Skills not loading | Wrong install profile | Run npx scc-universal install all |
sf command not found | SF CLI not installed | Install: npm install -g @salesforce/cli |
sf commands fail with errors | SF CLI version too old | Upgrade: npm update -g @salesforce/cli (SCC requires SF CLI v2.x / sf not sfdx) |
| Hooks slow down session | Too many hooks enabled | Switch to SCC_HOOK_PROFILE=minimal |
Diagnostic Commands
npx scc-universal doctor
npx scc-universal list-installed
npx scc-universal plan apex
npx scc-universal status
npx scc-universal uninstall && npx scc-universal install all
Upgrading SCC
npm install -g scc-universal@latest
npx scc-universal repair
npx scc-universal doctor
Verification
npm test
npx scc-universal doctor
sf --version
npx scc-universal status