Token导航 LogoToken导航TokenDH.com
开发执行命令clawhub未标认证来源可访问clear审计提醒

skills-coach技能教练

Agent Skill

skills-coach 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

776

周安装

33

GitHub Stars

1

下载量

272
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install skills-coach

简介

skills-coach 探索技能能力边界并使用免训练 GRPO 优化技能版本,适合性能调优场景。

  • 适用于 OpenClaw 中需要提升技能效率与准确性的开发阶段。
  • 核心能力包括边界分析、优化潜力评估和编译结果生成。
  • 安装命令为 openclaw skills install skills-coach,需确认编译环境与依赖项。
  • 使用前建议核实是否会执行模型推理或资源密集型计算。

SKILL.md

name
skills-coach
description
Explore capability boundaries of a target Skill, analyze optimization potential, generate an optimized version using Training-Free GRPO, and compile results into a structured report
version
2.3.1
trigger
|

Skills-Coach v2.3.1

Systematically analyze and optimize OpenClaw skills through automated task generation, Training-Free GRPO optimization, real command execution, comprehensive failure analysis, and detailed evaluation reporting.

What's New in v2.3.1

  • 📝 Documentation Consistency — Unified version numbers across all files
  • 🗂️ File Organization — Cleaned up archive directory and removed duplicates
  • 🔧 Maintenance Release — Bug fixes and documentation improvements

Previous updates (v2.3.0):

  • 🔧 Auto-Fix Integration — Automatically fixes common issues
  • 🔄 Iterative Improvement — Fix → Test → Reanalyze loop (max 2 iterations)
  • 🤖 LLM-Powered Fixes — Uses Claude API to intelligently add missing parameters
  • Optimized Performance — Disabled LLM summaries to prevent API timeouts
  • 🔧 Better Stability — Improved API timeout handling and retry mechanisms

Previous updates (v2.0.0):

  • 🚀 Training-Free GRPO — Revolutionary optimization method based on arXiv:2510.08191
  • 🧠 Experience Library — Learns from optimization attempts
  • 📊 Group Relative Semantic Advantage — Compares rollouts to extract insights
  • 💰 Cost-Effective — Minimal training data, no fine-tuning required

Training-Free GRPO vs Vanilla GRPO

FeatureTraining-Free GRPO (v2.0)Vanilla GRPO (v1.x)
Parameter Updates❌ None✅ Gradient-based
Advantage TypeSemantic (natural language)Numerical (scores)
Knowledge StorageExternal experience libraryModel weights
GeneralizationExcellent (frozen model)Limited (overfitting risk)
Data RequirementsMinimal (dozens of samples)Large (thousands)
CostVery low (~$20)High ($10,000+)
SpeedFast (inference only)Slow (training required)

Configuration Options

Key settings in config.yaml:

# Optimization Method Selection (NEW v2.0.0)
optimization:
  method: "training_free_grpo"  # training_free_grpo | vanilla_grpo

# Training-Free GRPO Parameters
training_free_grpo:
  group_size: 5                  # Number of rollouts per group
  num_epochs: 3                  # Number of optimization epochs
  temperature_learning: 0.7      # Temperature during learning
  temperature_eval: 0.3          # Temperature during evaluation
  
  # Experience Library Management
  max_experiences: 10            # Max experiences per domain
  
  # Domain-Specific Optimization
  markdown_optimization:
    enabled: true
    focus_areas: [clarity, structure, examples, completeness]
  
  code_optimization:
    enabled: true
    focus_areas: [bug_fixes, error_handling, performance, code_quality]
  
  # LLM Configuration
  llm_model: "claude-sonnet-4-6"

Usage

python orchestrator.py <target-skill-path>

Or via Claude:

Use skills-coach on <target-skill-path>

Parameters

  • target-skill-path (required): Path to the directory containing the Skill to analyze and optimize. Must contain a valid SKILL.md.

Execution Flow

This skill orchestrates 6 steps that execute sequentially:

immutability → code-capability → sample-agent → optimize-agent → exec-agent → failure-analyzer → evaluate-agent

CRITICAL IMMUTABILITY RULE:

  • The original {target-skill} is NEVER modified
  • All changes are made to {target-skill}-optimized
  • This ensures the original skill remains intact for comparison

Do not proceed to the next step until the current one has fully completed and its outputs are verified.

Step-by-Step Instructions

Pre-flight Checks

  1. Validate that target-skill-path exists and contains a SKILL.md file
  2. If validation fails, abort and report the error to the user
  3. Initialize run manager (if versioned runs enabled):
   from subskills.run-manager.run_manager import RunManager
   manager = RunManager()
   run_dir = manager.create_run(target_skill_path, config)
  1. Create the working directory structure:
   # If versioned runs enabled:
   skills-coach-runs/run_YYYY-MM-DD_HH-MM-SS/
     ├── tasks/{train,test}
     ├── exec_results/{original,optimized}
     ├── optimization/
     ├── code_capabilities.json
     ├── failure_analysis_{original,optimized}.json
     └── {target-skill}-optimized/
  1. IMMUTABILITY: Create optimized copy
   cp -r {target-skill} {work-dir}/{target-skill}-optimized

All subsequent modifications will ONLY affect the optimized copy.

Step 0: Code Capability Detection (NEW v1.5.0)

Analyze scripts to detect their actual capabilities:

cd subskills/code-capability-detector
python code_capability_detector.py <target-skill-path> <work-dir>

This analyzes:

  • Command-line parameters supported by scripts
  • Input/output formats
  • Dependencies
  • Error handling and validation presence

Expected outputs:

  • code_capabilities.json - Machine-readable capability data
  • code_capabilities.md - Human-readable report

Purpose: Ensures generated test tasks only use features the scripts actually support.

Verification: Confirm capability files exist before proceeding.

Step 1: Generate Test Tasks (sample-agent)

Execute the task generator:

cd subskills/sample-agent
python task_generator.py <target-skill-path> ../..

The script generates:

  • 12 base training tasks (6 standard + 6 advanced)
  • 8 base test tasks (4 standard + 4 advanced)
  • If boundary probing is enabled and generates boundary tasks:

- Training: 6 standard + 4 advanced + 6 boundary = 16 total - Test: 4 standard + 3 advanced + 3 boundary = 10 total

Expected outputs:

  • tasks/train/task_001/ through tasks/train/task_012/ (or task_016 with boundary tasks)
  • tasks/test/task_001/ through tasks/test/task_008/ (or task_010 with boundary tasks)
  • Each task directory contains: task.md, speccheck.md, and workspace/

Verification: Confirm all task directories exist before proceeding.

Step 2: Optimize the Skill (optimize-agent)

IMPORTANT: This step works on {target-skill}-optimized, NOT the original.

Execute the GRPO optimizer:

cd subskills/optimize-agent
python grpo_optimizer.py <work-dir>/{target-skill}-optimized ../..

The script runs GRPO optimization with:

  • 4 candidate variants per iteration
  • 3-10 iterations with early stopping
  • SKILL.md and optional code-level optimization
  • All changes applied to the optimized copy only

Expected outputs:

  • {target-skill-name}-optimized/ directory containing the optimized SKILL.md
  • optimization_log.md documenting the GRPO optimization process

Verification: Confirm the optimized skill directory and log file exist before proceeding.

Step 3: Execute Both Skill Versions (exec-agent + Claude)

Part A: Generate Task Manifest

Execute the executor to generate task manifest:

cd subskills/exec-agent
python executor.py <target-skill-path> ../..

Expected outputs:

  • task_manifest.json containing all tasks to execute

Part B: Execute Tasks via Skill Tool

Claude reads the manifest and executes each task using the Skill tool:

import json
manifest = json.load(open('task_manifest.json'))

for task in manifest['tasks']:
    # Execute original skill
    Use skill at manifest['target_skill_path'] with task['task_content']
    Save output to task['original_result_dir']/output/
    
    # Execute optimized skill
    Use skill at manifest['optimized_skill_path'] with task['task_content']
    Save output to task['optimized_result_dir']/output/

Expected outputs:

  • exec_results/original/task_001/ through exec_results/original/task_010/
  • exec_results/optimized/task_001/ through exec_results/optimized/task_010/
  • Each result directory contains: output/ with real skill execution results and run_log.md

Verification: Confirm all result directories exist with real outputs before proceeding.

Step 4: Failure Analysis (NEW v1.5.0)

Analyze failed tasks to identify root causes and suggest fixes:

cd subskills/failure-analyzer
python failure_analyzer.py <work-dir>/exec_results/original <work-dir>
python failure_analyzer.py <work-dir>/exec_results/optimized <work-dir>

This analyzes:

  • Error messages and categorizes them (missing_parameter, missing_dependency, etc.)
  • Root causes of failures
  • Specific fix suggestions with code examples
  • Affected files and estimated fix difficulty

Expected outputs:

  • failure_analysis_original.json - Machine-readable failure data
  • failure_analysis_original.md - Human-readable report
  • failure_analysis_optimized.json - Optimized version failures
  • failure_analysis_optimized.md - Optimized version report

Verification: Confirm failure analysis files exist before proceeding.

Step 5: Evaluate and Report (evaluate-agent)

Execute the evaluator to analyze results:

cd subskills/evaluate-agent
python evaluator.py <target-skill-path> <work-dir>

This script:

  1. Analyzes execution results from both skill versions
  2. Generates the comprehensive report
  3. Makes retention decision based on performance comparison

Expected outputs:

  • results_report.md containing comprehensive evaluation metrics and analysis
  • Retention decision: either keep or delete {target-skill-name}-optimized/

Verification: Confirm results_report.md exists.

Final Step: Present Results to User

Read and present the contents of results_report.md to the user, highlighting:

  • Overall performance comparison (original vs. optimized)
  • Key strengths and weaknesses identified
  • Retention decision and rationale
  • Recommendations for further improvement

Output Structure

Versioned Runs (Default):

skills-coach-runs/
├── run_2026-04-13_14-30-00/
│   ├── config.yaml                    # Config used for this run
│   ├── metadata.json                  # Run metadata (duration, scores, decision)
│   ├── tasks/
│   │   ├── train/                     # 12-16 training tasks (depends on boundary probing)
│   │   └── test/                      # 8-10 test tasks (depends on boundary probing)
│   ├── optimization/
│   │   ├── iteration_001/
│   │   │   ├── variant_a/
│   │   │   ├── variant_b/
│   │   │   ├── variant_c/
│   │   │   └── variant_d/
│   │   └── iteration_002/
│   ├── exec_results/
│   │   ├── original/                  # 10 tasks
│   │   └── optimized/                 # 10 tasks
│   ├── optimization_log.md
│   ├── results_report.md
│   └── {target-skill}-optimized/      # If retained
│
├── run_2026-04-13_15-45-00/
│   └── ... (same structure)
│
└── latest -> run_2026-04-13_15-45-00/ # Symlink to latest run

Legacy Flat Structure (if versioned runs disabled):

./
├── tasks/
│   ├── train/          # 12-16 training tasks (depends on boundary probing)
│   └── test/           # 8-10 test tasks (depends on boundary probing)
├── exec_results/
│   ├── original/       # 8-10 tasks
│   └── optimized/      # 8-10 tasks
├── {target-skill}-optimized/  # If retained
├── optimization_log.md
└── results_report.md

Configuration

Features can be controlled via config.yaml:

# Task generation
task_generation:
  num_training_tasks: 16          # 12 for legacy mode
  num_test_tasks: 10              # 8 for legacy mode
  probe_boundaries: true          # Set to false for legacy 20-task mode
  boundary_types:
    - input_minimal
    - input_maximal
    - input_invalid
    - resource_limits
    - failure_modes
    - combinations

# GRPO optimization
grpo:
  optimization_levels:
    - skill_md                    # Always enabled
    - code                        # Remove to disable code optimization
    - config                      # Remove to disable config optimization
  code_mutations:
    - add_caching
    - add_validation
    - add_error_handling
    - optimize_algorithm

# Output structure
output:
  use_versioned_runs: true        # Set to false for legacy flat structure
  runs_directory: "skills-coach-runs"
  keep_latest_symlink: true
  max_runs_to_keep: 10            # Auto-cleanup old runs
  save_intermediate_variants: true
  save_execution_logs: true
  save_metadata: true

# Run comparison
comparison:
  enable_comparison_tool: true
  auto_compare_with_previous: true
  comparison_metrics:
    - baseline_score
    - final_score
    - improvement
    - duration
    - iterations

Run Management Commands

Use run-manager CLI for analysis:

# List all runs
python subskills/run-manager/run_manager.py list

# Compare two runs
python subskills/run-manager/run_manager.py compare run_2026-04-13_14-30-00 run_2026-04-13_15-45-00

# Cleanup old runs (keep latest 10)
python subskills/run-manager/run_manager.py cleanup 10

Error Handling

  • If any subskill fails, stop execution and report the error to the user
  • If sample-agent cannot parse the target SKILL.md, abort before task generation
  • If optimize-agent fails to improve scores after 10 iterations, proceed with the best variant found
  • If exec-agent encounters runtime errors, log them in run_log.md and continue with remaining tasks
  • If evaluate-agent determines the optimized skill performs worse, delete the optimized directory

Constraints

  • All subskills operate autonomously without user input between steps
  • The original target Skill is never modified in place
  • SpecCheck evaluation must be deterministic
  • No data leakage between train and test task sets
  • GRPO optimization runs 3-10 iterations, stopping early if no improvement for 2 consecutive iterations
  • v1.2.0: Generates 12-26 tasks depending on boundary probing:

- Without boundary probing: 12 training + 8 test = 20 tasks - With boundary probing (if boundaries detected): 16 training + 10 test = 26 tasks

  • Can optimize code files in addition to SKILL.md (if enabled in config)
  • Creates versioned run directories (if enabled in config)

Notes

  • This is a meta-skill that operates on other skills
  • Execution may take significant time depending on the complexity of the target skill
  • The GRPO approach is training-free and does not require gradient computation
  • All intermediate outputs are preserved for transparency and debugging
  • Boundary probing tests capability limits with 6 types of edge cases
  • Code optimization can modify Python/shell scripts in addition to SKILL.md
  • Versioned runs preserve all optimization attempts for historical tracking
  • Run comparison tool enables analysis of optimization strategies over time

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

85.51%
按下载量换算233

安全审计

VirusTotal

未展示

ClawScan

可疑

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install skills-coach 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills