manage-commands

manage-commands is a skill for Claude Code from runwhen-contrib/runwhen-platform-mcp. It costs 90 tokens per session (1,576 once invoked), scanned A, original, Apache-2.0.

Instructions for creating reusable slash commands in workspace chat. A command packages an investigation procedure so users can invoke it by typing a short name.

In plain words
What is it for?
Creating diagnostic workflows, runbooks, onboarding procedures, and repeatable investigations for a workspace or specific assistant.
Why use it?
It gives engineers a consistent investigation path without requiring them to write a detailed prompt each time.

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 Creating diagnostic workflows, runbooks, onboarding procedures, and repeatable investigations for a workspace or specific assistant.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/runwhen-contrib/runwhen-platform-mcp/manage-commands.svg)](https://agentmods.dev/skills/runwhen-contrib/runwhen-platform-mcp/manage-commands)
Your own site
<a href="https://agentmods.dev/skills/runwhen-contrib/runwhen-platform-mcp/manage-commands"><img src="https://agentmods.dev/badge/skills/runwhen-contrib/runwhen-platform-mcp/manage-commands.svg" alt="Measured on agentmods" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,576 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.00090 $0.01576
Opus 5 $0.00045 $0.00788
Sonnet 5 $0.00018 $0.00315
Haiku 4.5 $0.00009 $0.00158

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

Security

Grade A, and why

manage-commands 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/manage-commands/SKILL.md · 183 lines

How it starts

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

Manage Commands

Commands package multi-step investigations into one named operation. Users invoke them in workspace chat as /command-name. Every engineer gets the same quality investigation without crafting perfect prompts.

When to use

  • The same diagnostic sequence is repeated by multiple engineers
  • "Tribal" investigation steps are known only by senior responders
  • Variable quality between responders for the same issue type
  • User asks to create an "investigation", "runbook", "procedure", or "workflow" for chat
  • Onboarding new engineers who need guided entry points

Key concepts

Scoping

Scope Effect scope_type scope_id
Workspace All users in the workspace can invoke workspace workspace name
Persona Only available when chatting with a specific assistant persona persona name

Command vs Task

Concept What it is Invoked by
Command Instructions for the AI assistant — what to investigate, how to present results Users typing /name in chat
Task (SLX) A script that runs on a runner against live infrastructure run_slx or the platform scheduler

Commands can reference Tasks. Instead of hardcoding diagnostic details, a command can instruct the assistant to run or consult a Task for live data. This keeps commands current without manual updates.

Naming rules

Command names must be alphanumeric, underscore, or hyphen only. No spaces. Users invoke them as /command-name in workspace chat.

Workflow

1. Audit existing commands

list_chat_commands(scope_type="workspace", scope_id="my-workspace")

2. Identify repeatable patterns

Look for investigation steps your team does repeatedly:

  • "Check pods, then events, then logs in namespace X"
  • "Compare config between dev and prod"
  • "What changed since last deployment?"

3. Create the command

create_chat_command(
    name="investigate-namespace",
    command_content="""Investigate the health of a Kubernetes namespace. Follow this sequence:

1. **Pod status** — Check for crash loops, pending pods, and recent restarts
2. **Warning events** — Surface Kubernetes warning events from the last hour
3. **Error logs** — Check application logs for error patterns
4. **Resource pressure** — Note any resource quota exhaustion
5. **Dependencies** — Check if upstream/downstream services are healthy

Present findings grouped by severity. For each issue found, include specific next steps.
If the namespace is healthy, confirm it explicitly and note any recent recoveries.""",
    scope_type="workspace",
    scope_id="my-workspace",
    description="Comprehensive namespace health investigation"
)

Read the full file on GitHub · 183 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 · 183 lines · 90 tokens per session scan A 2cc2c6779e1e

Subscribe to this mod's changes

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