Skip to content
Development
Skill

/rudder-environment-check

Checks RudderStack tool prerequisites and reports status. Use when checking prerequisites, setup status, what tools are missing, or before running RudderStack workflows for the first time

From plugin
rudder-agent-skills
1927 skills1 MCP

Claude Code

$ npx -y skills add rudderlabs/rudder-agent-skills --skill rudder-environment-check --agent claude-code

SKILL.md

rudder-environment-check.SKILL.md
name: rudder-environment-check
description: Checks RudderStack tool prerequisites and reports status. Use when checking prerequisites, setup status, what tools are missing, or before running RudderStack workflows for the first time
allowed-tools: "Bash(which, curl, rudder-cli *, terraform *), Read"

RudderStack Environment Check

Quick diagnostic that checks all RudderStack tool prerequisites and provides actionable guidance.

When to Use

  • Before starting with RudderStack workflows
  • When troubleshooting "command not found" errors
  • To verify your development environment is ready

Check Process

Run these checks in sequence:

1. Check rudder-cli

# Check if installed
which rudder-cli

# If installed, check authentication
rudder-cli workspace info

2. Check Terraform (if using terraform workflows)

# Check if installed
which terraform

# If installed, check version
terraform version

# Check if provider is configured (run in project directory)
terraform providers

3. Check MCP Server Connectivity

# Check if hosted MCP server is reachable
curl -s -o /dev/null -w "%{http_code}" https://mcp.rudderstack.com/health

4. Check the MCP tools

Check that the rudderstack MCP server's tools `list_sources` and `get_source` are available to you. Don't call them. Both routes have them, the OAuth one at `/mcp` and the access-token one at `/bearer-auth-mcp`; `user_details` is on the OAuth route only. They are missing when no RudderStack server is added, when it is disabled, or when the user has not signed in to it.

If they are missing, connect the server that is there before adding one. In Claude Code, `claude mcp list` prints each server's name and URL, and a RudderStack server can have any name; the rudder-core plugin's is `plugin:rudder-core:rudderstack`. If one points at `https://mcp.rudderstack.com/bearer-auth-mcp`, the access-token route, keep it: leave the plugin's entry disabled, and check that `RUDDERSTACK_ACCESS_TOKEN` is exported in the shell Claude Code was started from, because that entry signs in with the token, not with `Authenticate`. If `claude mcp list` shows that entry as disabled, enable it in `/mcp` without choosing `Authenticate`. If it shows it as pending approval, as it does for an entry in the project's `.mcp.json` until the user approves it, start Claude Code again and approve it. Otherwise, if one points at `https://mcp.rudderstack.com/mcp`, type `/mcp`, choose it, enable it if it is disabled, and choose `Authenticate`. If none does, run `claude mcp add --scope user --transport http rudderstack https://mcp.rudderstack.com/mcp`, start Claude Code again and authenticate it the same way. In other agents, add an HTTP MCP server with that URL in the agent's MCP settings and sign in. `rudder-mcp-setup` covers both routes in full.

Output Format

Present results as a status table:

RudderStack Environment Check
─────────────────────────────────────────────────────
Tool                    Status      Action
─────────────────────────────────────────────────────
rudder-cli              ✓ Ready
  └─ authenticated      ✓ Ready     Workspace: <name>
terraform               ✗ Missing   Run: /rudder-terraform-setup
  └─ provider           ─ Skipped   (terraform required first)
mcp.rudderstack.com     ✓ Reachable
  └─ MCP tools          ✓ Ready
─────────────────────────────────────────────────────

Status Indicators

| Status | Meaning | |--------|---------| | ✓ Ready | Tool installed and configured | | ✗ Missing | Tool not found, needs installation | | ─ Skipped | Dependency not met, check parent first | | ⚠ Issue | Tool found but configuration problem |

Next Steps by Status

| Tool Missing | Action | |--------------|--------| | rudder-cli | Run `/rudder-cli-setup` or ask "help me install rudder-cli" | | terraform | Run `/rudder-terraform-setup` or ask "help me setup terraform for rudderstack" | | MCP unreachable | Check network connectivity to `mcp.rudderstack.com` | | MCP tools missing | Connect the server that is there, as step 4 says, and add one only when there is none |

Credential Security

  • This skill only checks tool availability and authentication status
  • Never logs or displays access tokens
  • Workspace info shows only workspace name/ID, not credentials
Read more
@rudderlabs
Ships withrudder-agent-skills

A Claude Code plugin marketplace and Agent Skills collection that teaches your AI coding agent how to drive every programmatic RudderStack surface — CLI, MCP server, Terraform, Profiles, and AI events — with the right preflight checks, commands, and recovery

1927 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
19
Star history of rudderlabs/rudder-agent-skills on GitHub, a chart by star-history.com

Other skills on rudder-agent-skills.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about rudder-environment-check.

Which coding agents can use rudder-environment-check?
rudder-environment-check installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.