Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器clawhub未标认证来源可访问clear审计提醒

meta-skill-optimizer元技能优化器

Agent Skill

meta-skill-optimizer 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 OpenClaw 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,869

周安装

155

GitHub Stars

公开资料未说明

下载量

1,252
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:meta-skill-optimizer(元技能优化器)
来源仓库:https://github.com/jason-aka-chen/meta-skill-optimizer
安装命令:
openclaw skills install meta-skill-optimizer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install meta-skill-optimizer

简介

meta-skill-optimizer 是自我改进的人工智能技能优化器,可从反馈中学习。

  • 适合在 OpenClaw 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。
  • 自动调整提示、优化工具使用模式,并根据成功/失败分析进行发展。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 可结合来源仓库和原始 README 继续核验具体用法。

SKILL.md

name
meta-skill-optimizer
description
Self-improving AI skill optimizer that learns from feedback, auto-tunes prompts, optimizes tool usage patterns, and evolves based on success/failure analysis. Enables AI to continuously enhance its own capabilities.
tags
version
1.0.0
author
chenq

Meta Skill Optimizer

Self-improving AI capability that enables continuous skill enhancement.

Features

1. Feedback Learning

  • Success Analysis: Learn from successful executions
  • Failure Analysis: Understand and prevent failures
  • Pattern Recognition: Identify recurring patterns
  • Preference Learning: Adapt to user preferences

2. Prompt Optimization

  • Auto-Tuning: Optimize prompts based on outcomes
  • Chain-of-Thought: Improve reasoning chains
  • Example Selection: Dynamic few-shot example selection
  • Style Adaptation: Match user communication style

3. Tool Usage Optimization

  • Tool Selection: Choose best tools for tasks
  • Parameter Tuning: Optimize tool parameters
  • Workflow Patterns: Discover effective workflows
  • Error Recovery: Learn from tool errors

4. Self-Diagnosis

  • Capability Assessment: Know what it can/can't do
  • Knowledge Gaps: Identify missing knowledge
  • Confidence Calibration: Accurate confidence levels
  • Limitation Awareness: Know when to ask for help

5. Continuous Evolution

  • Version Tracking: Track skill improvements
  • A/B Testing: Compare approach effectiveness
  • Best Practices: Extract and codify learnings
  • Knowledge Base: Build searchable knowledge

Installation

pip install numpy scipy json

Usage

Initialize Optimizer

from meta_optimizer import SkillOptimizer

optimizer = SkillOptimizer(
    skill_name="data_analysis",
    learning_rate=0.1
)

Record Execution Result

# Record successful execution
optimizer.record_success(
    task="analyze sales data",
    approach="used pandas groupby",
    context={"data_size": "10MB", "complexity": "high"},
    outcome={"success": True, "quality": "high"}
)

# Record failure
optimizer.record_failure(
    task="predict stock price",
    approach="used linear regression",
    error="insufficient features",
    lesson="need more technical indicators"
)

Get Optimized Approach

# Get best approach for task
best_approach = optimizer.get_best_approach(
    task_type="data_analysis",
    context={"data_size": "1GB"}
)

print(best_approach)
# {'method': 'chunked_processing', 'tools': ['pandas', 'dask']}

Optimize Prompt

# Optimize prompt based on results
optimized_prompt = optimizer.optimize_prompt(
    original_prompt="Analyze this data",
    outcome="too vague",
    feedback="be more specific about analysis type"
)

print(optimized_prompt)
# "Analyze this time-series data using trend detection and seasonality analysis"

API Reference

Feedback Learning

MethodDescription
record_success(...)Record successful execution
record_failure(...)Record failed execution
get_insights()Get learned insights

Prompt Optimization

MethodDescription
optimize_prompt(...)Optimize prompt based on feedback
generate_examples(...)Generate few-shot examples
adapt_style(...)Adapt to user style

Tool Optimization

MethodDescription
suggest_tools(...)Suggest best tools
optimize_params(...)Optimize tool parameters
discover_workflow(...)Discover effective workflows

Self-Diagnosis

MethodDescription
assess_capability(...)Assess capability for task
identify_gaps()Identify knowledge gaps
calibrate_confidence()Calibrate confidence levels

Evolution

MethodDescription
track_improvement()Track improvement over time
export_knowledge()Export learned knowledge
merge_experiences()Merge from other optimizers

How It Works

1. Feedback Loop

Task → Execution → Result → Feedback → Learning → Improvement

2. Pattern Discovery

Multiple Executions → Pattern Mining → Best Practices → Codification

3. Continuous Learning

New Task → Similar Past Tasks → Learned Lessons → Optimized Approach

Use Cases

  • Prompt Engineering: Continuously improve prompts
  • Tool Selection: Better tool recommendations
  • Error Prevention: Learn from past mistakes
  • User Adaptation: Match user preferences
  • Capability Growth: Expand what AI can do

Knowledge Base

The optimizer builds a knowledge base:

{
  "patterns": {
    "data_analysis": {
      "small_data": "pandas sufficient",
      "large_data": "use dask or chunking",
      "time_series": "check stationarity first"
    }
  },
  "prompts": {
    "effective": ["specific", "contextual", "actionable"],
    "ineffective": ["vague", "ambiguous", "overly broad"]
  },
  "tools": {
    "coding": ["cursor", "claude-code"],
    "research": ["tavily", "browser"]
  }
}

Integration

With OpenClaw

# Auto-record all executions
@hookimpl
def after_execution(result, context):
    optimizer.record_execution(context, result)

With Skills

# Optimize skill behavior
skill = MySkill()
optimized_skill = optimizer.optimize_skill(skill)

Best Practices

  1. Record Everything: More data = better learning
  2. Categorize Failures: Understand failure types
  3. Update Regularly: Keep knowledge current
  4. Merge Insights: Combine learnings from multiple sources

Future Capabilities

  • Cross-skill learning
  • Automatic skill creation
  • Self-debugging
  • Automated testing

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

85.33%
按下载量换算1,068

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills