Files
skill-evolution/scripts/skill-quality-report.sh
T
Carlo1911 18df2fe7b4 skill-evolution: host-agnostic skill self-improvement pipeline
Standalone Python stdlib pipeline that reads an agent's past sessions,
compares them against installed skills, and generates structured
improvement proposals gated by an evaluation framework before anything
mutates. Host-agnostic via HostAdapter (Hermes, Claude Code).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-04 14:24:33 -05:00

20 lines
821 B
Bash
Executable File

#!/bin/bash
# Cron wrapper for skill quality tracking
# Resolves skill_quality.py relative to this script's location, following symlinks
# Resolve the directory this script is in, following symlinks
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# Report output directory. Default is `<repo>/reports/`; deployments can override
# via SKILL_EVOLUTION_QUALITY_REPORT_DIR when they want reports stored elsewhere
# (e.g. inside a user-owned data dir that the host agent also reads).
OUTPUT_DIR="${SKILL_EVOLUTION_QUALITY_REPORT_DIR:-$SCRIPT_DIR/../reports}"
mkdir -p "$OUTPUT_DIR"
OUTPUT_FILE="${OUTPUT_DIR}/skill-quality-$(date +%Y-%m-%d).md"
# Run the quality tracker
python3 "$SCRIPT_DIR/skill_quality.py" --output "$OUTPUT_FILE"
# Report completion
echo "Skill quality report generated: $OUTPUT_FILE" >&2