fw-setup-use

fw-setup-use is a command for coding agents from freshworks-developers/fw-dev-tools. It costs 45 tokens per session (4,214 once invoked), scanned A, original, MIT.

A workspace command for selecting the Node.js and FDK versions a project needs. Node.js runs JavaScript tools, while FDK is the project’s development toolkit.

In plain words
What is it for?
Use it to switch between the Node 24.11 and Node 18 stacks, optionally write a .nvmrc file, or use a globally installed FDK.
Why use it?
It aligns the current shell with the workspace’s required versions and can keep dependencies local to that project, avoiding version conflicts.

Command

Part of the fw-setup plugin — 1 skill, 7 commands 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/freshworks-developers/fw-dev-tools/fw-setup-use
Clone the repo
git clone --depth 1 https://github.com/freshworks-developers/fw-dev-tools

Or install fw-setup, the plugin that ships this one along with the rest of its 1 skill, 7 commands.

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 fw-setup-use

README.md
[![agentmods](https://agentmods.dev/badge/commands/freshworks-developers/fw-dev-tools/fw-setup-use.svg)](https://agentmods.dev/commands/freshworks-developers/fw-dev-tools/fw-setup-use)
Your own site
<a href="https://agentmods.dev/commands/freshworks-developers/fw-dev-tools/fw-setup-use"><img src="https://agentmods.dev/badge/commands/freshworks-developers/fw-dev-tools/fw-setup-use.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,214 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.00045 $0.04214
Opus 5 $0.00023 $0.02107
Sonnet 5 $0.00009 $0.00843
Haiku 4.5 $0.00005 $0.00421

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

Security

Grade A, and why

fw-setup-use 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 3d 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.

skills/fw-setup/commands/fw-setup-use.md · 289 lines

How it starts

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

FDK setup — use (/fw-setup-use)

/fw-setup use: align this shell (and optionally .nvmrc) with the Node + FDK stack the workspace needs.

DEFAULT BEHAVIOR (without --global): Installs FDK locally in node_modules/ for workspace-scoped use. This ensures each project has its own FDK version without affecting global installs.

WITH --global FLAG: Uses globally installed FDK (no local install).

Windows users: same slash-command experience — just run /fw-setup-use 9 in your IDE. The agent automatically uses the correct implementation (fw-setup-use.ps1) behind the scenes.

Scope:

  • Without --global:
    • macOS/Linux (nvm): Changes only current shell (nvm use)
    • Windows (nvm-windows): Use the PowerShell implementation (scripts/fw-setup-use.ps1) — it avoids nvm use so the system-wide nvm-windows symlink is not flipped; it prepends the selected Node install directory to this session’s PATH and refreshes PATH from Machine+User (helps fdk resolve immediately).
    • Homebrew/Chocolatey: System-wide already (no version switching)
  • With --global: Sets as default for all new shells across all environments:
    • nvm (macOS/Linux): nvm alias default <version> + updates ~/.zshrc and ~/.bashrc with nvm use line
    • nvm-windows: Runs nvm use + best-effort nvm alias default (persists via nvm-windows symlink semantics)
    • Homebrew (macOS): System-wide already (no action needed)
    • Chocolatey (Windows): System-wide already (no action needed)

Important Windows Note: Raw nvm use on nvm-windows flips a single system-wide symlink, which makes “workspace-only” switches look global. /fw-setup-use on Windows should prefer fw-setup-use.ps1 unless the user explicitly passed --global (then persisting via nvm use is intended).

When to use

  • After cd into an app, fdk is missing or the wrong major → usually wrong active Node (global npm prefix).
  • Switching between a FDK 10.x app (any Node 24.x) and a FDK 9.x app (any Node 18.x) during migrations.
  • Compatibility: Node 24.x works with any FDK 10.y; Node 18.x works with any FDK 9.y

Read the full file on GitHub · 289 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. 3d ago First seen · 289 lines · 45 tokens per session scan A 20f4fbbcab84

Subscribe to this mod's changes

fw-setup-use is a command published in the GitHub repository freshworks-developers/fw-dev-tools (5 stars, last pushed 9d ago), licensed MIT. It adds 45 tokens to every session and 4,214 once invoked, about $0.0002 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.