learnings-register
Skill0 starsChanged 28 days agoMITView on GitHub
Build a formal Learnings Register (lessons-learned register) from a ProbeMatrix investigation export - one row per learning with evidence, HFACS level, barrier, organisational system, audiences, priority and recommendations rated on the hierarchy of controls with leading indicators - and write it to Markdown and a formatted Excel workbook. Use when someone asks for a lessons-learned register, a learnings log, an Excel of learnings, a register to take to management, or "turn these findings into lessons and recommendations".
In this repository24 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- auditor-assurance-packSkill
- barrier-learningsSkill
- board-briefSkill
- causal-mapSkill
- cluster-learning-dossierSkill
- emergency-response-learningsSkill
- engineering-integrity-learningsSkill
- frontline-learning-cardsSkill
- interface-learningsSkill
- investigator-coachSkill
- learning-clustersSkill
- learnings-coachSkill
- manager-coachSkill
- organisation-learning-mapSkill
- precursor-timelineSkill
- report-comparisonSkill
- safety-committee-guideSkill
- site-leadership-coachSkill
- supervisor-coachSkill
- supply-chain-contractor-learningsSkill
- top-management-briefSkill
- training-designerSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Find the learnings, not the findings: Start from the highest-rated findings: PMLC select <ws> --top-rated --brief.
- Distinctive: line 13
One learning per row: Write the lesson as a generalisable sentence that would make sense to another site ("If X, then Y, because Z"), not a …
- Very specific: line 19
Comparison: Leave comparison as not compared unless a comparator report is supplied (then use report-comparison).
- Very specific: line 23
All files go to <run>/outputs/ (see the folder rule in learnings-coach/SKILL.md.
- Distinctive: line 32
Do not hand-edit the HTML: change the JSON and re-run.
- Distinctive: line 41
Every row has finding IDs and at least one evidence ID.
- Distinctive: line 42
No names, no blame wording, no owners or due dates (unless the user asked).
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Learnings Register
Engine: PMLC = python3 <skills-root>/learnings-coach/scripts/pmlc.py (this skill needs the learnings-coach skill installed alongside it). Needs clusters.json (see learning-clusters). Read learnings-coach/references/learning-principles.md and learnings-coach/references/register-schema.md.
Method
- Find the learnings, not the findings. Start from the highest-rated findings:
PMLC select <ws> --top-rated --brief. Group findings that describe the same condition. A typical investigation of a few hundred findings yields 15–40 learnings. Then sweep lower ratings for conditions not yet covered, especially at L3–L4. - One learning per row. Write the lesson as a generalisable sentence that would make sense to another site ("If X, then Y, because Z"), not a restatement of the event.
- Classify each learning against register sections B–H. Owner entity and tiers come from
clusters.jsonfor its findings. - Recommend. One to three recommendations per learning, each with HoC tier and a leading indicator. At least one recommendation per priority-1 learning should be above the administrative tier, or say why none is possible.
- Tier messages. For each learning, write
tier_messages: one short, concrete message per tier that must act (T1 frontline … T5 corporate/board), omitting tiers with nothing to do. This is what turns the register into a learning plan for the whole organisation. - Use the controlled values in
register-schema.mdforhfacs_level,hoc_tier,priorityandcomparison, so the Summary sheet and dashboard count cleanly. Put nuance in the free-text fields. - Prioritise. Priority 1 = credible major consequence and likely to recur or transfer; 3 = local and minor.
- Comparison. Leave
comparisonasnot comparedunless a comparator report is supplied (then usereport-comparison).
Output
All files go to <run>/outputs/ (see the folder rule in learnings-coach/SKILL.md; PMLC run-path <ws> prints it).
<run>/outputs/learnings-register.jsonin the schema shape.PMLC check-register <ws> <run>/outputs/learnings-register.json: validates IDs, evidence links, controlled values, tier messages and leading indicators, flags findings with reviewer downgrade votes, and lists high-rated findings no learning covers. Fix everything it reports, then:PMLC register-xlsx <run>/outputs/learnings-register.jsonwriteslearnings-register.xlsxbeside it (sheets: Learnings Register, Recommendations, Learning Plan, Summary, About). Do not rebuild these sheets by hand; if something is missing, add it to the JSON and re-run.PMLC dashboard <ws> --register <run>/outputs/learnings-register.json [--date <corrected date>] [--title "<plain title>"]writes<run>/outputs/organisation-learning-map.htmlwith two tabs:- Overview: the organisation map plus the learning × tier matrix, whose rows link to tab 2.
- Detailed register: every field of every learning, its recommendations, tier messages, and the full text of each cited finding and evidence item. It has stakeholder lenses (T1–T5, Investigator, Auditor), filters, search, expand/collapse, print, and a panel of findings no learning covers. Unknown register keys are shown, never dropped.
- It is required for this skill.
- Do not hand-edit the HTML: change the JSON and re-run.
<run>/outputs/learnings-register.md: summary tables (counts by entity, level, organisational system, HoC tier), the priority-1 learnings in full, then the rest in a compact table.
Sharing outside the organisation
A register is for the organisation's own learning. Do not send it to a regulator, client or the public from here. Sharing outside needs legal review, an approved sign-off, and --share external; follow "Sharing outside the organisation" in learnings-coach/references/learning-principles.md (§7) and the hub's step 4.
Checks before handing over
- Every row has finding IDs and at least one evidence ID.
- No names, no blame wording, no owners or due dates (unless the user asked).
- The share of recommendations at administrative or training tier is reported honestly.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

