/self-learning:triage-learningsfrom self-learning
Loop B of the self-learning system — triage the "MCP Loop Learnings" Slack canvas (the capture inbox), turning captured proto-learnings into GitHub issues on the owning MCP repo, PRs to the shared umbraco-mcp-skills, or loop-improvement issues — never hand-editing a product repo directly. Nothing auto-merges. Runs locally or as a scheduled cloud routine. Trigger on "triage the learnings", "process the learning backlog", or any request to turn captured MCP lessons into issues or shared-skill PRs — even without the words "triage" or "Loop B".
Ships in self-learning. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The capture half (the SubagentStop/SessionEnd hooks) appends proto-learnings
as rows to the shared "MCP Loop Learnings" Slack canvas. This skill is the
triage half: on a schedule, it turns that raw backlog into reviewed work by
routing each learning to whichever repo, shared skillset, or loop-improvement
backlog should act on it.
The learning loop is repo-agnostic. A proto-learning's Source Repo is
whichever Umbraco MCP repo the loop was working on — umbraco/Umbraco-CMS-MCP-Editor
is only one example; there are many, and this skill must treat them all the same.
For the canvas inbox, use slack_read_canvas/slack_update_canvas directly
— the Slack connector must be attached to this routine (same connector the
capture hooks use). For every routed-item write (Step 4), use the github-ops skill —
it owns the local-vs-web mechanism, so this skill just names the operation
and never restates or hard-codes how to do it.
Both are required — without the Slack connector this skill has nothing to triage; without
github-opsit can gather the inbox but can't route it.
| Thing | Value |
|---|---|
| Canvas inbox | F0BQ31E4R8F ("MCP Loop Learnings", posted in #mcp-ops-learning) |
| Canvas filter | ## Log table rows where Status = New |
| Canvas row shape | Date | Source Repo#Issue | Category | Lesson | Guessed Home | Status | Notes — Guessed Home is one of mcp-repo, shared-mcp-skills, loop-self, unsure. Full field-by-field contract: proto-learning-schema.md — read it if the live canvas header disagrees with this. |
| Homes | see the routing table below |
| Base branch (shared-skills PR) | detect via the release-and-branching skill |
| Routed items per run cap | see Caps & guardrails |
Home selection follows the Guessed Home heuristic in
proto-learning-schema.md
— you decide, the row's value is just a hint.
| Home | Where it goes | Mechanism | Beyond the heuristic |
|---|---|---|---|
mcp-repo | the learning's Source Repo — any Umbraco MCP repo | Issue on that repo | — |
shared-mcp-skills | umbraco/Umbraco-MCP-Base (the umbraco-mcp-skills source) | PR (drafted) | Requires the promotion threshold. |
loop-self | hifi-phil/umbraco-mcp-ops | loop-improvement issue | The loop must not rewrite its own definition unreviewed. |
| discard | — | mark Discarded | Not actionable, stale, or wrong. |
When genuinely unsure (the schema's heuristic doesn't resolve it): lean
toward shared-mcp-skills if it's a tooling/pattern lesson and it clears
Step 3's recurrence threshold; otherwise hold it rather than mis-filing
(see Step 3 for what holding does).
Read the inbox (Config above). Each row's fields (Category, Guessed Home,
etc.) follow the
proto-learning schema
— see proto-learning-capture for the capture
half this inbox comes from. Keep each row's position (needed in Step 5 to update it). If
the inbox is empty, report "nothing to triage" and stop.
Group rows that express the same lesson (same Category +
semantically-equivalent Lesson) — regardless of Source Repo: a lesson
recurring across different repos is exactly the cross-repo pattern Step 3
looks for, so repo is provenance, not part of the grouping key. Each cluster
becomes one routed item and carries the full list of source row
references as provenance. Deduping across the whole open set is the whole
point — do it here, in reasoning, not per-row.
Compounding means a pattern, not a one-off — both read off a single cluster's provenance:
shared-mcp-skills.mcp-repo issue, or hold
(leave the row at Status = New) if it's too thin to act on yet. Do not
promote a single incident into a shared skill.Loop-self clusters are not threshold-gated — route them whenever they're actionable.
Assign each cluster a home from the routing table, then follow
references/routing-procedures.md for
that home's exact steps.
Every routed item — issue or PR — carries provenance: the source canvas rows it came from (repo/issue + capture date), and the occurrence count (threshold evidence). Reviewers approve facts, not vibes.
Marking a routed cluster's Status/Notes — including a discarded cluster
with no home assigned — is the closing step of its home's procedure in
references/routing-procedures.md.
Re-read the canvas (slack_read_canvas) immediately before each
slack_update_canvas call — section IDs go stale after every edit, including
your own from a moment ago.
End the run with a short report — no one watches a scheduled run live: counts of routed / held / discarded / deferred, with links to what was created.
Schedule this skill weekly as a Claude Code cloud routine (see the schedule
skill, and Runtime & auth for what it needs attached). Because capture is
continuous and triage is periodic, a weekly cadence keeps
the inbox from growing without flooding anyone.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub hifi-phil/umbraco-mcp-ops --plugin self-learning2 skills in this plugin