weekly-self-improve-loop

Weekly review of memory and blocked items. Extract friction patterns, create skills, and update autonomy baseline.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "weekly-self-improve-loop" with this command: npx skills add dalomeve/weekly-self-improve-loop

Weekly Self-Improve Loop

Weekly review for continuous improvement.

Problem

Without regular review:

  • Same mistakes repeat
  • Friction patterns unnoticed
  • Skills don't evolve
  • Autonomy degrades

Workflow

1. Weekly Review (Every 7 Days)

# Get last 7 days of memory
$startDate = (Get-Date).AddDays(-7)
$memoryFiles = Get-ChildItem "memory/" -Filter "*.md" | 
    Where-Object { $_.LastWriteTime -ge $startDate }

# Aggregate metrics
$totalTasks = 0
$completedTasks = 0
$blockedTasks = 0
$patterns = @{}

foreach ($file in $memoryFiles) {
    $content = Get-Content $file.FullName -Raw
    
    # Count tasks
    $totalTasks += ([regex]::Matches($content, "Task:")).Count
    $completedTasks += ([regex]::Matches($content, "Status: complete")).Count
    $blockedTasks += ([regex]::Matches($content, "Blocker:")).Count
    
    # Extract patterns
    $blockers = [regex]::Matches($content, "Blocker: (.+)")
    foreach ($b in $blockers) {
        $key = $b.Groups[1].Value
        $patterns[$key] = $patterns[$key] + 1
    }
}

# Calculate rates
$completionRate = [math]::Round(($completedTasks / $totalTasks) * 100, 1)
$blockerRate = [math]::Round(($blockedTasks / $totalTasks) * 100, 1)

2. Pattern Extraction

# Find top friction patterns
$topPatterns = $patterns.GetEnumerator() | 
    Sort-Object Value -Descending | 
    Select-Object -First 3

foreach ($p in $topPatterns) {
    Write-Host "Pattern: $($p.Key) ({$p.Value} occurrences)"
    
    # Create or update skill
    $skillName = $p.Key -replace '[^a-z]', '-' -replace '-+', '-'
    $skillPath = "skills/local/$skillName-recovery"
    
    if (Test-Path $skillPath) {
        Write-Host "  Updating existing skill..."
    } else {
        Write-Host "  Creating new skill..."
        # Create skill (see memory-to-skill-crystallizer)
    }
}

3. Report Generation

## Weekly Report (YYYY-MM-DD)

**Metrics**:
- Total tasks: X
- Completion rate: Y%
- Blocker rate: Z%

**Top Friction Patterns**:
1. Pattern A (N occurrences)
2. Pattern B (N occurrences)
3. Pattern C (N occurrences)

**New Skills Created**:
- skill-name-1
- skill-name-2

**Next Week Focus**:
- Address pattern A with automated fix
- Review skill effectiveness

Executable Completion Criteria

CriteriaVerification
Review executedReport file created
Metrics calculatedCompletion/blocker rates present
Patterns extractedTop 3 patterns identified
Skills created/updatedAt least 1 skill actioned

Privacy/Safety

  • Aggregate data only (no specifics)
  • Rates and counts, not content
  • Local report (not published)

Self-Use Trigger

Use when:

  • Day of week = Sunday (or configured)
  • Manual review requested
  • After major project completion

Review weekly. Improve continuously.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

地藏经药师经智慧

地藏经药师经智慧 - 佛家孝道与救度思想,涵盖地藏本愿、药师十二愿、因果报应、消灾延寿等核心智慧,适用于道德修养、慈悲精神、身心健康

Registry SourceRecently Updated
General

Precision Oncology Zhcn

综合学术文献、流行病学报告、临床与药物指南及临床试验报告,提供关于癌症及其治疗的报告。 基于癌变机制进行详细的分子生物学和组织学分析。 当查询涉及以下内容时加载本技能: - 癌症或肿瘤 - 癌变机制 - 癌症或肿瘤的治疗 典型查询 - 乳腺癌是如何发生的? - 白血病的一线和二线治疗 - CAR-T 疗法治疗胰腺...

Registry SourceRecently Updated
General

hermes-traffic-guardian

Hermes runtime traffic monitoring baseline for opt-in proxy inspection, egress detection, and attestation-aware traffic posture.

Registry SourceRecently Updated
General

Scp Paradigm

Use when analyzing how industry structure drives firm behavior and market performance, assessing market concentration, entry barriers, or competitive dynamic...

Registry SourceRecently Updated