loop_register
Register a custom loop or skill on the local MCP by providing an id and content. Loops become phase-gated streams; skills become retrievable knowledge with provenance enforcement.
Instructions
Add YOUR OWN loop to this machine's local MCP, or register a skill (retrievable knowledge file) with role:"skill". Pass the full text as content; loops are hashed, phase-gated, and streamed; skills are section-addressable with provenance-enforced frontmatter. Cannot overwrite the hash-locked Strip Miner / Loop-de-loop. Nothing leaves your machine.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | safe lowercase id (no slashes/spaces); must not collide with a mandated loop | |
| role | No | artifact type — "custom" (phase-streamed loop) or "skill" (retrievable knowledge file). Default custom. | |
| tags | No | free-form labels for skill keyword pre-filter | |
| runId | No | optional; only used to journal the registration | |
| stack | No | tech stack tokens for skill routing | |
| title | No | ||
| source | No | provenance URI or path description (required when role is "skill") | |
| content | Yes | the full loop or skill markdown (loops: headers/paragraphs become phases; skills: frontmatter + body with _synthesis section) | |
| license | No | SPDX id or LicenseRef-… (required when role is "skill") | |
| trigger | No | e.g. "/loop my-loop" (loops only) | |
| overwrite | No | replace an existing custom loop or skill of the same id with a new local version | |
| source_paths | No | optional auxiliary reference file paths for multi-file skills | |
| anti_patterns | No | outputs the model must not reproduce from the skill | |
| skillPartition | No | partition — "working" (retrievable in normal runs) or "reference" (held-out, opt-in only). Default working. | |
| supports_tasks | No | task intents this skill helps with | |
| token_budget_hint | No | expected total skill size hint for Router 1 planning | |
| synthesis_guidance | No | how to apply fetched skill knowledge to the current task without copying |