meta-optimize

Analyze ARIS usage logs and propose optimizations to SKILL.md files and workflow defaults.

Updated Jul 9, 2026
One-click install
npx skills add https://github.com/Lingjie-wang/autoRL --skill meta-optimize-lingjie-wang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: meta-optimize
Source: https://github.com/Lingjie-wang/autoRL/tree/main/Auto-claude-code-research-in-sleep/skills/meta-optimize
Command: npx skills add https://github.com/Lingjie-wang/autoRL --skill meta-optimize-lingjie-wang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Over time, an AI research harness accumulates friction: bad default parameters, outdated scaffolding steps, and skill descriptions that fail to trigger. This Skill turns accumulated usage logs into evidence-backed optimization proposals for the harness itself, without ever mutating the skill corpus directly. ## Core Features & Use Cases - Log-Driven Analysis: Reads .aris/meta/events.jsonl to compute frequency, failure, convergence, human-intervention, and model-delta analyses across skill invocations. - Ranked Patch Proposals: Generates minimal unified diffs (including scaffolding deletions justified by model bumps) ranked by expected impact, each citing specific log evidence. - Read-Only Producer with Gated Landing: Stages approved patches to .aris/meta/pending/ for a separate human-invoked /meta-apply skill; cross-model review is advisory only and the binding jury runs at landing. - Use Case: After two weeks of running research workflows, run this Skill to discover that 60% of users override the review threshold to 7/10, then stage a patch raising the default. ## Quick Start Ask the AI to run meta-optimize on all skills to analyze the accumulated event log and propose harness improvements.

Frequently Asked Questions about meta-optimize

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize AI agent skill prompts based on usage data?

Enable the meta_logging hooks so events are recorded to .aris/meta/events.jsonl, then run this Skill after at least 5 skill invocations. It computes frequency, failure, and convergence analyses and generates ranked patch proposals with cited log evidence.

What is outer-loop harness optimization for LLM agents?

Outer-loop optimization improves the harness around a model—prompts, defaults, convergence rules—rather than the model's outputs. Inspired by Meta-Harness (Lee et al., 2026), it uses execution traces to guide harness engineering changes.

Can this Skill modify SKILL.md files automatically?

No. It is a read-only producer with no Write or Edit tools and no apply step. It only stages diffs under .aris/meta/pending/; a human must invoke the separate /meta-apply skill, which runs a fresh cross-model jury before landing any change.

Why does the optimization report say insufficient data?

The Skill requires at least 5 logged skill invocations in .aris/meta/events.jsonl before proposing changes. If logging was not enabled or usage is too low, it warns and exits rather than optimizing on noise.

When is it safe to delete scaffolding steps from a skill prompt?

Only with target-specific evidence that a newer model no longer needs the scaffold, such as a capability-specific release note or repeated post-bump log behavior showing zero failures. Privilege boundaries, acceptance gates, and safety checks are never deletion candidates.