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
Session-start scan: list every observation log beside the pinned one
Eoghan Henn3c94e3df72f8
diff --git a/SKILL.md b/SKILL.mdindex d14b759..7cec2e5 100644--- a/SKILL.md+++ b/SKILL.md@@ -160,11 +160,10 @@ was handled without its reference loaded, log an observation.surface unprompted. Frontmatter-only is the whole point of the per-fileformat: the scan stays cheap once hundreds of observations exist.- **This scan does not satisfy the per-skill check** (the grep run each- time a skill loads — `references/environments.md`, activation block):- different scope, depth and moment. Load `references/observation-log.md`- ("Why the session-start scan does not satisfy the per-skill check")- whenever the per-skill grep feels redundant because this scan already ran.+ **This scan does not satisfy the per-skill check** (the grep at each+ skill load, activation block); when that grep feels redundant, load+ `references/observation-log.md` ("Why the session-start scan does not+ satisfy the per-skill check").**An empty scan in a log known to be non-empty is a broken commanduntil proven otherwise** — the snippet's guard halts on it. When the guard@@ -185,6 +184,7 @@ was handled without its reference loaded, log an observation.printf 'files: %s parsed: %s suspect: %s\n' "$n" "$parsed" "$suspect"printf '%s [%s] session-start scan: files=%s parsed=%s\n' "$(date '+%F %H:%M')" "${PWD##*/}" "$n" "$parsed" \>> "[ABSOLUTE PATH]/skill-observations/checkpoints.log" # date+time+source: one line per session, not per day+ find "$(dirname "[ABSOLUTE PATH]")" -maxdepth 3 -type d -path '*/skill-observations/observation-log' 2>/dev/null | LC_ALL=C sort | while IFS= read -r o; do printf '%s=%s\n' "${o%/skill-observations/observation-log}" "$(find "$o" -maxdepth 1 -name '*.md' | wc -l | tr -d ' ')"; done | awk '{s = s " " $0} END {print "logs under the parent (report; never consolidate from here):" s}'( LC_ALL=C; [ "$n" -eq 0 ] || { cd "$d" && awk 'FNR==1 && NR>1 && fm {print "---"}FNR==1 {fm=/^---[[:space:]]*$/; if (!fm) {print "---"; nextfile}; next}fm && /^---[[:space:]]*$/ {fm=0; print "---"; nextfile}diff --git a/references/environments.md b/references/environments.mdindex 8f56694..94ee7c2 100644--- a/references/environments.md+++ b/references/environments.md@@ -242,6 +242,17 @@ is per-project and the targets are not; report the candidate shard ratherthan consolidating on your own judgement, because one plural case islegitimate (see the multi-log block in `weekly-review.md`).+**The session-start scan lists the neighbours on every run.** One line of+the scan snippet finds every `skill-observations/observation-log/` up to+three levels under the pinned root's parent and prints each with its file+count — `logs under the parent (…): /a/proj=157 /a/other=19`. One entry+is the ordinary case. Several are either shards or the legitimate plural+case, and the line cannot tell which: report it in one line, route to+"Several observation logs on one machine" in `weekly-review.md`, and never+consolidate from the scan. The probe is bounded by the parent's depth-3+tree, not by any log's size; an empty line means the probe could not read+the parent, since the pinned log itself is always under it.+**Before creating a log, search for one.** Check the plausible anchorcandidates — the pinned path, the project identity root, theenvironment-managed persistence directory, the shared folder, the otherdiff --git a/references/observation-log.md b/references/observation-log.mdindex cda8080..815b43d 100644--- a/references/observation-log.md+++ b/references/observation-log.md@@ -336,6 +336,7 @@ fiprintf 'files: %s parsed: %s suspect: %s\n' "$n" "$parsed" "$suspect"printf '%s [%s] session-start scan: files=%s parsed=%s\n' "$(date '+%F %H:%M')" "${PWD##*/}" "$n" "$parsed" \>> "[ABSOLUTE PATH]/skill-observations/checkpoints.log" # date+time+source: one line per session, not per day+find "$(dirname "[ABSOLUTE PATH]")" -maxdepth 3 -type d -path '*/skill-observations/observation-log' 2>/dev/null | LC_ALL=C sort | while IFS= read -r o; do printf '%s=%s\n' "${o%/skill-observations/observation-log}" "$(find "$o" -maxdepth 1 -name '*.md' | wc -l | tr -d ' ')"; done | awk '{s = s " " $0} END {print "logs under the parent (report; never consolidate from here):" s}'( LC_ALL=C; [ "$n" -eq 0 ] || { cd "$d" && awk 'FNR==1 && NR>1 && fm {print "---"}FNR==1 {fm=/^---[[:space:]]*$/; if (!fm) {print "---"; nextfile}; next}fm && /^---[[:space:]]*$/ {fm=0; print "---"; nextfile}