fw-setup-install

A command for installing the Freshworks Development Kit, the tools used to build Freshworks apps, together with the required Node.js version. It supports FDK 10, the older FDK 9, or both.

In plain words
What is it for?
Use it to install a chosen FDK version, set up Node.js through nvm, or prepare environments for both FDK 10 and FDK 9 projects.
Why use it?
It avoids manually matching the development kit with the Node.js version it requires. It also warns when installing the deprecated FDK 9.

Command

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-install
Clone the repo
git clone --depth 1 https://github.com/freshworks-developers/fw-dev-tools
Per session 54 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,340 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00054 $0.04340
Opus 5 $0.00027 $0.02170
Sonnet 5 $0.00011 $0.00868
Haiku 4.5 $0.00005 $0.00434

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

Security

Grade C, and why

fw-setup-install scanned grade C with 2 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf ~/.fdk

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

HTTP=$(curl -sS -o /dev/null -w "%{http_code}" -L -I "$FDK_URL" || echo "000")
skills/fw-setup/commands/fw-setup-install.md · 346 lines

How it starts

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

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

/fw-setup install. Supports FDK 10.x (Node 24), FDK 9.x (Node 18, deprecated), and both stacks simultaneously.

Behaviour

User intent __FDK_INSTALL_VERSION__ FDK tarball Node
/fw-setup-install (no args) latest https://cdn.freshdev.io/fdk/latest-v24.tgz 24.11
/fw-setup-install 10.1.0 10.1.0 https://cdn.freshdev.io/fdk/v10.1.0.tgz 24.11
/fw-setup-install --version 10.1.0 10.1.0 https://cdn.freshdev.io/fdk/v10.1.0.tgz 24.11
/fw-setup-install 9.8.2 9.8.2 https://cdn.freshdev.io/fdk/v9.8.2.tgz 18.20
/fw-setup-install --version 9.8.2 9.8.2 https://cdn.freshdev.io/fdk/v9.8.2.tgz 18.20
/fw-setup-install --both both Both latest-v24.tgz + latest 9.x 24.11 + 18.20

FDK 9.x deprecation: Shows warning and requires user confirmation. Support ends May 31, 2026. See: https://developers.freshworks.com/docs/app-sdk/v3/freshworks-app-sdk/

--both flag: Installs both latest FDK 10.x on Node 24.11 AND latest FDK 9.x on Node 18.20 in one command. Sets nvm alias default 24.11 (FDK 10.x as primary). Idempotent: if both stacks are already verified as installed, report Both stacks already installed — nothing to do. and exit without reinstalling.

Agent pre-step

Parse version from:

  • Bare version: /fw-setup-install 10.1.0 or /fw-setup-install 9.8.2
  • Flag syntax: /fw-setup-install --version 10.1.0
  • Both stacks: /fw-setup-install --both
  • Default (no args): latest → FDK 10.x line on Node 24

Replace __FDK_INSTALL_VERSION__ with:

  • latest — latest FDK 10.x (default)
  • 10.x.y — specific FDK 10.x semver (strip leading v)
  • 9.x.y — specific FDK 9.x semver (strip leading v); SHOW DEPRECATION NOTICE
  • both — install both latest FDK 10.x on Node 24.11 AND latest FDK 9.x on Node 18.20

Execution

Read the full file on GitHub · 346 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 · 346 lines · 54 tokens per session scan C bc097e5dc39b

Subscribe to this mod's changes

fw-setup-install is a command published in the GitHub repository freshworks-developers/fw-dev-tools (5 stars, last pushed 8d ago), licensed MIT. It adds 54 tokens to every session and 4,340 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.