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
Anchor every runnable snippet on the pinned absolute path
Eoghan Henn135bacc3e13c
diff --git a/SKILL.md b/SKILL.mdindex 1e631ed..f68e952 100644--- a/SKILL.md+++ b/SKILL.md@@ -55,7 +55,12 @@ directory:**with a YAML frontmatter header per observation, with resolved entries under`observation-log/archive/` — unless the user's configuration pins itelsewhere. "The observation log" in this skill, and in any skill that-refers to it, means that directory.+refers to it, means that directory. Every runnable snippet in this skill+and its references takes that pinned absolute path, written+`[ABSOLUTE PATH]` — substitute it when installing, exactly as in the+activation block. A snippet run with a relative path from any other+directory does not fail: it reports an empty, clean backlog, which is the+one answer that never gets questioned.## Reference files — load on demand, not up front@@ -154,8 +159,8 @@ was handled without its reference loaded, log an observation.rather than an error.```bash- d=skill-observations/observation-log # re-derive in EVERY call- n=$(find skill-observations/observation-log -maxdepth 1 -name '*.md' | wc -l | tr -d ' ') # literal path: independent of $d+ d="[ABSOLUTE PATH]/skill-observations/observation-log" # the pinned workspace path — re-derive in EVERY call, never relative to the cwd+ n=$(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 ' ')for f in $(find "$d" -maxdepth 1 -name '*.md' | sort); doawk 'NR==1 && /^---[[:space:]]*$/ {fm=1; next}@@ -357,7 +362,7 @@ resolved files into `archive/` — archival is a side effect of deriving theid, not a separate duty (see Archival on Write):```bash-d=skill-observations/observation-log+d="[ABSOLUTE PATH]/skill-observations/observation-log" # the pinned workspace path, never relative to the cwdtoday=$(date +%F) # archival rides inside this command (see below):for f in $(find "$d" -maxdepth 1 -name '*.md'); do # stale resolved files move before the id is readhdr=$(awk 'NR==1 && /^---[[:space:]]*$/ {fm=1; next}diff --git a/references/observation-log.md b/references/observation-log.mdindex 7b375a5..9291e79 100644--- a/references/observation-log.md+++ b/references/observation-log.md@@ -59,8 +59,8 @@ lines — never the bodies. This is what keeps the session-start scan andthe review's work-queue pass cheap once hundreds of observations exist:```bash-d=skill-observations/observation-log # re-derive in EVERY call-n=$(find skill-observations/observation-log -maxdepth 1 -name '*.md' | wc -l | tr -d ' ') # literal path: independent of $d+d="[ABSOLUTE PATH]/skill-observations/observation-log" # the pinned workspace path — re-derive in EVERY call, never relative to the cwd+n=$(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 ' ')for f in $(find "$d" -maxdepth 1 -name '*.md' | sort); doawk 'NR==1 && /^---[[:space:]]*$/ {fm=1; next}@@ -206,7 +206,7 @@ stale resolved files to `archive/`, so archival happens as a side effectof a step no write can skip.```bash-d=skill-observations/observation-log+d="[ABSOLUTE PATH]/skill-observations/observation-log" # the pinned workspace path, never relative to the cwdtoday=$(date +%F) # archival rides inside this command (see below):for f in $(find "$d" -maxdepth 1 -name '*.md'); do # stale resolved files move before the id is readhdr=$(awk 'NR==1 && /^---[[:space:]]*$/ {fm=1; next}