Skill Workshopのロゴ

Skill Workshop

コミュニティ
grayodesa
skill-workshop

Analyze Claude Code session history to discover skill candidates. Finds repeating explanations, tool chains, and workaround patterns across project sessions. Use when user wants to find what should become a skill, mine session history, or extract tribal knowledge.

概要

公開者grayodesa
リポジトリskill-workshop
スキル名skill-workshop
スター
70
フォーク
5
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    grayodesaがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルSkill WorkshopをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/grayodesa/skill-workshop/tree/main/skills/skill-workshop
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/grayodesa/skill-workshop.git /tmp/skill-workshop
mkdir -p .claude/skills
cp -r /tmp/skill-workshop/skills/skill-workshop .claude/skills/skill-workshop
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでSkill Workshopを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にSkill Workshopを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Skill Workshopは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Skill Workshop

Mine project session history for repeating patterns and propose new skills.

Overview

This skill works in two phases:

  1. Extract & Analyze — delegate to the session-analyzer subagent (Haiku) which parses JSONL session files and identifies pattern candidates
  2. Present & Generate — read the analysis results, present candidates to the user, and generate SKILL.md drafts for approved candidates

Step 1: Determine target project

Use $ARGUMENTS as the project path. If empty, use the current working directory.

bash
PROJECT_PATH="${ARGUMENTS:-$(pwd)}"
echo "Target project: $PROJECT_PATH"

Verify sessions exist by checking the encoded project directory:

bash
ENCODED=$(echo "$PROJECT_PATH" | sed 's|^/||; s|/|-|g')
for PREFIX in "-${ENCODED}" "${ENCODED}"; do
  DIR="$HOME/.claude/projects/${PREFIX}"
  if [ -d "$DIR" ]; then
    COUNT=$(ls "$DIR"/*.jsonl 2>/dev/null | grep -v '/agent-' | wc -l | tr -d ' ')
    echo "Found $COUNT session files in $DIR"
    break
  fi
done

If no sessions found, inform the user:

  • Check if the path is correct
  • Note that Claude Code deletes sessions after 30 days by default
  • Suggest: "cleanupPeriodDays": 100000 in ~/.claude/settings.json

If sessions found, report the count and proceed.

Step 2: Delegate extraction to session-analyzer

Clean previous temporary files:

bash
rm -f /tmp/sw-*.jsonl /tmp/sw-*.json /tmp/sw-*.txt

Delegate the extraction and analysis work to the session-analyzer subagent. Tell it the project path and session directory. It will:

  • Parse all JSONL session files via bash extraction
  • Identify repeated explanations, tool chain patterns, and workaround patterns
  • Score and rank candidates
  • Write results to /tmp/skill-workshop-results.json

Wait for the subagent to complete.

Step 3: Read and present results

Read /tmp/skill-workshop-results.json. Present to the user:

Header:

  • Project path
  • Sessions analyzed (count and date range)
  • Extraction stats (messages, tool calls, errors found)

Candidates table:

For each candidate (sorted by rank):

### #{rank}: {suggested_name}
Type: {signal_type} → proposed skill: {proposed_skill_type}
Score: {score} | Found in {frequency} sessions

{description}

Evidence:
- Session {id}: "{example}"
- Session {id}: "{example}"

Would create: {draft_content_hint}

After listing all candidates, ask: "Which candidates should I develop into skill drafts? (numbers, 'all', or 'none')"

Step 4: Generate SKILL.md drafts

For each approved candidate, generate a proper SKILL.md following these practices:

Skill authoring rules

  1. Frontmatter:

    • name: kebab-case, match the suggested_name
    • description: CRITICAL field — Claude uses this to decide when to load the skill. Format: "What it does. Use when [trigger conditions]." Write in third person. Max 200 characters. Include trigger words.
  2. Body structure:

    • Start with a 1-2 sentence purpose statement
    • Use imperative language ("Run...", "Check...", not "You should...")
    • Include concrete examples from the evidence
    • Keep under 500 lines total
  3. By skill type:

    knowledge (from repeated_explanation):

    • State the facts/rules directly
    • Include the exact terminology, values, configs the user kept repeating
    • Add a "Common mistakes" section listing what Claude gets wrong

    workflow (from tool_chain):

    • Step-by-step procedure
    • Include the tool sequence as explicit steps
    • Add validation checkpoints between steps

    gotcha (from workaround):

    • Lead with the error pattern (what goes wrong)
    • Then the fix (what to do instead)
    • Make it a concise "DO this, NOT that" format
    • If possible, include a validation command
  4. Write to: .claude/skills/{name}/SKILL.md Create the directory if needed.

  5. DO NOT auto-enable. Tell the user to review and test.

Example gotcha skill

markdown
---
name: pip-break-system-packages
description: >
  Prevents pip externally-managed-environment errors on this system.
  Use when installing Python packages with pip.
---

# pip install configuration

On this system, always use the `--break-system-packages` flag with pip.

## The problem
Bare `pip install <package>` fails with:
`error: externally-managed-environment`

## The fix
Always run:
```bash
pip install <package> --break-system-packages

This applies to ALL pip install commands including:

  • pip install -r requirements.txt --break-system-packages
  • pip install -e . --break-system-packages
  • pip install --upgrade <package> --break-system-packages

### Example knowledge skill

```markdown
---
name: milvus-collection-config
description: >
  Milvus connection details and collection schema for this project.
  Use when working with vector database, embeddings, or Milvus queries.
---

# Milvus Configuration

## Connection
- Host: localhost
- Port: 19530
- No authentication required in dev

## Collection: expert_tax_chunks
- Fields: id (int64, primary), text (varchar), vector (float_vector, dim=1024), metadata (json)
- Index: IVF_FLAT on vector field, nlist=128
- Metric: COSINE

## Common queries
[... concrete examples from evidence ...]

Step 5: Summary

After generating drafts, report:

  • How many skills created, where
  • Remind user to review each SKILL.md
  • Suggest testing: "Try asking Claude something that should trigger the skill"
  • Note: newly created skills may need a session restart or /context refresh to be discovered

よくある質問

AIスキル「Skill Workshop」では何ができますか?

Analyze Claude Code session history to discover skill candidates. Finds repeating explanations, tool chains, and workaround patterns across project sessions. Use when user wants to find what should become a skill, mine session history, or extract tribal knowledge.

TypingMindでSkill Workshopを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Skill Workshopはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにSkill Workshopをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/grayodesa/skill-workshop/tree/main/skills/skill-workshopを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Skill Workshopを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Skill Workshopは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもSkill Workshopを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Skill Workshop」は無料ですか?

grayodesaがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇