manage-rules

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

A tool for creating and managing workspace chat rules that guide how an AI assistant interprets infrastructure findings. Rules can change what the assistant downplays, highlights, or treats as actionable.

In plain words
What is it for?
Use it to add or edit rules for a whole workspace, a specific assistant persona, or an entire platform.
Why use it?
It reduces repetitive platform noise and makes important application issues, priorities, and severity language more consistent.

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 add or edit rules for a whole workspace, a specific assistant persona, or an entire platform.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/runwhen-contrib/runwhen-platform-mcp/manage-rules"><img src="https://agentmods.dev/badge/skills/runwhen-contrib/runwhen-platform-mcp/manage-rules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,082 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.00084 $0.01082
Opus 5.5 $0.00034 $0.00433
Sonnet 5.5 $0.00017 $0.00216
Haiku 4.5 $0.00008 $0.00108

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

Security

Grade A, and why

manage-rules 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/manage-rules/SKILL.md · 131 lines

How it starts

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

Manage Rules

Rules are loaded into the assistant's prompt context on every response. They shape how findings are interpreted — what to de-prioritize, what to highlight, and how to frame expected behavior versus actionable risk.

When to use

  • Assistant responses are technically correct but operationally noisy
  • Known infrastructure churn keeps dominating investigations
  • Important application issues are buried in platform noise
  • Severity language is inconsistent across investigations
  • User asks to "tune", "adjust", or "configure" the assistant's behavior

Key concepts

Scoping

Scope Effect scope_type scope_id
Workspace All assistants in the workspace see the rule workspace workspace name (e.g. my-workspace)
Persona (assistant) Only a specific assistant sees the rule persona persona name
Platform All workspaces in the organization platform null

Most rules should be workspace-scoped. Use persona scope only when different assistants need different interpretation behavior.

Rule anatomy

Good rules are short, explicit instructions with clear priority direction:

Acknowledge that GKE node preemptions are expected in this cluster.
Do not treat preemptions as root cause unless clearly correlated with
user-reported symptoms.

Bad rules are vague or too broad:

Be better at analyzing Kubernetes issues.

Workflow

1. Audit existing rules

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

2. Identify noise patterns

Use workspace_chat(workspace_name="my-workspace", message="...") to run a baseline prompt your team asks often. Note which findings are repeated noise vs actual issues. Common noise sources:

  • Node preemptions / spot instance recycling
  • CNI flapping in shared clusters
  • Resource pressure on non-critical namespaces
  • Platform controller reconciliation events
  • Expected CronJob failures in dev/test

Read the full file on GitHub · 131 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 · 131 lines · 84 tokens per session scan A 47c60bd05744

Subscribe to this mod's changes

manage-rules is a skill published in the GitHub repository runwhen-contrib/runwhen-platform-mcp (1 stars, last pushed 8d ago), licensed Apache-2.0. It adds 84 tokens to every session and 1,082 once invoked, about $0.0003 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

manage-rules compared with skills from other repositories

manage-rules next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
manage-rulesrunwhen-contrib/runwhen-platform-mcpSkill18d agoApache-2.0A84Claude Code
wenlan-handoffwenlan-app/wenlanSkill502yesterdayApache-2.0A46Claude Code, Codex
airdrop-hunting-guidenirholas/three.wsSkill289yesterdayApache-2.0A54Claude Code, Codex
check-name-realFuRongJun-1999/dsh-memorySkill763todayMITA101Claude Code
opik-diagnosecomet-ml/opik-mcpSkill2275d agoApache-2.0A187Claude Code
ue-mcp-epic-routingdb-lyon/ue-mcpSkill526todayMITA81Claude Code, Codex
qa-knowledgegriddynamics/rosettaSkill382todayApache-2.0A32Claude Code, Codex