Skip to content
Back to skills

Ns Switch Org

ASecurity

Switches which NodeSource organization nsolid-plugin is authenticated against. Use when the user is a member of multiple NodeSource orgs and wants to switch orgs, sign in to a different org, or asks why MCP data is showing the wrong organization.

  • 13 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added August 31, 2026
ai-agentsnode

Works with

  • claude code
  • terminal
  • cli
  • mcp

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add nodesource/nsolid-plugin --skill ns-switch-org --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ns Switch Org?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ns Switch Org
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nodesource-ns-switch-org/badge)](https://www.skillsdirectory.com/skills/nodesource-ns-switch-org)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ns-switch-org
description: >-
  Switches which NodeSource organization nsolid-plugin is authenticated
  against. Use when the user is a member of multiple NodeSource orgs and
  wants to switch orgs, sign in to a different org, or asks why MCP data is
  showing the wrong organization.
---

### 1. Warn before switching

`nsolid-plugin` stores one set of NodeSource credentials, shared by every
installed harness (Claude Code, Codex CLI, OpenCode, Antigravity, Pi) and all
three MCP servers (`nsolid-console`, `ns-benchmark`, `ncm`). There is no way
to keep two orgs active at once. Before running anything, tell the user:

> Switching organizations changes the single shared NodeSource login used by
> **every** harness you have installed nsolid-plugin into, not just this one.

### 2. Determine the current harness

The `--harness` flag is required by the CLI. This skill file is distributed
identically to every harness, so it has no built-in way to know which one is
currently running it. If it isn't already obvious from context, ask the user
which harness they're using: `claude`, `codex`, `opencode`, `antigravity`, or
`pi`.

### 3. Run the switch

Tell the user a browser window is about to open so they can sign in and pick
an organization (NodeSource's sign-in flow shows an org picker automatically
when the account belongs to more than one). Then run, using an extended
command timeout of **at least 300000ms** (the CLI's own OAuth wait window is
5 minutes):

```sh
npx -y nsolid-plugin@1.2.0 switch-org --harness <harness>
```

No `--yes` or other interactive flags are needed — the CLI detects it is not
running in an interactive terminal and skips its confirmation prompt
automatically in that case.

### 4. Relay the result

The command itself prints the newly active org id and harness-specific
follow-up guidance (e.g. reconnecting an MCP session, or re-running
`nsolid-plugin install --harness <harness>` for a fallback-installed
harness). Report that output back to the user rather than re-deriving your
own summary — it already reflects exactly what changed and what to do next.

If the command fails, surface its error output directly; do not attempt to
work around a failed OAuth flow (e.g. by editing
`~/.agents/.nodesource-auth.json` by hand).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.