discover-locations

discover-locations is a skill for Claude Code from runwhen-contrib/runwhen-platform-mcp. It costs 74 tokens per session (1,208 once invoked), scanned A, original, Apache-2.0.

A guide for choosing runner locations, the environments where RunWhen scripts physically execute.

In plain words
What is it for?
Use it to inspect available locations, select an execution environment, override automatic selection, or troubleshoot connectivity.
Why use it?
It helps resolve which cluster, region, or private runner a script should use when several locations are available or automatic selection is unclear.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the runwhen-platform plugin — 15 skills, 3 agents, 1 MCP server shipped together

Good fit Use it to inspect available locations, select an execution environment, override automatic selection, or troubleshoot connectivity.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/runwhen-contrib/runwhen-platform-mcp/discover-locations
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.

Any agent
npx skills add runwhen-contrib/runwhen-platform-mcp --skill discover-locations
Clone the repo
git clone --depth 1 https://github.com/runwhen-contrib/runwhen-platform-mcp

Made for: Claude Code.

Or install runwhen-platform, the plugin that ships this one along with the rest of its 15 skills, 3 agents, 1 MCP server.

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 discover-locations

README.md
[![agentmods](https://agentmods.dev/badge/skills/runwhen-contrib/runwhen-platform-mcp/discover-locations/github.svg)](https://agentmods.dev/skills/runwhen-contrib/runwhen-platform-mcp/discover-locations)
Your own site
<a href="https://agentmods.dev/skills/runwhen-contrib/runwhen-platform-mcp/discover-locations"><img src="https://agentmods.dev/badge/skills/runwhen-contrib/runwhen-platform-mcp/discover-locations/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 discover-locations

Your own site · 80×15
<a href="https://agentmods.dev/skills/runwhen-contrib/runwhen-platform-mcp/discover-locations"><img src="https://agentmods.dev/badge/skills/runwhen-contrib/runwhen-platform-mcp/discover-locations.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,208 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.
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.00074 $0.01208
Opus 5 $0.00037 $0.00604
Sonnet 5 $0.00015 $0.00242
Haiku 4.5 $0.00007 $0.00121

Measured 8d ago against content hash 7594b37a6dfc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

discover-locations 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 8d 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/discover-locations/SKILL.md · 133 lines

How it starts

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

Discover Locations

Find and select the right runner location for an SLX script.

When to use

  • When multiple runner locations are available and you need to choose
  • When the user asks about runner locations or execution environments
  • When troubleshooting a script that can't reach infrastructure
  • When _resolve_location raises an error listing multiple options

Auto-resolution — you often don't need this skill

The MCP server automatically resolves the location when you omit it from run_script, run_script_and_wait, commit_slx, or deploy_registry_codebundle. The resolution strategy is:

  1. If only one workspace (private) location exists → use it
  2. If multiple workspace locations exist → inspect existing SLX runbook configs to pick the most-used one; if ambiguous, raise an error listing the options (you should ask the user)
  3. If no workspace locations exist → fall back to the public runner

You only need this skill when auto-resolution fails (multiple ambiguous options) or when the user wants to understand or override the choice.

What locations are

Runner locations are where scripts physically execute. They are lightweight RunWhen agents installed in the user's infrastructure (Kubernetes clusters, cloud VPCs, etc.) that receive and run scripts.

Each location has:

  • A name (e.g. location-01-us-west1, watcher-controlplane)
  • A type: workspace (private — has access to workspace infrastructure) or public (shared runner)
  • A health status: online, stale, or unknown
  • Access to specific infrastructure — a workspace runner can reach the workspace's resources; the public runner has generic internet access only

Location types

Type Meaning When to use
workspace Private runner with access to workspace infrastructure (k8s clusters, databases, etc.) Scripts that need to reach internal resources — always prefer this
public Shared public runner with generic internet access Scripts that only need public APIs, or when no workspace runner is available

Read the full file on GitHub · 133 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. 8d ago First seen · 133 lines · 74 tokens per session scan A 7594b37a6dfc

Subscribe to this mod's changes

discover-locations is a skill published in the GitHub repository runwhen-contrib/runwhen-platform-mcp (1 stars, last pushed yesterday), licensed Apache-2.0. It adds 74 tokens to every session and 1,208 once invoked, about $0.0004 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.

Related

Other skills, from other repositories