setup-project

setup-project is a command for coding agents from bhanu91221/sfdx-iq. It costs 29 tokens per session (494 once invoked), scanned A, original, MIT.

A setup command for Salesforce DX (SFDX) projects that copies the plugin’s rules and configuration templates into a project.

In plain words
What is it for?
Use it from an SFDX project root to create missing .claude settings and project instruction files from the plugin templates.
Why use it?
It provides a local setup path when the usual npm command is unavailable, such as behind a corporate VPN.

Command

Part of the sfdx-iq plugin — 20 commands, 7 agents shipped together

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/bhanu91221/sfdx-iq/setup-project
Clone the repo
git clone --depth 1 https://github.com/bhanu91221/sfdx-iq

Or install sfdx-iq, the plugin that ships this one along with the rest of its 20 commands, 7 agents.

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 setup-project

README.md
[![agentmods](https://agentmods.dev/badge/commands/bhanu91221/sfdx-iq/setup-project.svg)](https://agentmods.dev/commands/bhanu91221/sfdx-iq/setup-project)
Your own site
<a href="https://agentmods.dev/commands/bhanu91221/sfdx-iq/setup-project"><img src="https://agentmods.dev/badge/commands/bhanu91221/sfdx-iq/setup-project.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 494 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.00029 $0.00494
Opus 5 $0.00015 $0.00247
Sonnet 5 $0.00006 $0.00099
Haiku 4.5 $0.00003 $0.00049

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

Security

Grade A, and why

setup-project 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 4d 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.

commands/setup-project.md · 52 lines

What it actually says

/setup-project

Copy sfdx-iq rules and configuration templates into the current SFDX project. Use this when npx sfdx-iq setup-project is unavailable (e.g., corporate VPN, blocked npm).

Workflow

Step 1: Verify SFDX Project

Check that sfdx-project.json exists in the current working directory. If missing, inform the user this must be run from an SFDX project root.

Step 2: Locate the Plugin Directory

Use Glob to search for the plugin's CLAUDE.md template in these locations:

  1. ~/.claude/plugins/sfdx-iq/.claude-project-template/CLAUDE.md
  2. .claude/plugins/sfdx-iq/.claude-project-template/CLAUDE.md
  3. **/sfdx-iq/.claude-project-template/CLAUDE.md (fallback broad search)

The plugin root is the parent directory of the found .claude-project-template/ folder.

Step 3: Copy Settings Template

If .claude/settings.json does NOT exist:

  • Read .claude-project-template/settings.json from the plugin directory
  • Write it to .claude/settings.json

If it already exists, skip and inform the user.

Step 5: Copy CLAUDE.md Template

If CLAUDE.md does NOT exist in the project root:

  • Read .claude-project-template/CLAUDE.md from the plugin directory
  • Write it to .claude/CLAUDE.md in the project root

If it already exists, skip and inform the user.

Step 5: Display Summary

Setup Complete
---
Settings:  [copied / skipped]
CLAUDE.md: [copied / skipped]

Next steps:
  /apex-class --review  — Review your Apex code
  /code-review          — Full code review across Apex, LWC, and Flows
  /apex-test            — Create or improve Apex test classes
  /status               — Check plugin and org status
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. 4d ago First seen · 52 lines · 29 tokens per session scan A f6bbb1571dc1

Subscribe to this mod's changes

setup-project is a command published in the GitHub repository bhanu91221/sfdx-iq (2 stars, last pushed 3mo ago), licensed MIT. It adds 29 tokens to every session and 494 once invoked, about $0.0001 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.