本文へ移動
cccskills
無料GitHub で公開日本語紹介

skill-evolver

スキルの実行ログを読み、失敗や手間のかかる箇所を見つけて、原因に応じた修正を既存のスキルファイルへ反映します。

原文原文の説明を見る

Analyze skill execution traces to identify issues and automatically evolve/improve skills. Use when users provide trace files (JSON) from skill runs and want to improve skill performance based on real execution data. Triggers on requests like "analyze traces", "evolve skill based on traces", "improve skill from execution history", "find issues in skill traces", or when working with skill trace/log files.

dp-archive/archiveスター 1,107(GitHub 1,107 + cccskills 0)

実行スコア 未検証

インストール方法を見る

こんなときに便利

  • 実行ログから失敗の原因を調べたいとき
  • ターン数やトークン消費を減らしたいとき
  • 利用者の改善要望を反映したいとき
  • スキルの実行エラーを見直したいとき

日本語での紹介

できること

スキルの実行ログ(JSON)や利用者からの改善要望を手がかりに、失敗、ツールエラー、手順の多さ、トークン消費などの問題を調べます。ログがある場合は成功率や平均ターン数、所要時間などを集計し、必要に応じて問題が起きた実行の詳細を確認します。原因をスキルの説明やスクリプト、入力検証などに結びつけ、対象スキルの既存ファイルを修正します。ログと要望の両方があれば、ログで問題を確かめながら、要望に沿って修正の優先度を決めます。

こんなときに便利

実行ログから繰り返し起きる失敗を見つけたいときや、スキルの手順を簡潔にしたいときに向いています。利用者の改善要望を、具体的なファイル修正につなげたい場合にも使えます。

使い方の例

  • 「この実行ログを分析して、失敗の原因を直してください」
  • 「実行履歴を見て、ターン数が多い原因を改善してください」
  • 「この要望とログをもとに、スキルを更新してください」

注意点

対象スキルの既存ファイル(SKILL.md、scripts/、references/)のみを変更します。

この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。

含まれるファイル(5)

  • SKILL.md4.6 KB
  • references/issue-patterns.md4.5 KB
  • scripts/analyze_traces.py13.7 KB
  • scripts/extract_issue_context.py5.7 KB
  • skill-evolver.skill11.1 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Skill Evolver

Analyze skill execution traces to discover issues, identify improvement opportunities, and apply fixes to skill files.

Trace Format

Traces are JSON with this structure:

{
  "id": "uuid",
  "request": "user's original request",
  "skills_used": ["skill-name"],
  "success": true/false,
  "total_turns": 2,
  "total_input_tokens": 5000,
  "total_output_tokens": 200,
  "duration_ms": 7000,
  "steps": [
    {"role": "assistant", "content": "...", "tool_name": null},
    {"role": "tool", "tool_name": "...", "tool_input": {}, "tool_result": "..."}
  ],
  "llm_calls": [
    {"turn": 1, "stop_reason": "tool_use", "input_tokens": 2500, "output_tokens": 50}
  ]
}

Workflow

This skill can receive two types of input (at least one required):

  • Traces: Execution trace data from real skill runs — provides data-driven problem discovery
  • Feedback: User-written improvement suggestions — provides directed guidance for changes

When both are provided, combine insights: use traces to validate/discover issues and feedback to prioritize and guide fixes.

Step 1: Analyze Inputs

If traces are provided, run the analysis script:

scripts/analyze_traces.py <traces.json> [--skill <name>] [--format json|text]

Output includes:

  • Success rate
  • Average turns, duration, tokens
  • Common issues and warnings
  • Recommendations

If feedback is provided, identify the user's improvement goals and map them to actionable changes.

If both are provided, cross-reference: does the feedback align with trace-discovered issues? Use feedback to prioritize which trace-identified problems to fix first.

Step 2: Extract Issue Details

For failed or problematic traces, extract full context:

scripts/extract_issue_context.py <traces.json> --failed
scripts/extract_issue_context.py <traces.json> --trace-id <id> --show-llm
scripts/extract_issue_context.py <traces.json> --high-turns

Skip this step if only feedback was provided (no traces).

Step 3: Identify Root Causes

Map issues to skill components using references/issue-patterns.md:

Issue TypeLikely Fix Location
execution_failurescripts/, error handling
high_turn_countSKILL.md clarity, add examples
tool_errorsscripts/, input validation
high_token_usageSKILL.md verbosity, progressive disclosure
repeated_tool_callsSKILL.md decision trees

For feedback-only input, map the user's suggestions directly to the appropriate skill components.

Step 4: Apply Fixes

Read the target skill and apply changes based on analysis:

  1. For script errors: Fix scripts, add validation, improve error messages
  2. For efficiency issues: Add examples, decision trees, clearer instructions
  3. For token issues: Reduce SKILL.md, move content to references/
  4. For trigger issues: Update frontmatter description
  5. For feedback-guided changes: Apply the user's specific suggestions

Scope constraints — strictly follow:

  • Only modify the target skill's existing files (SKILL.md, scripts/, references/)
  • Do NOT create new reference files, templates, or guides
  • Do NOT search the web for domain-specific content
  • Do NOT generate CHANGELOG, improvement reports, or other extra deliverables
  • The evolved skill files themselves are the sole deliverable

Quick Reference

Issue Severity Levels

  • high: Failures, max_tokens, tool errors → Fix immediately
  • medium: High turns, high tokens, retries → Optimize
  • low: Long duration → Consider optimization

Key Metrics Thresholds

MetricWarningAction
success_rate<90%Review failures
avg_turns>4Simplify workflow
avg_tokens>30000Reduce context
duration_ms>60000Optimize scripts

Common Fixes

Low success rate:

  • Add error handling in scripts
  • Add input validation
  • Clarify ambiguous instructions

High turn count:

  • Add decision tree
  • Provide more examples
  • Use scripts for multi-step operations

High token usage:

  • Reduce SKILL.md lines (<500)
  • Move details to references/
  • Remove redundant examples

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

ai-writing-detection

無料概要あり

文章に含まれる語彙や文の構成、書式、引用の特徴を複数の観点から調べ、AI生成の可能性と根拠を整理します。誤判定を避けるための注意点も示します。

  • 文章のAI生成らしさを複数の観点で調べたいとき
  • 判定の根拠と反証材料を整理したいとき
  • AI文章検出の特徴や限界を知りたいとき
dp-archive/archive1,1072026年3月4日 更新

audio-extractor

無料概要あり

動画や対応サイトの音声を抽出し、MP3やFLACなどに変換して保存します。ポッドキャストやプレイリストの一括取得、曲情報やカバー画像の埋め込みにも使えます。

  • 動画から音声だけを保存したいとき
  • ポッドキャストを音声ファイルにしたいとき
  • プレイリストをまとめてダウンロードしたいとき
dp-archive/archive1,1072026年3月4日 更新

biopython

無料概要あり

DNA・RNA・タンパク質の配列や生物学ファイルをPythonで扱い、配列解析、BLAST、NCBI検索、系統樹作成などの処理を組み立てます。

  • 配列ファイルを読み書き・変換したいとき
  • 配列の統計やアラインメントを調べたいとき
  • NCBIやPubMedの情報をまとめて取得したいとき
dp-archive/archive1,1072026年3月4日 更新

brand-identity

無料概要あり

プロジェクトの説明をもとに、ロゴや配色、書体、名刺、SNSカバー、ブランド仕様書を一貫したビジュアルアイデンティティとしてまとめます。

  • 新しいブランドのロゴを作りたいとき
  • 色と書体のルールを決めたいとき
  • 名刺とSNSカバーをそろえたいとき
dp-archive/archive1,1072026年3月4日 更新

canvas-design

無料概要あり

ポスターや静的なアートを、色・形・余白の方針づくりから制作するスキル。デザイン思想をまとめたMarkdownと、文字を抑えたPNG・PDFの作品を作ります。

  • オリジナルのポスター制作
  • テーマを抽象アートで表現したいとき
  • デザイン方針と作品をそろえたいとき
dp-archive/archive1,1072026年3月4日 更新

code-to-diagram

無料概要あり

ソースコードを読み解き、構成やデータの関係、処理の流れをMermaid.jsの図にしてSVG・PNGで出力するスキルです。

  • コード構成を図で共有したいとき
  • データベースモデルからER図を作りたいとき
  • APIの処理順を可視化したいとき
dp-archive/archive1,1072026年3月4日 更新

dp-archive のスキルをすべて見る

このスキルの問題を報告する