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.
npx skills add runwhen-contrib/runwhen-platform-mcp --skill build-runwhen-taskgit clone --depth 1 https://github.com/runwhen-contrib/runwhen-platform-mcpWrote 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.
[](https://agentmods.dev/skills/runwhen-contrib/runwhen-platform-mcp/build-runwhen-task)<a href="https://agentmods.dev/skills/runwhen-contrib/runwhen-platform-mcp/build-runwhen-task"><img src="https://agentmods.dev/badge/skills/runwhen-contrib/runwhen-platform-mcp/build-runwhen-task/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.
<a href="https://agentmods.dev/skills/runwhen-contrib/runwhen-platform-mcp/build-runwhen-task"><img src="https://agentmods.dev/badge/skills/runwhen-contrib/runwhen-platform-mcp/build-runwhen-task.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00115 | $0.03707 |
| Opus 5.5 | $0.00046 | $0.01483 |
| Sonnet 5.5 | $0.00023 | $0.00741 |
| Haiku 4.5 | $0.00012 | $0.00371 |
Grade A, and why
build-runwhen-task 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.
How it starts
The opening of the file, as written. The whole thing — 319 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Build RunWhen Task
End-to-end workflow for creating a RunWhen SLX from scratch.
Before you start — check the registry
Always search the CodeBundle Registry first using the
find-and-deploy-codebundle skill. There may already be a
production-ready codebundle for the task. Only proceed here
if the registry has no suitable match.
When to use
- Creating a new health check or monitoring task that doesn't exist in the registry
- Building a troubleshooting runbook for infrastructure
- Automating incident response with scheduled checks
- Adding an SLI (health metric) to an existing task
Workflow
- Load context —
get_workspace_context(ALWAYS first — loads RUNWHEN.md rules) - Discover secrets —
get_workspace_secrets(workspace_name="my-workspace") - Write script — Use the reference templates below as starting points
- Validate —
validate_scriptchecks contract compliance - Test —
run_script_and_wait(workspace_name="my-workspace", ...)with env_vars, secret_vars - Iterate — Fix based on output, re-test until issues/severity/next-steps are correct
- Commit —
commit_slx(workspace_name="my-workspace", ...)with metadata (see reference examples)- Or GitOps:
render_codecollection_skillvia thecommit-to-codecollectionskill when storing in a private codecollection repo instead of the workspace
- Or GitOps:
- Wait — Allow 1-3 minutes for reconciliation before querying the SLX
Location auto-resolves. You do NOT need to call
get_workspace_locationsor pass alocationparameter. The server automatically picks the best runner (workspace locations preferred over public). Only specifylocationexplicitly when the workspace has multiple workspace-type runners and you need to target a specific one. See thediscover-locationsskill for details.
Reference templates
Read these files for complete, contract-compliant script templates:
| Template | Path | Use for |
|---|---|---|
| Bash task | references/bash-task-template.sh |
Bash health checks that report issues |
| Python task | references/python-task-template.py |
Python health checks that report issues |
| Bash SLI | references/bash-sli-template.sh |
Bash health metric (returns 0-1) |
| Python SLI | references/python-sli-template.py |
Python health metric (returns 0-1) |
| Commit examples | references/commit-examples.md |
commit_slx call patterns for common scenarios |
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 3mo ago First seen · 319 lines · 115 tokens per session scan A d381097a5794
build-runwhen-task 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 115 tokens to every session and 3,707 once invoked, about $0.0005 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.
build-runwhen-task compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| build-runwhen-taskrunwhen-contrib/runwhen-platform-mcp | Skill | 1 | 8d ago | Apache-2.0 | A | 115 | Claude Code |
| chrome-devtools-cliChromeDevTools/chrome-devtools-mcp | Skill | 60k | yesterday | Apache-2.0 | A | 31 | Claude Code |
| n8n-error-handlingczlonkowski/n8n-mcp | Skill | 23k | yesterday | MIT | A | 128 | Claude Code, Codex |
| n8n-validation-expertczlonkowski/n8n-mcp | Skill | 23k | yesterday | MIT | A | 91 | Claude Code, Codex |
| agentcore-investigationawslabs/mcp | Skill | 10.0k | today | Apache-2.0 | A | 52 | Claude Code, Codex |
| openlore-analyze-codebaseclay-good/OpenLore | Skill | 371 | today | MIT | A | 48 | Claude Code, Codex |
| flutter-mcp-toolkit-intentcall-migrationArenukvern/mcp_flutter | Skill | 401 | 4d ago | MIT | A | 58 | Claude Code |