agentleFS
ashley-eyekyamashley-eyekyam/probematrix-learnings-coach/skills/learnings-register/SKILL.md

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".

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
  1. Very specific:

    Find the learnings, not the findings: Start from the highest-rated findings: PMLC select <ws> --top-rated --brief.

    line 12
  2. Distinctive:

    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 …

    line 13
  3. Very specific:

    Comparison: Leave comparison as not compared unless a comparator report is supplied (then use report-comparison).

    line 19
  4. Very specific:

    All files go to <run>/outputs/ (see the folder rule in learnings-coach/SKILL.md.

    line 23
  5. Distinctive:

    Do not hand-edit the HTML: change the JSON and re-run.

    line 32
  6. Distinctive:

    Every row has finding IDs and at least one evidence ID.

    line 41
  7. Distinctive:

    No names, no blame wording, no owners or due dates (unless the user asked).

    line 42

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  1. 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.
  2. 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.
  3. Classify each learning against register sections B–H. Owner entity and tiers come from clusters.json for its findings.
  4. 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.
  5. 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.
  6. Use the controlled values in register-schema.md for hfacs_level, hoc_tier, priority and comparison, so the Summary sheet and dashboard count cleanly. Put nuance in the free-text fields.
  7. Prioritise. Priority 1 = credible major consequence and likely to recur or transfer; 3 = local and minor.
  8. Comparison. Leave comparison as not compared unless a comparator report is supplied (then use report-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.json in 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.json writes learnings-register.xlsx beside 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.html with 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.