agentleFS
oztenozten/skills/self-improvement/SKILL.md

self-improvement

Skill7 starsChanged 9 months agoMITView on GitHub

Analyze autonomous loop session efficiency, track improvements, and view trends. Use when the user says "check loop metrics", "how are sessions doing", "analyze iterations", "self-improvement", "loop performance", "session efficiency", or wants to add/search/fix improvement records.

33 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use skill-vetter, browser-use and 6 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • LaoK2017Skill

    skill-vetter

    Security review and audit tool for AI agent skills. Use when asked to "vet a skill", "check skill security", "audit a skill", or when reviewing skills before installation to detect malicious code, unauthorized access, and suspicious patterns.

    Also in 3 projects that use this

  • Saik0sSkill

    browser-use

    AI-driven browser automation via Model Context Protocol

    Also in 3 projects that use this

  • VercelSkill

    agent-browser

    Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.

    Also in 6 projects that use this

  • VercelSkill

    find-skills

    Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

    Also in 6 projects that use this

  • NVIDIASkill

    deep-research

    Queue deep, multi-step research and analysis tasks to the DeepAgents worker. Supports execution depth presets, request-specific rubrics, SubAgent delegation, and RubricMiddleware cross-validation.

    Also in 3 projects that use this

  • Microsoft AzureSkill

    humanizer

    Tone enforcement patterns for external-facing community responses

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 1 is distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 32 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run these commands via Bash to get the current state:

    line 24
  2. Very specific:

    If the user passes $ARGUMENTS, run that as a subcommand.

    line 63
  3. Very specific:

    Run self-improvement/self-improvement status to see the dashboard

    line 65
  4. Very specific:

    Run self-improvement/self-improvement analyze --last 10 for trend analysis

    line 66
  5. Very specific:

    Run self-improvement/self-improvement improvement list --status open for open issues

    line 67
  6. Very specific:

    If the user wants to add or fix an improvement, use the improvement add or improvement fix commands

    line 69
  7. Very specific:

    Run self-improvement/self-improvement backfill --from <start> --to <end> to ingest new data

    line 73
  8. Very specific:

    Run self-improvement/self-improvement analyze --last <count> to analyze the batch

    line 74

“Common” is measured: kept by at least 6 in 10 of the 32 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Self-Improvement Loop Analysis

Analyze autonomous Claude Code session metrics, track improvement efforts, and monitor efficiency trends.

Prerequisites

This skill is designed for projects using an autonomous Claude Code loop with structured task tracking:

  • ralph-wiggum loop — A bash script (ralph-wiggums-loop.sh) that runs Claude Code headlessly in a loop for N iterations. Each iteration runs Claude with --output-format stream-json and saves the transcript as claude-iteration-N.jsonl. The loop handles rate-limit backoff, zombie task cleanup, and injects performance feedback from recent sessions into the next iteration's prompt.
  • Beads (bd) — A git-native, CLI-first issue tracker that stores issues in .beads/issues.jsonl. The JSONL parser detects bead commands (bd update <id> --status in_progress, bd-finish.sh) to determine which task was worked on and whether the session committed code. Sessions that run bd-finish.sh (which does git commit + push + bead close) count as "completed."
  • claude-iteration-N.jsonl files — Session transcripts produced by the ralph-wiggum loop. Each file contains the full JSONL stream of a Claude Code session: assistant turns, tool calls, results, usage/cost data. The log and backfill commands parse these files to extract efficiency metrics.

Without these systems in place, the log/backfill/status/analyze commands will have no data to work with. The improvement add/list/fix/search commands work standalone as a generic improvement tracker.

Quick Start

Run these commands via Bash to get the current state:

# Dashboard — recent sessions + targets
self-improvement/self-improvement status

# Deep analysis of last 10 sessions
self-improvement/self-improvement analyze --last 10

# Open improvements needing attention
self-improvement/self-improvement improvement list --status open

Available Commands

CommandPurpose
self-improvement/self-improvement status [--last N]Dashboard with recent sessions, trends, target comparison
self-improvement/self-improvement analyze [--last N]Deep analysis, stores results, compares to previous run
self-improvement/self-improvement targetsShow efficiency targets and last 5 sessions vs targets
self-improvement/self-improvement improvement list [--status open]List improvement records
self-improvement/self-improvement improvement search <query>Search improvements by keyword
self-improvement/self-improvement improvement add --title "..." --severity high|medium|low [--desc "..."] [--rec "..."] [--tags "..."]Add new improvement
self-improvement/self-improvement improvement fix <ref_id> [--impact "..."]Mark improvement as fixed with measured impact
self-improvement/self-improvement log <jsonl-file>Parse one iteration JSONL file into DB
self-improvement/self-improvement backfill [--from N] [--to N]Bulk-parse iteration files
self-improvement/self-improvement seedPopulate improvements table with historical R1-R14 records

Efficiency Targets

MetricTargetDescription
Completion rate>=85%Sessions that commit code
Narration-only turns<20%Assistant turns with no tool calls
Parallel tool calls>10%Turns with 2+ batched tool calls
Turns per session<80Hard budget from PROMPT.md

Workflow: Reviewing Loop Health

If the user passes $ARGUMENTS, run that as a subcommand. Otherwise:

  1. Run self-improvement/self-improvement status to see the dashboard
  2. Run self-improvement/self-improvement analyze --last 10 for trend analysis
  3. Run self-improvement/self-improvement improvement list --status open for open issues
  4. Present a concise summary: what's working, what's not, what to do next
  5. If the user wants to add or fix an improvement, use the improvement add or improvement fix commands

Workflow: After a Batch of Loop Iterations

  1. Run self-improvement/self-improvement backfill --from <start> --to <end> to ingest new data
  2. Run self-improvement/self-improvement analyze --last <count> to analyze the batch
  3. Compare against previous analysis (the tool does this automatically)
  4. Review open improvements and update their status based on measured data
  5. File new improvements if new patterns are discovered

Database Location

SQLite database at self-improvement/self-improvement.db. Created automatically on first use. Tables: sessions, improvements, analysis_runs.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.