skill-management

Rules for creating and maintaining reusable AI workflows stored as `SKILL.md` files. They also describe how Claude, Copilot and Cursor discover the same skills.

In plain words
What is it for?
Use them when adding, editing or organizing skills in the RunWhen MCP server project.
Why use it?
They keep workflow definitions in one canonical location and prevent client-specific copies from drifting apart.

Cursor rule for Cursor

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.

agentmods
npx agentmods add rules/runwhen-contrib/runwhen-platform-mcp/skill-management
Clone the repo
git clone --depth 1 https://github.com/runwhen-contrib/runwhen-platform-mcp

Made for: Cursor.

Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 400 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
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 $0.00000 $0.00400
Opus 5 $0.00000 $0.00200
Sonnet 5 $0.00000 $0.00080
Haiku 4.5 $0.00000 $0.00040

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

Security

Grade B, and why

skill-management scanned grade B with 1 finding 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 2d 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.

Enumerates other installed skillsmediumAgent snooping

Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.

- [ ] Symlinks resolve: `ls .github/skills/<name>` and `ls .claude/skills/<name>`
.cursor/rules/skill-management.mdc · 53 lines

What it actually says

Skill Management

Skills are reusable AI workflow definitions stored as SKILL.md files. They are a core capability of the RunWhen MCP server — not just documentation.

Canonical location

All skills live in skills/ at the repo root. Each skill is a directory containing a SKILL.md and optional reference files (templates, examples).

Multi-client discovery

Three symlinks/references ensure every supported client finds the skills:

Client Discovery path Mechanism
Cursor skills/ .cursor-plugin/plugin.json"skills": "../skills/"
Copilot .github/skills/ Symlink → ../skills
Claude .claude/skills/ Symlink → ../skills

When adding a new skill, place it in skills/<skill-name>/SKILL.md. The symlinks handle the rest — never duplicate skill files into .github/ or .claude/ directly.

SKILL.md structure

Every SKILL.md must have YAML frontmatter with name and description:

---
name: my-skill-name
description: >-
  One-sentence description of when this skill should be used.
---

# Skill Title

Step-by-step instructions...

Checklist for new skills

  • Created skills/<name>/SKILL.md with valid frontmatter
  • Symlinks resolve: ls .github/skills/<name> and ls .claude/skills/<name>
  • Listed in .github/copilot-instructions.md skills table
  • Tested: skill triggers correctly when relevant prompt is given
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. 2d ago First seen · 53 lines · 0 tokens per session scan B 94952345fa60

Subscribe to this mod's changes

skill-management is a cursor rule published in the GitHub repository runwhen-contrib/runwhen-platform-mcp (1 stars, last pushed 18d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 400 tokens. A static security scan graded it B with 1 finding (enumerates other installed skills). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.