Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Enable an AI agent to iteratively improve its own skills and instructions based on task feedback.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
scripts/activator.sh
1#!/bin/bash2# Self-Improvement Activator Hook3# Triggers on UserPromptSubmit to remind Claude about learning capture4# Keep output minimal (~50-100 tokens) to minimize overhead56set -e78# Output reminder as system context9cat << 'EOF'10<self-improvement-reminder>11After completing this task, evaluate if extractable knowledge emerged:12- Non-obvious solution discovered through investigation?13- Workaround for unexpected behavior?14- Project-specific pattern learned?15- Error required debugging to resolve?1617If yes: Log to .learnings/ using the self-improvement skill format.18If high-value (recurring, broadly applicable): Consider skill extraction.19</self-improvement-reminder>20EOF21