fw-setup-troubleshoot

fw-setup-troubleshoot is a command for Claude Code from freshworks-developers/fw-dev-tools. It costs 36 tokens per session (3,188 once invoked), scanned A, original, MIT.

A command for diagnosing and repairing Freshworks Development Kit (FDK) setup problems involving Node.js, nvm, or the shell’s PATH.

In plain words
What is it for?
Use it to check FDK installation, nvm and shell configuration, or repair the setup by aligning Node.js 24.11 and FDK 10.
Why use it?
It finds configuration errors that make the FDK command unavailable or use the wrong Node.js version, and can guide or automate repairs.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: positional $N argument.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/bob/.nvm:.

Part of the fw-setup plugin — 1 skill, 7 commands shipped together

Good fit Use it to check FDK installation, nvm and shell configuration, or repair the setup by aligning Node.js 24.11 and FDK 10.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add freshworks-developers/fw-dev-tools
Claude Code
/plugin install fw-setup

Made for: Claude Code.

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-troubleshoot

README.md
[![agentmods](https://agentmods.dev/badge/commands/freshworks-developers/fw-dev-tools/fw-setup-troubleshoot/github.svg)](https://agentmods.dev/commands/freshworks-developers/fw-dev-tools/fw-setup-troubleshoot)
Your own site
<a href="https://agentmods.dev/commands/freshworks-developers/fw-dev-tools/fw-setup-troubleshoot"><img src="https://agentmods.dev/badge/commands/freshworks-developers/fw-dev-tools/fw-setup-troubleshoot/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fw-setup-troubleshoot

Your own site · 80×15
<a href="https://agentmods.dev/commands/freshworks-developers/fw-dev-tools/fw-setup-troubleshoot"><img src="https://agentmods.dev/badge/commands/freshworks-developers/fw-dev-tools/fw-setup-troubleshoot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,188 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. ✓ AI security review Sonnet 5 · 7 Sept 2026 📄 Read the review
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.1 $0.00036 $0.03188
Opus 5.5 $0.00014 $0.01275
Sonnet 5.5 $0.00007 $0.00638
Haiku 4.5 $0.00004 $0.00319

Measured 3mo ago against content hash 2b1d2764c869, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fw-setup-troubleshoot 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 3mo 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-troubleshoot.md · 345 lines

How it starts

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

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

Universal FDK troubleshooter: Automated fix → Interactive manual SOP fallback. No retry loops, no support escalation.

Behaviour

Intent Execution On Failure
/fw-setup-troubleshoot Inline diagnostics — identify issues, suggest --fix or manual path N/A (diagnostic only)
/fw-setup-troubleshoot --fix Automated repair Task — backup rc files, fix nvm/PATH/FDK → Interactive SOP Mode

Three-Phase Flow

Phase 1: Inline Diagnostics (No --fix)

Run diagnostics and interpret:

  • Wrong Node active vs where npm install -g put fdk (load references/error-command-not-found.md)
  • nvm missing from ~/.zshrc / ~/.bashrc or NVM_DIR wrong
  • nvm alias default / fdk pointing at bare 24 instead of 24.11

Output: Diagnosis + recommendation (suggest --fix or manual steps based on complexity)

Phase 2: Automated Fix (With --fix)

Run Task (see below) that:

  1. Backs up dotfiles with timestamp
  2. Ensures nvm is loaded
  3. Installs/aligns Node 24.11 + FDK 10
  4. Verifies in clean shell

Success: Report completion, ask user to verify in NEW terminal
Failure: Automatically enter Phase 3 (Interactive SOP Mode)

Phase 3: Interactive SOP Mode (When --fix Fails)

Entry conditions:

  • --fix Task exits with error
  • User reports automation didn't work
  • User explicitly asks for manual steps

Protocol:

  1. ✅ Load references/interactive-troubleshooting-guide.md
  2. ✅ Provide ONE diagnostic command at a time
  3. ✅ Wait for human to paste output
  4. ✅ Interpret output and provide NEXT specific command
  5. ✅ Adapt path based on actual results
  6. ❌ NEVER retry --fix Task in loop
  7. ❌ NEVER suggest "try again" without new information
  8. ❌ NEVER ask for diagnostic bundle or support escalation

Example transition to Phase 3:

⚠️ The automated fix encountered an issue:
  FAILED: nvm not found at $HOME/.nvm/nvm.sh

Let's troubleshoot this manually step-by-step.

I'll guide you through diagnostic commands. Run each command and paste the output back.

**Step 1: Check if nvm is installed on your system**

Run:
  ls -la ~/.nvm

Paste the output here.

Read the full file on GitHub · 345 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. 3mo ago First seen · 345 lines · 36 tokens per session scan E 2b1d2764c869

Subscribe to this mod's changes

fw-setup-troubleshoot is a command published in the GitHub repository freshworks-developers/fw-dev-tools (6 stars, last pushed 2mo ago), licensed MIT. It adds 36 tokens to every session and 3,188 once invoked, about $0.0001 per session on Opus 5.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.

Related

fw-setup-troubleshoot compared with commands from other repositories

fw-setup-troubleshoot next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fw-setup-troubleshootfreshworks-developers/fw-dev-toolsCommand62mo agoMITA36Claude Code
debug-thislatestaiagents/agent-skillsCommand626d agoMITA10Claude Code
postmortemlatestaiagents/agent-skillsCommand626d agoMITA18Claude Code
rag-debuglatestaiagents/agent-skillsCommand626d agoMITA11Claude Code
debug-agentlatestaiagents/agent-skillsCommand626d agoMITA8Claude Code
bug-reportlatestaiagents/agent-skillsCommand626d agoMITA10Claude Code
self-healingsmith-horn/skillsmithCommand78todaynoneA0Claude Code