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 commit-to-codecollectiongit 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/commit-to-codecollection)<a href="https://agentmods.dev/skills/runwhen-contrib/runwhen-platform-mcp/commit-to-codecollection"><img src="https://agentmods.dev/badge/skills/runwhen-contrib/runwhen-platform-mcp/commit-to-codecollection/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/commit-to-codecollection"><img src="https://agentmods.dev/badge/skills/runwhen-contrib/runwhen-platform-mcp/commit-to-codecollection.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.00130 | $0.03459 |
| Opus 5.5 | $0.00052 | $0.01384 |
| Sonnet 5.5 | $0.00026 | $0.00692 |
| Haiku 4.5 | $0.00013 | $0.00346 |
Grade A, and why
commit-to-codecollection 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 — 304 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Commit to CodeCollection (GitOps)
Render a tested tool-builder task into the Custom Discovery CodeCollection layout documented at https://docs.runwhen.com/guides/custom-discovery-codecollection/
This is the GitOps alternative to commit_slx (which writes inline scripts into the workspace repo).
When to use each path
| Goal | Tool |
|---|---|
| Fast iteration in a dev workspace | commit_slx |
| Version-controlled, reusable bundle in your git repo | render_codecollection_skill |
| Deploy a registry Skill Template | deploy_registry_codebundle |
Prerequisites
- Task already tested via
run_script_and_wait(same bar ascommit_slx) get_workspace_contextloaded before authoring- Platform format confirmed with the user (see below)
- runwhen-local release with the matching platform indexer on the target runner
platform: runwhen→ RW-1355 runwhen indexerplatform: kubernetes|azure|aws|gcp→ that cloud indexer enabled inworkspaceInfo.yaml
Choose output format (ask the user first)
Do not call render_codecollection_skill until the user confirms platform and scope.
- Call
list_discovery_platforms()and present the two main paths:
| User goal | platform |
Typical scope |
|---|---|---|
| One health-check SLX for the whole workspace (MCP tool-builder) | runwhen |
resource_types: [workspace] |
| One SLX per K8s namespace/deployment/CRD/etc. | kubernetes |
e.g. [namespace], [deployment] |
| One SLX per Azure/AWS/GCP resource | azure / aws / gcp |
CloudQuery table names from catalog |
-
Ask clarifying questions when ambiguous:
- "Should this run once per workspace, or once per Kubernetes namespace/cluster/resource?"
- "Which cloud account scope — individual resources, resource groups, or subscriptions?"
- For Kubernetes: "Which namespace pattern or resource type should drive SLX creation?"
-
Call
list_indexed_resource_types(platform=<chosen>, search=<hint>)and only offerresource_typesvalues returned by that tool (plus Kubernetes CRDplural.group[/version]syntax when the user names a CRD).
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 · 304 lines · 130 tokens per session scan A 59fd42c9c2ba
commit-to-codecollection 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 130 tokens to every session and 3,459 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.
commit-to-codecollection compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| commit-to-codecollectionrunwhen-contrib/runwhen-platform-mcp | Skill | 1 | 8d ago | Apache-2.0 | A | 130 | Claude Code |
| pull-request-authoringgithub/github-mcp-server | Skill | 35k | today | MIT | A | 62 | Claude Code, Codex |
| repository-content-changesgithub/github-mcp-server | Skill | 35k | today | MIT | A | 64 | Claude Code, Codex |
| deploy-runbooknirholas/three.ws | Skill | 289 | yesterday | Apache-2.0 | A | 38 | Claude Code |
| github-via-nyxidChronoAIProject/NyxID | Skill | 44 | today | Apache-2.0 | A | 116 | Claude Code |
| git-workflowmodelcontextprotocol/csharp-sdk | Skill | 4.7k | yesterday | none | A | 19 | Claude Code, Codex |
| polish-docs-metacyanheads/git-mcp-server | Skill | 245 | 2mo ago | Apache-2.0 | A | 53 | Claude Code, Codex |