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
Quote prose frontmatter values; report suspect headers at session start
Eoghan Henn7c2179dc5fbd
diff --git a/SKILL.md b/SKILL.mdindex ddce922..ba9a11e 100644--- a/SKILL.md+++ b/SKILL.md@@ -173,6 +173,9 @@ was handled without its reference loaded, log an observation.d="[ABSOLUTE PATH]/skill-observations/observation-log" # the pinned workspace path — re-derive in EVERY call, never relative to the cwdn=$(find "[ABSOLUTE PATH]/skill-observations/observation-log" -maxdepth 1 -name '*.md' | wc -l | tr -d ' ') # literal path: independent of $dparsed=$(find "$d" -maxdepth 1 -name '*.md' -exec awk 'FNR==1 {if (/^---[[:space:]]*$/) print FILENAME; nextfile}' {} + | wc -l | tr -d ' ')+ suspect=$(find "$d" -maxdepth 1 -name '*.md' -exec awk 'FNR==1 && /^---[[:space:]]*$/ {fm=1; next}+ fm && /^---[[:space:]]*$/ {fm=0; nextfile}+ fm && /^[a-z_]+: [^"\047[|>].*: / {print FILENAME; nextfile}' {} + | wc -l | tr -d ' ') # values with an unquoted ": " — invalid YAMLfor f in $(find "$d" -maxdepth 1 -name '*.md' | sort); doawk 'NR==1 && /^---[[:space:]]*$/ {fm=1; next}fm && /^---[[:space:]]*$/ {exit}@@ -182,6 +185,8 @@ was handled without its reference loaded, log an observation.if [ "$n" -gt 0 ] && [ "$parsed" -eq 0 ]; thenecho "SCAN COMMAND BROKEN — $n files present, 0 headers parsed"; exit 1fi+ [ "$suspect" -gt 0 ] && echo "NOTE: $suspect of $n headers carry an unquoted ': ' in a value — quote those values (File format)"+ printf 'files: %s parsed: %s suspect: %s\n' "$n" "$parsed" "$suspect"```3. **Review trigger.** Read `skill-observations/last-review-date.txt`. Thevalue carries the truth: a date = when the last review actually ran;@@ -481,21 +486,25 @@ as logged without a sibling check.```markdown----id: [N]-title: [Short descriptive title]+id: 0+title: "Short descriptive title"status: open # open | actioned | declined | superseded | parkedtype: open-source # open-source | internal-skill: [list of existing skills this improves — always a list, even with- one entry; first entry is primary; may be empty]-proposes_skill: [list of new skills this argues for, by working name;- may be empty — an observation can fill either list or both]-siblings_checked: [MANDATORY, never blank: the family name and the members- evaluated, plus the verdict — e.g. "family-name: a, b — shared, both- added" or "family-name: a, b — instance-specific, no propagation";- the literal `none` only where the target belongs to no family]-area: [which part of the skill or workflow]-date: [YYYY-MM-DD]-session_context: [what task was being worked on]+skill: [skill-a, skill-b] # existing skills this improves — always a+ # list, even with one entry; first entry is+ # primary; may be empty: []+proposes_skill: [] # new skills this argues for, by working+ # name; an observation can fill either+ # list or both+siblings_checked: "family-name: a, b — shared, both added"+ # MANDATORY, never blank: the family name,+ # the members evaluated and the verdict —+ # or "family-name: a, b — instance-specific,+ # no propagation"; the literal none only+ # where the target belongs to no family+area: "which part of the skill or workflow"+date: YYYY-MM-DD+session_context: "what task was being worked on"parked_until: # MANDATORY when status is parked, empty otherwise:# one line naming the condition that unparks itresolved: # date resolved; leave empty while OPEN@@ -512,6 +521,21 @@ section or rule; for new skills, scope and key components.]**Principle:** [The generalisable takeaway — the most important field.]```+**Every prose value is double-quoted.** `title`, `siblings_checked`,+`area`, `session_context`, `resolution`, `parked_until` and `reference`+carry free text, and free text contains `: ` as the common case, not the+exotic one ("resolution: Actioned: principle #8 extended…"). Unquoted,+that is invalid YAML: the frontmatter still extracts, so nothing in the+scan notices, but every consumer that PARSES it — a review reading+`status`, a hook counting `skill:` — throws on the file. Measured on one+live log at last verification: 27 of 292 files unreadable, 25 of them in+`resolution:`, every one written by following the earlier unquoted+template. Quote the value (`"…"`, with inner `"` written as `\"`), keep+lists in `[]` with bare kebab-case names, and leave dates and status+words bare. The scan reports suspect headers — a value with an unquoted+`: ` — beside the file count, so a log drifting into this state announces+itself at session start.+**`parked` means decided, not pending.** Use it when an observation is soundbut cannot be acted on until an external precondition is met — the scheduledtask that produced it is disabled, the tool it describes is out of use, adiff --git a/references/observation-log.md b/references/observation-log.mdindex 9cd113b..eca757a 100644--- a/references/observation-log.md+++ b/references/observation-log.md@@ -62,6 +62,9 @@ the review's work-queue pass cheap once hundreds of observations exist:d="[ABSOLUTE PATH]/skill-observations/observation-log" # the pinned workspace path — re-derive in EVERY call, never relative to the cwdn=$(find "[ABSOLUTE PATH]/skill-observations/observation-log" -maxdepth 1 -name '*.md' | wc -l | tr -d ' ') # literal path: independent of $dparsed=$(find "$d" -maxdepth 1 -name '*.md' -exec awk 'FNR==1 {if (/^---[[:space:]]*$/) print FILENAME; nextfile}' {} + | wc -l | tr -d ' ')+suspect=$(find "$d" -maxdepth 1 -name '*.md' -exec awk 'FNR==1 && /^---[[:space:]]*$/ {fm=1; next}+ fm && /^---[[:space:]]*$/ {fm=0; nextfile}+ fm && /^[a-z_]+: [^"\047[|>].*: / {print FILENAME; nextfile}' {} + | wc -l | tr -d ' ') # values with an unquoted ": " — invalid YAMLfor f in $(find "$d" -maxdepth 1 -name '*.md' | sort); doawk 'NR==1 && /^---[[:space:]]*$/ {fm=1; next}fm && /^---[[:space:]]*$/ {exit}@@ -71,6 +74,8 @@ doneif [ "$n" -gt 0 ] && [ "$parsed" -eq 0 ]; thenecho "SCAN COMMAND BROKEN — $n files present, 0 headers parsed"; exit 1fi+[ "$suspect" -gt 0 ] && echo "NOTE: $suspect of $n headers carry an unquoted ': ' in a value — quote those values (File format)"+printf 'files: %s parsed: %s suspect: %s\n' "$n" "$parsed" "$suspect"```**Guard the read, not just the write.** A query that returns nothing is