The meta-skill that builds and improves all your skills, including itself. Watches your work sessions (autonomous or human-led), captures patterns, corrections and judgement calls, and turns them into skill improvements and new skill candidates for your review. Practical application of the Augmented Expertise methodology. Open source: CC BY 4.0.
Python agent-skillsai-skillsaugmented-expertiseawesome-skillsclaudeclaude-codeclaude-code-skillclaude-code-skillsclaude-coworkclaude-skillsmeta-skillrebelyticsskill-automationskill-builderskill-creationskill-improvementskill-managementskills
Ceilings: a plain file name, references/ceilings.txt
Eoghan Henn104157fac5a9
diff --git a/references/.ceilings b/references/ceilings.txtsimilarity index 93%rename from references/.ceilingsrename to references/ceilings.txtindex 8de4e15..8f2cf42 100644--- a/references/.ceilings+++ b/references/ceilings.txt@@ -3,10 +3,10 @@# Over its ceiling, a file with more than 12 load triggers is split by episode;# one with 12 or fewer is trimmed, or its ceiling raised with a dated reason.# A ceiling more than 3 lines above its file's count is lowered to the count.-environments.md 1705+environments.md 1704migration.md 250 2026-10-09 the abandoned-root pointer file is named and read, migrate-log.py checks dropped keysobservation-log.md 1493signals.md 234-skill-authoring.md 1367+skill-authoring.md 1369starter-principles.md 482weekly-review.md 1990diff --git a/references/environments.md b/references/environments.mdindex 8dfc1a7..7f4cc2d 100644--- a/references/environments.md+++ b/references/environments.md@@ -1533,9 +1533,8 @@ This skill consists of `SKILL.md`, the reference files it lists`scripts/new-observation.sh`, `scripts/session-start-scan.sh`,`scripts/skill-load.sh` and `scripts/validate-skill-bundle.py`. If any ismissing, SKILL.md "Reference files" applies (the rule lives there because-this file can be the missing one). `references/.ceilings` travels with-them: it holds the per-file line ceilings the validator reads, and a `*`-glob skips it as a dotfile, so copy the folder.+this file can be the missing one). `references/ceilings.txt` travels with+them: it holds the per-file line ceilings the validator reads.## Compaction behaviourdiff --git a/references/skill-authoring.md b/references/skill-authoring.mdindex 0bae8cd..8e3bfb0 100644--- a/references/skill-authoring.md+++ b/references/skill-authoring.md@@ -227,9 +227,9 @@ from that line, never by hand:| file | lines | triggers ||---|---:|---:|| `weekly-review.md` | 1,990 | 3 |-| `environments.md` | 1,705 | 12 |+| `environments.md` | 1,704 | 12 || `observation-log.md` | 1,493 | **20** |-| `skill-authoring.md` | 1,367 | 7 |+| `skill-authoring.md` | 1,369 | 7 || `starter-principles.md` | 482 | 1 || `migration.md` | 250 | 1 || `signals.md` | 234 | 6 |@@ -1347,7 +1347,7 @@ any skill creation or regeneration.## Reference-file ceilings — the growth barrierThe trigger count the validator prints on every run becomes a gate for a-skill that opts in. Opting in is one file, `references/.ceilings`, with a+skill that opts in. Opting in is one file, `references/ceilings.txt`, with aline per reference file — `<file.md> <ceiling>`, seeded at each file'scurrent count — and one `Load triggers: a; b; c` line in each referencefile's header (before its first `## ` heading), one entry per distinct@@ -1363,5 +1363,7 @@ the sidecar present, `validate-skill-bundle.py` fails when:- a file has no ceiling line or no `Load triggers:` line.Size alone never forces a split, so a single-episode file is still never-split to meet a size rule. Without the sidecar nothing is gated. Change a-file's `Load triggers:` line in the same edit as any core pointer into it.+split to meet a size rule. Without the sidecar nothing is gated, which is+why it has a plain name: an install route that drops dotfiles would switch+the gate off without a word. Change a file's `Load triggers:` line in the+same edit as any core pointer into it.diff --git a/scripts/validate-skill-bundle.py b/scripts/validate-skill-bundle.pyindex 5f6a50a..6fdc20d 100644--- a/scripts/validate-skill-bundle.py+++ b/scripts/validate-skill-bundle.py@@ -573,10 +573,11 @@ def check_reference_indexes(skill_dir, fails):# Size alone never forces a split, so a single-episode file is never split to# meet a size rule. The ceiling follows trims down with the core's tolerance.#-# Opt-in, per skill: a `references/.ceilings` file holds one line per file —+# Opt-in, per skill: a `references/ceilings.txt` file holds one line per file —# <file.md> <ceiling> [<YYYY-MM-DD> <reason for the last raise>]-# with `#` comments and blank lines allowed. A skill without one has not opted-# in: the shape line is printed and nothing is gated, so the public validator+# with `#` comments and blank lines allowed. Not a dotfile: an install route+# that drops dotfiles would silently switch the gate off. A skill without one+# has not opted in: the shape line is printed and nothing is gated, so the public validator# imposes no budget on a skill whose author never set one.## The trigger count is DECLARED, not inferred: each reference carries one@@ -586,7 +587,7 @@ def check_reference_indexes(skill_dir, fails):# filename-only pointer names no section at all — so the scan is kept only as# the fallback figure for a file that declares nothing (printed with `~`) and# as a cross-check that a declaration has not fallen behind the core.-REF_CEILINGS_FILE = ".ceilings"+REF_CEILINGS_FILE = "ceilings.txt"SPLIT_TRIGGER_THRESHOLD = 12LOAD_TRIGGERS_RE = re.compile(r"(?m)^Load triggers:[ \t]*(.*?)[ \t]*$")REF_CEILING_LINE_RE = re.compile(@@ -643,7 +644,7 @@ def declared_load_triggers(text):def read_ref_ceilings(refs, fails):- """{file: (ceiling, date, reason)} from references/.ceilings, or None when+ """{file: (ceiling, date, reason)} from references/ceilings.txt, or None whenthe skill has not opted in. Every malformed line fails: a skill thatopted in and wrote a line the gate cannot read must not pass ungated."""import datetime@@ -1040,7 +1041,7 @@ RESIDUE_FIXTURES = [def roundtrip_case(after_pack):- """Pack a three-file fixture skill (one a dotfile sidecar the bundle must+ """Pack a three-file fixture skill (one the ceilings sidecar the bundle mustcarry), apply `after_pack` to the directory, and report whetherverify_roundtrip() failed — None if the sidecar was not packed. Runs in atemporary directory outside any staged tree."""@@ -1053,7 +1054,7 @@ def roundtrip_case(after_pack):out = pathlib.Path(tmp) / "fixture-skill.skill"written = pack(src, out)if f"fixture-skill/references/{REF_CEILINGS_FILE}" not in written:- return None # a dotfile sidecar left out of the bundle+ return None # the sidecar left out of the bundleafter_pack(src)fails = []verify_roundtrip(out, src, written, fails)@@ -1244,7 +1245,7 @@ def migrate_case(skill_line, ov):def ref_shape_case(lines, triggers, sidecar):"""Run check_reference_shape over a one-reference fixture skill: a.md of`lines` lines declaring `triggers` load triggers (None = no declaration),- beside `sidecar` as references/.ceilings (None = not opted in). Returns+ beside `sidecar` as references/ceilings.txt (None = not opted in). Returnsthe failures."""with tempfile.TemporaryDirectory() as tmp:refs = pathlib.Path(tmp) / "fixture-skill" / "references"